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…☆92Updated 2 years ago
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Import a globally installed module☆57Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Check if a value is a plain object☆102Updated 10 months ago
- Require global npm as a local node module.☆32Updated 2 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Manipulate the HTTP Vary header☆61Updated 9 months ago
- Read a package.json file☆165Updated last year
- destroy a stream if possible☆55Updated 6 months ago
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 2 years ago
- Get the path of the parent module☆77Updated 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 7 months ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- Start a promise chain☆58Updated 3 years ago
- Find the closest package.json file☆162Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 weeks ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Check if your package was installed globally☆70Updated last year
- Check if your code is running as an npm or yarn script☆64Updated 3 years ago
- The cmd-shim used in npm☆76Updated 5 months ago
- Get the set npm registry URL☆53Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆98Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 8 months ago
- recursively find the closest package.json☆48Updated 2 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago