1.0.0 • Published 5 years ago

0s v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

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

1.0.0

5 years ago