Socket
Socket
Sign inDemoInstall

just-map-keys

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

just-map-keys - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

package.json
{
"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": {

2

README.md

@@ -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}
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc