# atom-read-manifest

> Read the manifest (package.json) of any installed Atom package

Latest version **0.6.0** (published 2021-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install atom-read-manifest
pnpm add atom-read-manifest
yarn add atom-read-manifest
bun add atom-read-manifest
```

## 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.6.0 |
| Published | 2021-03-07 |
| First published | 2019-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 5 |
| Unpacked size | 13.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | idleberg |
| Keywords | atom, atom package, manifest, package.json, package manifest |

## Links

- npm: https://www.npmjs.com/package/atom-read-manifest
- Repository: https://github.com/idleberg/node-atom-read-manifest
- Homepage: https://github.com/idleberg/node-atom-read-manifest#readme
- Issues: https://github.com/idleberg/node-atom-read-manifest/issues
- npm.io page: https://npm.io/package/atom-read-manifest

## Dependencies (5)

- [uuid](https://npm.io/package/uuid.md) ^8.3.2
- [hasha](https://npm.io/package/hasha.md) ^5.2.2
- [find-up](https://npm.io/package/find-up.md) ^5.0.0
- [read-pkg-up](https://npm.io/package/read-pkg-up.md) ^7.0.1
- [caller-callsite](https://npm.io/package/caller-callsite.md) ^4.1.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

- 0.6.0 (latest) — 2021-03-07
- 0.5.2 — 2020-10-12
- 0.5.1 — 2020-05-20
- 0.5.0 — 2020-05-20
- 0.4.2 — 2020-04-16
- 0.4.1 — 2020-03-03
- 0.4.0 — 2020-02-23
- 0.3.3 — 2020-01-30
- 0.3.2 — 2019-12-28
- 0.3.1 — 2019-07-22
- 0.3.0 — 2019-06-24
- 0.2.1 — 2019-06-12
- 0.2.0 — 2019-05-30
- 0.1.0 — 2019-05-14

## README

# atom-read-manifest

[![npm](https://flat.badgen.net/npm/license/atom-read-manifest)](https://www.npmjs.org/package/atom-read-manifest)
[![npm](https://flat.badgen.net/npm/v/atom-read-manifest)](https://www.npmjs.org/package/atom-read-manifest)
[![CircleCI](https://flat.badgen.net/circleci/github/idleberg/node-atom-read-manifest)](https://circleci.com/gh/idleberg/node-atom-read-manifest)
[![David](https://flat.badgen.net/david/dep/idleberg/node-atom-read-manifest)](https://david-dm.org/idleberg/node-atom-read-manifest)

Read the manifest (`package.json`) of any installed Atom package

## Installation

`npm install atom-read-manifest -S`

## Usage

`readManifest(packageID?: string)` / `readManifestSync(packageID?: string)`

You can omit the package ID to retrieve the manifest of the package in use

**Example**:

```js
const { readManifest, readManifestSync } = require('atom-read-manifest');

// Unique package identifier
const packageID = 'teletype';

// Asynchronous
(async () => {
    const manifest = await readManifest(packageID);
    console.log(manifest);
})();

// Synchronous
const manifest = readManifestSync(packageID);
console.log(manifest);
```

## Related

- [vscode-read-manifest](https://www.npmjs.com/package/vscode-read-manifest)

## License

This work is licensed under [The MIT License](https://opensource.org/licenses/MIT)

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