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

@deskcrew/astro

v1.0.3

Published

Astro integration that adds the DeskCrew support widget (live chat, instant answers and a help center) to every page.

Readme

@deskcrew/astro

npm license

Add AI live chat, a help center and ticketing to any Astro site in about two minutes, free, with no credit card. @deskcrew/astro is the official DeskCrew integration: one line in astro.config.mjs puts a support widget on every page, answers visitor questions from your own help articles, and turns anything it cannot answer into a real support ticket.

The DeskCrew AI support widget opening on an Astro documentation site and answering a visitor question about adding live chat

The widget running on an Astro site. Watch the full quality video.

Install

npm install @deskcrew/astro
// astro.config.mjs
import { defineConfig } from 'astro/config'
import deskcrew from '@deskcrew/astro'

export default defineConfig({
  integrations: [
    deskcrew({
      widgetKey: 'pub_xxxxxxxx', // required, from Dashboard → Install
      // board: 'your-workspace', // optional
      // color: '#4f46e5',        // optional accent colour
      // position: 'right',       // optional: 'left' | 'right'
      // greeting: 'Hi! How can we help?', // optional
    }),
  ],
})

Build or run your site and the chat launcher appears on every page. No account yet? Create one free, then copy your key from Dashboard → Install.

What you get

  • AI answers grounded in your own help articles. The assistant only answers from the knowledge base you publish, so it cannot invent product facts.
  • A human approves before anything sends. Every AI draft waits in an approval queue. Nothing reaches a customer unreviewed.
  • Every conversation becomes a ticket. Widget chats, emails and board posts land in one dashboard with full history.
  • Visitors who leave still get answered. Leave an email address and the reply arrives by email.
  • Free plan, no card. Chat widget, public knowledge base and ticketing are included on the free plan.

Options

| Option | Type | Required | Description | | ----------- | ------------------- | -------- | ----------------------------------------------------- | | widgetKey | string | yes | Your public key (pub_…). | | board | string | no | Board slug (lowercase letters, numbers, dashes). | | color | string | no | Accent colour as a 6-digit hex value, e.g. #4f46e5. | | position | 'left' \| 'right' | no | Which side the launcher sits on. | | greeting | string | no | Greeting shown on the launcher. |

If widgetKey is missing or malformed the integration prints a build-time warning and adds nothing. Your site still builds.

How it works

The integration injects a small inline script into the document head that loads https://deskcrew.io/desk.js with your settings as data-* attributes. The widget renders inside a Shadow DOM, so it cannot inherit or leak your site's CSS. desk.js derives its API origin from its own src, so there is nothing else to configure.

Astro compatibility: works with any Astro 4 or later project, static or SSR, and with any adapter.

How it compares

| | DeskCrew | Intercom | Crisp | Tidio | | --- | --- | --- | --- | --- | | Free plan with AI answers | Yes | No | Limited | Limited | | Human approves AI replies | Yes, built in | No | No | No | | Official Astro integration | Yes | No | No | No | | Public knowledge base included | Yes | Paid add-on | Paid tier | Paid tier | | Credit card to start | No | Yes | No | No |

FAQ

How do I add live chat to an Astro site?

Install @deskcrew/astro, add the integration to astro.config.mjs with your public widget key, and rebuild. The launcher appears on every page.

Is it free?

Yes. The free plan includes the chat widget, a public knowledge base and ticketing, with no credit card. Paid plans add higher AI allowances and team features. See pricing.

Does it slow my site down?

The integration adds one deferred script tag. Nothing renders until the visitor opens the launcher, and the widget is isolated in a Shadow DOM.

Does the AI make things up?

It answers from the knowledge base you publish. When it has no grounded answer it escalates to a human instead of guessing, and every draft reply requires human approval before sending.

Does it work with static builds and SSR?

Both. The widget is client-side and framework agnostic, so output mode and adapter do not matter.

Can I use it on multiple sites?

Yes. Each site is its own workspace with a separate knowledge base, ticket history and widget key.

Links

  • Astro integration page: https://deskcrew.io/integrations/astro
  • All integrations: https://deskcrew.io/integrations
  • Pricing: https://deskcrew.io/pricing
  • Start free: https://deskcrew.io/signup

License

MIT © DeskCrew · deskcrew.io · [email protected]

Updated July 2026.