npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tuhama/translation-manager

v0.7.3

Published

AI-powered i18n management with context-aware scanning and support for OpenAI, Gemini, and Google Translate.

Readme

Translation Manager UI 🌍

A modern, web-based interface for managing i18n translation files in React and other JavaScript projects. Now with AI-Friendly features and an AI Skill File to make localization faster and more accurate.

[!TIP] This project is AI-Ready. AI agents can use the included translations.skill to automatically audit and manage your translations.

Features

  • Modern UI: Dark mode, glassmorphism, and smooth animations.
  • AI-Powered Translation: Support for OpenAI (GPT-4o), Google Gemini, and Google Cloud Translate.
  • Context-Aware Scanning: Extracts code snippets where translation keys are used, providing crucial context for AI translations.
  • Missing Keys Detection: Identifies translation keys used in source code but missing from files.
  • Cleanup Tool: Detects and batch-removes unused translation keys.
  • Normalization: Synchronizes keys across all languages and sorts them alphabetically with one click.
  • Export/Import: Export all missing translations to an AI-Friendly JSON file (including code context) for external translation.
  • CLI Status: Machine-readable JSON output for project health monitoring.
  • Tree View: Easy navigation and management of translation keys.
  • Zero Config: Auto-detects common locales folders.

Installation

Add it as a devDependency to your project:

npm install -g @tuhama/translation-manager

Or run directly with npx:

npx @tuhama/translation-manager

Usage

🤖 AI-Friendly Localization

The manager now extracts the surrounding code for every translation key it finds. This context is passed to AI models (like OpenAI or Gemini) to ensure highly accurate translations that respect your code's intent.

📤📥 Export/Import (AI-Enhanced)

You can export all missing translation keys to a single JSON file. This export is AI-Ready, containing code snippets for each key so you can feed it to an LLM for context-aware translations.

📊 CLI Status

Check your translation coverage programmatically:

npx @tuhama/translation-manager status

Outputs a machine-readable JSON summary of missing keys, coverage percentage, and project health.

⚠️ Missing Keys Detection

The application automatically scans your source code for translation keys used (e.g., t('key.name')) but missing from your translation files. Click the "Missing" button in the sidebar to review and create them instantly.

🪄 Auto-Translation

Configure Google Cloud, OpenAI, or Gemini in the settings to enable auto-translation. Use the "Source-to-All" button in the editor to quickly populate all languages.

Configuration

You can optionally create a translation.config.json in your project root:

Using OpenAI (Recommended for AI Quality)

{
  "path": "src/locales",
  "aiTranslate": {
    "provider": "openai",
    "apiKey": "your-openai-api-key",
    "model": "gpt-4o"
  }
}

Using Google Cloud Translate

{
  "path": "src/locales",
  "googleTranslate": {
    "projectId": "your-google-cloud-project-id"
  }
}

Development

To work on this repo:

  1. npm install
  2. cd web && npm install
  3. npm run dev (starts both the API and the Vite UI)

Limitations

  • Dynamic Keys: Highly dynamic keys (e.g. t(someVar + '.key')) may not be detected by the "Missing Keys" tool.
  • Namespaces: Currently optimized for single-namespace or default-namespace projects.

License

MIT © Tuhama