New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sort-the-array

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-the-array - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "sort-the-array",
"version": "1.0.4",
"version": "1.0.5",
"description": "sorting the array",

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

@@ -8,3 +8,5 @@ ## Installation

```bash
Example: test.cjs
Example: test.cjs file extension
```
```javascript
const { sortNumbers, sortStrings } = require('sort-the-array');

@@ -14,3 +16,3 @@ ```

## Usage
```bash
```javascript
const numbers = [4, 2, 7, 1, 5];

@@ -21,2 +23,2 @@ const strings = ['banana', 'apple', 'orange', 'grape'];

console.log('Sorted strings:', sortStrings(strings));
```
```
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