Skip to content

EliseevNP/range-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple range converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published