https://github.com/pouyakary/virtuous
The Kary-style JSON formatter
https://github.com/pouyakary/virtuous
code-formatter coding-standard coding-style formatter json-formatter kary-coding-standards kary-coding-umbrella
Last synced: 9 months ago
JSON representation
The Kary-style JSON formatter
- Host: GitHub
- URL: https://github.com/pouyakary/virtuous
- Owner: pouyakary
- Created: 2021-01-18T22:07:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-16T17:00:25.000Z (over 3 years ago)
- Last Synced: 2024-12-25T17:42:19.992Z (about 1 year ago)
- Topics: code-formatter, coding-standard, coding-style, formatter, json-formatter, kary-coding-standards, kary-coding-umbrella
- Language: TypeScript
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Virtuous JSON Formatter Engine
## Installation:
```
npm install --save @kary/virtuous
```
```js
const virtuous =
require( "@kary/virtuous" )
const { success, value } =
virtuous.format( someJSONCode )
if ( success ) {
const formattedCode = value
} else {
const errorMessage = value
}
```