Clone / download the .zip and run npm install
.
Run npm test
from terminal.
- run
ts-node-start
in terminal - copy-paste the import statement below, hit enter, and start typing js
import { pagination } from './index';
console.log(pagination(4, 5, 1, 0));
$ 1 ... [4] 5