sindresorhus

write-package

Write a package.json file

by sindresorhus

JavaScript

JavaScript89.6%
TypeScript10.4%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
vladshcherbin

Hey 👋 Internal has a detectIndent option to detect indentation of existing file which is by default. provides this option which is hardcoded to . If existing file has empty contents inside, added fields will be saved as a single line: It's impossible to fix such file indentation using any indentation options, the only way is to remove file and regenerate it. It would be nice to have not hardcoded and have possibility to overwrite it.

vladshcherbin · 1y ago
Structured data for AI agents

Repository: sindresorhus/write-package. Description: Write a package.json file Stars: 89, Forks: 13. Primary language: JavaScript. Languages: JavaScript (89.6%), TypeScript (10.4%). License: MIT. Latest release: v7.2.0 (1y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, zkochan, tommy-mitchell, coreyfarrell, BendingBender, dsblv, stekovinbranturry, Richienb.