Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
/ node-json2po Public archive

Node package for converting .json files to .po files

License

Notifications You must be signed in to change notification settings

teonite/node-json2po

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-po2json

Simple tool for converting .po files to .json files

Usage: node-json2po [options] <source> <target>


  Options:

    -V, --version    output the version number
    -r, --recursive  Recursively convert all files in directory
    -h, --help       output usage information

Installation

npm install --save node-json2po

Usage

node-json2po source.po target.json
node-json2po -r sourceDir targetDir

or in package.json

{
    // ...
    "scripts": {
        //...
        "convert:json": "node-json2po -r sourceDir targetDir"
    },
    // ...
}

License

MIT

Releases

No releases published

Packages

No packages published