# publishers

> Provide a package name, get a list of every version, and who published it

Latest version **2.0.1** (published 2022-12-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install publishers
pnpm add publishers
yarn add publishers
bun add publishers
```

Provides the command `publishers`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2022-12-19 |
| First published | 2020-02-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >= 17 \|\| ^16 \|\| ^14.15 \|\| ^12.13 |
| Dependencies | 5 |
| Unpacked size | 18 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 23 |
| Author | Jordan Harband |
| Maintainers | ljharb |
| Keywords | npm, publish, owners, publishers, owner, publisher, versions, version |

## Links

- npm: https://www.npmjs.com/package/publishers
- Repository: https://github.com/ljharb/publishers
- Homepage: https://github.com/ljharb/publishers#readme
- Issues: https://github.com/ljharb/publishers/issues
- npm.io page: https://npm.io/package/publishers

## Dependencies (5)

- [yargs](https://npm.io/package/yargs.md) ^17.6.2
- [pacote](https://npm.io/package/pacote.md) ^13.6.2
- [semver](https://npm.io/package/semver.md) ^7.3.8
- [json-colorizer](https://npm.io/package/json-colorizer.md) ^2.2.2
- [object.fromentries](https://npm.io/package/object.fromentries.md) ^2.0.6

## Recent versions

- 2.0.1 (latest) — 2022-12-19
- 2.0.0 — 2022-01-21
- 1.0.4 — 2022-01-21
- 1.0.3 — 2021-02-12
- 1.0.2 — 2021-02-04
- 1.0.1 — 2020-02-04
- 1.0.0 — 2020-02-03

## README

# publishers <sup>[![Version Badge][2]][1]</sup>

[![dependency status][5]][6]
[![dev dependency status][7]][8]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][11]][1]

Provide a package name, get a list of every version, and who published it.

## Example

### CLI

```console
> publishers publishers
┌─────────┬──────────┬────────────────────┬────────────────────────────┐
│ (index) │   name   │       email        │          created           │
├─────────┼──────────┼────────────────────┼────────────────────────────┤
│ v1.0.1  │ 'ljharb' │ 'ljharb@gmail.com' │ '2020-02-04T02:26:10.321Z' │
│ v1.0.0  │ 'ljharb' │ 'ljharb@gmail.com' │ '2020-02-03T21:34:48.957Z' │
└─────────┴──────────┴────────────────────┴────────────────────────────┘
```

```console
> publishers publishers --json
{
	"v1.0.1": {
		"name": "ljharb",
		"email": "ljharb@gmail.com",
		"created": "2020-02-04T02:26:10.321Z"
	},
	"v1.0.0": {
		"name": "ljharb",
		"email": "ljharb@gmail.com",
		"created": "2020-02-03T21:34:48.957Z"
	}
}
```

```console
> publishers publishers --json --sort=asc
{
	"v1.0.0": {
		"name": "ljharb",
		"email": "ljharb@gmail.com",
		"created": "2020-02-03T21:34:48.957Z"
	},
	"v1.0.1": {
		"name": "ljharb",
		"email": "ljharb@gmail.com",
		"created": "2020-02-04T02:26:10.321Z"
	}
}
```

### API
```js
const assert = require('assert');
const { execSync } = require('child_process');
const getPublishers = require('publishers');

const results = getPublishers('publishers').then((results) => {
	assert.deepEqual(
		results,
		JSON.parse(String(execSync('npx publishers --json publishers')))
	);
}).catch((e) => {
	console.error(e);
	process.exit(1);
});
```

[1]: https://npmjs.org/package/publishers
[2]: https://versionbadg.es/ljharb/publishers.svg
[5]: https://david-dm.org/ljharb/publishers.svg
[6]: https://david-dm.org/ljharb/publishers
[7]: https://david-dm.org/ljharb/publishers/dev-status.svg
[8]: https://david-dm.org/ljharb/publishers?type=dev
[11]: https://nodei.co/npm/publishers.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/publishers.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/publishers.svg
[downloads-url]: https://npm-stat.com/charts.html?package=publishers

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