@pnpm/read-importer-manifest

Read an importer manifest (called package.json in most cases)

Usage no npm install needed!

<script type="module">
  import pnpmReadImporterManifest from 'https://cdn.skypack.dev/@pnpm/read-importer-manifest';
</script>

README

@pnpm/read-importer-manifest

Read an importer manifest (called package.json in most cases)

npm version

Installation

<npm|yarn|pnpm> add @pnpm/read-importer-manifest

Usage

import readImporterManifest from '@pnpm/read-importer-manifest'

const { manifest, fileName } = await readImporterManifest(process.cwd())

License

MIT © Zoltan Kochan