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

@coreops/nimbus

v1.0.4

Published

Framework UI JavaScript puro, zero dependências e zero build step, para interfaces de sistemas internos.

Downloads

650

Readme

Nimbus.js

Framework UI JavaScript puro para interfaces de sistemas internos.
Zero dependências. Sem etapa de build. Componha com propósito. Escale com clareza.

Não é um wrapper de Vue, React ou qualquer outro framework.
JavaScript puro. Nenhuma dependência de runtime. Funciona direto no navegador.

🌐 nimbusjs.org  ·  npm  ·  MIT  ·  GitHub


Por que Nimbus.js?

Sistemas internos — ERPs, painéis administrativos, ferramentas de gestão — raramente precisam de um framework reativo completo. Precisam de componentes funcionais, rápidos de compor e fáceis de manter.

Nimbus.js entrega exatamente isso:

  • Zero dependências — nenhum node_modules em runtime
  • Zero build step — sem Webpack, Vite ou Babel
  • API fluente — componha interfaces com .add() e reaja a eventos com .on()
  • Windowed UI — janelas arrastáveis e redimensionáveis como base do layout

Instalação

Via npm:

npm install @coreops/nimbus

Via CDN (sem build step):

<script src="https://unpkg.com/@coreops/nimbus"></script>

Uso rápido

const grid = WM.Grid({
  columns: [
    { field: 'codigo',    title: 'Código',    sortable: true },
    { field: 'descricao', title: 'Descrição', sortable: true },
    { field: 'status',    title: 'Status',    badge: true    },
  ],
  data: ativos
})

const toolbar = WM.Toolbar()
  .addButton({ label: 'Novo',     onClick: () => abrirCadastro()         })
  .addButton({ label: 'Exportar', onClick: () => grid.exportCSV()        })
  .addSearch({ placeholder: 'Buscar...', onSearch: q => grid.filter(q)  })

WM.openWindow({ title: 'Ativos', width: 760, height: 480 })
  .add(toolbar)
  .add(grid)

Componentes

| Componente | API | Descrição | |------------|----------------------|-----------------------------------------------------------------| | Window | WM.openWindow(opts)| Janela arrastável, redimensionável, com minimize/maximize | | Grid | WM.Grid(opts) | Tabela com sort, filtro, badge automático e exportação CSV | | Form | WM.Form(opts) | Formulário em duas colunas com validação nativa | | Toolbar | WM.Toolbar() | Barra de ações com botões, dropdown e campo de busca |


API Reference

WM.openWindow(opts)

WM.openWindow({
  title:  'Nome da Janela', // string
  width:  800,              // number (px)
  height: 600,              // number (px)
  modal:  false             // boolean (opcional)
})
.add(componente)
.on('close', () => console.log('fechou'))

WM.Grid(opts)

WM.Grid({
  columns: [
    { field: 'nome', title: 'Nome', sortable: true },
    { field: 'tipo', title: 'Tipo', badge: true    }
  ],
  data: [],        // array de objetos
  pageSize: 20     // paginação (opcional)
})
.on('rowClick', row => console.log(row))

WM.Form(opts)

WM.Form({
  fields: [
    { name: 'nome',   label: 'Nome',   type: 'text',   required: true },
    { name: 'status', label: 'Status', type: 'select', options: ['Ativo', 'Inativo'] }
  ]
})
.on('submit', data => salvar(data))

WM.Toolbar()

WM.Toolbar()
  .addButton({ label: 'Novo',     icon: 'plus',   onClick: fn })
  .addButton({ label: 'Remover',  icon: 'trash',  onClick: fn })
  .addSearch({ placeholder: 'Buscar...', onSearch: fn })

Conceitos

Composição por declaração

Nimbus.js segue o princípio de composição: você descreve o que a interface tem, não como ela renderiza. Cada componente é independente e pode ser reutilizado em múltiplas janelas.

// Componente criado uma vez
const formCadastro = WM.Form({ fields: [...] })

// Reutilizado em contextos diferentes
WM.openWindow({ title: 'Novo Ativo'    }).add(formCadastro)
WM.openWindow({ title: 'Editar Ativo'  }).add(formCadastro)

Eventos com .on()

Todos os componentes emitem eventos nomeados. Nenhum callback é obrigatório no momento da criação — você conecta a lógica quando precisar.

const grid = WM.Grid({ columns, data })

grid.on('rowClick',   row  => detalhar(row))
grid.on('rowDelete',  row  => remover(row))
grid.on('sort',       col  => console.log('ordenou por', col))

Casos de uso

  • Painéis administrativos e dashboards internos
  • ERPs e sistemas de gestão de ativos
  • Ferramentas de operações (TI, infraestrutura, suporte)
  • Interfaces de backoffice sem necessidade de framework reativo

Roadmap

  • [x] Window Manager (WM.openWindow)
  • [x] Grid com sort e filtro
  • [x] Form com validação nativa
  • [x] Toolbar com busca integrada
  • [ ] Chart (WM.Chart)
  • [ ] Tabs e painéis colapsáveis
  • [ ] Tema escuro nativo
  • [ ] SSE / WebSocket integration helpers

Contribuindo

Contribuições são bem-vindas. Abra uma issue descrevendo o problema ou a feature antes de enviar um PR.


Licença

MIT © 2026 CoreOps