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

require_optional

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