sort-the-array
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "sort-the-array", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "sorting the array", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs", |
@@ -1,1 +0,19 @@ | ||
# sorting-array | ||
## Installation | ||
```bash | ||
npm install sort-the-array --save-dev | ||
``` | ||
## Import | ||
```bash | ||
Example: test.cjs | ||
const { sortNumbers, sortStrings } = require('sort-the-array'); | ||
``` | ||
## Usage | ||
```bash | ||
const numbers = [4, 2, 7, 1, 5]; | ||
const strings = ['banana', 'apple', 'orange', 'grape']; | ||
console.log('Sorted numbers:', sortNumbers(numbers)); | ||
console.log('Sorted strings:', sortStrings(strings)); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2348
19