An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

Cover



NPM Badge


GitHub Repository Badge


Publish Badge


Coverage Badge

Dependencies Badge



# 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/)




License Badge