Search
superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
v2.0.2 URL:
https://unpkg.com/superstruct@2.0.2/dist/index.cjs
Open
Browse Files
api
array
assert
cast
check
checker
collection
data
error
express
hapi
interface
invalid
joi
json
list
model
object
orm
scalar
schema
struct
throw
type
types
valid
validate
validation
validator
bail
Throw a given error
v2.0.2 URL:
https://unpkg.com/bail@2.0.2/index.js
Open
Browse Files
fail
bail
throw
callback
error
@jsdevtools/ono
Throw better errors.
v7.1.3 URL:
https://unpkg.com/@jsdevtools/ono@7.1.3/cjs/index.js
Open
Browse Files
throw
error
errors
exception
printf
format
wrap
inner
original
stack
properties
@metamask/superstruct
A simple and composable way to validate data in JavaScript (and TypeScript).
v3.1.0 URL:
https://unpkg.com/@metamask/superstruct@3.1.0/dist/index.cjs
Open
Browse Files
api
array
assert
cast
check
checker
collection
data
error
express
hapi
interface
invalid
joi
json
list
model
object
orm
scalar
schema
struct
throw
type
types
valid
validate
validation
validator
immediate-error
Throw errors, better.
v5.1.0 URL:
https://unpkg.com/immediate-error@5.1.0/index.js
Open
Browse Files
error
throw
immediate-error
tool