# load-pkg-config

> Load the package.json for a module currently installed in node_modules, or at the given cwd.

Latest version **1.0.1** (published 2018-03-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install load-pkg-config
pnpm add load-pkg-config
yarn add load-pkg-config
bun add load-pkg-config
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-03-05 |
| First published | 2018-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | dolymood |
| Maintainers | dolymood |
| Keywords | load-pkg, dep, dependencies, dependency, json, load, module, modules, node, node-modules, package, package-json, pkg |

## Links

- npm: https://www.npmjs.com/package/load-pkg-config
- Repository: https://github.com/dolymood/load-pkg-config
- Homepage: https://github.com/dolymood/load-pkg-config#readme
- Issues: https://github.com/dolymood/load-pkg-config/issues
- npm.io page: https://npm.io/package/load-pkg-config

## Dependencies (1)

- [resolve-pkg](https://npm.io/package/resolve-pkg.md) ^1.0.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.1 (latest) — 2018-03-05
- 1.0.0 — 2018-03-01

## README

# load-pkg-config

> Load the package.json for a module currently installed in node_modules, or at the given cwd.

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save load-pkg-config
```

## Usage

```js
var load = require('load-pkg-config')
```

```js
var pkg = load('kind-of')
console.log(pkg.name)
//=> 'kind-of'

var pkg = load('./foo', 'your/cwd')
console.log(pkg.name)
//=> 'your module'
```

---
_Source: https://npm.io/package/load-pkg-config · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
