sindresorhus / resolve-cwdLinks
Resolve the path of a module like `require.resolve()` but from the current working directory
☆70Updated 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 3 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Resolve the path of a module like require.resolve() but from a given path☆144Updated 4 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…☆95Updated 3 years ago
- Find the closest package.json file☆166Updated 7 months ago
- Check if a value is a plain object☆103Updated last year
- Import a globally installed module☆58Updated last year
- Get the set npm registry URL☆57Updated 8 months ago
- Get the directory of globally installed packages and binaries☆77Updated 2 years ago
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- Get the path of the parent module☆79Updated 3 months ago
- Check if your code is running as an npm or yarn script☆65Updated 3 months ago
- Read a package.json file☆174Updated 2 months ago
- Get the path of the caller module☆67Updated 4 years ago
- destroy a stream if possible☆54Updated last year
- Import a module like with `require()` but from the current working directory☆54Updated 3 years ago
- Check if something is a promise☆46Updated 4 years ago
- Are these two JavaScript values equal?☆31Updated 5 years ago
- Require global npm as a local node module.☆32Updated 3 years ago
- Get a formatted timestamp. Used in gulp, assemble, generate, and many others.☆110Updated 5 years ago
- ☆45Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 7 years ago
- Get the gzipped size of a string or buffer☆173Updated 4 years ago
- Get your PATH prepended with locally installed binaries☆106Updated last year
- Strip UTF-8 byte order mark (BOM) from a string☆112Updated 4 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last month
- Manipulate the HTTP Vary header☆62Updated this week
- Compressible Content-Type / mime checking.☆100Updated this week
- Parse the things that can be arguments to `npm install`☆135Updated last month