tiny-types

A tiny library that brings Tiny Types to JavaScript and TypeScript

APACHE-2.0 License

Downloads
94.2K
Stars
132
Committers
9

Bot releases are hidden (Show)

tiny-types - v1.9.1

Published by jan-molak over 6 years ago

1.9.1 (2018-05-03)

Bug Fixes

  • predicates: and() will stop evaluating predicates upon the first failure (e67c6bb)
tiny-types - v1.9.0

Published by jan-molak over 6 years ago

1.9.0 (2018-04-30)

Features

  • predicates: isBoolean, isNumber and isString predicates (5676694)
tiny-types - v1.8.1

Published by jan-molak over 6 years ago

1.8.1 (2018-03-20)

Bug Fixes

  • API Docs: Corrected the API Docs of the ensure function (81fce06)
tiny-types - v1.8.0

Published by jan-molak over 6 years ago

1.8.0 (2018-03-01)

Features

  • predicates: Check has been deprecated in favour of Ensure. New "deprecated" decorator can be u (2f7200b)
tiny-types - v1.7.0

Published by jan-molak over 6 years ago

1.7.0 (2018-02-21)

Features

  • TinyType: toJSON and equals work with Arrays (9d21d02)
tiny-types - v1.6.1

Published by jan-molak over 6 years ago

1.6.1 (2018-02-21)

Bug Fixes

  • npm: Removed unnecessary config files from the npm distribution (31dc7a3)
tiny-types - v1.6.0

Published by jan-molak over 6 years ago

1.6.0 (2018-02-21)

Bug Fixes

  • serialisation: Serialised and Serialisable are exported from the main package (d4b7f2f)

Features

  • predicates: isOneOf checks if the value is one of the allowed values (1b401d8)
tiny-types - v1.5.0

Published by jan-molak over 6 years ago

1.5.0 (2018-02-21)

Features

  • TinyType: TinyTypeOf() prevents instantiation with null or undefined argument. (543ec7f)
tiny-types - v1.4.3

Published by jan-molak over 6 years ago

1.4.3 (2018-02-21)

Bug Fixes

  • TinyType: Improvements to serialisation/de-serialisation types (bb27ac0)
tiny-types - v1.4.2

Published by jan-molak over 6 years ago

1.4.2 (2018-02-20)

Bug Fixes

  • predicates: isInRange is correctly exported (44866bf)
tiny-types - v1.4.1

Published by jan-molak over 6 years ago

1.4.1 (2018-02-20)

Bug Fixes

  • pattern-matching: Corrected the signature of the match function (076d0e2)
tiny-types - v1.4.0

Published by jan-molak over 6 years ago

1.4.0 (2018-02-20)

Features

  • predicates: Simplified the instantiation of simple predicates with Predicate.to (ea3ce5e)
tiny-types - v1.3.0

Published by jan-molak over 6 years ago

1.3.0 (2018-02-19)

Features

  • predicates: Predicates help to ensure strong domain models that can guarantee their correctnes (94915c3)
tiny-types - v1.2.0

Published by jan-molak over 6 years ago

1.2.0 (2018-02-12)

Features

  • TinyType: TinyTypes can be serialised to JSON (59213dc)
tiny-types - v1.1.0

Published by jan-molak over 6 years ago

1.1.0 (2018-02-12)

Features

  • pattern-matching: ::match function enables more functional switch/case syntax as well as patte (23ccbc7)
  • TinyType: Single-line TinyType definitions with TinyTypeOf (e7f14c8)
tiny-types - v1.0.1

Published by jan-molak over 6 years ago

1.0.1 (2018-02-02)

Bug Fixes

  • npm: Added an index file so that TinyType can be easily imported (50a3d7b)
tiny-types - v1.0.0

Published by jan-molak over 6 years ago

1.0.0 (2018-02-02)

Features

  • TinyType: First implementation of a TinyType (04711fc)
Package Rankings
Top 2.73% on Npmjs.org
Badges
Extracted from project README
npm version Build Status Coverage Status Commitizen friendly npm Known Vulnerabilities GitHub stars Twitter Follow Twitter Follow