You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

lodash.keysin

Package Overview
Dependencies
Maintainers
5
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.keysin

The modern build of lodash’s `_.keysIn` as a module.


Version published
Weekly downloads
181K
decreased by-25.62%
Maintainers
5
Created
Weekly downloads
 

Package description

What is lodash.keysin?

The lodash.keysin package is a utility library that provides a method to retrieve all the enumerable property names of an object, including those inherited through the prototype chain.

What are lodash.keysin's main functionalities?

Retrieve all enumerable property names

This feature allows you to retrieve all enumerable property names of an object, including those inherited through the prototype chain. In the example, 'a' is inherited from the prototype, and 'c' is an own enumerable property.

const keysIn = require('lodash.keysin');
const object = Object.create({ 'a': 1 }, { 'b': { value: 2 }, 'c': { value: 3, enumerable: true } });
console.log(keysIn(object)); // ['a', 'c']

Other packages similar to lodash.keysin

Readme

Source

lodash.keysin v3.0.8

The modern build of lodash’s _.keysIn exported as a Node.js/io.js module.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash.keysin

In Node.js/io.js:

var keysIn = require('lodash.keysin');

See the documentation or package source for more details.

Keywords

FAQs

Package last updated on 26 May 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc