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

mercury-notebook

v3.1.0

Published

A interactive, web-based notebook environment for javascript.

Readme

❯ Table of contents

❯ Introduction

The Mercury Notebook is a interactive, web-based notebook environment for javascript and javascript libraries, frameworks. Its main purpose is to write javascript-related notes, prepare interactive lectures, or for example, quick functionality tests. Mercury Notebook is also equipped in Markdown text editor.

❯ Installation

To use Mercury Notebook

  1. Install npm package globally
npm i -g mercury-notebook
# or
yarn global add mercury-notebook
  1. Open terminal in directory where you want to initialize project and run
mercury-notebook serve [-p port]

by default mercury notebook uses port 7777

You can run Mercury Notebook with without installing using npx

  1. Open terminal in directory where you want to initialize project and then
npx mercury-notebook serve [-p port]

❯ Mercury Hub

Hub View is the first page that gets loaded, and from there, you can add a new notebook or folder and manage all of your notebooks and folders.

  1. At the top is an action panel with buttons to Add Notebook, Folder. The rename button only shows when there is one and only one file selected, and the delete button (trash icon) shows anytime one or more items are selected.
  2. Under the action panel, Breadcrumb is placed that shows where you are.
  3. Beneath it, all notebooks and folders that are in your current location are listed. Yellow notebook icon to the left of its name indicate that notebook is active (open in a tab).
  4. On the right are three criteria for sorting data.

❯ Mercury Sandbox

Sandbox View is where you'll spend most of your time. The sandbox allows you to create a Markdown editor and Code (javascript) editor. This page is divided into sections (you can manage them as you want), and all of them can have multiple code and markdown editors.

Main

  1. its own preview that presents the outcome of your code.
  2. function show() that is used to print stuff on the right canvas
show(1 + 2);
// will show 3 on a canvas
  1. function console.log() that prints information to the browser console.
console.log(1 + 2);
// will show 3 in a browser console

Navbar

In sandbox view, the navbar has three functionalities:

  1. Files tab - allows to save and save as a notebook, open an existing notebook or create a new one.
  2. Options tab - gives a possibility to disable or enable autosave and auto compile options
  3. Name - the notebook's name is displayed in the middle. Clicking it allows changing its name

Shortcuts

Sandbox view has prepared some shortcuts for quicker work. All of the available shortcuts can be found under Options tab.

❯ Examples

All prepared examples are stored in the examples folder.

Standard Javascript function

Using HTML tags

React

❯ Future Features

  1. Add presentation mode to sandbox
  2. Add Sandbox for markdown
  3. Add txt and js file handler
  4. Separation of context for sections
  5. Section inside a section

Releases

❯ Bugs

Issues

❯ License

MIT