[![Build Status](https://travis-ci.com/jmaister/excellentexport.svg?branch=master)](https://travis-ci.com/jmaister/excellentexport) [![](https://data.jsdelivr.com/v1/package/npm/excellentexport/badge)](https://www.jsdelivr.com/package/npm/excellentexport) [![Rate on Openbase](https://badges.openbase.io/js/rating/excellentexport.svg)](https://openbase.io/js/excellentexport?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) [![Coverage Status](https://coveralls.io/repos/github/jmaister/excellentexport/badge.svg?branch=master)](https://coveralls.io/github/jmaister/excellentexport?branch=master) # ExcellentExport.js - [:heart: Sponsor ExcellentExport.js project:heart:](https://github.com/sponsors/jmaister) - JavaScript export to Excel or CSV. - A quick JavaScript library to create export to Excel/CSV from HTML tables in the browser. No server required. - As part of the new version 3.0.0+, there is support for _XLSX_. The drawback is that the library is 600+ KB. - If you only need _XLS_ or _CSV_, use _2.X.X_ versions. - Check My Blog Page for Testing : [JavaScript export to Excel](http://jordiburgos.com/post/2013/javascript-export-to-excel.html) [ExcellentExport.js update: JavaScript export to Excel and CSV](http://jordiburgos.com/post/2017/excellentexport-javascript-export-to-excel-csv.html) # Revision history: ### 3.7.0 * Added option `openAsDownload: boolean`. Use this option to download as a file without using an anchor tag. So download can be triggered from a button. * _Update npm dependencies to fix vulnerabilities_ ### 3.6.0 * Added sponsor link to the project [:heart: Sponsor ExcellentExport.js project:heart:](https://github.com/sponsors/jmaister) * Transform the project from JavaScript to TypeScript * Configure Jest as test runner * _Update npm dependencies to fix vulnerabilities_ ### 3.5.0 * Add fixValue and fixArray functions to configuration: these configuration functions can be used to manipulate the values of the cells. * _Update npm dependencies to fix vulnerabilities_ ### 3.4.3 * _Update npm dependencies to fix vulnerabilities_ ### 3.4.2 * Remove ES6 function syntax to support IE11 * _Update npm dependencies to fix vulnerabilities_ ### 3.4.0 * Configure TravisCI on GitHub * Update npm dependencies to fix vulnerabilities ### 3.3.0 * Remove columns by index * Filter rows by value * _Updated build to Webpack 4.x.x_ ### 3.2.1 * _Update npm dependencies to fix vulnerabilities_ ### 3.2.0 * _Update npm dependencies to fix vulnerabilities_ ### 3.1.0 * Fix old API for base64 and escaping problem. ### 3.0.0 * XLSX support. This bumps the build size to 640 KB. * New API : ExcellentExport.convert(...) * Autogenerate download filename. * Data input from arrays or HTML Tables. * Multiple sheets for XLS or XLSX formats. ### 2.1.0 * Add Webpack build. * Create UMD JavaScript module. Library can be loaded as a module (import, RequireJS, AMD, etc...) or standalone as window.ExcelentExport. ### 2.0.3 * Fix export as a module. * Changed minifier to UglifyJS. ### 2.0.2 * Fix CSV Chinese characters and other special characters display error in Windows Excel. * Fix URL.createObjectURL(...) on Firefox. ### 2.0.0 * Now it can export to big files +2MB. * Minimum IE 11. * Links open with URL.createObjectURL(...). * NPM package available. * Using Semantic versioning (2.0.0 instead of 2.0). * Module can be loaded standalone or with RequireJS. * Change license to MIT. ### 1.5 * Possibility to select a CSV delimiter. * Bower package available. * Compose package available. ### 1.4 * _Add LICENSE.txt with GPL v3_ * UTF-8 characters fixed. ### 1.3 * _Added minified version_ ### 1.1 * _Added CSV data export_ ### 1.0 * _Added Excel data export_ ## Compatibility - Firefox - Chrome - Internet Explorer 11+ # Install ## npm npm install excellentexport --save ## yarn yarn add excellentexport ## bower bower install excellentexport # Load **Include script in your HTML:** **Include script in your HTML using CDN:** **Require.js** **ES6 import** import ExcellentExport from 'excellentexport'; # Usage
100 | 200 | 300 |
400 | 500 | 600 |