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

rustle.dev

v1.0.2

Published

AI-powered translation SDK for React & Next.js applications

Readme

rustle.dev

AI-powered translation SDK for React & Next.js with zero-refactor extraction, master.json + per-locale dictionaries, and a small runtime provider.

Why rustle.dev

  • Zero-refactor: scan JSX/TSX and auto-extract strings
  • Fast runtime: per-locale JSON dictionaries, fallback to source from master.json
  • Works in dev and build: translate on startup/HMR (Vite) and during build
  • Safe for teams: persistent cache across runs, content-hash dedupe
  • CI-friendly: git-aware CLI with blame/cleanup/reporting

Quickstart

  1. Install:
    • npm i rustle.dev
  2. Create rustle.config.json at your app root:
    { "sourceLanguage": "en", "targetLanguages": ["es","fr"], "apiUrl": "http://localhost:3001/api", "apiKey": "test-api-key" }
  3. React (Vite):
    • vite.config.ts
      import rustlePlugin from 'rustle.dev/vite';
      export default { plugins: [rustlePlugin()] };
  4. Next.js (App Router):
    • next.config.ts
      import { withRustle } from 'rustle.dev/next';
      export default withRustle({});
  5. Runtime:
    import { RustleBox } from 'rustle.dev';
    <RustleBox initialLocale="en"><App/></RustleBox>

CLI (CI/CD)

  • rustle-engine check --changed-only --report markdown
  • rustle-engine check --src "src/**/*.{ts,tsx},app/**/*" --output ./public/rustle --write

Note: rustle-ci alias prints a deprecation notice. Please update to rustle-engine.

Dev/Build Outputs

  • public/rustle/master.json (metadata + all locales)
  • public/rustle/locales/<locale>.json (per-locale dictionary)
  • Target locale entries are empty strings when missing; runtime falls back to source.

Use cases

  • Translate product UI without refactors (scan JSX/TSX)
  • Ship MVPs fast: dev-mode translations + runtime fallback to source
  • Keep repos clean: persistent cache and locale cleanup in CI/build
  • Audit changes: blame authors and generate JSON/Markdown reports
  • Enforce prod guardrails: HTTPS-only and apiKey presence checks

Security & Production Guardrails

  • In production, use HTTPS API URLs. If RUSTLE_STRICT_HTTPS=1, non-HTTPS (non-localhost) will fail the build.
  • In production, translation requests require apiKey; Authorization header is sent.

Docs & Links

  • Developer guide: AI-docs/rustle-dev.md (in repo)
  • npm: https://www.npmjs.com/package/rustle.dev
  • GitHub: https://github.com/rustledotdev/rustle.dev

License

Apache-2.0 for the SDK. Hosted backend is proprietary under separate Terms of Service.

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details, including branch naming, commits, and CI requirements.

📞 Support

FAQ

  • Are .js files with JSX supported? Yes. We process *.{tsx,jsx,ts,js} in common source folders and transform-time checks also accept .js with JSX.