Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
property-watch-decorator
A decorator for watching property change
extend-shallow
Extend an object with the properties of additional objects. node.js/javascript util.
hasown
A robust, ES3 compatible, "has own property" predicate.
define-property
Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.
gopd
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
es-define-property
`Object.defineProperty`, but not IE 8's broken one.
has-property-descriptors
Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.
merge-descriptors
Merge objects using their property descriptors
is-descriptor
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
define-data-property
Define a data property on an object. Will fall back to assignment in an engine without descriptors.
property
Getter-setter wrapper with change notification
wrapme
Functions to wrap other functions and methods and to change/enhance their behavior, functionality or usage
define-lazy-prop
Define a lazily evaluated property on an object
is-data-descriptor
Returns true if a value has the characteristics of a valid JavaScript data descriptor.
has-value
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
is-accessor-descriptor
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
@babel/plugin-transform-unicode-sets-regex
Compile regular expressions' unicodeSets (v) flag.
@babel/plugin-syntax-unicode-sets-regex
Parse regular expressions' unicodeSets (v) flag.
has-values
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
dot-prop
Get, set, or delete a property from a nested object using a dot path