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

@micelize/modula

v4.4.0

Published

CLI do registro de módulos do gestor MCLZ (via API, sob permissão)

Readme

Modula CLI

Cliente de linha de comando do registro de módulos do gestor MCLZ. Fala só com a API do gestor (autenticado por token) — o conteúdo dos módulos trafega como árvore de arquivos e é reconstruído localmente. Nada de git no cliente: o armazenamento é interno ao servidor e todo acesso passa pelo sistema de permissões do gestor.

Instalação

npm install -g @micelize/modula

Requer Node.js ≥ 18.

Configuração

Por padrão a CLI aponta para https://api.gestor.micelize.com. Para trocar:

export MODULA_API_URL=https://sua-api-do-gestor

O token de login fica em ~/.modula/config.json.

Manifesto do módulo (modula.yaml)

Todo módulo carrega, na raiz, um modula.yaml — a fonte da verdade dos metadados (o servidor o lê no publish e indexa). Um README.md é opcional: sem ele, o servidor injeta um marcador Please read my files and describe me!.

name: login-panel
tool: angular            # go | nestjs | angular | react | python | …
version: 1.0.0
description: Painel de login com recuperação de senha
whenToUse: painel de login pronto, tema navy
tags: [auth, ui, login]

# Opcional: empacota SÓ estas pastas/arquivos. Aceita globs completos (* ** ? [] {}).
# Sem isto, empacota a pasta toda (menos node_modules/.git/dist…).
include:
  - src/app/features/auth       # pasta inteira
  - "src/app/**/*.ts"           # glob: todos os .ts em qualquer nível sob src/app
# Opcional: exclui padrões (globs). Vale com ou sem include. Um nome puro ou
# **/nome casa em QUALQUER profundidade (ex.: node_modules 50 pastas abaixo).
ignore:
  - "**/*.spec.ts"
  - "**/node_modules"

Comandos

| Comando | O que faz | |---------|-----------| | modula login / logout | Autentica no gestor e guarda o token | | modula init [pasta] | Gera o modula.yaml (interativo ou por flags) | | modula search [texto] | Busca módulos (--tool, --tag) | | modula view <id> | Mostra um módulo e suas versões | | modula publish <pasta> | Publica uma versão (metadados vêm do modula.yaml) | | modula install [pasta] | Resolve as dependências do modula.yaml e monta o fecho (--dry-run só mostra o plano) | | modula download <id> <versionId> | Baixa uma versão e reconstrói a pasta | | modula promote <id> <versionId> | Promove experimental → verified | | modula delete <id> | Remove um módulo e suas versões |

init — dois modos

Interativo:

modula init ./meu-modulo

Por flags (sem perguntar):

modula init ./meu-modulo -y \
  -n login-panel -t angular \
  --tags "auth,ui,login" --when-to-use "painel de login navy"

Nome é obrigatório; a descrição é opcional (sem ela, entra o marcador padrão).

Fluxo típico

modula login
modula init ./meu-modulo -n users -t go        # cria o modula.yaml
# ...escreva um README.md...
modula publish ./meu-modulo                     # publica como experimental
modula search users                            # acha
modula download 12 34                          # baixa a versão 34 do módulo 12

Licença

MIT.