Skip to content

coderaiser/all-object-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

all-object-keys License NPM version Dependency Status Build Status Coverage Status

Get all keys of object. Use jessy to get value. Use nessy to set value.

Install

npm i all-object-keys --save

Hot to use?

const keys = require('all-object-keys');

keys({
    universal: true,
    hello: {
        world: 'could be used in browser as well',
    },
});

// returns
['universal', 'hello.world'];

Related

  • jessy - get value by object property.
  • nessy - set value in nested object.

License

MIT