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 🙏

© 2025 – Pkg Stats / Ryan Hefner

nit-notes

v1.1.4

Published

minimal note taking command line util

Downloads

421

Readme

nit - minimal command line notetaker

nit is a lightweight tool to take notes straight from the command line. It prioritizes speed and simplicity over everything else.

Features

  • Write and read notes: Write notes locally and retrieve them.
  • Multiple collections: Organize notes using different local collections.

Commands

w - Write a Note

Write a new note with a title and body.

Syntax:

nit w <title> <body>

Example:

nit w shopping-list "Buy milk, eggs, and bread"

Output:
Writing note titled 'shopping-list'


r - Read a Note

Retrieve a note by its title.

Syntax:

nit r <title>

Example:

nit r shopping-list

Output:

Buy milk, eggs, and bread

If multiple notes with the same title exist, all matching notes are displayed along with their timestamps.


l - List Notes

List all notes in the active or specified collection.

Syntax:

nit l [-c <collection>]

Options:

  • -c <collection>: Specify the collection name to list notes from.

Examples:

List all notes in active collection:

nit l

Output:

Notes in active collection default_collection:
Shopping List (2024-12-15T12:00:00.000Z)

nit l -c my_collection

Output:

Notes in collection my_collection:
Meeting Notes (2024-12-14T10:00:00.000Z)

If no notes are found, the output will indicate this.


c - Switch or Create a Collection

Switch to a different note collection or create a new one.

Syntax:

nit c <name> [--new | -n]

Options:

  • --new, -n: Create a new collection.

Examples:

nit c my_collection

Switches to the existing my_collection if found, or displays an error if it does not exist.

nit c my_collection --new

Creates a new collection my_collection and switches to it.


Additional Details

Active Collection

The nit CLI operates within an active collection by default, which is managed via the state.json file. You can switch or create collections using the c command.

State File

The active collection is saved in state.json. When switching collections, the CLI updates this file to reflect the current active collection.

Default Collection

When no collection is explicitly created or switched to, nit uses a default collection named default_collection.

Future plans

New features

  • Microblogging: Publish notes online from your command line.