@giancosta86/more-immutable
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

more-immutable

Utilities complementing Immutable.js

more-immutable is a tiny TypeScript library currently containing sorting and testing utilities for immutable.

Installation

npm install @giancosta86/more-immutable

or

yarn add @giancosta86/more-immutable

The public API entirely resides in the root package index, so one shouldn't reference specific modules.

Usage

Please, refer to:

  • Comparator and its PairSorting enum

  • expectSorting() - with a fluent notation that one can use to test sorting algorithms

  • testEqualsAndHashCode() - to be called within a Jest describe block in order to automatically generate tests related to equality and hash code for classes implementing the ValueObject interface

Further references

/@giancosta86/more-immutable/

    Package Sidebar

    Install

    npm i @giancosta86/more-immutable

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    12.1 kB

    Total Files

    22

    Last publish

    Collaborators

    • giancosta86