Sum
Get the sum of an array of numbers
Usage
Deno π¦
import { sum } from "https://deno.land/x/sum/mod.ts";
sum(1, 2, 3, 4, 5); //=> 15
Node.js π’
import { sum } from "@ultirequiem/sum";
Browser
You can use any CDN π₯
Eg. ESM βΆ SkyPack / script tag βΆ JSDelivr.
The API is the same on all this platforms.
Documentation
Is hosted on Deno Doc π
CLI
Install
- Deno π
deno install https://deno.land/x/sum/sum.ts
- Node.js πΌ
npm install -g @ultirequiem/sum
Usage
sum --help
A binary for multiple platforms is provided too!
Support
Open an Issue, I will check it a soon as possible π
If you want to hurry me up a bit send me a tweet π
Consider supporting me on Patreon if you like my work π
Donβt forget to star the repo β
Versioning
We use SemVer for versioning. For the versions available, see the tags.
Authors
Eliaz Bobadilla (a.k.a UltiRequiem) - Creator and Maintainer πͺ
See also the full list of contributors who participated in this project.
Licence
Licensed under the MIT License π