Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vscode-read-manifest

idleberg25MIT0.5.1TypeScript support: included

Read the manifest (package.json) of any installed Visual Studio Code extension

vscode, vscode extension, package.json, package manifest

readme

vscode-read-manifest

npm npm CircleCI David

Read the manifest (package.json) of any installed Visual Studio Code extension

Installation

npm install vscode-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('vscode-read-manifest');

// Unique package identifier
const packageID = 'idleberg.applescript';

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

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

License

This work is licensed under The MIT License

You are welcome to support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd