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☆85Updated 2 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…☆91Updated 2 years ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Import a globally installed module☆57Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Find the closest package.json file☆162Updated last year
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆68Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if a value is a plain object☆102Updated 9 months ago
- Parse the things that can be arguments to `npm install`☆128Updated last week
- Check if a string matches the name of a Node.js builtin module☆58Updated 9 months ago
- Standard NPM Package Format☆42Updated 2 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 7 months ago
- Get the path of the parent module☆77Updated last year
- Manipulate the HTTP Vary header☆61Updated 9 months ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- destroy a stream if possible☆56Updated 5 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- List of node.js builtin modules☆38Updated 10 months ago
- Get your PATH prepended with locally installed binaries☆104Updated 3 months ago
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Read a package.json file☆166Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated last year
- recursively find the closest package.json☆48Updated 2 years ago
- Tests whether one path is inside another path☆41Updated 4 years ago