npm explorer

Results for "default-value"

/

Showing 1-20 of 504,668 packages

default-value

v1.0.0

Lets you easily define a default value for undefined options, with optional support for Promises

default
9 years ago571/week
Quality100%
Popularity100%
Maintenance100%

@aws-amplify/graphql-default-value-transformer

v3.1.15

Amplify GraphQL default value transformer

graphqlcloudformationawsamplify

tryor

v0.1.2

return fn() or default value (in case of exception)

trycatchdefault
12 years ago

@x-oasis/default-value

v0.2.4

default-value function

4 days ago0/week
Quality100%
Popularity100%
Maintenance100%

read-env-value

v2.0.2

Read env with default value

envenvironment
6 months ago0/week

nco

v1.0.1

Applies a default value to a variable if it is null or undefined.

defaultvaluevariable
9 years ago

fashion-model-defaults

v1.1.1

fashion-model default value mixin

fashionmodelmixin
8 years ago

default-val

v0.1.5

Get a default value when a value is nullish or invalid type

defaultvaluetypecheck

set-default-value

v0.0.8

If value is null or undefined, it sets a default value instead.

defaultdefaultvaluenullundefined

typeor

v1.2.0

> Return default value if wrong type

typescripttypeofdefault
5 years ago

env-or

v2.0.0

Interface for process.env variables that allows setting a default value if none is set

3 years ago0/week
Quality100%
Popularity100%
Maintenance100%

@nodecg/json-schema-defaults

v1.0.4

A library and CLI tool for generating a default value from a JSON schema

jsonschema
3 years ago0/week

@itrocks/property-default

v0.0.2

Runtime default value reflection from TypeScript files for properties

backenddefaultit.rocksparse

optval

v1.0.1

Tiny module for setting a default value when a parameter is undefind or null

typeofundefinedoptionalparameter

get-set-default

v0.1.0

Get an object property, setting and returning default value if does not exist yet.

8 years ago0/week
Quality100%
Popularity100%
Maintenance100%

populate-env

v2.4.3

Populate a given object from process.env with default value and types.

envenvironmentvariabletypescript

json-parse

v1.0.3

Curried function that calls `JSON.parse` on provided input returning either the parsed JSON or the specified default value if the data fails to parse as valid JSON instead of throwing a `SyntaxError`.

JSONJSON.parsecatchcurried

recma-mdx-escape-missing-components

v1.2.2

Recma plugin to set the default value `() => null` for the Components in MDX in case of missing or not provided.

unifiedestreeesastmdx

ignor

v1.2.0

Ignore errors conditionally in sync / async / promise functions and return a default value.

ignoreerrorsconditionallypromise

dvalue

v1.1.0

A Default Value handler for javascript

default
4 years ago0/week
Quality100%
Popularity100%
Page 1 of 25234
Next
transformer
4 days ago0/week
Quality100%
Popularity100%
Maintenance100%
0/week
Quality100%
Popularity100%
Maintenance100%
Quality
100%
Popularity100%
Maintenance100%
0/week
Quality100%
Popularity100%
Maintenance100%
0/week
Quality100%
Popularity100%
Maintenance100%
8 years ago0/week
Quality100%
Popularity100%
Maintenance100%
fallback
10 years ago0/week
Quality100%
Popularity100%
Maintenance100%
0/week
Quality100%
Popularity100%
Maintenance100%
Quality100%
Popularity100%
Maintenance100%
parsing
+5 more
2 months ago0/week
Quality100%
Popularity100%
Maintenance100%
11 years ago0/week
Quality100%
Popularity100%
Maintenance100%
11 months ago0/week
Quality100%
Popularity100%
Maintenance100%
functional
+11 more
10 years ago0/week
Quality100%
Popularity100%
Maintenance100%
mdxjs
+6 more
2 months ago0/week
Quality100%
Popularity100%
Maintenance100%
sync
+2 more
4 years ago0/week
Quality100%
Popularity100%
Maintenance100%
Maintenance
100%