Search results
259 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Automatically bind methods to their class instance
Create custom JavaScript errors that also match instanceof.
Is this a bluebird promise I see before me?
Returns true if a value is a valid instance of Base.
Convert classes into factory functions so they can be called with or without new.
Check if an object is an array or a typed array
Provides TypeScript methods to map a JSON object to a JavaScript object on runtime
Test whether a value has in its prototype chain a specified constructor as a prototype property.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- prototype
- proto
- inherit
- inherits
- class
- oop
- View more
Instances of classes which are directly callable as functions.
Automatically bind methods to their class instance and walks through parent classes.
Implement prototypical inheritance by replacing the prototype of one constructor with the prototype of another constructor.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- prototype
- inherit
- inherits
- class
- oop
- object-oriented
- inheritance
- View more
Like _.includes but with wildcards
Lightweight library for determining types of variables based on battle-tested implementation from lodash but having a fraction of overall size.
Get react component instances from a DOM node
A set of predicate functions to improve your value testing and comparisons.
A lightweight utility to create global singletons (on browser and node)
- global
- singleton
- global-state
- state
- instance
- global function
- global object
- singleton function
- singleton object
- reference
Instances of classes which are directly callable as functions.
Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.
A simple and intuitive way to shim private methods and properties in JavaScript.
Convert content of a class instance to a string.