sindresorhus / read-pkg
Read a package.json file
☆166Updated last year
Alternatives and similar repositories for read-pkg:
Users that are interested in read-pkg are comparing it to the libraries listed below
- Find the closest package.json file☆162Updated last year
- Write a package.json file☆89Updated 7 months ago
- Read the closest package.json file☆266Updated last year
- Let a globally installed package use a locally installed version of itself if available☆154Updated 7 months ago
- Get metadata of a package from the npm registry☆240Updated 7 months ago
- Find the root directory of a Node.js project or npm package☆240Updated last year
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Get the latest version of an npm package☆176Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 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…☆91Updated 2 years ago
- Check if your package was installed globally☆70Updated last year
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated 2 years ago
- Convert a value to an array☆130Updated 3 years ago
- normalizes package metadata, typically found in package.json file.☆199Updated 5 months ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆109Updated 2 years ago
- Check if a path exists☆150Updated 3 years ago
- Detect the indentation of code☆196Updated last year
- Get the real path of the system temp directory☆83Updated 2 years ago
- Finds the common standard cache directory☆158Updated last year
- when you want to fire an event no matter how a process exits.☆189Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`☆142Updated last year
- Import a globally installed module☆57Updated last year
- Check if a value is a plain object☆102Updated 9 months ago
- Create and parse HTTP Content-Type header☆134Updated 7 months ago
- A proxy to `path`, replacing `\` with `/` for all results & methods to add, change, default, trim file extensions.☆152Updated last year
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Start a promise chain☆58Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year