sindresorhus / resolve-cwdLinks
Resolve the path of a module like `require.resolve()` but from the current working directory
☆69Updated 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
- Resolve the path of a module like require.resolve() but from a given path☆142Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆94Updated 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…☆95Updated 2 years ago
- Find the closest package.json file☆165Updated 3 months ago
- Import a globally installed module☆58Updated last year
- Check if a value is a plain object☆102Updated last year
- Manipulate the HTTP Vary header☆61Updated last month
- Read a package.json file☆169Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 3 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Get the path of the caller module☆65Updated 3 years ago
- Get the set npm registry URL☆56Updated 4 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 6 months ago
- ☆45Updated 3 years ago
- Get the path of the parent module☆78Updated last year
- The cmd-shim used in npm☆77Updated last month
- destroy a stream if possible☆54Updated last year
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Compressible Content-Type / mime checking.☆100Updated this week
- Parse the things that can be arguments to `npm install`☆131Updated last month
- Let a globally installed package use a locally installed version of itself if available☆154Updated last year
- Create and parse HTTP Content-Type header☆138Updated last month
- Require global npm as a local node module.☆32Updated 3 years ago
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Updated 4 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 3 years ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Return a copy of an object without the given keys.☆78Updated 4 years ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago