Socket
Socket
Sign inDemoInstall

htmlify-csv

Package Overview
Dependencies
119
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    htmlify-csv

Convert CSV file to HTML table


Version published
Weekly downloads
26
increased by62.5%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

htmlify-csv.js

This NodeJs module converts a CSV file into an HTML table very easily!

The HTML table generated allows you to filter the columns and sort them.

Install

Clone this repository:

git clone git@github.com:shevabam/htmlify-csv.git
cd htmlify-csv

Then run:

npm install

Usage

Converts example.csv into HTML file, located in datas folder:

node htmlify-csv convert example.csv

Add some options to define the delimiter and to open the generated HTML file in your Web browser:

node htmlify-csv convert example.csv --delimiter=";" --show

Converts datas/example.csv to datas/example.html width ";" delimiter, and open output file in your Web browser:

node htmlify-csv convert "datas/example.csv" --delimiter=";" --output="datas/example.html" --show

Options

To view all available options, use:

node htmlify-csv --help
ParamDescriptionDefaultExample
--delimiterCSV delimiter,--delimiter=";"
--outputOutput filenamedatas/output.html--output="file.html"
--showOpen HTML output file in browserfalse
--portServer port number8090--port=1337

Credits

  • jQuery
  • tablesorter
  • Caporal.js
  • babyparse

Keywords

FAQs

Last updated on 08 Jan 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc