https://github.com/javiercejudo/unit-scale
Unit scale [0, 1]
https://github.com/javiercejudo/unit-scale
Last synced: 2 months ago
JSON representation
Unit scale [0, 1]
- Host: GitHub
- URL: https://github.com/javiercejudo/unit-scale
- Owner: javiercejudo
- License: mit
- Created: 2015-09-09T13:49:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-27T08:43:38.000Z (over 8 years ago)
- Last Synced: 2025-03-11T02:18:06.048Z (3 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/unit-scale
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unit-scale
[](https://travis-ci.org/javiercejudo/unit-scale)
[](https://coveralls.io/r/javiercejudo/unit-scale?branch=master)
[](https://codeclimate.com/github/javiercejudo/unit-scale)Unit scale [0, 1]
## Install
npm i unit-scale
## Usage
```js
var unitScale = require('unit-scale');unitScale.length; // => 2
unitScale[0]; // => 0
unitScale[1]; // => 1
```