# package-list

> A thin wrapper around npm to list installed packages during runtime

Latest version **0.0.3** (published 2014-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install package-list
pnpm add package-list
yarn add package-list
bun add package-list
```

Provides the command `packages`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-09-01 |
| First published | 2014-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rui Marinho |
| Maintainers | ruimarinho |
| Keywords | list, installed, packages, runtime |

## Links

- npm: https://www.npmjs.com/package/package-list
- Repository: http://github.com/seegno/packagels
- Homepage: https://github.com/seegno/packagels
- Issues: https://github.com/seegno/packagels/issues
- npm.io page: https://npm.io/package/package-list

## Dependencies (1)

- [read-installed](https://npm.io/package/read-installed.md) 3.1.1

## Recent versions

- 0.0.3 (latest) — 2014-09-01
- 0.0.2 — 2014-07-28
- 0.0.1 — 2014-07-28

## README

# package-list

A thin wrapper around `read-installed` to list installed packages during runtime. Includes support for listing missing and extraneous packages, and also works great when launched as a child process, which makes it a good candidate for tools like [pm2](https://github.com/Unitech/pm2) - instead of listing pm2's dependencies, it will list your own project's dependencies, as expected.

## Status

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]

## Installation

```
$ npm install package-list
```

## Usage

### Command-line


```js
./node_modules/.bin/packages
```

### Programmatically

```js
var packages = require('package-list');

packages(function(err, pkgs) {
  if (err) throw err;

  console.log('Result is', pkgs);
});

// Result is { read-installed: '3.1.1', mocha: '1.21.1', should: '4.0.4' }
```

## Tests

```
$ npm test
```

## Author

[Rui Marinho](https://github.com/ruimarinho)

## License

MIT

[npm-image]: https://img.shields.io/npm/v/package-list.svg?style=flat
[npm-url]: https://npmjs.org/package/package-list
[travis-image]: https://img.shields.io/travis/seegno/package-list.svg?style=flat
[travis-url]: https://travis-ci.org/seegno/package-list

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