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

@coverdash/single-quote

v0.0.9

Published

Coverdash single quote component for partner integrations

Downloads

832

Readme

@coverdash/single-quote

Coverdash Single Quote Component for partner integrations. This component displays a single insurance quote with an opt-in button for HousecallPro and other partner integrations.

Installation

npm install @coverdash/single-quote
# or
yarn add @coverdash/single-quote

Usage

import SingleQuoteComponent from "@coverdash/single-quote"
import "@coverdash/single-quote/lib/cjs/styles.css"

function App() {
  return (
    <SingleQuoteComponent
      env="uat" // or "production" or "staging"
      applicationId="your-application-id"
      onContinueClicked={(requiresUwq) => {
        console.log(
          "Continue clicked, requires underwriting questions:",
          requiresUwq
        )
      }}
      onClose={() => {
        console.log("Component closed")
      }}
    />
  )
}

Props

  • applicationId (required): The application ID to display the quote for
  • env: Environment to use ("production", "uat", or "staging")
  • styles: Custom CSS styles for the iframe container
  • allowScroll: Whether to allow scrolling in the iframe
  • hideChat: Hide the chat widget
  • autoResize: Automatically resize the iframe based on content
  • source: Source identifier for tracking
  • hideScrollbar: Hide the scrollbar
  • onContinueClicked: Callback when the continue button is clicked, returns whether underwriting questions are required
  • onClose: Callback when the component is closed

Development

# Install dependencies
yarn

# Start the example app
cd example
yarn
yarn start

# Build the package
yarn build

Publishing

The package is published to npm via GitLab CI when pushing to the release_prod branch.

Build Process

The build process uses the copy-files script to copy components from example/src/components to src/components before building. This allows you to develop in the example app and have changes automatically copied to the package.