inspect-js / is-descriptor
Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
☆12Updated last year
Alternatives and similar repositories for is-descriptor:
Users that are interested in is-descriptor are comparing it to the libraries listed below
- A cache for managing namespaced sub-caches☆14Updated 3 years ago
- Returns true if a string has an extglob☆22Updated 5 years ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year
- Create an array by repeating the given string n times.☆19Updated 3 years ago
- Node.js path.dirname() ponyfill☆13Updated 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
- Create an object path (dot notation) from a list or array of strings.☆16Updated 4 years ago
- Map `visit` over an array of objects.☆17Updated 2 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 years ago
- Get the command from a shebang☆22Updated 3 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- Higher-order functions for easier error handling☆13Updated last year
- 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
- Return true if the file is (or the file path has) a dotfile.☆13Updated 7 years ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 4 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 6 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Utilities for the snapdragon parser/compiler.