sindresorhus / resolve-from
Resolve the path of a module like require.resolve() but from a given path
☆140Updated 4 years ago
Alternatives and similar repositories for resolve-from:
Users that are interested in resolve-from are comparing it to the libraries listed below
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆52Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Read the closest package.json file☆266Updated last year
- Find the closest package.json file☆162Updated last year
- Read a package.json file☆166Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Properly escape JSON for usage as an object literal inside of a `<script>` tag☆40Updated 2 years ago
- programmatically publish and unpublish npm packages☆46Updated 3 years ago
- ☆45Updated 2 years ago
- Import a globally installed module☆57Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Check if a value is a plain object☆102Updated 9 months ago
- normalizes package metadata, typically found in package.json file.☆199Updated 4 months ago
- Finds the common standard cache directory☆158Updated 11 months 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
- Compressible Content-Type / mime checking.☆99Updated 10 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Polyfill/shim for util.promisify in node versions < v8☆126Updated 2 months ago
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago
- Standard NPM Package Format☆42Updated 2 years ago
- Get the path of the caller module☆64Updated 3 years ago
- A pluggable JavaScript source code formatter☆29Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Convert a value to an array☆130Updated 3 years ago
- recursively find the closest package.json☆48Updated 2 years ago
- Write minimal node index.js files that require and export siblings by file basename☆84Updated 2 years ago
- Resolves the full path to the bin file of a given package by inspecting the \"bin\" field in its package.json.☆30Updated 2 years ago
- Manipulate the HTTP Vary header☆61Updated 9 months ago