# @pnpm/write-project-manifest

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

Latest version **1000.0.16** (published 2026-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/write-project-manifest
pnpm add @pnpm/write-project-manifest
yarn add @pnpm/write-project-manifest
bun add @pnpm/write-project-manifest
```

## Health

**Score 70/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1000.0.16 |
| Published | 2026-01-19 |
| First published | 2020-01-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.12 |
| Dependencies | 5 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36458 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm10 |

## Links

- npm: https://www.npmjs.com/package/@pnpm/write-project-manifest
- Repository: https://github.com/pnpm/pnpm.git#main
- Homepage: https://github.com/pnpm/pnpm/tree/main/pkg-manifest/write-project-manifest#readme
- Issues: https://github.com/pnpm/pnpm/issues
- Funding: https://opencollective.com/pnpm
- npm.io page: https://npm.io/package/@pnpm/write-project-manifest

## Dependencies (5)

- [json5](https://npm.io/package/json5.md) ^2.2.3
- [@pnpm/types](https://npm.io/package/@pnpm/types.md) 1001.3.0
- [write-yaml-file](https://npm.io/package/write-yaml-file.md) ^5.0.0
- [write-file-atomic](https://npm.io/package/write-file-atomic.md) ^5.0.1
- [@pnpm/text.comments-parser](https://npm.io/package/@pnpm/text.comments-parser.md) 1000.0.0

## Recent versions

- 1000.0.16 (latest) — 2026-01-19
- 1000.0.17 (latest-10) — 2026-06-10
- 2.0.12 (latest-6) — 2022-07-05
- 1.1.1 (pnpm-temp) — 2020-08-02
- 1000.0.15 — 2025-12-15
- 1000.0.14 — 2025-12-08
- 1000.0.13 — 2025-11-20
- 1000.0.12 — 2025-11-09
- 1000.0.11 — 2025-10-21
- 1000.0.10 — 2025-09-12
- 1000.0.9 — 2025-07-23
- 1000.0.8 — 2025-05-13
- 1000.0.7 — 2025-04-21
- 1000.0.6 — 2025-04-07
- 1000.0.5 — 2025-03-26
- … 64 more at https://npm.io/package/@pnpm/write-project-manifest/versions

## README

# @pnpm/write-project-manifest

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

<!--@shields('npm')-->
[![npm version](https://img.shields.io/npm/v/@pnpm/write-project-manifest.svg)](https://www.npmjs.com/package/@pnpm/write-project-manifest)
<!--/@-->

## Installation

```sh
pnpm add @pnpm/write-project-manifest
```

## Usage

```ts
import { writeProjectManifest } from '@pnpm/write-project-manifest'
import path from 'path'

(async () => await writeProjectManifest(path.resolve('package.yaml'), { name: 'foo', version: '1.0.0' }))()
```

## License

MIT

---
_Source: https://npm.io/package/@pnpm/write-project-manifest · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
