An open API service indexing awesome lists of open source software.

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]

Awesome Lists containing this project

README

        

# unit-scale

[![Build Status](https://travis-ci.org/javiercejudo/unit-scale.svg)](https://travis-ci.org/javiercejudo/unit-scale)
[![Coverage Status](https://coveralls.io/repos/javiercejudo/unit-scale/badge.svg?branch=master)](https://coveralls.io/r/javiercejudo/unit-scale?branch=master)
[![Code Climate](https://codeclimate.com/github/javiercejudo/unit-scale/badges/gpa.svg)](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
```