@anselan/maprange
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@anselan/maprange", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Map values from one range to another", | ||
@@ -8,3 +8,4 @@ "main": "index.js", | ||
"test": "npx jest", | ||
"build": "npx tsc" | ||
"build": "npm run test && npx tsc", | ||
"prepare": "npm run build" | ||
}, | ||
@@ -11,0 +12,0 @@ "keywords": [ |
@@ -11,2 +11,8 @@ import remap from '.' | ||
test('0.1 is 10%', () => { | ||
const value = 0.1; | ||
const result = remap(value, 0, 1, 0, 100); | ||
expect(result).toBe(10); | ||
}) | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
2205
6
48
1
9