# scalemap

> Converts a value from one scale to another.

Latest version **1.0.1** (published 2018-02-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install scalemap
pnpm add scalemap
yarn add scalemap
bun add scalemap
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-02-05 |
| First published | 2018-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chris Rooney |
| Maintainers | rooch84 |
| Keywords | Scale, conversion, map |

## Links

- npm: https://www.npmjs.com/package/scalemap
- Repository: https://github.com/rooch84/scalemap
- Homepage: https://github.com/rooch84/scalemap#readme
- Issues: https://github.com/rooch84/scalemap/issues
- npm.io page: https://npm.io/package/scalemap

## Recent versions

- 1.0.1 (latest) — 2018-02-05
- 1.0.0 — 2018-02-05

## README

scalemap
======

An npm package for converting a value from one scale to another.

## Installation

  `npm install scalemap`

## Usage

```
var map = require('scalemap');

var val = map(0.5, 0, 1, 0, 2);
```  
  
  Output should be 1.


## Tests

  `npm test`

## Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

---
_Source: https://npm.io/package/scalemap · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
