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

mpack

v1.0.1

Published

This is a tool to enable implementors to customise and package the settings to App Packs that can be deployed to an M4 database.

Readme

This is a tool to enable implementors to customise and package the settings to App Packs that can be deployed to an M4 database.

App Pack (or Data Pack)

To install, npm i -g mpack

Creating New Pack

Ensure git environment is setup as the mpack tool will automatically setup a new git repo.

  1. Create a new directory
  2. run mpack new and answer the questions
  3. Add your files, refer to best practices
  4. run mpack upload when you're done
  5. Test the package in a M4 database
  6. When all working and final, run mpack release

Update Existing Pack

  1. Make changes to the files or add new ones
  2. Review package.json for dependencies
  3. run mpack upload when you're done
  4. Test the package in a M4 database
  5. When all working and final, run mpack release

All Commands

Registry Commands

  • mpack login
  • mpack logout
  • mpack upload
  • mpack release

Once a pack is released, it cannot be undo.

Pack Commands

  • mpack new
  • mpack config
  • mpack deps
  • mpack extract
  • mpack make

Pack versioning

Minor and patch versions are auto updated.

Major versions usually indicates breaking-change which require manual updates.

Content of Packs

Pack files usually comes in a pair: [email protected] and [email protected] (only applies to patch versions).

The versions here refer to semantic versioning (semver), which follow the same rules in NPM modules.

A Pack is a tar gzip file which contains the following minimum:

  • package.json
  • files

Structure of package.json

{
    "name": "PackName",
    "version": "1.0.0",
    "description": '',
    "deps": {
        "pack": "version"
    },
    "path": "", // for pack development use, registry ignores this
    "requires": {
        "server": "version",
        "web": "version"
    },
    "perms": [],  // custom permissions for pack
    "mpack": "mpack version"
}

Notes

  1. Packs with minor and patch versions will be auto-updated
  2. Minor version bump do not have patch file, use minor to force full override (be careful)
  3. Packs with major version will need manual updates
  4. Major versions usually for major version of server
  5. Add / edit the dependencies deps and requirements requires to control the behavior of the packs

TODO

  • upload single pack to server
  • server to verify deps
  • server to return latest versions of packs
  • mpack to add / update deps in package.json