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

@xyzdev-code/picojs

v0.4.2

Published

A minimal Javascript framework.

Readme

Picojs

A minimal Javascript framework written in plain js with jsdoc for type safety. Did this in my free time, expect bugs.

Features

  • Small bundle size (~2.6kb minified and gzipped)
  • Probably fast (at least on my computer, not a serious metric)
  • No build step, just include the pico.js file in the src/ directory
  • I test this against the js framework benchmark every release on my computer, so should be stable and performant enough for a hobby project
  • I did my best to try to build it against ES2020 and browsers from 2020 onwards should be able to support it. If not, just run it through babel or something.

Getting started

Just put the pico.js file in your directory. Or you could download it from npm (or whatever the new shiny tool is):

npm install @xyzdev-code/picojs

If you are not using a build tool, a minified and gzipped version can be found in the dist/src folder.

Usage

Should be quite simple, most of the primitives provided should be natural to the average web developer.

function component(){
  const number = new state(0)
  return html`<button ${bindClick(()=>{number.value++})}>${number}</button>`
}
app.init(component)

Note

Certain primitives like state are not signals technically, for example, I did not do any dirty/clean state tracking because I thought that is quite overpowered for a simple framework, the current code for state is messy enough. In addition, there really may be bugs, please report them if you have found any. When interpolating state in the html, please do not access the .value because that would break the reactivity of the html.

At least before 1.0, expect breaking changes as I may not follow semver. Please be warned.

Contributing

Pull requests and issues are welcome, just clone this repo and do the standard stuff. Please indicate if AI is used in any capacity. I am fine with AI assisted contributions as long as you are being honest.