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

voodoojs

v0.13.0

Published

Voodoo.js: the HTML-first JavaScript framework. Build reactive applications directly in HTML: fine-grained reactivity, components, HTTP, forms, validation, router and UI. No mandatory build step, no runtime dependencies, no Virtual DOM, no eval.

Downloads

703

Readme

Voodoo.js

The HTML-first JavaScript framework. Build reactive applications directly in HTML.

No mandatory build step · No runtime dependencies · No Virtual DOM · No configuration required

Website · Playground · Components · Examples · Documentation · GitHub


Install

npm install voodoojs

Or drop it into a page, with nothing else:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/voodoo.full.min.js" defer></script>

<div v-data="{ count: 0 }">
  <button @click="count++">Clicked { count } times</button>
</div>

That page is a complete application. There is no build step, no bundler and no configuration. The tag names an exact version, so what you load never changes under you. It is the FULL build, which is the one that carries JSX; drop .full for the essential build, 84 KB gzipped against 132, if you do not need it.

Two ways to write it

HTML, when the declarative form reads better:

<input v-model="search">
<ul>
  <li v-for="user in users" :key="user.id">{ user.name }</li>
</ul>

JavaScript, when the logic belongs in JavaScript:

import V, { reactive, effect } from 'voodoojs';

const state = reactive({ count: 0 });
effect(() => console.log(state.count));
state.count++;

What you get

Reactivity, components, a router, HTTP, forms with validation and masks, input masks, i18n, charts, motion, sound, a devtools inspector, and 29 ready-made components that need no registration — writing the tag is the whole usage.

<v-button variant="primary">Save</v-button>
<v-input label="Email" type="email"></v-input>
<v-table :columns="cols" :rows="people"></v-table>

No eval, anywhere

Expressions run through a lexer, a Pratt parser and an interpreter, never eval or new Function. That is why the library works under a strict Content Security Policy with no unsafe-eval, which a browser test proves by loading it under script-src 'self' and asserting no policy violation is raised.

It cleans up after itself

Once a directive is installed, its attribute is read into memory and removed from the document. What ships to the page is ordinary HTML, with no framework residue in the inspector. Turn it off with V.config.cleanAttributes = false if you need the attributes for something else.

Builds

| File | What it carries | Gzip | | --- | --- | --- | | dist/voodoo.core.min.js | Reactivity, expressions, DOM engine, components, core directives | 46 KB | | dist/voodoo.min.js | The above plus forms, validation, masks, UI and HTTP | 83 KB | | dist/voodoo.full.min.js | Everything: charts, motion, router, i18n, sound, devtools | 129 KB |

Module entry points are published for bundlers, in ESM and CJS, with types:

import { reactive } from 'voodoojs/reactivity';
import { http } from 'voodoojs/http';

Performance

A 1,000-row keyed list, median of 30 samples, against the same document, every framework bundled production and minified. Lower is better.

| | create 1k | update 1 in 10 | clear 1k | | --- | ---: | ---: | ---: | | vanilla JS | 48.74 | 7.52 | 21.06 | | Preact 10.29.8 | 91.62 | 2.59 | 29.48 | | Voodoo.js | 97.70 | 5.42 | 30.44 | | React 19.2.8 | 100.23 | 4.63 | 33.59 | | Vue 3.5.42 | 110.56 | 19.21 | 31.65 | | Solid 1.9.15 | 111.63 | 0.91 | 19.99 | | Alpine 3.17.1 | 179.47 | 104.51 | 31.39 |

Read honestly: hand-written vanilla still builds a list twice as fast, and Voodoo is by far the largest bundle in that table. If size is your main constraint, Alpine and Preact are the honest recommendation. Method and per-framework adapters are in the repository.

Documentation

Everything lives at kwy404.github.io/Voodoo.js: a guide, an API reference, 13 working example applications, a playground with 26 runnable examples, and the component gallery. The site is built with Voodoo.js itself and has no build step of its own.

License

MIT

JavaScript feels like magic.