0.0.2 • Published 2 years ago

i18next-translation-dts v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

ts-i18next-type

A i18next translation key type definition generator.

install

npm i ts-i18next-type
# or use yarn
yarn add ts-i18next-type

Usage

CLI

i18next-dts "**/translation/*.json"
# watch mode
i18next-dts "**/translation/*.json" --watch

API(TBD)

import { getI18nextDefinition, generateI18nextDefinitionFile } from 'ts-i18next-type'
getI18nextDefinition()

generateI18nextDefinitionFile()