New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

excript

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

excript

Create excel file in XLS form. Now it only supports basic types such as String and Number and it does not support styles.

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Excel XLS

Create excel file in XLS form. Now it only support basic types such as String and number and it does not support styles.

Usage

// create excel
const excel = new Excel('filename.xls');

// create work sheet
const workSheet = new WorkSheet('work_sheet_name);

// create table
const table = new Table();

// create row
const row = new Row();

// create data cell
const data = new Data('this is cell value', 'String'); const cell = new Cell(data);

// insert cells in row
row.addCell(cell);

// insert rows in table
table.addRow(row);

// insert tables in worksheet
workSheet.addTable(table);

// insert worksheets in excel
excel.addWorkSheet(worksheet);

// final excel in XML form
const excelXML = excel.exportExcel();

Keywords

excel

FAQs

Package last updated on 17 Apr 2019

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