sindresorhus / resolve-cwd
Resolve the path of a module like `require.resolve()` but from the current working directory
☆68Updated 4 years ago
Alternatives and similar repositories for resolve-cwd:
Users that are interested in resolve-cwd are comparing it to the libraries listed below
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆93Updated 2 years ago
- Read a package.json file☆165Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Get the path of the parent module☆77Updated last year
- Import a globally installed module☆58Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆142Updated 4 years ago
- Get the path of the caller module☆64Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 10 months ago
- Find the closest package.json file☆163Updated last year
- destroy a stream if possible☆56Updated 8 months ago
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Write minimal node index.js files that require and export siblings by file basename☆84Updated 2 years ago
- Manipulate the HTTP Vary header☆61Updated 11 months ago
- Get your PATH prepended with locally installed binaries☆104Updated 6 months ago
- Reduce a list of values using promises into a promise for a value☆69Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago
- Easily calculate the relative path from file A to file B in Node.js project. Will calculate correctly from a file to a directory, file to…☆34Updated 2 years ago
- The cmd-shim used in npm☆77Updated last week
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year