0.6.0 • Published 3 years ago

atom-read-manifest v0.6.0

Weekly downloads
288
License
MIT
Repository
github
Last release
3 years ago

atom-read-manifest

npm npm CircleCI David

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:

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

License

This work is licensed under The MIT License

0.6.0

3 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago