Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "clamp.js", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Returns a function that clamps input values to range [min <= x <= max].", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -28,5 +28,3 @@ # clamp.js (written in ES6) | ||
const limiter = clamp(0, 3); | ||
[1,2,3,4,5].map(limiter); // [1,2,3,3,3] | ||
[1,2,3,4,5].map(clamp(0, 3)); // [1,2,3,3,3] | ||
``` | ||
@@ -33,0 +31,0 @@ |
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
7401
58