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

vincci

v1.1.4

Published

Vincci is a NodeJs [TypeScript] library designed to allow users to display fancy tables in the terminal, with advanced row and column formatting, color support checks, and more.

Readme

Vincci

npm version npm downloads License jsDeliver npm bundle size

Vincci is a NodeJs [TypeScript] library designed to allow users to display fancy tables in the terminal, with advanced row and column formatting, color support checks, and more.

Features

  • Custom Table Display: Create visually appealing tables with advanced formatting options.
  • Color Support Check: Detect if the terminal supports colors.See Table Options
  • TypeScript Support: Full TypeScript support with strict linting rules.
  • Extendable Utilities: Add and customize various utilities for your Node.js projects.Contributing

Installation

To install Vincci via npm or yarn:

npm install vincci
yarn add vincci

Usage

Here’s how you can use Vincci to create a custom table in your terminal.

Example

import { vincci } from 'vincci';

const columns = ['Name', 'Age', 'City'];
const rows = [
  ['John Doe', 30, 'New York'],
  ['Jane Smith', 25, 'San Francisco'],
  ['Sam Brown', 35, 'Chicago'],
];

vincci(columns, rows);
╔══════════╦═════╦═════════════════╗
║ Name     ║ Age ║ Location        ║
╠══════════╬═════╬═════════════════╣
║ Alice    ║ 30  ║ New York        ║
╠══════════╬═════╬═════════════════╣
║ Bob      ║ 25  ║ San Francisco   ║
╠══════════╬═════╬═════════════════╣
║ Charlie  ║ 35  ║ Chicago         ║
╚══════════╩═════╩═════════════════╝

Color Support Check

You can check whether your terminal supports colors using Vincci:

import { isSupport } from 'vincci';

if (isSupport()) {
  console.log('Your terminal supports colors!');
} else {
  console.log("Your terminal doesn't support colors.");
}

Full Example with custom option

const columns = ["ID", "Name", "Age", "City", "Status"];
const rows = [
    ["asd", "Alice", 25, "New York", "Active"],    
    [2, "Bob", 30, "San Francisco", "Inactive"],
    [3, "Charlie", 35, "Los Angeles", "Inactive"], 
    ["asdasd", "David", 40, "", "Active"],         
    ["sg", "Bob", 30, "San Francisco", "Inactive"], 
    [6, "Chris", 35, "Los Angeles", "Active"], 
    [7, "David", 40],       
];
const options = {
    columnAlignments: {
        ID: "right",    
        Name: "left", 
        Age: "center", 
        City: "left",   
        Flag: "center",  
    },
    headerColors: {
        ID: "green.bold",
        Name: "yellow.underline", 
        Age: "red",     
        City: "cyan.italic",
    },
    rowStyleKey: "Name",
    rowStyles: {
        "Charlie": {
            ID: "green.bold", 
        },
        "David": "red.italic",
    },
    edgeStyles: "rounded",
    highlightColumn: "Name",
    rowBackgrounds: {
        odd: "bgWhite", 
        even: "bgCyan" 
    }
};
vincci(columns, rows, options);

Table Options

| Option Name | Type | Example | Description | |---|---|---|---| | headerColors | string | headerColors: {Column1: "green.bold",Column2: "yellow.underline",Column3: "red",Column4: "cyan.italic"} | Map of column names to color/style functions for headers. | | rowStyles | string | rowStyles: {"Charlie": {Column name: "green.bold"},"David": "red.italic"} | Map of specific row values to style names or a record of styles. | | rowStyleKey | string | rowStyleKey: "Column2" | The column name that determines the cell to style for row-based styling. | | rowBackgrounds | { odd: "Chalk background"; even: "Chalk background" } | {odd: "bgWhite", even: "bgCyan" } | Background colors for odd/even rows. | | edgeStyles | single, bold, rounded, dotted, thick, minimal, heavyDashed, double or { topLeftCorner: string; topRightCorner: string; bottomLeftCorner: string; bottomRightCorner: string; horizontalSeparator: string; verticalSeparator: string; topCenter: string; vertical: string; bottomCenter: string; verticalRowLeft: string; verticalRowRight: string; } | edgeStyles: "rounded" | Customize table border styles using either predefined styles or custom definitions. | | highlightColumn | string it's an chalk color | highlightColumn: "column name" | Column to highlight (simulate hover effect). | | columnAlignments | left,center,right | {column1: "right",column2: "left", column3: "center",.. } | Column alignment options (left, center, or right). |

Contributing

We welcome contributions to Vincci! Please refer to our CONTRIBUTING.md file for detailed guidelines on how to get involved.

License

This project is licensed under the MIT License - see the LICENSE file for details.