@kary/virtuous
v1.1.0
Published
Virtuous the JSON Formatter for the Kary Coding Standards
Downloads
3
Readme
Virtuous JSON Formatter Engine
Installation:
npm install --save @kary/virtuous
const virtuous =
require( "@kary/virtuous" )
const { success, value } =
virtuous.format( someJSONCode )
if ( success ) {
const formattedCode = value
} else {
const errorMessage = value
}