Detalhes do pacote

for-each-key

coderaiser2.6kMIT2.0.0

call a function with key and value for each object property

for, each, key

readme (leia-me)

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

changelog (log de mudanças)

2019.12.21, v2.0.0

feature:

  • (for-each-key) drop support of node < 4
  • (package) redrun v7.0.3
  • (package) nyc v13.1.0
  • (package) sinon, sinon-called-with-diff -> @cloudcmd/stub
  • (package) eslint v5.0.0
  • (package) sinon v6.0.0
  • (package) sinon v5.0.3

2018.04.12, v1.0.1

fix:

  • (package) build

feature:

  • (package) add report