range-converter
v1.0.2
Published
Simple range converter
Downloads
4
Readme
range-converter
Simple range converter
Installation
npm i range-converter
Usage
const convert = require('range-converter');
convert([1,3,4,5,6,7,8]).then((res) => {
console.log(res) // '1,3-8'
})
Tests
$ npm run test
Coverage
$ npm run coverage
Open in your browser file: './coverage/index.html'...
Check code style
$ npm run lint
License
MIT.