1.1.0 • Published 7 years ago

chirashi-utils v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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