fix JS IIFE readme [#347] (#349)

* fix JS IIFE readme [#347]

* js 3.0.2 - fix package.json and IIFE README
This commit is contained in:
Brandon Liu
2024-02-03 23:06:41 +08:00
committed by GitHub
parent a9977e3385
commit c43e73a813
6 changed files with 8 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
the [PMTiles](https://www.npmjs.com/package/pmtiles) package can be included via script tag or ES6 module:
```html
<script src="https://unpkg.com/pmtiles@2.5.0/dist/index.js"></script>
<script src="https://unpkg.com/pmtiles@<VERSION>/dist/pmtiles.js"></script>
```
All the PMTiles exports are available under the global `pmtiles` variable e.g. `pmtiles.PMTiles`.