A command-line utility to format package.json files consistently
npx prettypgk@latest --write
Input:
{
"licence": "MIT",
"keywords": ["package", "formatter", "prettier"],
"description": "A command-line utility to format package.json files consistently",
"name": "prettypkg"
}
Output:
{
"name": "prettypkg",
"description": "A command-line utility to format package.json files consistently",
"keywords": ["package", "formatter", "prettier"],
"licence": "MIT"
}