ns Docsns Docs

Introduction

v 2.0.0 - Stable Version

nstypocolors is a minimal and expressive color & gradient logging library designed for modern Node.js and TypeScript projects.

It helps you produce intentional, readable, and aesthetic terminal output without unnecessary configuration or visual noise.

Why nstypocolors?


The library focuses on a few core principles:

  • Clean and readable terminal logs
  • Carefully designed gradients (no noisy rainbows)
  • Zero-configuration setup
  • Lightweight and dependency-free
  • Optional CLI support for quick usage

Whether you are building a CLI tool, a Discord bot, or a backend script, nstypocolors keeps your logs expressive while staying professional.

nstypocolors is built with TypeScript first, but it works just as smoothly in plain JavaScript projects.

Basic Usage


Below is a simple example showing how nstypocolors looks in both JavaScript and TypeScript.

import { logGreen } from 'nstypocolors'

logGreen('Connected successfully')
logGreen('Build complete')
const { logGreen } = require('nstypocolors')

logGreen('Connected successfully')
logGreen('Build complete')

When Should You Use It?


nstypocolors is a great fit if you:

  • Want visually clear logs without heavy formatting libraries
  • Need subtle gradients for emphasis, not decoration
  • Prefer tools that work out-of-the-box
  • Care about clean developer experience

If you believe logs should be readable first and beautiful second, nstypocolors is built for you.

Last updated on

On this page