chirashi-utils
v1.1.0
Published
Math methods and utils
Downloads
1
Readme
chirashi-utils
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