sindresorhus / caller-pathLinks
Get the path of the caller module
☆67Updated 4 years ago
Alternatives and similar repositories for caller-path
Users that are interested in caller-path are comparing it to the libraries listed below
Sorting:
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Tests whether one path is inside another path☆43Updated 5 years ago
- Ensures a value is a valid error by making it one if not☆84Updated 3 months ago
- Create a lazily evaluated value☆69Updated 4 years ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Run promise-returning & async functions repeatedly until you end it☆48Updated 4 years ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated 2 years ago
- Lazy number range generator☆82Updated last year
- Get the path of the parent module☆79Updated 3 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Reduce a list of values using promises into a promise for a value☆74Updated 2 years ago
- A better `Promise.race()`☆51Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 3 months ago
- Get the auth token set for an npm registry☆34Updated last month
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆56Updated 3 months ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 9 months ago
- Check if a value is a plain object☆103Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Updated 4 years ago
- Indent each line in a string☆114Updated 3 years ago
- Get the set npm registry URL☆57Updated 8 months ago
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Conditional promise chains☆63Updated 4 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Get the arguments of a function, arrow function, generator function, async function☆54Updated 2 years ago
- Exit the process when the `esc` key is pressed☆58Updated 2 years ago
- Take a list of glob patterns and return an array of file locations, respecting `.gitignore` and allowing for ignore patterns via `packag…☆40Updated 2 years ago