1.0.7 • Published 2 years ago

mapvaluejs v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

MapValueJs npm-version

Introduction

A simple module to map a number value in one range to another

Installing

Using npm :

npm install mapvaluejs

When the package is installed, you can use the import or require approach Using Import

import {map} from 'mapvaluejs/src';
console.log("Mapped value : ",map(350,0,1023,0,253));

Using require

const mapvaluejs = require('mapvaluejs/src');
console.log("Mapped value : ",mapvaluejs.map(350,0,1023,0,253));

GitHub

You can access the source code of this module from here

License

MIT © LakeeshaRCL

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago