Search results
25 packages found
A simple cache for a few of the JS Error constructors.
An ES-spec-compliant shim/polyfill/replacement for the `.cause` property on all Error types that works as far down as ES3
- javascript
- polyfill
- ecmascript
- error
- shim
- syntaxerror
- typeerror
- referenceerror
- aggregateerror
- rangeerror
- evalerror
- urierror
Check if a value is a Fetch network error
Copy or deep clone a value to an arbitrary depth.
> A simple function to validate if nested object properties exist.
JS Object manipulation with dot path and some magical helpers
Test if a value is a TypeError object.
Permette di generare degli errori dal testo personalizzato in modo semplice e diretto, e decidere tramite callback quale tipo di errore restituire e quali modifiche al testo produrre automaticamente
Protects your code from typeErrors when nesting in deep objects and arrays
Copy an error object.
Curried property accessor function that resolves deeply-nested object properties via dot/bracket-notation string path while mitigating TypeErrors via friendly and composable API.
- Mitigate TypeError
- TypeError
- TypeErrors
- access
- accessor
- bracket-notation string path
- browser
- callback
- composable
- compatible
- curried
- curry
- deep
- dot-notation string path
- View more
Error objects for JavaScript
- Error
- IndexError
- KeyError
- NotImplementedError
- StopIteration
- SyntaxError
- TypeError
- ValueError
- error
- exception
- javascript
- js
A simple cache for a few of the JS Error constructors.
Throws a TypeError with a generated error message with ANSI-colors for easier console output readability.
- throws
- typeerror
- generated
- error
- message
- ansi-colors
- easier
- console
- output
- readability
- expectedtypeconstructor
- expected
- type's
- constructor
- View more
Throw TypeError if not a value is array-like. The undefined value always evaluates to true.
Go boom! with a clean, compact syntax for your javascript type checking.
Super-compact syntax for your type checking and throw statements.
expect all type errors, except spanish inquisition. Nobody expects spanish inqusition.
Validation type of value is assignable
Throws TypeError if 'value' is not a constructor.