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

Package detail

@pnpm/read-project-manifest

pnpm3mMIT1001.1.3TypeScript support: included

Read a project manifest (called package.json in most cases)

pnpm, pnpm10

readme

@pnpm/read-project-manifest

Read a project manifest (called package.json in most cases)

npm version

Installation

pnpm add @pnpm/read-project-manifest

Usage

import { readProjectManifest } from '@pnpm/read-project-manifest'

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

License

MIT