Search results
91 packages found
Resolve the path of a module like `require.resolve()` but from the current working directory
Return the current working directory.
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Resolve the path of a package regardless of it having an entry point
Import a module like with `require()` but from the current working directory
Check if a path is the current working directory
Get a path string relative to the current working directory.
Get the current package's binary path
- binary
- package-json
- npm
- path
- package
- unit-testing
- testing
- cwd
- bin
- executable
- package-manager
- nodejs
- javascript
- typescript
- View more
`modern-errors` plugin to clean stack traces
- browser
- clean
- code-quality
- cwd
- error
- error-handler
- error-handling
- error-monitoring
- error-reporting
- errors
- javascript
- library
- modern-errors
- modern-errors-plugin
- View more
<!-- TITLE/ --> # @dword-design/chdir <!-- /TITLE -->
Temporarily change directories to run a callback
Convert relative path or URL to full path
Check if a path is in the current working directory
Creates a temporary folder inside cwd, cds inside the folder, runs a function, and removes the folder. Especially useful for testing.
Enforces a nodejs script to run with the entry points path as the cwd
Run CLI commands with Node
Cross platform pwd (pathname of the current working directory)
Load locally-installed packages from a globally-installed package
Open the npm page, Yarn page, or GitHub repo of a package
A node configuration utility based on the current working directory of the process