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

localizard

v0.1.0

Published

CLI tool for managing localization JSON files

Readme

🦎 Localizard

⚠️ Warning: This package is still under active development.
It is currently in an early version (0.x.x), and breaking changes may occur.
Feel free to try it out and give feedback, but avoid using it in production just yet.

Localizard is a simple and powerful command-line tool for managing localization JSON files. With Localizard, you can easily initialize, add, edit, and delete localization keys from your JSON files without manually modifying them. This makes managing translations for your applications much more efficient!

🚀 Features

  • Initialize Localizard: Quickly set up Localizard.
  • Add new translations: Easily insert new translation keys into JSON files.
  • Edit existing translations: Modify the value of any existing localization key.
  • Delete translations: Remove unwanted localization keys safely.

📚 Installation

Install globally via npm

npm install -g localizard

Verify installation

lzd --help

🎯 Usage

Localizard supports both interactive mode and direct command execution.

Running Localizard in interactive mode

lzd

This will open the Localizard menu:

====================================
           🦎 LOCALIZARD
====================================

Available commands:
  1) Init         - Set up Localizard
  2) Add          - Add a new translation key to locales JSON
  3) Edit         - Modify a translation value in locales JSON
  4) Delete       - Delete a translation key from locales JSON
  5) Exit

Enter a number and press ENTER:

Running Localizard with command-line arguments

Instead of using the interactive mode, you can execute specific commands directly:

Initialize Localizard

lzd init

This command starts by asking whether you want to create new locale files or use existing ones.

To skip this question, use one of the following options:

lzd init --new

This will create new locale files in the specified directory and generate a configuration file.

lzd init --link

This will prompt you to provide the path to your existing locale files. Localizard will scan the directory for .json files and generate a configuration file based on the detected locales.

Short options:
  • -n → Equivalent to --new
  • -l → Equivalent to --link

Adding a Translation

lzd add

You will be prompted to enter the JSON key and translations.

Enter the JSON key (e.g., home.content.body): home.content.body
Enter the translation for en (HOME.CONTENT.BODY): Welcome Home!
Enter the translation for hu (HOME.CONTENT.BODY): Üdv itthon!

This updates your JSON files as follows:

en.json:

{
  "HOME": {
    "CONTENT": {
      "BODY": "Welcome Home!"
    }
  }
}

hu.json:

{
  "HOME": {
    "CONTENT": {
      "BODY": "Üdv itthon!"
    }
  }
}

Editing a Translation

lzd edit

You will be prompted to enter the key to modify and the new translations.

Enter the JSON key to modify: home.content.body
Enter the new translation for en (HOME.CONTENT.BODY): Welcome!
Enter the new translation for hu (HOME.CONTENT.BODY): Üdv!

Deleting a Translation

lzd delete

You will be prompted to enter the key to delete.


ℹ️ Help

To see available commands at any time, run:

lzd --help

🌐 License

This project is licensed under the MIT License.