Search results
29 packages found
A zero-dependency lightweight performant library for creating mixins/traits in JS/TS.
`new`-less classes for ES7/Babel, TypeScript, CoffeeScript, etc.
Constructors cached from literals.
Perform easy type-checks with a simple type assertion.
- perform
- easy
- type-checks
- simple
- type
- assertion
- constructors
- expected
- type's
- accepted
- constructor
- null
- evaluate
- asserttype
CalculatedCachedProperties allows properties to have values calculated by a function, and then cached. You can then manually invalidate (clean) the cache for one or more (or all) properties, forcing the function to be invoked and recalculate next time the
get an array of constructors for objects and classes
create lazy versions of functions and constructors.
Check that two objects have all the same properties (keys and values) but don't check that the objects' constructors are the same.
- chai-stuff
- chai
- plugin
- chai-plugin
- same-props
- sameProps
- same
- props
- type
- typeof
- constructor
- constructors
- class
- classes
- View more
JavaScript constructors for common interfaces