@aureooms/js-fliplist

0.0.1 • Public • Published

@aureooms/js-fliplist

Flip list data structure for JavaScript. See docs.

const a = new FlipList( range(10000) );
const b = new FlipList( range(1, 20001) );
b.reverse();
a.extend(b);
a.reverse();
a.reversebetween(a.begin().next(), a.end().prev());
[...a]; 1, 1, 2, ..., 9999, 20000, ..., 3, 2, 0

License NPM version Build status Coverage status Dependencies status Dev dependencies status Code Climate NPM downloads per month GitHub issues Documentation

Package Sidebar

Install

npm i @aureooms/js-fliplist

Weekly Downloads

1

Version

0.0.1

License

AGPL-3.0

Last publish

Collaborators

  • aureooms