1.0.3 • Published 5 months ago

product-of-arr v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

Product of array element

Product of arr is a lightweight Node.js library to calculate the product of array element.

Installation

To use Product of arr in your Node.js project, you can install it using npm:

npm install product-of-arr

Usage

Import the library

const productOfArr = require('product-of-arr');
or
import {...} = require('product-of-arr');

Functions

Product of array element

const product = productOfArr.calculateProduct([0, 1, false, 2, '', 3]);
console.log(product); // 6

License

This project is licensed under the ISC License.

Author

@oleg

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

6 months ago

1.0.0

6 months ago