Installation
As a project dependency
bash
npm install @yartasdev/properties-to-jsGlobal CLI
bash
npm install -g @yartasdev/properties-to-jsThe properties-to-js command is then available on your PATH.
npx (no install)
bash
npx @yartasdev/properties-to-js -i config.properties -o config.jsonIf your shell mishandles flags, insert --:
bash
npx @yartasdev/properties-to-js -- -i config.properties -o config.jsonWith a local install, from the project root:
bash
npx properties-to-js -i config.properties -o config.jsonDevelopment
After cloning the repository:
bash
npm install
npm run build
npm testUse npm link to try the CLI locally.