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

@vizzoro/sdk

v0.1.0

Published

Embeddable widget SDK for Vizzoro — lets a shopper see a floor material applied to a photo of their own room.

Downloads

60

Readme

@vizzoro/sdk

Embeddable widget for Vizzoro. A shopper uploads a photo of their room and sees a flooring material applied to it, live.

Get your publishable key and authorized domain from the Vizzoro dashboard first — the widget won't start without one.

Install

Script tag (fastest way to try it)

<script src="https://app.vizzoro.com/sdk.js" data-key="vz_pk_..."></script>
<script>
  Vizzoro.start({ category: "floor", productId: "YOUR_PRODUCT_ID" });
</script>

npm / yarn / pnpm

npm install @vizzoro/sdk
# or
yarn add @vizzoro/sdk
# or
pnpm add @vizzoro/sdk
import { createVizzoro } from "@vizzoro/sdk";

const vizzoro = createVizzoro({ key: "vz_pk_..." });

vizzoro.start({
  category: "floor",
  productId: "YOUR_PRODUCT_ID",
  onLeadCapture: (payload) => {
    // fires once the shopper generates a render
  },
});

Both paths open the same overlay and talk to the same API — pick whichever fits how the rest of your site is built. The npm package additionally ships TypeScript types.

API

Vizzoro.start(options) / createVizzoro(config).start(options)

| Option | Type | Required | Notes | | --- | --- | --- | --- | | category | "floor" | yes | Only floor surfaces are supported today. | | productId | string | yes to preselect a product | Omit to let the shopper pick from the catalog inside the widget. | | locale | "en" \| "es" \| "pt" | no | Falls back to the shopper's browser language, then English. | | onLeadCapture | (payload: unknown) => void | no | Called once a render completes; use it to hook into your own analytics/CRM. |

createVizzoro(config) (npm only) also takes:

| Option | Type | Required | | --- | --- | --- | | key | string | yes — your publishable key |

Both entry points return a controller with .close() to dismiss the overlay programmatically.

Security model

The publishable key is meant to be public — it ships in your page's HTML, same as a Stripe publishable key. It is restricted server-side to the domains you authorize in the dashboard and can only read your active catalog and create render jobs; it cannot read or modify anything else in your account.

Local development

npm install
npm run build   # builds dist/sdk.js (IIFE) + dist/index.{js,cjs,d.ts} (ESM/CJS)
npm run dev     # esbuild watch + serves demo.html at http://localhost:8787/demo.html

demo.html embeds the widget through the real built dist/sdk.js, the same way a dealer site would. Swap in your own publishable key and product ID to try it against your organization's catalog.

License

MIT — see LICENSE.