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

@planningcenter/wrapped

v2.0.0

Published

PCO Wrapped components

Readme

@planningcenter/wrapped

This package enables adding a Planning Center Wrapped banner to your app with ease! Exported as a React component, it includes everything needed. All you need to do is set window.pco.wrapped before it renders!

Light mode

Dark mode

Installation

Add the package

yarn add @planningcenter/wrapped

If your app doesn't use Tapestry yet, add it too. It's a peer dependency:

yarn add @planningcenter/tapestry

Host requirements

  • React 17, 18 or 19 and @planningcenter/tapestry (^4.15.0) installed in the host app (peer dependencies)
  • Load @planningcenter/tapestry/tapestry-reset.css, then @planningcenter/tapestry/index.css, before the app's own styles
  • A bundler that handles .svg asset imports from packages (Tapestry and icons rely on it)

Add the banner to your layout

PcoWrappedBanner takes no props. It reads window.pco.wrapped, which the host must set before the banner renders (rendering earlier throws):

window.pco = { wrapped: { enabled: true, siteAdmin: false, shared: false } }
  • enabled shows the banner
  • siteAdmin shows the Share button (on Home)
  • shared preselects "Any logged in user" in the share modal. It's only read on first render; later changes come from the share modal, which saves them with PATCH /wrapped, not from the global
import { PcoWrappedBanner } from "@planningcenter/wrapped"

function Layout() {
  return <PcoWrappedBanner />
}

That's it!

Development

Playground

Run the local playground to see the banner without mounting it in a Planning Center app:

yarn playground

Then open the URL Vite prints (it picks a free port, starting at 5173). The drawer at the bottom toggles the window.pco.wrapped flags, brings the banner back after you dismiss it, and has "See on Home" to reload on home.localhost:<port>, where the Share button appears. Requires Node 20.19+.

Before releasing, still check your changes in a consuming app such as Home.

Clone the repo

git clone [email protected]:planningcenter/wrapped.git

cd into the gem and start the microbuild watcher.

This will automatically output the built JS file.

cd pco-wrapped && yarn dev

If you need to re-build JS without running the watcher you can run

yarn build

Contributing

Commit changes, submit a PR, then release a new version!