New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

all-object-keys

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

all-object-keys

get all keys of object

3.0.2
latest
Version published
Weekly downloads
1.9K
-12.97%
Maintainers
0
Weekly downloads
 
Created

all-object-keys License NPM version 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',
];
  • jessy - get value by object property.
  • nessy - set value in nested object.

License

MIT

FAQs

Package last updated on 23 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts