just-map-keys
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "just-map-keys", | ||
"version": "1.0.0", | ||
"description": "map an object, predicate updates keys, recieves (value, key, object)", | ||
"version": "1.0.1", | ||
"description": | ||
"map an object, predicate updates keys, recieves (value, key, object)", | ||
"main": "index.js", | ||
@@ -6,0 +7,0 @@ "scripts": { |
@@ -16,4 +16,4 @@ ## just-map-object | ||
map({a: 3, b: 5, c: 9}, (value, key) => key + value); // {a3: 3, b5: 5, c9: 9} | ||
map({a: 3, b: 5, c: 9}, (value, key, object) => obj['b'] + value + key); | ||
map({a: 3, b: 5, c: 9}, (value, key, obj) => obj.b + value + key); | ||
// {'8a': 3, '10b': 5, '14c': 9} | ||
``` |
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
1790