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

disnibra-henry-control

v1.0.1

Published

Biblioteca para acionamento de relés Henry via protocolo hexadecimal.

Readme

Disnibra Henry Control 🚀

Biblioteca Node.js para acionamento de relés e controle de acesso em equipamentos Henry (Catracas, Terminais e Controladoras) utilizando protocolo hexadecimal via TCP/IP.

🛠 Instalação

Dentro da pasta do seu projeto, instale via npm:

npm install disnibra-henry-control

🔌 RequisitosNode.js: v14 ou superior.Conexão: O equipamento deve estar na mesma rede ou ser acessível via IP/Porta.Modo: O equipamento Henry deve estar configurado em modo Online.🚀 Como usarA biblioteca exporta a função liberadorOnline, que gerencia a conexão socket, o cálculo de checksum (XOR) e o fechamento automático da conexão.Exemplo Básico (CommonJS)JavaScriptconst { liberadorOnline } = require('disnibra-henry-control');

// Exemplo: Liberar acionamento físico
liberadorOnline('192.168.0.157', 3001, 'ACESSO LIBERADO', true);

// Exemplo: Negar (Apenas registra log, sem bater o relé)
liberadorOnline('192.168.0.157', 3001, 'ACESSO NEGADO', false);
📝 Documentação da FunçãoliberadorOnline(IP, PORT, MENSAGEM, PERMITIDO)ParâmetroTipoDescriçãoIPstringEndereço IP do equipamento Henry.PORTnumberPorta de comunicação (Padrão Henry: 3001).MENSAGEMstringMensagem enviada para o log/visor do sistema.PERMITIDObooleantrue envia o comando REON (aciona relé). false apenas registra log.🛡 Proteções InclusasTimeout Automático: Se o equipamento estiver desligado, a função encerra a tentativa em 2.5 segundos, evitando que seu servidor trave.Auto-Destroy: A conexão socket é fechada imediatamente após o envio do pacote para economizar recursos de rede.Checksum Integrado: Realiza o cálculo de LSB/MSB e Checksum XOR automaticamente conforme o protocolo Henry.© 2026 Disnibra Ativos.
---

### Como atualizar o README no NPM:
1. Substitua o conteúdo do seu arquivo `README.md` por esse código acima.
2. Vá no `package.json` e mude a versão para `1.0.1`.
3. Rode no terminal:
```bash