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

jslogsystem

v1.3.4

Published

interactive terminal and log system for node

Readme

jslogsystem

License: MIT PRs Welcome Windows Linux npm Git JavaScript TypeScript

[!NOTE] For migrating from 1.2.7 check THERE

What is it?

jslogsystem is quick plug-in javascript (also supports typescript and it is written in typescript) module that handles logging and CLI for you

Most notable features are:

  • logging (since 1.0)
  • terminal sessions (since 1.3)
  • pipes (since 1.2)
  • user binds (since 1.14)
  • built-in commands and possibility of adding your own commands (since 1.0)
  • styles (it's properly supported since 3.2 and partially since 3.0)

how to use

You have to create a terminal session[1] using one of available functions, for example: quickSetup(). That function creates 'main' terminal that will be used as an entry point.

example code:

import { quickSetup } from "jslogsystem";

quickSetup();

and that's it, that is the simplest way to start up.

You can now type your commands and click enter to send them also:

  • CTRL + C will exit the logsystem
  • CTRL + X will print the special character
  • CTRL + B will go to the left on the session list
  • CTRL + N will go to the right on the session list
  • CTRL + M will send the command without enter

write 'help' for the list of currently available commands! by the default, you have an access to all of them!

multiple sessions

More sessions can be created using 'terminal' command or by using terminalApi.

example: terminal new cute -a will create a new terminal will all commands named 'cute'

you can then switch to that terminal using terminal switch cute

js:


terminalApi.create("cute", {
    config: {
        commandTable: allGroup_collection
    }
});

It is equal to the first command

Terminal sessions can have different styles or even different commands.

pipes:

you can combine commands using pipes:

  • | <- redirect the result of previous command into a new one
  • && <- execute the next command if the result of a previous command was positive and redirect that result
  • || <- execute the next command if the result of a previous command was negative and redirect that result
  • ; <- starts a new command chain independent of the previous chain
  • > <- save the result to a file
  • >> <- append the result to a file
  • < <- get the result from a file and pipe it to command before that
  • << <- get the contents of a file and append it to the result (it behaves like an extra argument)

If you want to just write that character and you don't want to use pipes use either quotas ("|") or a escape character (|). Those things are parsed entirely by a command interpreter and will not be passed into commands

special character (§)

You can get it either by clicking CTRL + X or by writting $.

That character has special uses mostly used by commands

Commands may interpret that special characters differently

Its purpose is to shorten commands by not using long escape sequences

styles

The package offers a few styles:

DEFUALT STYLE DEFAULT

MINECRAFT STYLE MINECRAFT

CLEAN STYLE CLEAN

CLEAN SIGNS STYLE CLEAN SIGNS

CLASSIC STYLE CLASSIC

how to add them?

example code:

import { quickSetup, STYLE_CLEANSIGNS } from "jslogsystem";

quickSetup(
    {
        styles: STYLE_CLEANSIGNS
    }
);

user binds

Users can create binds using 'bind' command. For more information use: '? bind'

how to properly log?

We recommend just getting a consoleShortHand that will ease everything for you

get it by using

    const shortHand = getNewConsole();

you can also provide one argument saying which session it belongs to as such:

    const shortHand = getNewConsole("cute");

Related

  • chalk -> Terminal string styling done right. It allows you to easily format strings in a specified color. It supports nested colors. It may become a depedency in the future. It currently not required
  • fahs-jslogsystem -> an addon that adds an alternative to default 'inspect'