Search
@bemoje/assert-type
Perform easy type-checks with a simple type assertion.
v1.0.1 URL:
https://unpkg.com/@bemoje/assert-type@1.0.1/dist/assert-type.umd.js
Open
Browse Files
perform
easy
type-checks
simple
type
assertion
constructors
expected
type's
accepted
constructor
null
evaluate
asserttype
@bemoje/throw-type-error
Throws a TypeError with a generated error message with ANSI-colors for easier console output readability.
v1.0.1 URL:
https://unpkg.com/@bemoje/throw-type-error@1.0.1/dist/throw-type-error.umd.js
Open
Browse Files
throws
typeerror
generated
error
message
ansi-colors
easier
console
output
readability
expectedtypeconstructor
expected
type's
constructor
evaluate
throwtypeerror
@bemoje/expected-got
Creates an error-message string with ANSI-colors to make it easy to spot in the console.
v1.0.1 URL:
https://unpkg.com/@bemoje/expected-got@1.0.1/dist/expected-got.umd.js
Open
Browse Files
creates
error-message
string
ansi-colors
make
easy
spot
console
expectedgot
constructor
expected
type's
argued
error
message
ansi-formatted