1.0.0 • Published 3 years ago
@nikkorfed/trendtech-test-exercise v1.0.0
TrendTech Test Exercise
Installation
npm i @nikkorfed/trendtech-test
Usage
const transform = require("@nikkorfed/trendtech-test");
let array = [1, 2, 3, 6, 7, 9, 10, 11, 12, 13, 15, 17, 20];
let result = await transform(array);
console.log(result); // -> 1-3,6,7,9-13,15,17,20
Running tests
npm run test
1.0.0
3 years ago