Import a module like with `require()` but from the current working directory
☆52Sep 18, 2026Updated 3 weeks ago
Alternatives and similar repositories for import-cwd
Users that are interested in import-cwd are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Import a module like with `require()` but from a given path☆85Sep 18, 2026Updated 3 weeks ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆69Sep 18, 2026Updated 3 weeks ago
- Check if your package was installed globally☆72Sep 22, 2026Updated 3 weeks ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated 3 weeks ago
- Decompress a HTTP response if needed☆74Sep 18, 2026Updated 3 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Transform the first chunk in a stream☆27Sep 18, 2026Updated 3 weeks ago
- Check if a number is a redirect HTTP status code☆25Sep 18, 2026Updated 3 weeks ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 5 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 5 years ago
- Check if something is a generator function☆24Sep 18, 2026Updated 3 weeks ago
- Check if an Iterable is empty☆23Sep 14, 2025Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆145Sep 18, 2026Updated 3 weeks ago
- Get free disk space info from `df -kP`☆63Sep 18, 2026Updated 3 weeks ago
- Check if a path is in the current working directory☆23Sep 18, 2026Updated 3 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Lowercase the keys of an object☆42Sep 18, 2026Updated 3 weeks ago
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Get the version of a binary in semver format☆43Sep 18, 2026Updated 3 weeks ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Sep 18, 2026Updated 3 weeks ago
- Check if a value is a Blob☆24Sep 18, 2026Updated 3 weeks ago
- Check if a path is inside another path☆40Sep 18, 2026Updated 3 weeks ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 5 years ago
- Detect the dominant newline character of a string☆56Sep 18, 2026Updated 3 weeks ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Get the user home directory with fallback to the system temp directory☆30Sep 18, 2026Updated 3 weeks ago
- Check if a path is the current working directory☆22Sep 18, 2026Updated 3 weeks ago
- Conditional promise chains☆64Apr 9, 2021Updated 5 years ago
- Check if a file path is an archive file☆15Apr 30, 2024Updated 2 years ago
- Modify the filename in a path☆17Sep 18, 2026Updated 3 weeks ago
- Get the directory of globally installed packages and binaries☆78Sep 18, 2026Updated 3 weeks ago
- Get namespaced config from the closest package.json☆118Sep 18, 2026Updated 3 weeks ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Sep 18, 2026Updated 3 weeks ago
- Check if a value is an object☆41Sep 18, 2026Updated 3 weeks ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Check if something is a promise☆44Sep 18, 2026Updated 3 weeks ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Get the latest stable semver version from an array of versions☆47Oct 17, 2021Updated 5 years ago
- List of archive file extensions☆18Apr 30, 2024Updated 2 years ago
- Strip redundant indentation and indent the string☆55Sep 18, 2026Updated 3 weeks ago
- Check if a string is a scoped npm package name☆25Sep 18, 2026Updated 3 weeks ago
- Check if a URL is relative☆26Sep 18, 2026Updated 3 weeks ago