@baijanaththaru/ts-sum
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

ts-sum

A typescript package to get the sum of numbers

Usage

  1. Install as a dependency
npm install @baijanaththaru/ts-sum
  1. Use in your project
import { sum } from '@baijanaththaru/ts-sum';

const numbers = [10, 20, 30];

const numbersSum = sum(...numbers); // 60

Readme

Keywords

Package Sidebar

Install

npm i @baijanaththaru/ts-sum

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

2.87 kB

Total Files

5

Last publish

Collaborators

  • baijanaththaru