jonschlinkert / has-values
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:
- Define a non-enumerable property on an object.☆21Updated 2 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
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year
- Easily add plugin support to your node.js application.☆26Updated 4 years ago
- 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
- 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
- Get the list of npm modules that depend on the specified npm module.☆15Updated 7 years ago
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Returns true if a value exists, false if empty. Works with deeply nested values using object paths.☆26Updated 7 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 a value has the characteristics of a valid JavaScript data descriptor.☆21Updated 9 months ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20Updated 9 years ago
- Create an array by repeating the given string n times.☆19Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Center-align the text in a string.☆23Updated 7 years ago
- Sink your streams.☆17Updated 2 years ago
- Create an object path (dot notation) from a list or array of strings.☆16Updated 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
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Returns true if a string has an extglob☆23Updated 5 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 10 months ago
- Delete nested properties from an object using dot notation.☆34Updated 3 years ago
- Timeout HTTP/HTTPS requests☆51Updated 4 years ago
- Array#filter for older browsers.☆19Updated last year
- Loop over each item in an array and call the given function on every element.☆14Updated 8 years ago
- Operating systems commonly add a trailing increment, or the word 'copy', or something similar to duplicate files. This strips those incre…☆10Updated 5 years ago
- Find and load a YAML or JSON config file from a local project, installed npm module, or the user's home directory.☆13Updated 9 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Resolve a directory that is either local, global or in the user's home directory.☆14Updated 7 years ago