0.0.1 • Published 4 years ago

@aureooms/js-skip-list v0.0.1

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
4 years ago

:fast_forward: @aureooms/js-skip-list

Skip list data structure for JavaScript. See docs.

:warning: The code requires regeneratorRuntime to be defined, for instance by importing regenerator-runtime/runtime.

import {decreasing} from '@aureooms/js-compare';
import {range} from '@aureooms/js-itertools';
import SkipList from '@aureooms/js-skip-list';
const list = SkipList.from(decreasing, range(10000));
[...list]; // [9999, 9998, ...]
list.add(...)
list.get(...)
list.has(...)
list.remove(...)

License Version Build Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov)

Code technical debt Documentation Package size