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

@tagbase-io/verify

v0.4.0

Published

Read a TAGBASE verification result from your own page.

Readme

@tagbase-io/verify

Use TAGBASE Verify on your own website. A customer taps a tag on your product and lands on your page. verify() finds the verification behind that visit and reads it.

Start with the documentation. It walks through the domain setup and every field and error your page has to handle, and we keep it current with the service. Below is the short version.

Use it

<script src="https://cdn.jsdelivr.net/npm/@tagbase-io/verify"></script>
<script>
  const result = await tagbase.verify({ baseUrl: 'https://verify.brand.com' })
</script>

The script tag defines tagbase, holding verify and VerifyError.

baseUrl is a subdomain of your own site that you point at TAGBASE with one DNS record. Your page and that subdomain share a cookie, so both have to sit on the same domain.

result.status is pending, valid, valid_with_warnings, or invalid, and result.messages holds the words to show your customer. The documentation has the rest of the result and the errors to catch.

Location

The client asks the browser where it is and reports the answer against the scan. Pass geolocation: false to skip the prompt. A team or product can require a location instead: the server then holds the result until the browser shares one, the client asks and sends it on its own, and a customer who refuses gets a VerifyError with the code location_required. Show them how to allow location access and call verify() again.

try {
  await tagbase.verify({ baseUrl: 'https://verify.brand.com' })
} catch (error) {
  if (error.code === 'location_required') {
    // Ask the customer to allow location access, then retry.
  }
}

Links

TAGBASE maintains this package. Mail us through the support page with feedback or problems.

MIT © TAGBASE