@total-order/key

1.0.0 • Public • Published

🗝️ @total-order/key

Comparison function from key function for JavaScript. See docs.

import {key, len, prop} from '@total-order/key';
import {increasing} from '@total-order/primitive';
import {iterable} from '@total-order/iter';

const order = key(
	iterable(increasing),
	function* (x) {
		yield x['🙀'] * x['🦿'];
		yield x['🤖'];
	}
);

License Version Tests Dependencies Dev dependencies GitHub issues Downloads

Code issues Code maintainability Code coverage (cov) Code technical debt Documentation Package size

/@total-order/key/

    Package Sidebar

    Install

    npm i @total-order/key

    Weekly Downloads

    24

    Version

    1.0.0

    License

    AGPL-3.0

    Unpacked Size

    494 kB

    Total Files

    16

    Last publish

    Collaborators

    • raskat
    • aureooms