File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
packages/excel-builder-vanilla Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,12 @@ npm install excel-builder-vanilla
16
16
17
17
The project offers 3 different bundle types, choose the best for your use case
18
18
1 . ESM: to ` import from ` (preferred)
19
- 2 . CJS: CommonJS to support old Node ` require() ` - will possibly be removed in the future
20
- 3 . IIFE: standalone script with ` ExcelBuilder ` available on the ` window ` object
19
+ 2 . IIFE: standalone script with ` ExcelBuilder ` available on the ` window ` object
21
20
22
21
``` ts
23
22
// ESM - npm install
24
23
import { createWorksheet } from ' excel-builder-vanilla' ;
25
24
26
- // CJS - npm install
27
- const { createWorksheet } = require (' excel-builder-vanilla' );
28
-
29
25
// IIFE - CDN
30
26
< script src = " https://cdn.jsdelivr.net/npm/[email protected] /dist/excel-builder.iife.js" > </
script >
31
27
<script >
You can’t perform that action at this time.
0 commit comments