Registry / devops / i18nexus-cli

i18nexus-cli

JSON →
library4.1.0jsnpmunverified

Command line tool for managing translations via the i18nexus API. Version 4.1.0. Provides commands to download translation files (pull) and view project metadata. Supports i18next, next-intl, and react-intl file structures. Loads .env for API key. Active development with monthly releases.

npm install i18nexus-cli
INSTALL
IMPORT
SIG · I18NEXUS-CLI
I
i18nexus-cli
devopsjavascriptv4.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Install globally and pull translations using an API key from environment or flag.

npm install -g i18nexus-cli i18nexus pull -k $I18NEXUS_API_KEY || echo 'Set I18NEXUS_API_KEY or use --api-key' i18nexus project -k $I18NEXUS_API_KEY
i18nexus --version
Debug
Known issues
gotchaEnvironment variables are loaded from .env file in current directory unless I18NEXUS_NO_DOT_ENV is set.
fix
Set I18NEXUS_NO_DOT_ENV=true or ensure .env contains correct keys.
affects: >=4.0.0
gotchaThe --clean flag only deletes folders matching simple language code regex; files may remain if not in such folders.
fix
Manually verify destination folder before using --clean.
affects: >=4.0.0
gotchaDefault download path depends on i18nexus project library setting (i18next, next-intl, react-intl).
fix
Use --path to override destination.
affects: >=4.0.0
Errors
Common errors & fixes
Error: Failed to fetch translations. Check API key and network.
Invalid project API key or network issue.
fix
Verify I18NEXUS_API_KEY or --api-key, ensure internet connectivity.
Error: API key not provided. Use --api-key or I18NEXUS_API_KEY environment variable.
No API key supplied.
fix
Provide --api-key flag or set I18NEXUS_API_KEY in environment.
Upgrade
Version history
4.1.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
i18nexus-cli — npm install i18nexus-cli · libregistry