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

testimon-embed

v1.1.0

Published

Embed Testimon testimonial widgets in any website. React component and vanilla JS API.

Readme

testimon-embed

Embed Testimon testimonial widgets in any website. Works with React, Next.js, Vue, Svelte, or plain HTML.

Installation

npm install testimon-embed

React / Next.js

import { TestimonWidget } from "testimon-embed";

function Testimonials() {
  return <TestimonWidget spaceId="your-space-id" />;
}

Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | spaceId | string | required | Your space ID from the Testimon dashboard | | baseUrl | string | https://testimon.solutionlabtech.com | Base URL of your Testimon instance | | noCache | boolean | false | Bypass CDN cache (useful during development) | | className | string | — | CSS class for the container div | | onLoad | () => void | — | Called when the widget script loads | | onError | (error: Error) => void | — | Called if the script fails to load |

Next.js App Router

Since the widget injects a script tag, use it inside a client component:

"use client";

import { TestimonWidget } from "testimon-embed";

export function TestimonialsSection() {
  return (
    <section>
      <h2>What our customers say</h2>
      <TestimonWidget spaceId="your-space-id" />
    </section>
  );
}

Vanilla JavaScript

import { initTestimonWidget } from "testimon-embed";

const cleanup = initTestimonWidget(document.getElementById("testimonials"), {
  spaceId: "your-space-id",
});

// To remove the widget later:
cleanup();

Options

| Option | Type | Default | Description | |--------|------|---------|-------------| | spaceId | string | required | Your space ID | | baseUrl | string | https://testimon.solutionlabtech.com | Base URL | | noCache | boolean | false | Bypass CDN cache |

Script Tag (no bundler)

If you're not using a bundler, you can embed the widget directly:

<div data-testimon-space-id="your-space-id"></div>
<script src="https://testimon.solutionlabtech.com/widget.js" async></script>

Finding Your Space ID

  1. Log in to your Testimon dashboard
  2. Go to Spaces and click on your space
  3. Your space ID is shown in the Embed Code section

Widget Customization

Customize the widget appearance (layout, colors, fonts, etc.) from your Testimon dashboard under Spaces > Your Space > Widget. Changes apply automatically — no code updates needed.

Available Layouts

  • Grid — Responsive multi-column grid (default)
  • Carousel — Horizontal scrollable cards
  • List — Single-column vertical list
  • Marquee — Infinite scrolling animation (Starter+)
  • Badge — Floating rating badge (Pro)

License

MIT