0.1.0 • Published 7 years ago

compary v0.1.0

Weekly downloads
9
License
MIT
Repository
github
Last release
7 years ago

Compary Travic CI

A library for composing complex compare-functions.

persons.sort(
    compareBy(p => p.lastName)
        .thenBy(p => p.firstName)
);


Getting started

Download the latest release from GitHub or install Compary from NPM:

npm install --save compary

Alternatively use Compary from CDN by adding this to your HTML:

<script src="https://unpkg.com/compary"></script>

License

MIT © Benjamin Winterberg