{"_id":"ml-array-rescale","_rev":"4122634","name":"ml-array-rescale","description":"Rescale an array into a range","dist-tags":{"latest":"1.3.7"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"time":{"modified":"2026-02-24T19:25:49.000Z","created":"2017-05-23T16:19:22.434Z","1.3.7":"2022-01-21T15:37:00.985Z","1.3.6":"2021-09-01T08:26:19.224Z","1.3.5":"2021-03-24T13:19:15.147Z","1.3.4":"2021-03-03T09:56:38.632Z","1.3.3":"2021-02-23T08:22:15.295Z","1.3.2":"2020-10-07T07:26:17.948Z","1.3.1":"2020-04-17T14:47:03.178Z","1.3.0":"2020-04-02T07:38:28.831Z","1.2.2":"2019-08-30T08:53:38.170Z","1.2.1":"2018-11-09T15:18:02.305Z","1.2.0":"2018-10-26T11:43:43.581Z","1.1.1":"2018-08-03T07:16:29.767Z","1.1.0":"2017-07-18T08:22:39.343Z","1.0.2":"2017-07-11T08:24:01.764Z","1.0.1":"2017-05-24T06:52:09.572Z","1.0.0":"2017-05-23T16:19:22.434Z"},"users":{},"author":{"name":"Michaël Zasso"},"repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"versions":{"1.3.7":{"name":"ml-array-rescale","version":"1.3.7","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^2.0.0","ml-array-max":"^1.2.4","ml-array-min":"^1.2.3"},"gitHead":"787f12ca8c7c39063a349e2da17152742bea67b1","_id":"ml-array-rescale@1.3.7","_nodeVersion":"17.4.0","_npmVersion":"lerna/4.0.0/node@v17.4.0+arm64 (darwin)","dist":{"shasum":"c4d129320d113a732e62dd963dc1695bba9a5340","size":3252,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.7.tgz"},"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.7_1642779420773_0.06637281752023716"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-21T15:40:17.512Z","publish_time":1642779420985,"_cnpm_publish_time":1642779420985},"1.3.6":{"name":"ml-array-rescale","version":"1.3.6","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^1.0.0","ml-array-max":"^1.2.3","ml-array-min":"^1.2.2"},"gitHead":"7c2f894707e9012b51d4d92ff8578e0bee39d607","_id":"ml-array-rescale@1.3.6","_nodeVersion":"16.8.0","_npmVersion":"lerna/4.0.0/node@v16.8.0+arm64 (darwin)","dist":{"shasum":"060d1c636fbb5f877265f4fcc4e0e157521d615a","size":3252,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.6.tgz"},"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.6_1630484779085_0.09840556941770062"},"_hasShrinkwrap":false,"publish_time":1630484779224,"_cnpm_publish_time":1630484779224,"_cnpmcore_publish_time":"2021-12-16T22:01:29.309Z"},"1.3.5":{"name":"ml-array-rescale","version":"1.3.5","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^1.0.0","ml-array-max":"^1.2.3","ml-array-min":"^1.2.2"},"gitHead":"d06a16075e582be7b7c553cd1aecbe1d03c64b7a","_id":"ml-array-rescale@1.3.5","_nodeVersion":"15.12.0","_npmVersion":"lerna/4.0.0/node@v15.12.0+x64 (win32)","dist":{"shasum":"a41a98535e5b3bcdcde2f1ef532f4453feb11104","size":3958,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.5.tgz"},"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.5_1616591954948_0.8687743961322398"},"_hasShrinkwrap":false,"publish_time":1616591955147,"_cnpm_publish_time":1616591955147,"_cnpmcore_publish_time":"2021-12-16T22:01:29.746Z"},"1.3.4":{"name":"ml-array-rescale","version":"1.3.4","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.1.0","ml-array-max":"^1.2.2","ml-array-min":"^1.2.1"},"gitHead":"047f2d11d174dad9b576649f676adfa2439fff15","_id":"ml-array-rescale@1.3.4","_nodeVersion":"15.11.0","_npmVersion":"lerna/3.22.1/node@v15.11.0+x64 (darwin)","dist":{"shasum":"62aa50cb2dc30aacb86e2701792bec05a125218a","size":3776,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.4.tgz"},"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.4_1614765398495_0.03324589081984741"},"_hasShrinkwrap":false,"publish_time":1614765398632,"_cnpm_publish_time":1614765398632,"_cnpmcore_publish_time":"2021-12-16T22:01:29.966Z"},"1.3.3":{"name":"ml-array-rescale","version":"1.3.3","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.1.0","ml-array-max":"^1.2.1","ml-array-min":"^1.2.0"},"gitHead":"55597eaa820f947d2c6eeffa7c5f807a5e4c94c8","_id":"ml-array-rescale@1.3.3","_nodeVersion":"15.9.0","_npmVersion":"lerna/3.22.1/node@v15.9.0+x64 (win32)","dist":{"shasum":"bf57c777101b6a38facbb95b9dbffc9fafc2289c","size":3702,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.3.tgz"},"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.3_1614068535165_0.8359125678226311"},"_hasShrinkwrap":false,"publish_time":1614068535295,"_cnpm_publish_time":1614068535295,"_cnpmcore_publish_time":"2021-12-16T22:01:30.195Z"},"1.3.2":{"name":"ml-array-rescale","version":"1.3.2","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","types":"types.d.ts","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.1.0","ml-array-max":"^1.2.0","ml-array-min":"^1.2.0"},"gitHead":"942138d036d4c0753ad4c261cc692652c0a9cac1","_id":"ml-array-rescale@1.3.2","_nodeVersion":"14.13.0","_npmVersion":"6.14.8","dist":{"shasum":"ebdeaaa84d15f714dbb00e94a6a9336ddcf10413","size":3680,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.2.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmUser":{"name":"targos","email":"targos+npm@protonmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.2_1602055577822_0.7544334803401556"},"_hasShrinkwrap":false,"publish_time":1602055577948,"_cnpm_publish_time":1602055577948,"_cnpmcore_publish_time":"2021-12-16T22:01:30.418Z"},"1.3.1":{"name":"ml-array-rescale","version":"1.3.1","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.0.3","ml-array-max":"^1.1.2","ml-array-min":"^1.1.2"},"gitHead":"f4d819343eda4106db474597986b1297d608c8f4","_id":"ml-array-rescale@1.3.1","_nodeVersion":"13.11.0","_npmVersion":"lerna/3.20.2/node@v13.11.0+x64 (darwin)","dist":{"shasum":"7e55871af8741d212e2b47b8acd55571936c822b","size":3443,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.1.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmUser":{"name":"lpatiny","email":"lpatiny@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.1_1587134823050_0.31374245329352246"},"_hasShrinkwrap":false,"publish_time":1587134823178,"_cnpm_publish_time":1587134823178,"_cnpmcore_publish_time":"2021-12-16T22:01:30.617Z"},"1.3.0":{"name":"ml-array-rescale","version":"1.3.0","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.0.3","ml-array-max":"^1.1.2","ml-array-min":"^1.1.2"},"gitHead":"767a39f38806810ec11bf3676948999500e35a36","_id":"ml-array-rescale@1.3.0","_nodeVersion":"13.11.0","_npmVersion":"lerna/3.20.2/node@v13.11.0+x64 (darwin)","dist":{"shasum":"424baa931d4b874b18f4a8e52957c7d6deb29ddc","size":3367,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.3.0.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmUser":{"name":"lpatiny","email":"lpatiny@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.3.0_1585813108701_0.7805001828898301"},"_hasShrinkwrap":false,"publish_time":1585813108831,"_cnpm_publish_time":1585813108831,"_cnpmcore_publish_time":"2021-12-16T22:01:30.816Z"},"1.2.2":{"name":"ml-array-rescale","version":"1.2.2","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.0.3","ml-array-max":"^1.1.2","ml-array-min":"^1.1.2"},"gitHead":"6a3b7e1b0fab7f3996b9af3a75d6234a68c9e4d0","_id":"ml-array-rescale@1.2.2","_nodeVersion":"12.6.0","_npmVersion":"lerna/3.16.4/node@v12.6.0+x64 (darwin)","dist":{"shasum":"288aefd3bef104be6bee72b18db90969d10262b6","size":3168,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.2.2.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmUser":{"name":"lpatiny","email":"lpatiny@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.2.2_1567155218052_0.018305028551077962"},"_hasShrinkwrap":false,"publish_time":1567155218170,"_cnpm_publish_time":1567155218170,"_cnpmcore_publish_time":"2021-12-16T22:01:31.090Z"},"1.2.1":{"name":"ml-array-rescale","version":"1.2.1","description":"Rescale an array into a range","main":"lib/index.js","module":"lib-es6/index.js","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.0.3","ml-array-max":"^1.1.1","ml-array-min":"^1.1.1"},"gitHead":"fb58ef19baa6cacb075daee5dbbe3cbfe7309dd1","_id":"ml-array-rescale@1.2.1","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"stropitek","email":"kostro.d@gmail.com"},"dist":{"shasum":"8fc10ef0472a3bf27602d6089e6f93a2fb7d9fe5","size":3130,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.2.1.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.2.1_1541776682184_0.49382804344829356"},"_hasShrinkwrap":false,"publish_time":1541776682305,"_cnpm_publish_time":1541776682305,"_cnpmcore_publish_time":"2021-12-16T22:01:31.316Z"},"1.2.0":{"name":"ml-array-rescale","version":"1.2.0","description":"Rescale an array into a range","main":"lib/index.js","module":"src/index.js","repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"is-any-array":"^0.0.3","ml-array-max":"^1.1.0","ml-array-min":"^1.1.0"},"gitHead":"812f53d78df7770c287916b88e94de51815f574b","_resolved":"","_integrity":"","_from":"file:ml-array-rescale-1.2.0.tgz","_id":"ml-array-rescale@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"lpatiny","email":"lpatiny@gmail.com"},"dist":{"shasum":"5fa497f29910b289f1f0781c9a23f413d7b52d30","size":2955,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.2.0.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.2.0_1540554223483_0.1710561482593147"},"_hasShrinkwrap":false,"publish_time":1540554223581,"_cnpm_publish_time":1540554223581,"_cnpmcore_publish_time":"2021-12-16T22:01:31.531Z"},"1.1.1":{"name":"ml-array-rescale","version":"1.1.1","description":"Rescale an array into a range","main":"lib/index.js","module":"src/index.js","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"ml-array-max":"^1.0.2","ml-array-min":"^1.0.2"},"_id":"ml-array-rescale@1.1.1","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"lpatiny","email":"lpatiny@gmail.com"},"dist":{"shasum":"e73eb6eb1b3e40923aef190c8077fe383663335a","size":2779,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.1.1.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale_1.1.1_1533280588114_0.4877172712472557"},"_hasShrinkwrap":false,"publish_time":1533280589767,"_cnpm_publish_time":1533280589767,"_cnpmcore_publish_time":"2021-12-16T22:01:31.737Z"},"1.1.0":{"name":"ml-array-rescale","version":"1.1.0","description":"Rescale an array into a range","main":"lib/index.js","module":"src/index.js","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"ml-array-max":"^1.0.1","ml-array-min":"^1.0.1"},"_id":"ml-array-rescale@1.1.0","_npmVersion":"5.1.0","_nodeVersion":"8.0.0","_npmUser":{"name":"maasencioh","email":"maasencioh@gmail.com"},"dist":{"shasum":"e5a6aaff247865d1e1c8acfb8ef630fe5df1e3a2","size":2611,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.1.0.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale-1.1.0.tgz_1500366158379_0.9786098499316722"},"directories":{},"publish_time":1500366159343,"_hasShrinkwrap":false,"_cnpm_publish_time":1500366159343,"_cnpmcore_publish_time":"2021-12-16T22:01:31.972Z"},"1.0.2":{"name":"ml-array-rescale","version":"1.0.2","description":"Rescale an array into a range","main":"lib/index.js","module":"src/index.js","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"ml-array-max":"^1.0.1","ml-array-min":"^1.0.1"},"_id":"ml-array-rescale@1.0.2","_npmVersion":"5.1.0","_nodeVersion":"8.0.0","_npmUser":{"name":"maasencioh","email":"maasencioh@gmail.com"},"dist":{"shasum":"732adab3dd240af19409a690c9502f28f050de18","size":2528,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.0.2.tgz"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale-1.0.2.tgz_1499761440873_0.43631800590083003"},"directories":{},"publish_time":1499761441764,"_hasShrinkwrap":false,"_cnpm_publish_time":1499761441764,"_cnpmcore_publish_time":"2021-12-16T22:01:32.174Z"},"1.0.1":{"name":"ml-array-rescale","version":"1.0.1","description":"Rescale an array into a range","main":"lib/index.js","module":"src/index.js","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"ml-array-max":"^1.0.0","ml-array-min":"^1.0.0"},"_id":"ml-array-rescale@1.0.1","scripts":{},"_shasum":"e702508eee26311e5b2d8a1fc8ef4e28c4701fdf","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.0","_npmUser":{"name":"targos","email":"targos@live.com"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"dist":{"shasum":"e702508eee26311e5b2d8a1fc8ef4e28c4701fdf","size":2522,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale-1.0.1.tgz_1495608728622_0.6805417584255338"},"directories":{},"publish_time":1495608729572,"_hasShrinkwrap":false,"_cnpm_publish_time":1495608729572,"_cnpmcore_publish_time":"2021-12-16T22:01:32.369Z"},"1.0.0":{"name":"ml-array-rescale","version":"1.0.0","description":"Rescale an array into a range","main":"lib/index.js","module":"src/index.js","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/mljs/array.git"},"keywords":[],"author":{"name":"Michaël Zasso"},"license":"MIT","bugs":{"url":"https://github.com/mljs/array/issues"},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","dependencies":{"ml-array-max":"^1.0.0","ml-array-min":"^1.0.0"},"_id":"ml-array-rescale@1.0.0","scripts":{},"_shasum":"ae2d2a2c9ab72686dfbf8a212b7b891ef491481d","_from":".","_npmVersion":"4.5.0","_nodeVersion":"7.9.0","_npmUser":{"name":"targos","email":"targos@live.com"},"maintainers":[{"name":"lpatiny","email":""},{"name":"mljs-bot","email":""},{"name":"stropitek","email":""},{"name":"targos","email":""}],"dist":{"shasum":"ae2d2a2c9ab72686dfbf8a212b7b891ef491481d","size":2383,"noattachment":false,"key":"/ml-array-rescale/-/ml-array-rescale-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ml-array-rescale/download/ml-array-rescale-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ml-array-rescale-1.0.0.tgz_1495556361562_0.04363160394132137"},"directories":{},"publish_time":1495556362434,"_hasShrinkwrap":false,"_cnpm_publish_time":1495556362434,"_cnpmcore_publish_time":"2021-12-16T22:01:32.718Z"}},"readme":"# array-rescale\n\n  [![NPM version][npm-image]][npm-url]\n  [![npm download][download-image]][download-url]\n\nRescale an array into a range.\n\n## Installation\n\n`$ npm install --save ml-array-rescale`\n\n## Usage\n\n### `rescale(input[, options])`\n\nRescales the values in the `input` so they fit between two new values.\n\n__Options:__\n\n* `min`: the new minimum value (default: 0)\n* `max`: the new maximum value (default: 1)\n* `output`: an array to use for output. You can pass `input` here to get an in-place modification.\n\n```js\nimport rescale from 'ml-array-rescale';\n\nconst result = rescale([0, 1, 2, 3, 4]);\n// [0, 0.25, 0.5, 0.75, 1]\n```\n\n## License\n\n  [MIT](./LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/ml-array-rescale.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/ml-array-rescale\n[download-image]: https://img.shields.io/npm/dm/ml-array-rescale.svg?style=flat-square\n[download-url]: https://npmjs.org/package/ml-array-rescale\n","_attachments":{},"homepage":"https://github.com/mljs/array/tree/master/packages/array-rescale#readme","bugs":{"url":"https://github.com/mljs/array/issues"},"license":"MIT"}