npm.io
2.0.0 • Published 6 years ago

for-each-key

Licence
MIT
Version
2.0.0
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
1

for-each-key License NPM version Dependency Status Build Status Coverage

Call a function with key and value for each object property.

Install

npm i for-each-key --save

How to use?

const forEachKey = require('for-each-key');

forEachKey(console.log, {
    hello: 'world'
});
// output
'hello world'

License

MIT

Keywords