https://github.com/rdarida/prettypkg
A command-line utility to format package.json files consistently
https://github.com/rdarida/prettypkg
formatter package prettier
Last synced: 4 months ago
JSON representation
A command-line utility to format package.json files consistently
- Host: GitHub
- URL: https://github.com/rdarida/prettypkg
- Owner: rdarida
- License: mit
- Created: 2024-12-14T08:29:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-05T23:54:34.000Z (5 months ago)
- Last Synced: 2026-02-06T02:54:31.143Z (5 months ago)
- Topics: formatter, package, prettier
- Language: TypeScript
- Homepage: https://rdarida.github.io/prettypkg/
- Size: 793 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README

# prettypkg
A command-line utility to format package.json files consistently
## Usage
```
npx prettypgk@latest --write
```
## Consistent key order
**Input:**
```json
{
"licence": "MIT",
"keywords": ["package", "formatter", "prettier"],
"description": "A command-line utility to format package.json files consistently",
"name": "prettypkg"
}
```
**Output:**
```json
{
"name": "prettypkg",
"description": "A command-line utility to format package.json files consistently",
"keywords": ["package", "formatter", "prettier"],
"licence": "MIT"
}
```
Resources
- [Documentation](https://rdarida.github.io/prettypkg/)