jonschlinkert / define-property
Define a non-enumerable property on an object.
☆21Updated 2 years ago
Alternatives and similar repositories for define-property
Users that are interested in define-property are comparing it to the libraries listed below
Sorting:
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago
- Extend the properties from any number of objects onto the first object. Pass an empty object as the first arg to create a new object.☆14Updated 7 years ago
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Check if a path is in the current working directory☆21Updated 4 years ago
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12Updated last year
- Modern Buffer API polyfill without footguns☆25Updated 4 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 7 years ago
- Returns true if a string has an extglob☆23Updated 6 years ago
- Map `visit` over an array of objects.☆17Updated 2 years ago
- Check if a path is the current working directory☆19Updated 2 weeks ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Updated 3 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Updated 4 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 8 years ago
- Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.☆23Updated 4 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Updated 9 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 9 months ago
- timers module for browserify☆24Updated 5 months ago
- Like `new Map` but for older JavaScripts☆21Updated last year
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 4 years ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆23Updated 4 months ago
- Utils for working with JavaScript classes and prototype methods.☆19Updated 2 years ago
- Lo-dash's array-clice method. Slices `array` from the `start` index up to, but not including, the `end` index.☆21Updated 7 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 11 months ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 7 years ago
- Like `extend` but only copies missing properties/values to the target object.☆17Updated 8 years ago
- Return true if a file path contains the given path.☆17Updated 4 years ago
- Get the command from a shebang☆23Updated 3 years ago