包详细信息

for-each-key

coderaiser2.6kMIT2.0.0

call a function with key and value for each object property

for, each, key

自述文件

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