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

fragmenium

v1.1.1

Published

Rapidly develop a maintainable Single Page Application (SPA) using pure HTML,CSS & JS.

Downloads

295

Readme

Fragmenium – Fragment Executor Engine (FEE)

GitHub License NPM Version

Fragmenium is a Fragment Executor Engine that enables rapid development of maintainable Single Page Applications (SPA) using pure HTML, CSS, and JavaScript.
It is ultra‑lightweight (5.39kb), SEO‑friendly, and requires no server‑side execution or build process.


🌐 Live Site

👉 https://fragmenium.pages.dev


You can install Fragmenium via npm:

npm i fragmenium

Download Fragmenium Template Download

✨ Features

  • No server‑side execution
  • Valid URL & SEO friendly
  • No new syntax required
  • SPA‑like navigation experience
  • High maintainability
  • Compatible with existing frameworks/libraries
  • No build step required
  • Easy to use
  • Ultra lightweight (5.39kb)
  • Efficient & high performance
  • Reusable fragments
  • Pure JavaScript cleanup
  • Cost savings for servers
  • Less server side request

📖 Fragment Types

Fragmenium organizes code into fragments, each with a specific role:

  • Constant → executed once when the page loads
  • Common → executed when visiting pages within a directory
  • Unique → HTML‑specific, executed on every navigation
  • Specific → CSS/JS‑specific, for particular pages
  • Every → JS‑specific, executes on every navigation
  • Swap → HTML‑specific, reusable with parameters

Fragments are fully cleanable — JavaScript and other resources can be removed when no longer needed.


🏗️ Architecture

Fragmenium balances dynamic fragments (Constant, Common, Swap) with static fragments (Unique, Specific).
This hybrid approach delivers SPA responsiveness while preserving SEO visibility.


⚖️ Comparison

| Feature | Fragmenium | React / Vue | |------------------------|------------|-------------| | Server‑side Execution | None | Often SSR | | SEO & URLs | SEO‑friendly | Needs SSR/config | | Syntax | Pure HTML/CSS/JS | JSX (React), Templates (Vue) | | SPA Experience | Built‑in | Routing libraries | | Maintainability | Simple cleanup | Hooks/Directives | | Module Cleanup | Full iframe cleanup | Manual cleanup | | Build Process | None | Bundlers required | | Size | ~10kb | 80–100kb+ | | Performance | Direct fragment execution | Virtual DOM diffing | | Reusability | Dynamic fragments | Components | | Cleanup | Pure JS cleanup | Lifecycle unmount |


📌 Use Cases

Fragmenium is ideal for:

  • Small projects → quick setup, no build step
  • Large projects → scalable with reusable fragments
  • SEO‑friendly sites → static fragments ensure visibility
  • Cost saving → no server execution, runs in browser
  • Plugin compatibility → works with existing JS libraries
  • Rapid prototyping → lightweight and syntax‑free

Limitations

  • Web‑only (no native app support)
  • Smaller community compared to React/Vue

🚀 Getting Started


📜 License

MIT License