
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
powo-cli is a powerful Node.js module designed to seamlessly import Powo translations into your web projects. Streamline your internationalization workflow with support for multiple platforms and flexible translation management.
yarn add powo-cli
npm install powo-cli
Add the powo script to your package.json:
{
"scripts": {
"powo": "load-locales --project=MyPowoProject --country=XX --platform=web --version=last --languages=fr,en --location=src/locales/"
}
}
Then run:
npm run powo
# or
yarn powo
Load all translations into consolidated language files:
{
"scripts": {
"powo:global": "load-locales --project=MyPowoProject --country=XX --platform=web --version=last --languages=fr,en --location=src/locales/"
}
}
This command generates en.json and fr.json files with all approved translations in your specified location.
| Option | Description | Required | Default |
|---|---|---|---|
project | Powo Project's name | ✅ | - |
country | Country code | ❌ | XX |
platform | Target platform (Android, iOS, web, robot) | ✅ | - |
version | Translation version (last or draft) | ✅ | - |
languages | Comma-separated list of languages to generate | ✅ | - |
location | Destination folder path | ✅ | - |
proxy | Proxy URL (format: http://proxy.fr:8080) | ❌ | - |
Load translations organized by features for better modularity:
{
"scripts": {
"powo:features": "load-by-features --project=MyPowoProject --country=XX --platform=web --version=last --location=src/locales/"
}
}
This command generates separate JSON files for each feature, enabling more granular translation management.
| Option | Description | Required | Default |
|---|---|---|---|
project | Powo Project's name | ✅ | - |
country | Country code | ❌ | XX |
platform | Target platform (Android, iOS, web, robot) | ✅ | - |
version | Translation version (last or draft) | ✅ | - |
location | Destination folder path | ✅ | - |
proxy | Proxy URL (format: http://proxy.fr:8080) | ❌ | - |
Combine translations from multiple modules into unified language files:
{
"scripts": {
"powo:modules": "load-by-modules --delivery=MyDelivery --modules=ModuleA,ModuleB,ModuleC --platform=web --versions=last --languages=fr,en --location=src/locales/"
}
}
This command downloads translations from multiple modules and merges them into consolidated language files, perfect for micro-service architectures or multi-team projects.
| Option | Description | Required | Default |
|---|---|---|---|
delivery | Delivery identifier for module grouping | ✅ | - |
modules | Comma-separated list of module names to merge | ✅ | - |
country | Country code | ❌ | XX |
platform | Target platform (Android, iOS, web, robot) | ✅ | - |
versions | Version for each module (single value or comma-separated) | ✅ | - |
languages | Comma-separated list of languages to generate | ✅ | - |
location | Destination folder path | ✅ | - |
proxy | Proxy URL (format: http://proxy.fr:8080) | ❌ | - |
# Load French and English translations for a web project
load-locales --project=MyWebApp --platform=web --version=last --languages=fr,en --location=src/i18n/
# Load translations for iOS app through corporate proxy
load-locales --project=MyMobileApp --platform=iOS --version=draft --languages=en,es,de --location=assets/translations/ --proxy=http://corporate-proxy:8080
# Generate feature-specific translation files
load-by-features --project=MyLargeApp --platform=web --version=last --location=src/locales/features/
# Merge translations from multiple modules into unified files
load-by-modules --delivery=MainApp --modules=AuthModule,PaymentModule,UserModule --platform=web --versions=last --languages=fr,en --location=src/i18n/
To test the CLI locally:
npm link
This creates a global symlink to your local development version.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions, please file an issue on the GitHub repository.
FAQs
Node module to import Powo translation into your web project.
We found that powo-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.