Skip to content

alicoding/yamltoxmljson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YAML to XML or JSON Converter

=======================================================

Installation

npm install -g yamltoxmljson

Usage

usage: yamltoxmljson ./config.json

config.json example

{
	"supportedLocales": ["en", "de"],
	"dest": "path/to/dest/locales",
	"src": "path/to/src/locales",
	"type": "xml" // default would be json
}

YAML file example

---
en:
  secure: Secure
  amount: Amount

will write a JSON file like this:

en.json

{
  "secure": "Secure",
  "amount": "Amount"
}

About

YAML to XML or JSON Converter

Resources

Stars

Watchers

Forks

Packages

No packages published