sindresorhus / caller-path
Get the path of the caller module
☆64Updated 3 years ago
Alternatives and similar repositories for caller-path:
Users that are interested in caller-path are comparing it to the libraries listed below
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 4 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Get the path of the parent module☆77Updated last year
- Lazy number range generator☆81Updated last year
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Import a globally installed module☆58Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Create a lazily evaluated value☆69Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Get the arguments of a function, arrow function, generator function, async function☆52Updated last year
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Check if something is a promise☆46Updated 4 years ago
- An implementation of window.fetch in Node.js using Minipass streams☆56Updated last week
- Conditional promise chains☆60Updated 4 years ago
- Reduce a list of values using promises into a promise for a value☆69Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Get the auth token set for an npm registry☆35Updated 2 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Check if a URL is absolute☆79Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated 2 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago