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

cm-web-modules

v2.7.0

Published

Collection of clean and small ES6 modules for the web

Readme

cm-web-modules

Zero-dependency ES6 module library for web development, used in production at chessmail.de.

Provides needed functionality with the smallest and cleanest amount of code possible. No build step required — modules are native ES6 imports used directly in browsers.

Installation

npm install cm-web-modules

Modules

| Module | Description | |--------|-------------| | Audio | Web Audio API playback with gain control, looping, and audio sprites | | Cache | Simple in-memory key-value cache with auto-clearing | | Component | Base classes for components with props, state, and declarative event binding | | Cookie | Read, write, and delete browser cookies | | I18n | Internationalization with fallback languages and placeholder substitution | | Md5 | Pure JavaScript MD5 hash implementation | | MessageBroker | Pub/Sub messaging with wildcard topic support | | Notifications | Web Notifications API wrapper | | Observed | Proxy-based reactive property observation | | PromiseQueue | Sequential promise execution queue | | Stopwatch | Timer with start, stop, reset, and tick callbacks | | Svg | SVG DOM creation and manipulation | | Template | Simple ${key} template rendering | | Utils | ArrayUtils, ColorUtils, CoreUtils, DateUtils, DomUtils, EncryptionUtils, HttpUtils, TextUtils |

Usage

Import modules individually — there is no barrel export or bundling:

import {Audio} from "cm-web-modules/src/audio/Audio.js"
import {Sample} from "cm-web-modules/src/audio/Sample.js"
import {Observed} from "cm-web-modules/src/observed/Observed.js"

Testing

Browser-based only — open test/index.html in a browser. There is no CLI test runner.

License

MIT