Get the sum of an array of numbers
import { sum } from "https://deno.land/x/sum/mod.ts";
sum(1, 2, 3, 4, 5); //=> 15
import { sum } from "@ultirequiem/sum";
You can use any CDN ๐ฅ
Eg. ESM โถ SkyPack / script tag โถ JSDelivr.
The API is the same on all this platforms.
Is hosted on Deno Doc ๐
- Deno ๐
deno install https://deno.land/x/sum/sum.ts
- Node.js ๐ผ
npm install -g @ultirequiem/sum
sum --help
A binary for multiple platforms is provided too!
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 โญ
We use SemVer for versioning. For the versions available, see the tags.
Eliaz Bobadilla (a.k.a UltiRequiem) - Creator and Maintainer ๐ช
See also the full list of contributors who participated in this project.
Licensed under the MIT License ๐