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

@jzone/sfc-playground-vant

v1.0.15

Published

Try Vant in the Playground. Currently only Vant 3+ is supported

Readme

SFC Playground with Vant

This is an Vant SFC Playground. Detail vercel.app Or zhixiaoqiang.github.io

main-pic

NOTE! The reason why this is designed to manually import { injectVant } is to be more universally compatible with any component library, Not only Vant.

What's inside?

Try Vant in the Playground. Currently only Vant 3+ is supported

Features

  • ⚡️ Vant 3+
  • ⚡️ PreLoad ImportsFile,Instantly display content(e0d5c6)
  • 🤙🏻 Free switch Vant/Vue version, and more
  • 🛠️ Rich Features
  • ☁️ Deploy on Netlify/vercel/GitHub Pages, zero-config
  • 💡 Support the Typescript
  • 😃 Easy to create your own
  • 🤩 Download project support generated package.json by user input (13ee3f)
  • 🛠️ Smarter and more efficient npm scripts

Future Features

coming soon

  • [ ] 🛠️ Support Vant dark mode
  • [ ] 🛠️ Support on-demand introduction
  • [ ] 🛠️ CLI
  • [ ] 🔑 Fully Typed API
  • [ ] 😃 Switch CDN

Utilities

This SFC Playground has some additional tools already setup for you:

  • pnpm as a packages manager
  • TypeScript for static type checking
  • ESLint for code linting
  • Prettier for code formatting
  • Vant a Lightweight Mobile UI Components built on Vue
  • @vue/repl for Vue SFC REPL as a Vue 3 component

Get Started

  1. Click Use this template, and clone your repo degit https://github.com/zhixiaoqiang/sfc-playground-vant#main or git clone https://github.com/zhixiaoqiang/sfc-playground-vant --depth 1. degit
  2. Adjust the following files.
src
├── components
│   └── npm-version-switch
│       ├── helps.ts # add version switch feature
├── config.ts # config welcome code、CDN、additionalFiles...
├── store.ts # includes base functions...

then it'll be your repository totally.

Build

To build the playground, run the following command:

pnpm build

Develop

To develop the playground, run the following command:

pnpm dev

Create Changelog

  1. Execute pnpm changeset to add a changeset.
  2. Execute pnpm changeset version to change CHANGELOG.md.
  3. Execute pnpm changeset publish to publish npm library. [can skip]
  4. Execute git commit, this command will trigger lint-staged and commitzen.
  5. Execute git push to trigger Github Actions or vercel Deploy

CHANGELOG

Please refer to CHANGELOG for details.

Inspired by Evan You's Vue SFC Playground

License

MIT