language-parser

2.1.0 • Public • Published

language-parser

In order for this script to work the package.json must containt "type": "module" at top level If using node <= 13, experimental features have to be enabled. For node > 14 experimental features are enabled by default

Installation (NPM): npm i --save-dev language-parser

Installation (Yarn): yarn add --dev language-parser

Usage: node ./node_modules/language-parser/parser.js -a [merge | split | fill] -l [languages] -f [jsonFile] -d [languageWithKeys]

Ex:

  • npx language-parser -a merge -l en-en,nl-nl
  • npx language-parser -a split -f locales.json
  • npx language-parser -a fill -l nl-nl -d en-en
  • npx language-parser -a toJson -i locales.csv -o locales.json
  • npx language-parser -a toCsv -i locales.json -o locales.csv

Readme

Keywords

none

Package Sidebar

Install

npm i language-parser

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

12.6 kB

Total Files

3

Last publish

Collaborators

  • balazs31