fill-range
Install
$ npm install --save fill-rangeUsage
const fill = require('fill-range');
// fill(from, to[, step, options]);
console.log(fill('1', '10')); //=> ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10']
console.log(fill('1', '10', { toRegex: true })); //=> [1-9]|10Examples
Options
options.step
options.strictRanges
options.stringify
options.toRegex
options.transform
About
Contributors
Author
License
Last updated
