yargs / require-main-filename
shim for require.main.filename() that works in as many environments as possible
☆19Updated last year
Alternatives and similar repositories for require-main-filename:
Users that are interested in require-main-filename are comparing it to the libraries listed below
- Returns true if a string has an extglob☆23Updated 5 years ago
- Copy static properties, prototype properties, and descriptors from one object to another☆15Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Like `new Map` but for older JavaScripts☆21Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Map `visit` over an array of objects.☆17Updated 2 years ago
- Find the module object for something that was require()d☆27Updated 2 years ago
- Minimal async jobs utility library, with streams support☆24Updated 6 years 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
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- ES2015 `String#codePointAt()` ponyfill☆22Updated 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
- Check if an object can be used like an Array☆16Updated 3 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Updated 7 years ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 4 years ago
- Call the given method on each value in the given object.☆20Updated 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 blocking stdio and stderr ensuring that terminal output does not truncate☆38Updated last year
- Faster, bash-like range expansion. Expand a range of numbers or letters, uppercase or lowercase. See the benchmarks.☆25Updated 6 years ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 5 months ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Updated 8 months 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
- Create an array by repeating the given string n times.☆19Updated 4 years ago
- Higher-order functions for easier error handling☆13Updated 2 years ago
- ☆20Updated 3 years ago
- Node.js path.dirname() ponyfill☆13Updated 3 years ago
- Basic cache object for storing key-value pairs. Based on MapCache in Lo-dash 3.0☆20Updated 8 years ago