Package Exports
- rivets-utilify
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rivets-utilify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
RivetsUtilify
Rivets formatters based on RivetsStdlib for using with UtilifyJS
Table of contents
Main
dist/
├── rivets-utilify.js (UMD)
├── rivets-utilify.min.js (UMD, compressed)
├── rivets-utilify.common.js (CommonJS, default)
└── rivets-utilify.esm.js (ES Module)
Getting started
Direct download
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>
Package Managers
RivetsUtilify supports npm under the name rivets-utilify
.
npm install rivets-utilify --save
Module Loaders
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';
Usage
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
Formatters docs can be found on original RivetsStdlib
License
RivetsUtilify is open-sourced software licensed under the MIT license.
Dependencies
Rivets.js 0.9.6+
UtilifyJS 0.3.5+
Credits
Special thanks to Matthieu Riolo and all contributors of RivetsStdlib