You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This lib allows you to build and write an Excel file dynamically, it does **not*
21
21
### Comparison to similar libraries
22
22
23
23
Excel-buider-vanilla is at the minimum 6x times smaller than the most popular libraries (we used `Bundlephobia` to compare), excel-builder-vanilla is 22Kb gzip while [XLSX](https://bundlephobia.com/package/xlsx) is 136Kb and [ExcelJS](https://bundlephobia.com/package/exceljs) is 251Kb gzip. The reason as to why it's much smaller is simple and relates to 2 major differences:
24
-
- excel-builder-vanilla is ESM and all other libraries are CJS only (CommonJS) increasing their download size
24
+
- excel-builder-vanilla is ESM-Only and all other libraries are only offering CJS (CommonJS) increasing their download/install size
25
25
- excel-builder-vanilla only offers Excel export (writing) but without any reading capabilities
26
26
27
27
## Live Demo
@@ -38,7 +38,7 @@ You can also take a look at the "[Used by](#used-by)" section below to see real
Excel-Builder-Vanilla is a fork of the popular [excel-builder.js](https://github.com/stephenliberty/excel-builder.js) project (thanks to @stephenliberty for this great library). The main goal of creating this fork was to modernize the project by removing old dependencies that are no longer necessary and also replace `JSZip` by `fflate` which provides an ESM build and is indirectly giving us better Tree Shaking. The other goal was also to provide an ESM build to eventually get away from CommonJS (CJS bundle is still offered but we strongly suggest that you migrate to the ESM approach)
41
+
Excel-Builder-Vanilla is a fork of the popular [excel-builder.js](https://github.com/stephenliberty/excel-builder.js) project (thanks to @stephenliberty for this great library). The main goal of creating this fork was to modernize the project by removing old dependencies that are no longer necessary and also replace `JSZip` by `fflate` which provides an ESM build and is indirectly giving us better Tree Shaking. The other goal was also to provide an ESM build
42
42
43
43
The modernization steps:
44
44
- migrate to TypeScript (which is giving us TS Types `d.ts`)
@@ -92,7 +88,7 @@ Please note that since we use `fflate` (which creates and compresses the Excel f
92
88
93
89
### Used by
94
90
95
-
This fork was created mostly to support Tree Shaking (ESM), to get away from CJS, to provide TS Types and finally to update all project dependencies. It is used by a few other Open Source libraries that I also maintain and require Excel export:
91
+
This fork was created mostly to support Tree Shaking (ESM), to provide TS Types and finally to update all project dependencies. It is used by a few other Open Source libraries that I also maintain and require Excel export:
0 commit comments