1.0.0 • Published 3 years ago
excel2console v1.0.0
Excel 2 Console
Converts an Excel workbook to a table and returns the output
Installation
npm install --save excel2console
Usage
const excel2console = require('excel2console')
//Using ES6
import excel2console from 'excel2console'
excel2console('./people.xlsx', (output) => { console.log(output) })
Expected Output
╔═════════╤═════╤═════════════╗
║ Name │ Age │ Height (cm) ║
╟─────────┼─────┼─────────────╢
║ James │ 27 │ 193 ║
╟─────────┼─────┼─────────────╢
║ Tim │ 23 │ 180 ║
╟─────────┼─────┼─────────────╢
║ Harry │ 24 │ 177 ║
╟─────────┼─────┼─────────────╢
║ Tom │ 29 │ 189 ║
╟─────────┼─────┼─────────────╢
║ Mark │ 22 │ 192 ║
╟─────────┼─────┼─────────────╢
║ Matthew │ 28 │ 175 ║
╟─────────┼─────┼─────────────╢
║ Luke │ 24 │ 176 ║
╟─────────┼─────┼─────────────╢
║ Paul │ 26 │ 190 ║
╚═════════╧═════╧═════════════╝
1.0.0
3 years ago