compary
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Compary Travic CI

A library for composing complex compare-functions.

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

★★★ Like this project? Leave a star and feedback on Twitter! Thanks. ★★★


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

Dependents (0)

Package Sidebar

Install

npm i compary

Homepage

winterbe.com

Weekly Downloads

9

Version

0.1.0

License

MIT

Last publish

Collaborators

  • winterbe