exc

excelize

(DEPRECATED) Save array of similar objects to MS Excel sheet. (wrapper for msexcel-builder)

Showing:

Popularity

Downloads/wk

2

GitHub Stars

4

Maintenance

Last Commit

3yrs ago

Contributors

0

Package

Dependencies

1

Size (min+gzip)

37.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

This package is deprecated because it is not maintained any more. It still works, but for now saving objects to csv for further convert is much better way. If you want do something complicated with MS Excel sheet yuo may look to xlsx-populate or xlsx.


excelize

Save array of similar objects to MS Excel sheet

It is just wrapper for msexcel-builder

Install

npm install excelize

Usage

excelize(obj, path, file, sheet, cb);

obj - array of objects with same keys path - where to save file file - name for new Excel file (xlsx) sheet - name for sheet cb - callback

Example

var excelize = require('excelize');

var testObj = [
    {name: 'Alice', age: '20'},
    {name: 'Bob', age: '21'},
    {name: 'Chuck', age: '22'}
];

excelize(testObj, './', 'sample.xlsx', 'sheet', function(err){
    if (err)
        throw err;
    else
        console.log('congratulations, your workbook created');
});

License

MIT

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100