soyutils

3.0.0 • Public • Published

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> 

Readme

Keywords

none

Package Sidebar

Install

npm i soyutils

Weekly Downloads

2

Version

3.0.0

License

MIT

Last publish

Collaborators

  • mattpowell