Search results
10 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Large collection of predicates.
A little library for asserting types and values, with zero dependencies.
- type
- types
- type-check
- type-checking
- duck-typing
- arguments
- parameters
- values
- data
- contract
- assert
- check
- verify
- safe
A little library for asserting types and values, with zero dependencies. Follower for check-types (archived).
- type
- types
- type-check
- type-checking
- duck-typing
- arguments
- parameters
- values
- data
- contract
- assert
- check
- verify
- safe
Fast and boilerplate-free precondition checks for javascript.
- contract
- precondition
- postcondition
- invariant
- offensive
- defensive
- programming
- duck-typing
- crash early
- fail fast
- readable
- boilerplate
- dsl
- browserify
- View more
Uncouple constructors and classes methods into functions.
Tiny tiny duck typing utility
A little library for asserting types and values.
- type
- types
- type-check
- type-checking
- duck-typing
- arguments
- parameters
- values
- data
- contract
- assert
- check
- verify
- safe
Check for what you need. Mainly for framework developers
A better alternative to the typeof-operator in JS. Utilizes the internal [[CLASS]] property.
Unlike default EcmaScript (JavaScript) constructors such as `String() defaults to '' | Number() defaults to 0 | Symbol() defaults to Symbol() | Boolean() defaults to false` . Instead, using `typed-getters` we can maintain consistency among JavaScript prim