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

@flipperdotfamily/vue

v0.2.0

Published

Vue 3 component, plugin and composable for flipper.family: the drop-in <FlipperWidget> (bring your own wallet) and a headless useFlipperClient.

Readme

@flipperdotfamily/vue

Vue 3 bindings for flipper.family coin flips: a typed <FlipperWidget> component (wrapping the <flipper-widget> web component), a plugin for app-wide defaults, and a headless useFlipperClient composable. Works with Vite, Nuxt (client-only) and Quasar.

npm i @flipperdotfamily/vue
<script setup lang="ts">
import { FlipperWidget } from "@flipperdotfamily/vue";
import { useConnectorClient } from "@wagmi/vue";
const { data: walletClient } = useConnectorClient(); // or any EIP-1193 provider via :provider
const openConnect = () => { /* open your wallet modal (Reown AppKit, wagmi…) */ };
</script>

<template>
  <FlipperWidget
    :wallet-client="walletClient ?? null"
    theme="dark"
    accent="#42b883"
    partner="acme"
    @connect-request="openConnect"
    @flip-settled="(d) => console.log(d.outcome)"
  />
</template>
  • Props: every widget option (see the widget README). Objects (theme, strings, addresses) and booleans go through v-bind: :branding="false", :hide-picker="true".
  • Events carry the detail: ready, connect-request, flip-requested, flip-settled, payout-resolved, listing, error, resize. Listening to @connect-request means you open your own wallet UI: the widget then skips its eth_requestAccounts fallback.
  • Template ref: el (the element), open(), close(), refresh().

App-wide defaults, and a global component:

app.use(FlipperPlugin, { partner: "acme", theme: { mode: "auto", accent: "#42b883" } });

Headless: const { client, deployment, loading, error } = useFlipperClient(() => ({ provider: provider.value })). The results are refs, rebuilt when the options change.

Nuxt: render it client-only (<ClientOnly>), or register the plugin in a .client.ts plugin file.

Docs: flipper.family/docs/integrate · Example: examples/vue-vite