Rivets formatters based on RivetsStdlib for using with UtilifyJS
dist/
├── rivets-utilify.js (UMD)
├── rivets-utilify.min.js (UMD, compressed)
├── rivets-utilify.common.js (CommonJS, default)
└── rivets-utilify.esm.js (ES Module)
Download the script here and include it.
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/rivets/0.9.6/rivets.bundled.min.js"></script>
<script type="text/javascript" src="utilify.min.js"></script>
<script type="text/javascript" src="rivets-utilify.min.js"></script>
RivetsUtilify supports npm under the name rivets-utilify
.
npm install rivets-utilify --save
RivetsUtilify can also be loaded as an CommonJS or ES6 module (recomended).
// CommomJS
var RivetsUtilify = require('rivets-utilify');
// ES6 module
import RivetsUtilify from 'rivets-utilify';
With UMD (Universal Module Definition), the package is available on global var RivetsUtility
.
// Initialize UtilifyJS
var utilify = new UtilifyJS();
// Initialize RivetsUtilify
var rivetsUtilify = new RivetsUtilify(utilify)
Formatters docs can be found on original RivetsStdlib
RivetsUtilify is open-sourced software licensed under the MIT license.
Rivets.js 0.9.6+
UtilifyJS 0.3.5+
Special thanks to Matthieu Riolo and all contributors of RivetsStdlib