@gluonjs/core / packages/language-server/src / GluonApiManifestPackage
Interface: GluonApiManifestPackage
Properties
environment
readonlyenvironment:string
exports
readonlyexports: readonlystring[]
name
readonlyname:string
Example
Describe one public package and its supported entry points:
ts
import { GLUON_API_MANIFEST, getGluonApiManifest, type GluonApiManifest, type GluonApiManifestPackage } from '@gluonjs/language-server';
const manifest: GluonApiManifest = getGluonApiManifest();
const packageEntry: GluonApiManifestPackage | undefined = manifest.packages.find((entry) => entry.name === '@gluonjs/core');
console.log(GLUON_API_MANIFEST.framework, manifest.concepts, packageEntry?.exports);