0.1.1 • Published 5 years ago
@deprecatedluxas/jsontoliteral v0.1.1
jsontoliteral
A nodejs cli to convert a json file to typescript string literal
Install
$ npm install jsontoliteral
Usage
JSON file format
{
"literals": [
{
"literal": "Dog"
},
{
"literal": "Cat"
},
{
"literal": "Cow"
}
]
}
$ jsontoliteral animals.json