Package Exports
- @sarikmansuri/array-helper
- @sarikmansuri/array-helper/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sarikmansuri/array-helper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
array-helper
Array helper functions to manage and manipulate arrays
Installation
npm i @sarikmansuri/array-helperContributing
- To conttribute please refer CONTRIBUTING.md.
How to use
In your package.json add the following, "type": "module".
Example Usage
import { secondMax } from '@sarikmansuri/array-helper';
let arr = [1, 4, 2, 5, 3];
console.log(secondMax(arr)); // Output : 4