npm.devtool.tech
👏 You can access 0s package with using 0S variable in browser devtools!
A tool to create an array filled with 0's

code/package/bundle size

0B
publish
0B
install
0B
bundle minified
0B
bundle gzipped

0s

A simple tool to create an array with only 0's

Installation

To install, run

$ npm install --save 0s

Usage

To use, require it first by

var zeroes = require("0s");

Then input the array length that you want

zeroes() // []
zeroes(0) // []
zeroes(1) // [1]
zeroes(5) // [1, 1, 1, 1, 1]

Versions

1.0.0 First version

Explore Package

Score

Popularity4/100
Quality80/100
Maintenance100/100