chirashi-utils

1.1.0 • Public • Published

chirashi-utils

npm version Standard - JavaScript Style Guide Code Climate Issue Count Test Coverage Build Status

Get started

API documentation, guide and more coming on chirashijs.org.

Quick view

Installation

Using npm

npm i --save chirashi-utils

Now you can import methods in your project:

import { normalize } from 'chirashi-utils'
 
normalize(450, 400, 500) // returns: 0.5

For advanced usage see chirashi-loader.

Standalone

You can also load chirashi-utils.js or chirashi-utils.min.js using a script tag. It'll create an intance of ChirashiUtils on your window. Then use as following example

ChirashiUtils.normalize(450, 400, 500) // returns: 0.5

Readme

Keywords

Package Sidebar

Install

npm i chirashi-utils

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • alextoudic