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

translate-lint

v1.10.1

Published

Simple tools for checking translate keys in the whole app that uses regexp. Support for popular libraries and frameworks

Readme

translate-lint

Simple tools for checking translate keys in the whole app that uses regexp. Support for popular libraries and frameworks

semantic npm download npm

for desktop use ngx-translate-editor

Table of Contents

Background

There are a lot of translation keys in the whole app. This repository contains a proposal to check all translation keys in the whole app which should exist in all languages files.

Support

| Library | Preset | Framework | |------------------------------------------------------------------|-------------------------|-----------| | ngx-translate | angular-ngx-translate | Angular | | transloco | transloco | Angular | | react-i18next | react-i18next | React | | react-intl | react-intl | React | | lingui | lingui-js | React | | next-intl | next-intl | Next.js | | next-i18next | next-i18next | Next.js | | vue-i18n | vue-i18n | Vue | | i18next-vue | i18next-vue | Vue | | fluent-vue | fluent-vue | Vue | | @nuxtjs/i18n | nuxtjs-i18n | Nuxt.js | | svelte-i18n | svelte-i18n | Svelte | | next-translate | next-translate | Next.js | | remix-i18next | remix-i18next | Remix | | sveltekit-i18n | sveltekit-i18n | SvelteKit | | solid-i18n | solid-i18n | Solid.js | | qwik-speak | qwik-speak | Qwik | | i18next | i18next | Universal | | i18n | i18n-node | Node.js | | lit-translate | lit-translate | Lit |

Installation

NPM

npm install translate-lint -g

Usage

CLI

Run translate-lint against your project and language files:

translate-lint -p './src/app/**/*.{html,ts,resx}' -l './src/assets/i18n/*.{json,yaml,yml}' -f angular-ngx-translate

NOTE: For project and languages options need to include file types like on the example.

Init

Run the interactive config generator to create a translate-lint.config.json (or .js) file in the current directory:

translate-lint --init

After generation, pass the file to the linter via --config:

translate-lint --config ./translate-lint.config.json

TypeScript

translate-lint can also be used programmatically — the TranslateLint class, all rule config interfaces, and the framework preset registry are exported from the package. See docs/rules/README.md for a full, up-to-date example.

Rules

translate-lint ships with the following rules. See docs/rules/README.md for how each one works, its config options, CLI flags, and example error messages:

Contribute

You may contribute in several ways like requesting new features, adding tests, fixing bugs, improving documentation or examples. Please check our contributing guidelines.

Used By

Here can be your extensions:

  • ngx-translate-editor - Simple GUI for CRUD translate keys of ngx-translate, which included ngx-translate-lint
  • 121 Platform - 121 is an open source platform for Cash based Aid built with Digital Identity & Local/Global Financial service partners.

License

MIT