Search results

223 packages found

NodeJS Require that let you handle module not found error without try/catch

published version 1.1.8, 3 years ago121 dependents licensed under $Apache-2.0
2,920,200

TypeScript recursive conversion between optional (partial) and undefined properties.

published version 1.0.2, a year ago0 dependents licensed under $MIT
34,896

Allows you to optionally include modules without surrounding everything with 'try/catch'

published version 0.1.4, 7 years ago127 dependents licensed under $MIT
1,234,554

A browserify transform that allows optional dependencies in try..catch blocks

published version 1.0.1, 7 years ago33 dependents licensed under $MIT
1,523,910

Optionals for JS - wrapper for possibly undefined values, inspired by Java Optional API

published version 2.3.0, 4 years ago22 dependents licensed under $MIT
1,103,925

Allows you declare optionalPeerDependencies that can be satisfied by the top level module but ignored if they are not.

published version 1.0.1, 8 years ago33 dependents licensed under $Apache-2.0
1,097,606

A typesafe way to get nested properties when any parent property might be undefined, while we wait for the optional chaining operator to finally exist

published version 2.1.2, 5 years ago0 dependents licensed under $MIT
178

Extract the options and callback from a function's arguments easily

published version 5.9.0, a year ago8 dependents licensed under $Artistic-2.0
417,954

Validate and format function arguments ( handles types and optionals)

published version 1.2.1, 8 years ago22 dependents licensed under $MIT
64,176

OpenAPI 3 and 3.1 schema generator and validator for Hono, itty-router and more!

published version 2.5.4, 2 days ago7 dependents licensed under $MIT
26,604

Optional (like Java) implementation in TypeScript

published version 3.0.0-alpha.3, 3 years ago120 dependents licensed under $MIT
24,875

Codemod to migrate from Lodash get and logical and expressions to optional chaining

published version 1.7.0, 3 years ago0 dependents licensed under $MIT
21,992

Wrap and validate optional values

published version 13.0.0, 5 years ago12 dependents licensed under $Apache-2.0
15,954

Mocha add-on method it.optional() which marks a test as pending if it would fail

published version 0.1.0, 10 years ago0 dependents licensed under $MIT
15,180

A js package to get a string of dynamic and conditional css classes

published version 2.0.2, 2 years ago3 dependents licensed under $MIT
17,590

OpenAPI schema generator and validator for Cloudflare Workers

published version 1.1.1, 9 months ago3 dependents licensed under $MIT
15,035

A minimal optional package

published version 1.0.0, 3 years ago0 dependents licensed under $MIT
8,270

Optional module for JavaScript that provides interfaces to interact with potentially null/undefined values.

published version 0.0.18, 2 years ago1 dependents licensed under $MIT
748

Eliminate null/undefined errors in JS...and more!

published version 2.1.0, 7 years ago25 dependents licensed under $MIT
9,293

Non-intrusively convert the result of any function or promise to the user's desired style.

published version 3.0.1, 2 years ago19 dependents licensed under $MIT
6,288