New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

transax

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transax

Framework-agnostic JavaScript library for content internationalization.

latest
Source
npmnpm
Version
2.5.3
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 19 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts