Product of arr is a lightweight Node.js library to calculate the product of array element.
To use Product of arr in your Node.js project, you can install it using npm:
npm install product-of-arr
const productOfArr = require('product-of-arr');
or
import {...} = require('product-of-arr');
const product = productOfArr.calculateProduct([0, 1, false, 2, '', 3]);
console.log(product); // 6
This project is licensed under the ISC License.
[@oleg]