JSPM

@sarikmansuri/array-helper

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q13056F
  • License MIT

Array helper functions

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-helper

Contributing

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