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

@leo-millenial/vite-vue-bex

v1.0.0

Published

A modern template for creating Chrome extensions using Vue 3, TypeScript, Vite, and UnoCSS

Readme

Шаблон Chrome расширения на Vue 3

🇷🇺 Русское описание | 🇺🇸 English

Современный шаблон для создания Chrome расширений с использованием Vue 3, TypeScript, Vite и UnoCSS.

Установить шаблон

npx degit leo-millenial/vite-vue-bex <my-project-name>

🚀 Возможности

  • Быстрая разработка с Vite
  • 🎯 Vue 3 с Composition API и <script setup>
  • 🔷 TypeScript для типобезопасности
  • 🎨 UnoCSS для атомарных CSS стилей
  • 🌸 DaisyUI для красивых UI компонентов
  • 🔧 webext-bridge для коммуникации между скриптами
  • 📦 webextension-polyfill для кроссбраузерной совместимости
  • 🧪 Vitest для тестирования
  • 🔄 Hot Module Replacement в режиме разработки

📋 Структура проекта (FSD)

src/
├── background/             # Фоновые скрипты
│   └── index.ts
├── content/                # Контентные скрипты
│   └── content.ts
├── pages/
│   ├── popup/              # Интерфейс всплывающего окна
│   │   ├── index.html
│   │   ├── index.vue
│   │   └── main.ts
│   └── welcome/            # Страница приветствия
│       ├── index.html
│       ├── index.vue
│       └── main.ts
└── public/
    └── images/             # Иконки расширения

🛠 Технологический стек

Основные зависимости

  • Vue 3 - Прогрессивный JavaScript фреймворк
  • TypeScript - Типизированный JavaScript
  • Vite - Быстрый инструмент сборки и dev-сервер
  • UnoCSS - Атомарный CSS движок
  • DaisyUI - Библиотека компонентов Tailwind CSS

Расширения и плагины

Инструменты разработки

  • Vitest - Быстрый фреймворк для тестирования
  • @vue/test-utils - Утилиты для тестирования Vue компонентов
  • ESLint - Линтер для JavaScript/TypeScript
  • Prettier - Форматтер кода

🚀 Быстрый старт

Использование npm

# Создать новый проект
npm create @leo-millenial/vite-vue-bex my-extension
cd my-extension

# Установить зависимости
npm install

# Запустить разработку
npm run dev

Использование pnpm

# Создать новый проект
pnpm create @leo-millenial/vite-vue-bex my-extension
cd my-extension

# Установить зависимости
pnpm install

# Запустить разработку
pnpm dev

Использование pnpm

# Создать новый проект
pnpm create @leo-millenial/vite-vue-bex my-extension
cd my-extension

# Установить зависимости
pnpm install

# Запустить разработку
pnpm dev

🛠 Доступные скрипты

# Разработка
npm run dev          # Запустить сервер разработки
npm run build        # Собрать для продакшена

# Тестирование
npm run test         # Запустить тесты
npm run test:ui      # Запустить тесты с UI

# Качество кода
npm run lint         # Проверить код линтером
npm run format       # Отформатировать код