Search results
23 packages found
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
Copy an error object.
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
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
Test if a value is a TypeError 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
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.
expect all type errors, except spanish inquisition. Nobody expects spanish inqusition.
Go boom! with a clean, compact syntax for your javascript type checking.
Super-compact syntax for your type checking and throw statements.
Validation type of value is assignable
Throws TypeError if 'value' is not a constructor.
safe access to deeply nested properties and functions in JS objects without getting a TypeError
never type new again!
- terse
- essential
- new
- old
- simplicity
- constructor
- factory
- function
- native
- wrap
- Object
- Function
- Array
- Number
- View more
Protects your code from typeErrors when nesting in deep objects and arrays