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

testimo-widget

v0.0.12

Published

```tsx import "testimo-widget";

Downloads

1,342

Readme

Ejemplo de uso en React + TypeScript

import "testimo-widget";

function App() {
  return (
    <testimo-widget 
      organization-id="tu-org-id" 
      theme="light" 
      layout="grid"
    ></testimo-widget>
  );
}

Con testimo-widget-types instalado, tendrás autocompletado y validación de props en JSX automáticamente.

testimo-widget

npm version

The official SDK for integrating Testimo Testimonial Widgets into your web application.

📦 Ver en npm

Installation

Install from npm

npm install testimo-widget

TypeScript/JSX Typings

Si usas TypeScript y/o JSX (React, Preact, etc.), instala también los tipos:

npm install testimo-widget-types

Esto habilita el autocompletado y tipado para en proyectos TypeScript/JSX automáticamente.

Documentation

Consulta la documentación y ejemplos en: https://www.npmjs.com/package/testimo-widget

Option: Script Tag (Vanilla JS / Static Sites)

Puedes hostear el sdk.js tú mismo o usar un CDN (cuando esté disponible).

<!-- Si es self-hosted (copiado a tu public folder) -->
<script src="/path/to/sdk.js"></script>

Usage

After installation, you can use the <testimo-widget> web component anywhere in your HTML.

Basic Usage

<testimo-widget organization-id="ORG_ID"></testimo-widget>

Advanced Configuration

You can configure the widget with the following attributes:

| Attribute | Description | Default | |-----------|-------------|---------| | organization-id | Required. The ID of the organization to fetch testimonials for. | - | | api-url | The base URL of the Testimo API. Use this to override the default production server (e.g. for local development or self-hosting). | http://cubepathhackaton-api-aymrvj-31e30c-108-165-47-144.traefik.me | | theme | light or dark | light | | layout | grid or list | grid |

Example with Custom API URL and Dark Theme

<testimo-widget
  organization-id="ORG_ID"
  api-url="https://api.testimo.app"
  theme="dark"
  layout="list"
></testimo-widget>

React Example

  1. Import the package in tu entry point (por ejemplo, main.tsx o App.tsx):

    import 'testimo-widget';
  2. Usa el componente:

    export default function Testimonials() {
      const orgId = import.meta.env.VITE_ORG_ID;
      return (
        <testimo-widget
          organization-id={orgId}
          theme="light"
          layout="grid"
        ></testimo-widget>
      );
    }

Development

  1. Install dependencies:

    npm install
  2. Build the SDK:

    npm run build

Publishing to NPM

  1. Login to NPM:

    npm login
  2. Publish:

    npm publish --access public