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

@verbx/localize-react

v0.2.0

Published

VerbX Localize — React SDK: <VerbXProvider>, useT, useLocale, <T>.

Readme

@verbx/localize-react

The React SDK for VerbX Localize — install one package, wrap your app, and the text your users read is translated with no translation files and no keys to invent.

npm install @verbx/localize-react
import { VerbXProvider, useT } from "@verbx/localize-react";

function Root() {
  return (
    <VerbXProvider
      config={{
        apiKey: "vx_…",
        projectKey: "proj_…",
        supportedLocales: ["en", "es", "hi"],
      }}
    >
      <App />
    </VerbXProvider>
  );
}

// anywhere below the provider — the English string IS the key:
function Cart() {
  const t = useT();
  return <h1>{t("Your cart")}</h1>;
}

That is the whole integration. There is no key to name and no file to keep in sync — the source string identifies the translation everywhere.

What you get

  • <VerbXProvider config={…}> — wraps your app. apiKey and projectKey are required.
  • useT() — returns t(source, options?). Synchronous, never throws. On a backend problem your users see the source language, never a spinner and never a crash.
  • <T> — a component form for JSX children, with vars, count (plurals), and context.
  • useLocale() — the current locale and setLocale(locale) to change it.
  • useVerbX() — the underlying client, for advanced use.

Context, when the same word means two things

“Apply” on a coupon field is not “Apply” on a job posting. Pass structural context and they become two separately translated strings:

<T context={{ componentType: "Button", parentLabel: "Coupon code" }}>Apply</T>

The SDK sends the placeholder token, never the value, so interpolated data stays on the device:

<T vars={{ name: user.firstName }}>Hi {"{name}"}</T>

Docs

Full guide, the CLI, and the GitHub agent: localize.verbxeco.com — the Docs section is readable without an account.

License

Proprietary. See LICENSE.md and the VerbX terms of service.