transax

2.5.3 • Public • Published

Transax

documentation release license test coverage

Get started with the documentation.

Quickstart

npm install transax

Introduction

transax is a JavaScript/TypeScript library for content internationalization & localization.

Framework-agnostic

The project is a pure JavaScript solution, so it can be used directly, or integrated with virtually any framework or library.

Flavor-agnostic

Due to its simplicity transax is able to recognize and extract keys from any JS-like syntax, including JSX, TSX, Vue SFCs and maybe even future flavors.

Flexible

Originally written in TypeScript, the package comes bundled with transpiled JavaScript versions for both CommonJS and ESM uses.

Analysis

Able to analyze your code and look for translation calls, transax will then report back with untranslated and obsolete keys.

Compilation

Once created your translation dictionary is compiled to a highly optimized and highly performant JavaScript object, ready to be used in production.

Translation

At runtime, transax uses the compiled dictionary to translate keys into the desired language, performing powerful string interpolation & formatting of passed data.

Readme

Keywords

none

Package Sidebar

Install

npm i transax

Weekly Downloads

1

Version

2.5.3

License

MIT

Unpacked Size

309 kB

Total Files

249

Last publish

Collaborators

  • tonybogdanov