jonschlinkert / has-values
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
☆24Updated 3 years ago
Related projects: ⓘ
- Define a non-enumerable property on an object.☆21Updated last year
- 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 6 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 3 years 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
- A cache for managing namespaced sub-caches☆14Updated 3 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…☆22Updated 7 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 2 years ago
- Loop over each item in an array and call the given function on every element.☆13Updated 7 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated 10 months ago
- Easily add plugin support to your node.js application.☆26Updated 3 years ago
- Get the list of npm modules that depend on the specified npm module.☆15Updated 6 years ago
- Returns true if a string has an extglob☆22Updated 5 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆20Updated last month
- Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.☆12Updated 10 months ago
- Create an array by repeating the given string n times.☆20Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20Updated 8 years ago
- Map `visit` over an array of objects.☆16Updated 2 years ago
- Regex for matching HSL color strings.☆10Updated 7 years ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 6 years ago
- The map of HTTP status codes from the builtin http module☆19Updated 2 years ago
- Faster, node.js focused alternative to JavaScript's native array map.☆14Updated 7 years ago
- Check if a path is the current working directory☆19Updated 3 years ago
- Check if a path is in the current working directory☆21Updated 3 years ago
- Lowercase the keys of an object☆41Updated last year
- ☆11Updated this week
- Array#filter for older browsers.☆18Updated 6 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 3 years ago