0s

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i 0s

Weekly Downloads

20

Version

1.0.0

License

ISC

Last publish

Collaborators

  • joeyism