sindresorhus / import-cwdView external linksLinks
Import a module like with `require()` but from the current working directory
☆54Jul 8, 2022Updated 3 years ago
Alternatives and similar repositories for import-cwd
Users that are interested in import-cwd are comparing it to the libraries listed below
Sorting:
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Jan 23, 2021Updated 5 years ago
- Check if your package was installed globally☆71Nov 6, 2023Updated 2 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- 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
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆144Jan 23, 2021Updated 5 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 3 weeks ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if an Iterable is empty☆23Sep 14, 2025Updated 5 months ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Make your terminal beep☆135Sep 9, 2025Updated 5 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Conditional promise chains☆63Apr 9, 2021Updated 4 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Get the directory of globally installed packages and binaries☆77Feb 2, 2026Updated last week
- Check if a file path is a compressed file☆19Apr 30, 2024Updated last year
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Wait for a specified number of promises to be fulfilled☆39Sep 11, 2025Updated 5 months ago
- Pretty UTC datetime: `2014-01-09 0601`☆32Jul 8, 2022Updated 3 years ago
- Resolve the path of a package regardless of it having an entry point☆55Updated this week
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 4 years ago
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Check if a number is in a given range☆22Jan 23, 2021Updated 5 years ago