1.0.1 • Published 8 years ago

maq v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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.