3.0.0 • Published 7 years ago

soyutils v3.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
7 years ago

soyutils

Quick shim for providing soyutils (et al., soy and soydata) as a node/commonjs module. This module is meant to be used when browserify-ing Soy templates compiled via commonjs-soy, but obviously, feel free to use however you want :).

Installation

npm install soyutils --save or download soyutils_nogoog.js manually.

Usage

var soy = require('soyutils/soy');
var soydata = require('soyutils/soydata');
// ... run soy templates ...

-- or, in the browser --

<script src="soyutils_nogoog.js"></script>
<script>
// window.soy and window.soydata should be available
// ... run soy templates ...
</script>
3.0.0

7 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.0.1

8 years ago