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

nsnipt

v0.1.0

Published

Node CLI that interacts with Snipt.net

Readme

nsnipt

At its core, nsnipt is a Node CLI that interacts with Snipt.net. Currently however it only supports one operation; saving your snipts (code snippets) as text files in a location of your choosing.

I created nsnipt simply because I wanted a way to easily export my snipts for backup (and because I wanted to try writing a nodejs command-line app). As I or others find need I will definitely expand the functionality.

Command Line Options and Persistent Config

To use this client you'll need to provide two required pieces of information:

  1. Your Snipt username
  2. Your Snipt API key

These can be found in your Snipt.net account information.

You can set all options in a couple different ways.

Setting Options via the Command Line

All options can be set via command line options; for example:

nsnipt backup -u hereiznoy -a 123456ABCDEFG -d /some/where

Setting Options via the Config File

If you want to store your options (which you most likely will) you can do so by putting a config.json file in the config directory of your nsnipt install. Your config file should look something like this:

{
	"username": "hereiznoy",
	"apiKey": "123456ABCDEFG",
	"backup": {
		"backupDir": "/some/where"
	}
}

Notice the backupDir option is contained inside the backup JSON object; that is because it's an option specific to the backup command.

Default Options

If you do not set the required options via command line args or the config file, the client will not run.

Any optional options can be left off (such as the -d backup directory location option), in which case default values will be used (look at the config/config.js source file if you want to know what the defaults are).

Installation

npm install -g nsnipt

Running

Again, currently the only operational command the client supports is backup.

nsnipt backup -d /path/to/backup/dir

To get help:

nsnipt -h