0.2.0 • Published 8 years ago
sheet-tools v0.2.0
Tools for spreadsheets. Work in progress.
This module works with the xlsx module.
const xlsx = require('xlsx');
const sheetTools = require('sheet-tools');
const workbook = xlsx.read(spreadsheetFile);
const headers = sheetTools.extractWorkbookHeaders(workbook)Output:
[
{
name: 'People',
headers: [
'ID',
'First Name',
'Last Name',
'Email',
'Created',
'City',
'Favorite Animal'
]
}
]0.2.0
8 years ago