Search results
91 packages found
Resolve the path of a module like `require.resolve()` but from the current working directory
Resolve the path of a package regardless of it having an entry point
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.
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.
`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
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
<!-- 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
Resolve path from CWD (Current Working Directory)
Run CLI commands with Node
Open the npm page, Yarn page, or GitHub repo of a package
Cross platform pwd (pathname of the current working directory)
Load locally-installed packages from a globally-installed package