0.1.3 • Published 1 year ago

@tmsg/x v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@tmsg/x

@tmsg/x is the command line interface (CLI) for the tmsg internationalization (i18n) library for TypeScript apps.

Docs | Changelog

Installation

To use @tmsg/x, install the package:

npm i @tmsg/x --save-dev

Usage

The @tmsg/x CLI can be used to automatically extract strings from your codebase and export them to JSON files, as well as compile translations back to JavaScript:

# Extracts strings from the code base to JSON files.
tmsgx sync --outDir ./locales --projectDir . --locales en de
# Compile translations to ESM.
tmsgx compile --outDir ./dist/locales --localesDir ./locales
0.1.2

1 year ago

0.1.1

1 year ago

0.1.3

1 year ago

0.1.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago