$ npm install @pnpm/write-project-manifest
Write a project manifest (called package.json in most cases)
pnpm add @pnpm/write-project-manifest
import { writeProjectManifest } from '@pnpm/write-project-manifest'
import path from 'path'
(async () => await writeProjectManifest(path.resolve('package.yaml'), { name: 'foo', version: '1.0.0' }))()
MIT
© 2010 - cnpmjs.org x YWFE | Home | YWFE