Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
optional-require
NodeJS Require that let you handle module not found error without try/catch
require-optional
Require optional modules
@quenty/optional
Adds the optional function to Roblox for Nevermore require
optional
Allows you to optionally include modules without surrounding everything with 'try/catch'
browserify-optional
A browserify transform that allows optional dependencies in try..catch blocks
optional-js
Optionals for JS - wrapper for possibly undefined values, inspired by Java Optional API
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.
dynamic-class-list
A js package to get a string of dynamic and conditional css classes
stdopt
Wrap and validate optional values
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)
may-require
Cleanly try requiring optional dependencies
optional-chaining-codemod
Codemod to migrate from Lodash get and logical and expressions to optional chaining
typescript-optional
Optional (like Java) implementation in TypeScript
require-maybe
Optionally require a module, maybe fallback to others.
require-implementation
Package that helps you to be okay if some dependency is missing.
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.
@cloudflare/itty-router-openapi
OpenAPI schema generator and validator for Cloudflare Workers