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

@sseezov/wood-js

v0.3.9

Published

**760 bytes** (minified + brotlied) — JSX library with built-in router.

Downloads

1,279

Readme

🌲 wood-js

760 bytes (minified + brotlied) — JSX library with built-in router.

Features

  • Super small and dead simple - read all the source code in a few minutes
  • 🎨 JSX syntax (fragments, children components support)
  • 🧭 Client-side router — SPA out of the box
  • 🖱️ Event handlers — onClick, onSubmit
  • 📦 No virtual DOM, no hooks — intentional choice for simplicity
  • 🔧 Zero runtime dependencies — works with Vite
  • 🔄 Transparent data flow, no magic — explicit updates, full control

Philosophy

Wood.js gives you full control over DOM updates. No automatic re-renders, no virtual DOM diffing — just explicit, manual updates when you need them.

  • 🎯 Manual renders — call render(querySelector, component) exactly when state changes
  • 🔍 Direct DOM access — full vanilla DOM API available (querySelector, addEventListener, classList, etc.)
  • 🧩 Low-level friendly — mix JSX with vanilla JS without fighting the framework
  • 📦 No hidden magic — what you see is what happens

Example: Manual Update

import { render } from '@sseezov/wood-js'

export default function Counter() {
  let count = 0
  
  const increment = () => {
    count++
    render('#counter', count) // manual update
  }
  
  return (
    <>
      <div id="counter">{count}</div>
      <button onClick={increment}>+</button>
    </>
  )
}

How to start project?

  1. Install Vite, setup vite.config as shown below
  2. Create index.html file, with source script (for example "index.js")
  3. Write in index.html:
<body>
  <div id="app"></div>
  <script type="module" src="./index.js"></script>
</body>
  1. Write in index.js:
import { initWood } from '@sseezov/wood-js'
import App from './src/App' // import your main component
import MainPage from './src/pages/Main/MainPage' // import your pages
import CatalogPage from './src/pages/Catalog/CatalogPage' // import your pages
import Error from './src/pages/Error' // import Error component if needed

const routes = [
  { path: '/', component: MainPage, parentSelector: '#main' },
  { path: '/catalog', component: CatalogPage, parentSelector: '#main' },
] // define routes with path, component and parent selector in each route

const ErrorRoute = { component: Error, parentSelector: '#main' } // set where to render error

initWood(App, routes, ErrorRoute) // init app with main component, routes (optional), and error (optional)

Template https://github.com/sseezov/wood-js-template

Vite Setup

// vite.config.js
import { defineConfig } from 'vite'

export default defineConfig({
  // ... your config here
  esbuild: {
    jsxFactory: 'h',
    jsxInject: `import { h, Fragment } from '@sseezov/wood-js'`,
    jsxFragment: 'Fragment',
    jsx: 'transform',
    jsxDev: false 
  }
})

NPM

https://www.npmjs.com/package/@sseezov/wood-js