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

remove-duplicates-items

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remove-duplicates-items - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "remove-duplicates-items",
"version": "1.0.1",
"version": "1.0.2",
"description": "remove the duplicates in an array",

@@ -5,0 +5,0 @@ "main": "index.cjs",

@@ -1,1 +0,19 @@

# remove-duplicates
## Installation
```bash
npm install remove-duplicates-items --save-dev
```
## Import
```bash
.cjs file extension
```
```javascript
const removeDuplicates = require('remove-duplicates-items');
```
## Usage
```javascript
const removeDuplicates = require('remove-duplicates-items');
const arrayWithDuplicates = ['abc', 'bca', 'abc', 'cba'];
console.log('Array without duplicates:', removeDuplicates(arrayWithDuplicates)); // [ 'abc', 'bca', 'cba' ]
```
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