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

@dvm-digital/front

v0.0.114

Published

CLI para criar projetos Next.js com configurações pré-definidas

Readme

@dvm-digital/front

🚀 CLI para criar projetos Next.js com configurações pré-definidas e ferramentas essenciais.

Características

  • ✨ Criação rápida de projetos Next.js
  • 🎨 Opção de instalar e configurar shadcn/ui
  • 📏 Configuração automática de ESLint + Prettier
  • 📦 Suporte para npm e pnpm
  • ⚡ Interface interativa para seleção de opções
  • 🔧 Templates de configuração otimizados
  • 🗂️ Configurações do VSCode incluídas
  • 🔒 Arquivo .env.example com variáveis comuns
  • 🔄 Inicialização automática do Git (opcional)
  • Validação de nomes de projeto
  • 🎯 Tratamento de erros aprimorado

Instalação e Uso

Uso básico

npx @dvm-digital/front <nome-do-projeto>

Exemplos

# Criar projeto com prompts interativos
npx @dvm-digital/front minha-app

# Criar projeto no diretório atual
npx @dvm-digital/front .

# Criar projeto com todas as configurações (sem prompts)
npx @dvm-digital/front minha-app --all

# Especificar gerenciador de pacotes
npx @dvm-digital/front minha-app --pnpm
npx @dvm-digital/front minha-app --npm

# Inicializar repositório Git automaticamente
npx @dvm-digital/front minha-app --git

# Ver todas as opções disponíveis
npx @dvm-digital/front --help

Opções

  • --all - Instala todas as configurações automaticamente (shadcn/ui + ESLint/Prettier + Git)
  • --pnpm - Usa pnpm como gerenciador de pacotes
  • --npm - Usa npm como gerenciador de pacotes
  • --git - Inicializa repositório Git com commit inicial
  • --help, -h - Mostra ajuda com todas as opções

O que é instalado

Base

  • Next.js (versão mais recente)
  • Configuração TypeScript

Shadcn/ui (opcional)

  • Biblioteca de componentes UI
  • Configuração completa com Tailwind CSS

ESLint + Prettier (opcional)

  • ESLint com regras para Next.js e React
  • Prettier com plugin para Tailwind CSS
  • Configurações padronizadas para consistência de código

Configurações adicionais

  • Arquivo .env.example com variáveis comuns
  • Configurações do VSCode (.vscode/settings.json e extensions.json)
  • Inicialização do Git com commit inicial (opcional)
  • Validação automática do nome do projeto

Configurações incluídas

ESLint

  • next/core-web-vitals
  • next/typescript
  • eslint-config-prettier
  • Regras customizadas para camelCase e espaçamento

Prettier

  • Plugin para Tailwind CSS
  • Configurações otimizadas para Next.js
  • Formatação consistente

VSCode

  • Extensões recomendadas (Tailwind CSS, Prettier, TypeScript, etc.)
  • Configurações de workspace otimizadas
  • Formatação automática ao salvar
  • Correção automática de ESLint

Estrutura de arquivos criados

meu-projeto/
├── .env.local              # Variáveis de ambiente
├── .env.example           # Exemplo de variáveis
├── .vscode/
│   ├── extensions.json    # Extensões recomendadas
│   └── settings.json      # Configurações do workspace
├── .prettierrc           # Configuração do Prettier
├── eslint.config.mjs     # Configuração do ESLint
└── ... (arquivos do Next.js)

Desenvolvimento

# Instalar dependências
npm install

# Desenvolvimento
npm run dev

# Build
npm run build

# Publicar
npm run update

Autor

Danilo Valadão - [email protected]

Licença

MIT