rivets-utilify

0.2.2 • Public • Published

npm version David

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

Package Sidebar

Install

npm i rivets-utilify

Weekly Downloads

4

Version

0.2.2

License

MIT

Unpacked Size

64.8 kB

Total Files

7

Last publish

Collaborators

  • zeindelf