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

create-base-vite

v1.0.3

Published

CLI para gerar projetos React com Vite, com setup opcional de Router, Zustand e Tailwind.

Readme

create-base-vite

CLI para criar projetos React com Vite e aplicar uma base opinativa de qualidade de codigo.

O que a CLI faz

  • Cria projeto com template React (TypeScript por padrao)
  • Instala e configura ESLint, Prettier, Husky e lint-staged
  • Copia arquivos-base de configuracao a partir de templates/
  • Permite habilitar opcionalmente:
    • React Router
    • Zustand
    • Tailwind CSS v4

Uso rapido

npx create-base-vite my-app --router --zustand --tailwind

Compatibilidade com o nome antigo do binario:

npx react-vite-clean-cli my-app --router --zustand --tailwind

Opcoes

  • --router: instala e configura React Router no bootstrap
  • --zustand: instala Zustand e cria uma store de exemplo
  • --tailwind: instala e configura Tailwind CSS v4
  • --no-ts: cria projeto em JavaScript (template react)
  • -h, --help: mostra ajuda

Exemplos

Criar projeto TypeScript com tudo:

npx create-base-vite claravia --router --zustand --tailwind

Criar projeto JavaScript simples:

npx create-base-vite web-js --no-ts

Desenvolvimento local

npm install
npm link
create-base-vite teste-local --router

Publicacao no npm

Se voce quiser publicar com o novo nome de pacote:

npm login
npm publish --access public

Se o nome create-base-vite ja estiver em uso no npm, publique com escopo:

npm pkg set name=@SEU_USUARIO/create-base-vite
npm publish --access public

Depois, o uso fica:

npx @SEU_USUARIO/create-base-vite my-app

Troubleshooting

Erro E404 create-base-vite significa que o pacote ainda nao foi publicado com esse nome.

Alternativas:

  1. Use o binario legado publicado hoje: npx react-vite-clean-cli ...
  2. Publique este projeto com o nome novo (ou escopado) e use npx novamente

Licenca

MIT