Skip to content

Commit d6e18ec

Browse files
authored
docs: remove CJS leftover
1 parent 4e335b1 commit d6e18ec

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/excel-builder-vanilla/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ npm install excel-builder-vanilla
1616

1717
The project offers 3 different bundle types, choose the best for your use case
1818
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
2120

2221
```ts
2322
// ESM - npm install
2423
import { createWorksheet } from 'excel-builder-vanilla';
2524

26-
// CJS - npm install
27-
const { createWorksheet } = require('excel-builder-vanilla');
28-
2925
// IIFE - CDN
3026
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/excel-builder.iife.js"></script>
3127
<script>

0 commit comments

Comments
 (0)