Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@master-chief/pretty-table

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@master-chief/pretty-table

Format data to a console friendly table.

  • 1.2.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
135
decreased by-18.67%
Maintainers
1
Weekly downloads
 
Created
Source

pretty-table

version language build prettier

Format data to a console friendly table.

Contents

  • Features
  • Install
  • Example
  • Contributing

Features

  • Extremely fast.
  • Prints your data to pretty tables.

Install

From NPM:

$ npm i @master-chief/pretty-table

Example

import pretty from '@master-chief/pretty-table'

let data = [
  { name: 'cosmo', animal: 'cat', age: 12 },
  { name: 'mabel', animal: 'dog', age: 18 },
]

console.log(pretty(data))

The above code will output a formatted (and pretty 😍) table.

name  animal age
cosmo cat    12
mabel dog    18

Contributing

Feel free to contribute and PR to your 💖's content.

FAQs

Package last updated on 30 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc