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

sno-pack

v0.0.5

Published

Snobjects to represent and manage a NodeJS package.

Readme

SnoPack

Install Documentation

Sno-pack provides tools for building and publishing a snobject in NodeJS.

Properties

| |Type|Description|Required| |---|----|-----------|--------| |version|Snobject.version|| :white_check_mark: Yes| |license|Snobject.license||No| |getSchema|Snobject.getSchema|| :white_check_mark: Yes| |name|Snobject.SnoPack.name|| :white_check_mark: Yes| |keywords|Snobject.SnoPack.keywords||No| |homepage|string|The url to the project homepage.|No| |bugs|Snobject.SnoPack.bugs||No| |author|Snobject.SnoPerson||No| |contributors|array[]|A list of people who contributed to this package.|No| |maintainers|array[]|A list of people who maintains this package.|No| |files|Snobject.SnoPack.files||No| |main|string|The main field is a module ID that is the primary entry point to your program.|No, default: "./src/main.js"| |bin|string,object|undefined|No| |man|array,string|Specify either a single file or an array of filenames to put in place for the man program to find.|No| |directories|Snobject.SnoPack.directories||No| |repository|Snobject.SnoPack.repository||No| |scripts|object|The 'scripts' member is an object hash of script commands that are run at various times in the lifecycle of your package. The key is the lifecycle event, and the value is the command to run at that point.|No| |config|Snobject.SnoPack.config||No| |dependencies|Snobject.SnoPack.dependency||No| |peerDependencies|Snobject.SnoPack.dependency||No| |optionalDependencies|Snobject.SnoPack.dependency||No| |bundledDependencies|Snobject.SnoPack.bundledDependency||No| |bundleDependencies|Snobject.SnoPack.bundledDependency||No| |engines|object|undefined|No| |engineStrict|boolean|undefined|No| |os|string[]|undefined|No| |cpu|string[]|undefined|No| |preferGlobal|boolean|If your package is primarily a command-line application that should be installed globally, then set this value to true to provide a warning if it is installed locally.|No| |private|boolean|If set to true, then npm will refuse to publish it.|No| |publishConfig|object|undefined|No| |get|Snobject.SnoPack.get|| :white_check_mark: Yes| |add|Snobject.SnoPack.add|| :white_check_mark: Yes| |set|Snobject.SnoPack.set|| :white_check_mark: Yes| |addSchema|Snobject.addSchema|| :white_check_mark: Yes| |validate|Snobject.validate|| :white_check_mark: Yes| |getClass|Snobject.SnoPack.getClass|| :white_check_mark: Yes| |buildSchema|Snobject.SnoPack.buildSchema|| :white_check_mark: Yes| |buildMD|Snobject.SnoPack.buildMD|| :white_check_mark: Yes|

Pattern Properties

| |Type|Description|Required| |---|----|-----------|--------| |^_||Any property starting with _ is valid.|No|

Additional properties are allowed.

SnoPack.version :white_check_mark:

  • Type: Snobject.version
  • Required: Yes

SnoPack.license

  • Type: Snobject.license
  • Required: No

SnoPack.getSchema :white_check_mark:

  • Type: Snobject.getSchema
  • Required: Yes

SnoPack.name :white_check_mark:

  • Type: Snobject.SnoPack.name
  • Required: Yes

SnoPack.keywords

  • Type: Snobject.SnoPack.keywords
  • Required: No

SnoPack.homepage

The url to the project homepage.

  • Type: string
  • Required: No
  • Format: uri

SnoPack.bugs

  • Type: Snobject.SnoPack.bugs
  • Required: No

SnoPack.author

  • Type: Snobject.SnoPerson
  • Required: No

SnoPack.contributors

A list of people who contributed to this package.

  • Type: array[]
  • Required: No

SnoPack.maintainers

A list of people who maintains this package.

  • Type: array[]
  • Required: No

SnoPack.files

  • Type: Snobject.SnoPack.files
  • Required: No

SnoPack.main

The main field is a module ID that is the primary entry point to your program.

  • Type: string
  • Required: No, default: "./src/main.js"

SnoPack.bin

  • Type: string,object
  • Required: No
  • Type of each property: string

SnoPack.man

Specify either a single file or an array of filenames to put in place for the man program to find.

  • Type: array,string
  • Required: No

SnoPack.directories

  • Type: Snobject.SnoPack.directories
  • Required: No

SnoPack.repository

  • Type: Snobject.SnoPack.repository
  • Required: No

SnoPack.scripts

The 'scripts' member is an object hash of script commands that are run at various times in the lifecycle of your package. The key is the lifecycle event, and the value is the command to run at that point.

  • Type: object
  • Required: No
  • Type of each property: string

SnoPack.config

  • Type: Snobject.SnoPack.config
  • Required: No

SnoPack.dependencies

  • Type: Snobject.SnoPack.dependency
  • Required: No

SnoPack.peerDependencies

  • Type: Snobject.SnoPack.dependency
  • Required: No

SnoPack.optionalDependencies

  • Type: Snobject.SnoPack.dependency
  • Required: No

SnoPack.bundledDependencies

  • Type: Snobject.SnoPack.bundledDependency
  • Required: No

SnoPack.bundleDependencies

  • Type: Snobject.SnoPack.bundledDependency
  • Required: No

SnoPack.engines

  • Type: object
  • Required: No
  • Type of each property: string

SnoPack.engineStrict

  • Type: boolean
  • Required: No

SnoPack.os

  • Type: string[]
  • Required: No

SnoPack.cpu

  • Type: string[]
  • Required: No

SnoPack.preferGlobal

If your package is primarily a command-line application that should be installed globally, then set this value to true to provide a warning if it is installed locally.

  • Type: boolean
  • Required: No

SnoPack.private

If set to true, then npm will refuse to publish it.

  • Type: boolean
  • Required: No

SnoPack.publishConfig

  • Type: object
  • Required: No

SnoPack.get :white_check_mark:

  • Type: Snobject.SnoPack.get
  • Required: Yes

SnoPack.add :white_check_mark:

  • Type: Snobject.SnoPack.add
  • Required: Yes

SnoPack.set :white_check_mark:

  • Type: Snobject.SnoPack.set
  • Required: Yes

SnoPack.addSchema :white_check_mark:

  • Type: Snobject.addSchema
  • Required: Yes

SnoPack.validate :white_check_mark:

  • Type: Snobject.validate
  • Required: Yes

SnoPack.getClass :white_check_mark:

  • Type: Snobject.SnoPack.getClass
  • Required: Yes

SnoPack.buildSchema :white_check_mark:

  • Type: Snobject.SnoPack.buildSchema
  • Required: Yes

SnoPack.buildMD :white_check_mark:

  • Type: Snobject.SnoPack.buildMD
  • Required: Yes