JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 272
  • Score
    100M100P100Q89851F
  • License MIT

Add up all the numbers in the array

Package Exports

  • array-add-num
  • array-add-num/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 (array-add-num) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

array-add-num

CI npm Gzip Size

Add up all the numbers in the array

Install

$ npm i array-add-num

Usage

const arrayAdd = require('array-add-num');

arrayAdd([1, 2, 3, 4]);
//=> 10

API

arrayAdd(input)

input

Type: Array
Default: []

Must be a JavaScript Array object.

License

MIT © Palash Mondal