Skip to content

pouyakary/virtuous

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}