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

i18n-radar

v1.0.3

Published

CLI tool for auditing i18n translations

Downloads

313

Readme

i18n-radar 📡

npm version License: MIT TypeScript npm downloads

The type-safe, format-agnostic i18n audit tool for Enterprise teams.

The Problem

In large apps, translations are split across 100s of files. Manual checks fail, leading to broken UIs and missing params in production.

The Solution

i18n-radar validates your entire file system at build time using strict static analysis.

Key Features

  • 🌲 Deep Tree Analysis: Supports complex, nested folder structures with Glob patterns (e.g., locales/{lang}/**/*.ts).
  • 🏗 Format Agnostic: Works natively with TypeScript, JavaScript, and JSON (powered by jiti).
  • 🔍 Smart Diff: Doesn't just say "Error". Tells you: "Missing variable {name}, found {isim}".
  • Developer Experience: Clean, collapsible "Tree View" terminal output.

Installation

npm install -D i18n-radar

Configuration

Create i18n-radar.config.ts in your project root:

Scenario A: Simple Structure

For projects with one file per language:

export default {
  baseLanguage: "en",
  targetLanguages: ["tr", "de"],
  pathPattern: "locales/{lang}.json",
};

Scenario B: Enterprise Split-File Structure

For large projects with nested directories and multiple files per language:

export default {
  baseLanguage: "en",
  targetLanguages: ["tr", "de", "fr"],
  // This Glob pattern matches any nested structure!
  // Automatically maps en/auth.ts → tr/auth.ts, en/dashboard.ts → tr/dashboard.ts, etc.
  pathPattern: "./src/locales/{lang}/**/*.ts",
};

Scenario C: Feature-Based / Colocation

For projects where translations live next to components (not in a central folder):

/src
  /features
    /auth
       login.tsx
       en.ts  <-- Located inside feature
       tr.ts
    /dashboard
       en.ts
       tr.ts
export default {
  baseLanguage: "en",
  targetLanguages: ["tr"],
  // Matches {lang}.ts files in any nested feature directory
  pathPattern: "./src/features/**/{lang}.ts",
};

Usage

# Summary view (first 5 issues)
npx i18n-radar check

# Full output with all errors
npx i18n-radar check --verbose

Demo

CI/CD Integration

Block PRs if translations are missing. Add to .github/workflows/pr-check.yml:

name: i18n Audit
on: [pull_request]

jobs:
  i18n-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: "18"
      - run: npm install
      - run: npx i18n-radar check
        # Fails the CI if any translation issues are found

Comparison

| Feature | i18n-radar | Standard Linters | | ------------------------------------ | ---------- | ---------------- | | Missing Keys Detection | ✅ | ❌ | | TypeScript Support | ✅ | ❌ | | Parameter Validation ({name} checks) | ✅ | ❌ |

Built for Enterprise Teams: Type-safe, scalable, and CI-ready.