sindresorhus / resolve-cwdView external linksLinks
Resolve the path of a module like `require.resolve()` but from the current working directory
☆70Jan 23, 2021Updated 5 years ago
Alternatives and similar repositories for resolve-cwd
Users that are interested in resolve-cwd are comparing it to the libraries listed below
Sorting:
- Import a module like with `require()` but from the current working directory☆54Jul 8, 2022Updated 3 years ago
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Get a random property from an object☆15Jul 2, 2024Updated last year
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Resolve the path of a module like require.resolve() but from a given path☆144Jan 23, 2021Updated 5 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆62Sep 15, 2025Updated 4 months ago
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Resolve the path of a package regardless of it having an entry point☆55Updated this week
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last week
- Get your PATH prepended with locally installed binaries☆107Oct 28, 2024Updated last year
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Start a promise chain☆60Sep 16, 2025Updated 4 months ago
- Extends `stats.isDirectory()`, returns `true` if a filepath is a directory.☆27Nov 21, 2016Updated 9 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- Get the path of the parent module☆79Sep 15, 2025Updated 5 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome☆47Apr 9, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Check if your code is running as an npm or yarn script☆66Sep 10, 2025Updated 5 months ago