ts-options-defaults
Options-defaults design pattern implementation for reliable configuration. It merges objects deeply, overrides arrays and classes (different than Object) and the result remains strongly typed.
Options-defaults design pattern implementation for reliable configuration. It merges objects deeply, overrides arrays and classes (different than Object) and the result remains strongly typed.
Like object.defaults but also works for nested objects. Very useful for safely retrieving values from embedded MongoDB documents.
Normalize missing first-level keys/values in an object with defaults
Create a Request option object that helps to interact with the GitHub API
Describe your environment variables contract with TypeScript class decorator
Bundle your JS with browserify with preconfigured transforms
Declarative processing of objects with support of filters, default values and validators
Retrieves the type of action which should take place when the user double clicks the titlebar of an active window.
Default values for a simple .npmignore file to keep your package clean of unnecessary stuff
Wrapper for creatng default options for request module + bonus settings
Body parsing middleware with json-schema valiation
>
Lookup table with default functionality
support hapi route configuration defaults
Handy overlapping system-user defaults for NodeJS applications.
Lightweight, correct type inference, a good helper for covering presets.
deep defaults with cloned arguments
A set of pure functions to set reasonable default value for properties
_.defaultsDeep without array merging
A deep version of _.defaults, safe by default.