Search results

1000+ packages found

Extend an object with the properties of additional objects. node.js/javascript util.

published version 3.0.2, 7 years ago1233 dependents licensed under $MIT
268,732,403

`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.

published version 1.2.0, 2 months ago1365 dependents licensed under $MIT
208,626,687

Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.

published version 2.0.2, 7 years ago898 dependents licensed under $MIT
264,470,957

A robust, ES3 compatible, "has own property" predicate.

published version 2.0.2, a year ago1355 dependents licensed under $MIT
211,097,617

Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.

published version 1.0.2, a year ago1520 dependents licensed under $MIT
194,220,938

`Object.defineProperty`, but not IE 8's broken one.

published version 1.0.1, 2 months ago995 dependents licensed under $MIT
187,989,811

Merge objects using their property descriptors

published version 2.0.0, a year ago1049 dependents licensed under $MIT
141,532,282

Define a data property on an object. Will fall back to assignment in an engine without descriptors.

published version 1.1.4, a year ago1117 dependents licensed under $MIT
172,742,088

Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.

published version 3.1.1, a year ago810 dependents licensed under $MIT
177,918,291

Returns true if a value has the characteristics of a valid JavaScript data descriptor.

published version 2.1.3, a year ago812 dependents licensed under $MIT
113,275,472

Define a lazily evaluated property on an object

published version 3.0.0, 4 years ago646 dependents licensed under $MIT
116,656,654

Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.

published version 3.0.5, a year ago816 dependents licensed under $MIT
113,279,220

Compile regular expressions' unicodeSets (v) flag.

published version 7.25.9, 4 months ago5 dependents licensed under $MIT
77,577,408

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

published version 2.0.2, 7 years ago856 dependents licensed under $MIT
91,848,565

Parse regular expressions' unicodeSets (v) flag.

published version 7.18.6, 3 years ago6 dependents licensed under $MIT
70,415,171

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

published version 2.0.1, 7 years ago820 dependents licensed under $MIT
92,181,160

Get, set, or delete a property from a nested object using a dot path

published version 9.0.0, 9 months ago1641 dependents licensed under $MIT
89,381,564

Set nested properties on an object using dot notation.

published version 4.1.0, 3 years ago1207 dependents licensed under $MIT
53,448,324

Delete nested properties from an object using dot notation.

published version 2.0.1, 3 years ago853 dependents licensed under $MIT
46,160,458

Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library we tested does this, or does it correctly).

published version 4.0.1, 7 days ago1237 dependents licensed under $MIT
50,978,072