Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash.forin

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.forin

The lodash method `_.forIn` exported as a module.

  • 4.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
210K
increased by16.67%
Maintainers
3
Weekly downloads
 
Created

What is lodash.forin?

The lodash.forin package is a utility library that provides a method for iterating over own and inherited enumerable properties of an object. It is part of the larger Lodash library, which is known for its utility functions for common programming tasks.

What are lodash.forin's main functionalities?

Iterate over object properties

This feature allows you to iterate over all enumerable properties of an object, including inherited properties. The provided function is invoked for each property.

const forIn = require('lodash.forin');

const object = { 'a': 1, 'b': 2, 'c': 3 };

forIn(object, function(value, key) {
  console.log(key, value);
});

Other packages similar to lodash.forin

Keywords

FAQs

Package last updated on 03 Apr 2016

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc