sindresorhus / resolve-from
Resolve the path of a module like require.resolve() but from a given path
☆140Updated 3 years ago
Related projects ⓘ
Alternatives and complementary repositories for resolve-from
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- Import a module like with `require()` but from the current working directory☆53Updated 2 years ago
- Read a package.json file☆166Updated last year
- Read the closest package.json file☆258Updated last year
- Get the gzipped size of a string or buffer☆171Updated 2 years ago
- Find the closest package.json file☆159Updated last year
- ☆45Updated 2 years ago
- Check if a value is a plain object☆102Updated 6 months ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- [DEPRECATED] Please use logger API https://github.com/webpack/webpack/pull/9436☆38Updated 5 years ago
- Import a globally installed module☆57Updated 10 months ago
- Lazy number range generator☆82Updated 10 months ago
- JavaScript option parsing and help generation library☆162Updated 6 months ago
- programmatically publish and unpublish npm packages☆46Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Standard NPM Package Format☆42Updated 2 years ago
- Compressible Content-Type / mime checking.☆98Updated 7 months ago
- Get the path of the parent module☆77Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 3 months ago
- Create and parse HTTP Content-Type header☆131Updated 4 months ago
- Get namespaced config from the closest package.json☆120Updated last year
- normalizes package metadata, typically found in package.json file.☆196Updated last month
- recursively find the closest package.json☆48Updated last year
- Strip leading whitespace from each line in a string☆135Updated 3 years ago
- Finds the common standard cache directory☆151Updated 9 months ago
- Convert a value to an array☆131Updated 3 years ago
- Check if a path exists☆150Updated 2 years ago
- Find the first file matching a given pattern in the current directory or the nearest ancestor directory.☆97Updated 10 months ago