jonschlinkert / has-valuesLinks
Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.
☆23Updated 4 years ago
Alternatives and similar repositories for has-values
Users that are interested in has-values are comparing it to the libraries listed below
Sorting:
- 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
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year
- A cache for managing namespaced sub-caches☆14Updated 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
- 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
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 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
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Create an array by repeating the given string n times.☆19Updated 4 years ago
- Returns true if a string has an extglob☆23Updated 6 years ago
- Easily add plugin support to your node.js application.☆26Updated 4 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Updated 4 years ago
- The map of HTTP status codes from the builtin http module☆19Updated 3 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 8 years ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 7 years ago
- Loop over each item in an array and call the given function on every element.☆14Updated 8 years ago
- Check if a path is the current working directory☆19Updated 3 weeks ago
- Get the command from a shebang☆24Updated 3 years ago
- Check if a path is in the current working directory☆21Updated 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
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 10 months ago
- Center-align the text in a string.☆23Updated 8 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Updated 10 months ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Updated 4 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Faster, node.js focused alternative to JavaScript's native array map.☆14Updated 8 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20Updated 9 years ago
- Check if a value is a regular expression☆24Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago