sindresorhus / read-pkg
Read a package.json file
☆166Updated last year
Related projects ⓘ
Alternatives and complementary repositories for read-pkg
- Read the closest package.json file☆258Updated last year
- Find the closest package.json file☆159Updated last year
- Write a package.json file☆89Updated 3 months ago
- Get the gzipped size of a string or buffer☆171Updated 2 years ago
- Find the root directory of a Node.js project or npm package☆235Updated last year
- Resolve the path of a module like require.resolve() but from a given path☆140Updated 3 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 3 months ago
- Convert a value to an array☆131Updated 3 years ago
- Check if a path exists☆150Updated 2 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 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…☆91Updated last year
- Get metadata of a package from the npm registry☆237Updated 4 months ago
- Finds the common standard cache directory☆151Updated 9 months ago
- Get the latest version of an npm package☆177Updated 8 months ago
- Get the real path of the system temp directory☆82Updated 2 years ago
- Parse the things that can be arguments to `npm install`☆125Updated last month
- Parse `.git/config` into a JavaScript object. sync or async.☆61Updated 6 years ago
- Import a globally installed module☆57Updated 10 months ago
- Check if a value is a plain object☆102Updated 6 months ago
- Detect the indentation of code☆196Updated last year
- Check if your package was installed globally☆70Updated last year
- Get namespaced config from the closest package.json☆120Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- normalizes package metadata, typically found in package.json file.☆196Updated last month
- Normalize file path slashes to be unix-like forward slashes. Used by chokidar, anymatch, and many others!☆107Updated 2 years ago
- Sort the keys of an object☆101Updated 2 months ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- A rollup plugin to show file size of the bundle in the cli☆128Updated last year
- The cmd-shim used in npm☆76Updated last month
- Is the given string an acceptable npm package name?☆299Updated last month