Search results
92 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Resolve the path of a module like `require.resolve()` but from the current working directory
Check if a path is 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 in the current working directory
Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)
Resolve the path of a package regardless of it having an entry point
Return the current working directory.
Zero dependency library for reading and parsing various files from `procfs` for Node.js, implemented in pure JS.
Base plugin that adds a getter/setter for the current working directory.
A helper function to resolve a module name or path in relation to the specified context and require it.
Provides a helper function to expand a path to a normalized absolute path. This function also expands dot, tilde, and tilde plus when used as the first path segment.
Change working dir and return a promise, a stack of folders is maintained to jump back
Get working directory of process by PID - cross platform
Delete files and folders and any intermediate directories if they exist (sync and async).
Attempt to resolve the absolute filepath to a file and verify that it exists.
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
Meant to be used with [clean-stacktrace][] as mapper function. Makes absolute paths inside stack traces to relative paths.
- absolute
- clean
- clean-stack
- cleanstack
- cwd
- mapper
- paths
- plugin
- process
- relative
- relative-paths
- relatives
- stack
- stacktrace
- View more
process.chdir() in a callback plus directory stacks