Showing 21-40 of 2,116 packages
is-any-type simple functionality alternative to check data type references such as typeof and instanceof
Workaround for subclassing errors. Both instanceof and stack are functional.
Converts TypeScript 'new' types to JSDoc compatible 'instanceOf'.
Enables `obj instanceof MyStamp` in ES6 environments
Check if a value is a regular expression
Allow `instanceof` to match even if comparing an instance created by a different copy of the class
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Test whether a value has in its prototype chain a specified constructor as a prototype property.
Additional JSON-Schema keywords for Ajv JSON validator
```typescript //insert into app.ts if (err instanceof InputValidationError) { return res.status(err.status).json({ message: err.message, details: err.fields, }); } ```
A library to make errors.
Create mixins which work with instanceof (friendly for unit tests).
Constructible style sheets/adopted style sheets polyfill
utility to create a universal WebWorker from a function
Straightforward classes for node.js or web browsers
Unbox a boxed JS primitive value.
Makes Validation.Invalid behave as an instanceof Error
Check if a supplied value is a valid Date (instanceof Date or a valid string representation of a date that can be turned into one by instantiating Date class).
Compress images in the browser
Exceptions for Node.js. Check'em with "instanceof".