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

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

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
}
```