Resolve the path of a package regardless of it having an entry point
☆55Feb 12, 2026Updated 2 weeks ago
Alternatives and similar repositories for resolve-pkg
Users that are interested in resolve-pkg are comparing it to the libraries listed below
Sorting:
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 5 months ago
- Check whether a binary version satisfies a semver range☆15Apr 3, 2024Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get your PATH prepended with locally installed binaries☆107Oct 28, 2024Updated last year
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 4 years ago
- Convert bytes to a human readable string: 1337 → 1.34 kB☆70Jun 6, 2022Updated 3 years ago
- A plugin for Fly that run ava tests☆13Jun 28, 2017Updated 8 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Jan 23, 2021Updated 5 years ago
- Normalize the newline characters in a string to `\n`☆18Sep 16, 2025Updated 5 months ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Find the root directory of a Node.js project or npm package☆27Jun 5, 2025Updated 8 months ago
- Left pad each line in a string☆20Aug 31, 2023Updated 2 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Wraps a transform and provides caching☆20Apr 5, 2023Updated 2 years ago
- Wrapper for the Windows `taskkill` command. Ends one or more tasks or processes.☆45Jun 24, 2022Updated 3 years ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Copy a file☆123Aug 13, 2025Updated 6 months ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Convert a Source Map object to a comment☆16Aug 9, 2021Updated 4 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Check if an Iterable is empty☆23Sep 14, 2025Updated 5 months ago
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆54Jul 8, 2022Updated 3 years ago
- ES2015 `Array#findIndex()` ponyfill☆33May 1, 2024Updated last year
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Run promise-returning & async functions in series☆71Aug 12, 2021Updated 4 years ago
- Test for deep equality - Node.js `assert.deepStrictEqual()` algorithm as a standalone module☆23Sep 17, 2021Updated 4 years ago
- Log the value/error of a promise☆29Apr 9, 2021Updated 4 years ago
- Resolve the path of a module like require.resolve() but from a given path☆145Jan 23, 2021Updated 5 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- A better `Promise.race()`☆51Dec 13, 2022Updated 3 years ago
- Split a string at one or more indices☆25May 3, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago