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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@timoai/react

v1.0.1

Published

Timo React components for feedback and bug reporting

Readme

Timo React Feedback Component

A React component for collecting user feedback and bug reports.

Installation

npm install @timoai/react
# or
yarn add @timoai/react

Usage

Global Registration

import React from 'react';
import { TimoModal } from '@timoai/react';

function App() {
  return (
    <div>
      <TimoModal
        apiKey="your-api-key"
        baseUrl="https://api.timo.zeratus.com" // Optional, defaults to production API
        buttonLabel="Feedback"
        modalTitle="Submit Feedback"
        theme={{
          primaryColor: '#7B7FEF',
          secondaryColor: '#f3f4f6',
          borderRadius: '12px',
          fontFamily: 'Inter, system-ui, sans-serif',
        }}
        onSubmitSuccess={(data) => console.log('Feedback submitted:', data)}
        onSubmitError={(error) => console.error('Error submitting feedback:', error)}
      />
    </div>
  );
}

Props

| Prop | Type | Default | Description | | ----------------- | -------- | --------------------- | ---------------------------------------------------------------------------------------- | | apiKey | string | "" | Required API key for authentication | | baseUrl | string | "https://api.timo.zeratus.com"| API base URL (optional, defaults to production) | | position | string | "bottom-right" | Position of the feedback button ("bottom-right", "bottom-left", "top-right", "top-left") | | buttonLabel | string | "Complaint" | Text displayed on the feedback button | | modalTitle | string | "Submit Complaint" | Title of the feedback modal | | inputPlaceholder | string | "Describe your issue" | Placeholder text for the feedback input | | submitButtonLabel | string | "Submit" | Text displayed on the submit button | | logoSrc | string | "" | URL of the logo to display (optional) | | theme | object | {} | Theme customization object | | metadata | object | {} | Additional metadata to send with the feedback | | maxFileSize | number | 10 | Maximum file size in MB | | allowedFileTypes | string[] | [] | Array of allowed file extensions |

Theme Object

interface Theme {
  primaryColor?: string; // Primary color for buttons and accents
  secondaryColor?: string; // Secondary color for backgrounds
  borderRadius?: string; // Border radius for components
  fontFamily?: string; // Font family for text
}

Callbacks

| Callback | Type | Description | | ----------------- | -------- | ------------------------------------------------- | | onSubmitSuccess | function | Called when feedback is successfully submitted | | onSubmitError | function | Called when there's an error submitting feedback |

Features

  • Modern, responsive design
  • File upload support with drag & drop
  • Customizable themes
  • Form validation
  • Loading states
  • Error handling
  • Accessibility support
  • Transition animations