react-i18next-types-generator

0.1.0 • Public • Published

react-i18next-types-generator

npm

Simple CLI tool for generating types for react-i18next just like that https://react.i18next.com/latest/typescript

Usage

npm i react-i18next-types-generator
npx react-i18next-types-generator [options]
react-i18next-types-generator [options]

Options:
      --version     Show version number                                [boolean]
      --help        Show help                                          [boolean]
  -i, --input       Path to the directory that contains translation JSON files
                                                             [string] [required]
  -o, --output      Path to the output declaration file      [string] [required]
  -a, --importPath  Path used to create import directives for the JSON files
                                                                        [string]
  -w, --watch       Watch directory changes           [boolean] [default: false]

Package Sidebar

Install

npm i react-i18next-types-generator

Weekly Downloads

7

Version

0.1.0

License

UNLICENSED

Unpacked Size

4.58 kB

Total Files

3

Last publish

Collaborators

  • fakundo