Skip to content

Commit 9789670

Browse files
authored
docs: add other libs comparison
1 parent a745aa4 commit 9789670

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,15 @@
1818

1919
This lib allows you to build and write an Excel file dynamically, it does **not** include any reader capabilities making the library super lightweight for exporting to Excel.
2020

21+
### Comparison to similar libraries
22+
23+
Excel-buider-vanilla is at the minimum 6x times smaller compared to the most used libraries (we can compare via `Bundlephobia`), excel-builder-vanilla is 22Kb gzip while [XLSX](https://bundlephobia.com/package/xlsx) is 251Kb and [ExcelJS](https://bundlephobia.com/package/exceljs) is 251Kb gzip. The explanation is simple and relates to 2 major differences:
24+
- excel-builder-vanilla is ESM and all other libraries are CJS only (CommonJS) increasing the download and install size
25+
- excel-builder-vanilla only offers Excel export (writing) but without any reading capabilities
26+
2127
## Live Demo
2228

23-
Visit the [**Live demo**](https://ghiscoding.github.io/excel-builder-vanilla/) to get started and see all available options and methods that the library offers.<br>
29+
Visit the [**Live demo**](https://ghiscoding.github.io/excel-builder-vanilla/) to get started and see all available options and methods that the library offers (the demo is WYSIWYG (what you is what you get, UI vs Export)).<br>
2430
You can also take a look at the "[Used by](#used-by)" section below to see real world applications taking advantage of this library.
2531

2632
## Changelog
@@ -42,7 +48,7 @@ The modernization steps:
4248
- bump version to `v3.0.0` as a `major` release (_the original project version was in the `2.x` range._)
4349
- note that the changelog did not exists prior to `v3.0.0`
4450

45-
The project now requires only 1 dependency which is [fflate](https://github.com/101arrowz/fflate).
51+
The project now requires only 1 small dependency which is [fflate](https://github.com/101arrowz/fflate).
4652

4753
### Summary
4854

@@ -81,7 +87,6 @@ Please note that since we use `fflate` (which creates and compresses the Excel f
8187
```html
8288
<meta http-equiv="Content-Security-Policy"
8389
content="default-src 'self';
84-
// other rules...
8590
worker-src 'self' blob:;" />
8691
```
8792

0 commit comments

Comments
 (0)