maq

1.0.1 • Public • Published

maq

Build Status Coverage Status Dependency Status NPM MIT

Make queue (Array object) by specifing each number of elements.

const maq = require('maq');
var array = maq({ work: 3, sleep: 2 });
// [ 'sleep', 'work', 'work', ... ]

Also, command line interface is avaiable.

$ maq --work 3 --sleep 2
 
work
sleep
work
work
sleep

License

Copyright (C) 2016 Retorillo

Distributed under the MIT license.

/maq/

    Package Sidebar

    Install

    npm i maq

    Weekly Downloads

    5

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • retorillo