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

@radicalstorage-lingo/cli

v0.3.1

Published

Lingo CLI — pull/push translations as JSON at build time.

Readme

@radicalstorage-lingo/cli

Pulls/pushes translations as JSON at build time. Authenticates with a Lingo API key (LINGO_API_KEY env, or stored locally by lingo login). The published binary is a self-contained bundle — no postinstall, no native deps.

Install

npm i -D @radicalstorage-lingo/cli
# or run without installing:
npx lingo --help

Quick start

npx lingo init --project <id-or-slug>
npx lingo login --api-key lgo_live_xxxxx
npx lingo pull

lingo.config.json

{
  "projectId": "prj_xxxxx",
  "apiUrl": "http://localhost:3000",
  "languages": [],
  "format": "json-nested",
  "outDir": "messages",
  "typesOut": ".lingo/types.ts",
  "pull": "translated"
}
  • projectId — the project's id or its slug. Leave it blank in a fresh config and lingo login will fill it in automatically, as long as the key can only see one project.

  • languages — which languages pull / push / status / diff operate on. An empty array (the default from lingo init) or omitting the key means every language in the project. A non-empty list restricts every command to just those languages.

  • formatjson-nested (default) or json-flat.

  • pull — which values lingo pull writes into the bundle:

    • translated (default) — every value with real text, regardless of status. Machine-translated copy ships immediately as draft text that's safe to use right away.
    • approved — only values that have cleared review.
    • all — deprecated alias for translated.

    Untranslated (missing, empty) values are never written — a key is either pulled with real text or omitted entirely.

Commands

| Command | What it does | | --- | --- | | lingo init [--project <id-or-slug>] [--api-url <url>] [--out <dir>] [-y, --yes] | lingo init is an interactive wizard; lingo init --yes (or a non-TTY shell) is non-interactive and writes from flags + defaults. | | lingo login [--api-key <key>] | Store the key in ~/.lingo/credentials.json. If the config's projectId is blank, fills it in from the key's own project. | | lingo pull [--out <dir>] | Download translations → messages/{lang}.json + generate .lingo/types.ts. --out overrides outDir from the config for that run. | | lingo push [-y, --yes] | Upload changed local values to existing keys (preview unless --yes). | | lingo status | Summarize local vs remote drift per language. | | lingo diff | Per-key drift (added / changed / removed). |

Auth

lingo login --api-key lgo_live_xxxxx     # interactive / local
LINGO_API_KEY=lgo_live_xxxxx lingo pull  # CI

Notes

  • push only updates values for keys that already exist remotely; create new keys in the app first (it warns and skips unknown keys).
  • status is read-only and safe as a CI guard.

License

MIT