0.0.12 • Published 9 months ago

ngx-i18n-extract-regex-cli v0.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

npm version Build & Publish

Tool for extracting translations from Angular app using regex

🛠️ Install

Nodejs 12 or higher need to be installed first

npm install -g ngx-i18n-extract-regex-cli

or

yarn global add ngx-i18n-extract-regex-cli

🚀 Quick start

Go to command line and type

ngx-i18n-extract-regex --help

🛠️ Options

OptionTypeDefaultDescription
librarytransloco, ngx-translatetranslocoTarget i18n library
cwdstringsrcCurrent working directory
sourcestring[]app/**/*.ts', 'app/**/*.htmlPath to source files
langsstring[]assets/i18n/*.jsonPath to language files
default-valuestring███Default string
dry-runbooleanfalseRun process without writing results
encodingutf-8, ascii, utf8, utf16le, ucs2, ucs-2, base64, latin1, binary, hexutf-8Encoding for writing results

🪪 License

Copyright © 2024 Dominik Hladik

All contents are licensed under the MIT license.

0.0.12

9 months ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.5

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago