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

lodash.without

Package Overview
Dependencies
Maintainers
3
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.without

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

  • 4.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
340K
decreased by-16.69%
Maintainers
3
Weekly downloads
 
Created

What is lodash.without?

The lodash.without package is a utility library that provides a function to create an array excluding all given values. It is part of the larger Lodash library, which is known for its utility functions for common programming tasks.

What are lodash.without's main functionalities?

Array Exclusion

This feature allows you to create a new array excluding specified values. In the example, the values 2 and 4 are excluded from the original array.

const without = require('lodash.without');
const array = [1, 2, 3, 4, 5];
const result = without(array, 2, 4);
console.log(result); // [1, 3, 5]

Other packages similar to lodash.without

Keywords

FAQs

Package last updated on 13 Aug 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