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
- Read the closest package.json file☆264Updated last year
- Write a package.json file☆89Updated 6 months ago
- Find the root directory of a Node.js project or npm package☆239Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 4 years ago
- Get the gzipped size of a string or buffer☆171Updated 3 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 6 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
- Get the real path of the system temp directory☆83Updated 2 years ago
- Get metadata of a package from the npm registry☆237Updated 6 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 4 years ago
- normalizes package metadata, typically found in package.json file.☆198Updated 3 months ago
- Get the latest version of an npm package☆177Updated 11 months ago
- Convert a value to an array☆130Updated 3 years ago
- Check if your package was installed globally☆70Updated last year
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Sort the keys of an object☆102Updated 4 months ago
- Check if a value is a plain object☆102Updated 8 months ago
- Parse the things that can be arguments to `npm install`☆129Updated last week
- Is the given string an acceptable npm package name?☆301Updated 3 months ago
- Import a globally installed module☆57Updated last year
- Finds the common standard cache directory☆158Updated 11 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated last year
- Import a module like with `require()` but from a given path☆85Updated 2 years ago
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆108Updated 2 years ago
- Detect the indentation of code☆196Updated last year
- Get namespaced config from the closest package.json☆121Updated last year
- Stringify is to `eval` as `JSON.stringify` is to `JSON.parse`☆141Updated last year
- Ponyfill for Error#captureStackTrace☆61Updated 2 years ago