1.0.6 • Published 7 years ago
typei18n v1.0.6
TypeI18n
yet another i18n solution by codegen
Installtion
# npm
npm i typeI18n
# or yarn
yarn add typeI18nCli usage
typeI18n <directory> [options]example:
typeI18n locales -o locales.tscli options
| option | description | type | default |
|---|---|---|---|
| --target, -t | generate targets | Enum { resource, provider } | provider |
| --output, -o | output to filepath | String | undefined |
| --watch, -w | watch input files change | Boolean | false |
| --color | colorful print if no output provide | Boolean | true |
| --version, -v | show ts-creator versions | Boolean | false |
| --help, -h | show helper | Boolean | false |