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
Sorting:
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- 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
- 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
- Reduce a list of values using promises into a promise for a value☆70Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 2 years ago
- Manipulate the HTTP Vary header☆61Updated last week
- Get the set npm registry URL☆55Updated last month
- Read a package.json file☆167Updated last year
- Get your PATH prepended with locally installed binaries☆104Updated 7 months ago
- Import a globally installed module☆58Updated last year
- Get the path of the parent module☆77Updated last year
- destroy a stream if possible☆57Updated 8 months ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 3 months ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 4 years ago
- Find the closest package.json file☆164Updated last year
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Check if a path is a file, directory, or symlink☆78Updated 10 months ago
- The cmd-shim used in npm☆77Updated last month
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- ☆45Updated 2 years ago
- Tests whether one path is inside another path☆41Updated 5 years ago