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☆141Updated 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
- Require global npm as a local node module.☆32Updated 3 years ago
- Check if a value is a plain object☆102Updated last year
- Import a globally installed module☆58Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Find the closest package.json file☆164Updated last month
- Edit a string with the users preferred text editor using $VISUAL or $EDITOR☆44Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Check if a path is a file, directory, or symlink☆78Updated last year
- Get the directory of globally installed packages and binaries☆76Updated last year
- Read a package.json file☆169Updated last year
- Import a module like with `require()` but from the current working directory☆52Updated 3 years ago
- Get the set npm registry URL☆55Updated 3 months ago
- Get the gzipped size of a string or buffer☆172Updated 3 years ago
- Compressible Content-Type / mime checking.☆100Updated 3 weeks ago
- destroy a stream if possible☆54Updated 10 months ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated last year
- Check if your code is running as an npm or yarn script☆65Updated 3 years ago
- Parse the things that can be arguments to `npm install`☆130Updated this week
- Check if your package was installed globally☆70Updated last year
- ☆45Updated 2 years ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Get your PATH prepended with locally installed binaries☆105Updated 9 months ago
- Check if a string matches the name of a Node.js builtin module☆59Updated 5 months ago
- A very simple and stupid parser, based on a statemachine and regular expressions.☆64Updated 6 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago