sindresorhus / resolve-pkg
Resolve the path of a package regardless of it having an entry point
☆54Updated 2 years ago
Alternatives and similar repositories for resolve-pkg:
Users that are interested in resolve-pkg are comparing it to the libraries listed below
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Get packages by a npm user☆42Updated 7 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Conditional promise chains☆60Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆104Updated 6 months ago
- Lazy number range generator☆81Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Allow only access to known object properties using ES2015 Proxy☆86Updated 3 years ago
- ES2015 `Array#findIndex()` ponyfill☆32Updated last year
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Get the PATH environment variable key cross-platform☆44Updated last year
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆45Updated 4 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 last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- A better `Promise.race()`☆46Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Extract the actual stack of an error☆66Updated 2 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Resolve the path of a globally installed module☆41Updated last year
- Check if an Iterable is empty☆22Updated 4 years ago
- Get the command history of the user's shell☆84Updated 2 years ago
- Rename a function☆46Updated last year
- Define a lazily evaluated property on an object☆65Updated 2 years ago
- Simplified high resolution timing☆81Updated 7 months ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆54Updated 6 months ago
- Convert an Observable to a Promise☆47Updated last year
- handle multiple require hooks☆21Updated 2 years ago