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

smart-home-engine

v1.8.1

Published

Node.js based script runner for use in MQTT based Smart Home environments

Downloads

12,018

Readme

she - smart home engine

Your home, your rules - written in plain JavaScript.

she is a Node.js daemon that loads your .js scripts into a sandboxed VM and wires them up to MQTT, Matter, and everything else your smart home throws at them. No cloud, no lock-in, no YAML sprawl, no opinionated bloated schemata. Just scripts that do exactly what you (if you want: with the help of the integrated AI assisstant) tell them.

  • Scripts — Monaco-based Script IDE, AI assistant, git integration, autocompletion, hot-reload without process restart
  • MQTT — subscribe, publish, react to state changes with wildcards, conditions, and delays
  • Matter — control Matter devices directly from your scripts
  • sheDB — lightweight document store with map/reduce views, right in the daemon
  • Scheduler — cron expressions and solar events (sunrise, sunset, …) in one call
  • Script HTTP routes — scripts can register their own REST endpoints under /api/<scriptName>/
  • require() — load npm packages from ~/.she/node_modules/ or relative files inside scripts
  • Supports InfluxDB, Elasticsearch and Redis — convenience methods for time series, full text indexing, shared states across multiple she instances
  • Broker management — optional Mosquitto management: dynamic user/ACL management via the dynsec plugin (she.broker.* script API), listener and TLS configuration, TLS certificate management (server cert self-signed / CSR / import, trusted CA store), SSH-based remote file deployment
  • Web UI — script editor, package manager, MQTT browser, Matter device manager, sheDB frontend, log viewer, broker manager

Docs

| | | |---|---| | Getting started | Install, write your first script, configure | | Sandbox API | Everything available inside a script | | sheDB | Embedded document store — script API, views, examples | | Broker management | Mosquitto management, dynsec, TLS, certificates | | Examples | Real-world script patterns | | HTTP API | REST API reference including broker management endpoints |

Quick look

AI assistant proposing changes to an existing script with inline diff ... more screenshots

Motivation

She is built around a simple idea: home automation should stay understandable, even as it grows. Instead of collecting adapters, bindings, integrations, and configuration layers, you work directly with devices, events, and logic. The result is a system that scales with your home without turning into a project of its own.

At some point every smart home platform starts promising simplicity and ends up teaching you its own ecosystem. She takes a different approach. She's built around devices, messages, and automation logic - not around ever-growing collections of adapters, bindings, and abstractions.

Spend your time automating your home, not maintaining your automation software. Less clicking through configuration screens, fewer plugins talking to plugins, and no need for YAML archaeology when something stops working. Just a straightforward path from devices to automations, built on open standards and designed for people who prefer understanding their system over managing it.

The ideas behind she are the result of more than a decade of building smart home software. I started publishing home automation projects on GitHub in 2012 with ccu.io and later initiated the ioBroker project before leaving it in 2014. Shortly after I worked on mqtt-smarthome, contributed to the Node-RED ecosystem and created mqtt-scripts, which has been running my own home automation ever since. Over the years I have continued working professionally in the smart home industry.

Recently, while experimenting with GitHub Copilot, I started modernizing parts of my existing software stack. What began as a small refactoring exercise quickly evolved into a bigger idea: replacing my twelve-year-old automation engine with a modern successor. The result is she - a combination of the proven concepts from mqtt-scripts, the architecture of mqttDB, a built-in Matter controller and a modern web interface with AI assistance. A system that embraces open standards, integrates the growing Matter ecosystem, and remains true to the principles that made mqtt-scripts reliable enough to run a home for more than a decade.

The goal is simple: a smart home that remains understandable years later. No migration-guide marathons, no plugin jungles. Just automation infrastructure that grows with your home instead of growing into a hobby of its own.

Trademark and Certification Notices

[!IMPORTANT] This project implements/supports the Matter protocol. Matter™ is a trademark of the Connectivity Standards Alliance.

This project is not certified by, endorsed by, supported by, or affiliated with the Connectivity Standards Alliance.

License

GPL-3.0 © Sebastian Raff