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

github.com/scott-x/table

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/scott-x/table

  • v0.0.0-20200707072712-c45c626ff609
  • Source
  • Go
  • Socket score

Version published
Created
Source

table

# install
go install github.com/scott-x/table

usage

table
table -c

If you just use table, it will create a html named tb.html in your current folder.

If you use table -c, -c here means "customed", first it will check whether a.txt exists or not? If not, it will throw tips as following:

You can define a.txt with syntax of Markdown, the cell content is separated by "|":
Suplier|Name|Email|Phone
QTOP|Lillian/Sue|xxx@qtop.com.cn / yyy@qtop.com.cn|Tel:(0)574 8921 xxxx
Danson|Lynn|zzz@dansondecor.com|Mobile : (86)15019468xxx Tel : (86) 0755-8272 xxxx
Merry Art|Tina|xxx@merryart.cn|TEL:+86 574 8790xxxx EXT:xxx

copy above txt into a.txt, then you will get a table.html in your current folder. Opening with chrome, see attached:

If a.txt exists, and the content is not nil, that's fine.

Note that each Cell is separated by |

for example:

Name | Dep | Sex | Country
Rosemay | 18 | F | USA
Jason | 20 | M | Japan
Susan | 60| F | India

FAQs

Package last updated on 07 Jul 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