i18next-static-analysis

Parses your javascript file and attempt to find call to i18next to validate them

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
i18next-static-analysis
810.0.28 years ago8 years agoMinified + gzip package size for i18next-static-analysis in KB

Readme

i18next-static-analysis
Attempts to analyse statically your code to find calls to i18next and validates them for all your supported languages. Provide the i18next instance and the path to your source file and wait for the report. Uses babel for all parsing and traversing of your code so it supports everything it does.

Installation

``` $ npm install i18next-static-analysis ```

Usage

- Todo

Known issues

- Supports only literal values in i18next translate call. - No support for options in translation - babel options not passed to the parser