Socket
Socket
Sign inDemoInstall

athro

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

athro - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

package.json
{
"name": "athro",
"version": "1.4.0",
"version": "1.4.1",
"description": "A library for javascript which contains basic datastructures, algorithms and some generic functionalities which a developer needs",

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

@@ -137,5 +137,20 @@

#### Array Remove Duplicates
```
Pass an array to the function and duplicates values would be removed from the array that is returned.
import { arrayRemoveDuplicates } from 'athro';
```
* **Syntax** - *params: arrayRemoveDuplicates(array)*
#### Array Difference
```
Pass two arrays to the function and their difference is returned -> sample : pass ([1,2,6,9,4,3],[1,2,6,3]) returned array is [9,4].
import { arrayDifference } from 'athro';
```
* **Syntax** - *params: arrayDifference(array1,array2)*
## Author

@@ -142,0 +157,0 @@

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