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

pakku

v1.4.1

Published

All-in-one web bundler and compiler

Downloads

110

Readme

Pakku | パック

Maintainability Test Coverage Travis CI AppVeyor NPM Version JavaScript Style Guide Conventional Commits

A Command-line application for packing web sites and applications into a directory full of goodness and performance improvements.

What does it do?

  • Searches through your whole web site/application, looking for assets, links, pages, images, and what not.
  • Offers helper functions to improve your development.
  • Replaces them with versionized names using last Git commit Id — Bye bye “Please clean your browser cache!”
  • Optmise and minify all things! (HTML, Javascript, CSS, Less, JPG, GIF, PNG, SVG)
  • A flavoursome directory files will be created with all the nifty files inside.

Installation

Install this command via npm through:

npm install pakku

(standard -g -S flags apply depending on your needs)

Usage

While in the project directory, run:

pakku <path-to-index-page> <output-dir>

Please notice that the output directory is removed and re-created for every build/command ran, so choose wisely before deleting something you don't want to.

Now sit back, relax, and watch the magic happen.


Helpers

I have created a few helpers which are here to enchance development experience, for now they are:

HTML

  • data-dev: Every tag having this attribute will be stripped out of your build.
  • data-inline: Instead of update the file name reference it will instead, replaced with the expanded and minfied file contents.
    • <link rel=stylesheet href=main.css> becomes <style>...main.css contents...</style>
    • <script src=main.js></script> becomes <script>...main.js contents...</script>

Javascript

  • Strings with filenames prefixed with @ will be expanded and inlined. i.e: var src = '@main.html';

Bugs

You will probably find a lot of it. It still in early development (0.x.x), but you are more than welcome to fill a bug report letting me know how things are or aren't working for you. I appreciate your time to contribute to the project for a better future.


License

MIT and new BSD.