0.1.3 • Published 2 years ago

@tmsg/x v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.1.1

2 years ago

0.1.3

2 years ago

0.1.0

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago