Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
nest-optional-validation-pipes
A NestJS addon that provides validation pipes for the simple data types with the option of optionality. E.g. a ParseBoolOptionalPipe that validates & transforms @Query parameters that are then either true, false or undefined/null or throw an error.
optional-require
NodeJS Require that let you handle module not found error without try/catch
optional
Allows you to optionally include modules without surrounding everything with 'try/catch'
optional-js
Optionals for JS - wrapper for possibly undefined values, inspired by Java Optional API
browserify-optional
A browserify transform that allows optional dependencies in try..catch blocks
require_optional
Allows you declare optionalPeerDependencies that can be satisfied by the top level module but ignored if they are not.
extract-opts
Extract the options and callback from a function's arguments easily
ts-undefined-partial
TypeScript recursive conversion between optional (partial) and undefined properties.
chanfana
OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!
assert-args
Validate and format function arguments ( handles types and optionals)
stdopt
Wrap and validate optional values
optional-chaining-codemod
Codemod to migrate from Lodash get and logical and expressions to optional chaining
typescript-optional
Optional (like Java) implementation in TypeScript
dynamic-class-list
A js package to get a string of dynamic and conditional css classes
@cloudflare/itty-router-openapi
OpenAPI schema generator and validator for Cloudflare Workers
safe-traverse
Enhanced optional chaining. Safe accessing properties of unknown object without whole validation.
optional-pkg
A minimal optional package
pfn
Possible Function. Wraps what might be a function, with fallback behavior in case it’s not. Perfect for use in functions that accept optional callback arguments.
ofn
Overloads a function. Makes parameters optional.
monapt
Eliminate null/undefined errors in JS...and more!