Skip to content

jusufazer/yaml2properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaml-to-properties

A util to convert files in .yml format into .properties format. Currently only supports single file conversion.

Install

npm install yaml2properties --save-dev

Usage

Example yaml

"KEY1":
  "KEY2": "Hello"
  "KEY3":"World"

result into a file containing

KEY1.KEY2=Hello
KEY1.KEY3=World

Example config.json

{
    src: "c:\json\myfiles\file.yml",
    dist: "c:\properties\converted.properties"
}

and run with

yaml2properties -c config.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published