Skip to content

Commit 3a7b59f

Browse files
committed
doc
1 parent 6356d58 commit 3a7b59f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ deepStrictEqual(decode(encoded), object);
5959
- [NodeJS](#nodejs)
6060
- [Benchmark](#benchmark)
6161
- [Distribution](#distribution)
62+
- [NPM / npmjs.com](#npm--npmjscom)
63+
- [CDN / unpkg.com](#cdn--unpkgcom)
6264
- [Maintenance](#maintenance)
6365
- [Testing](#testing)
6466
- [Continuous Integration](#continuous-integration)
@@ -388,6 +390,8 @@ Note that `Buffer.from()` for `JSON.stringify()` is added to emulate I/O where a
388390

389391
## Distribution
390392

393+
### NPM / npmjs.com
394+
391395
The NPM package distributed in npmjs.com includes both ES2015+ and ES5 files:
392396

393397
* `dist/` is compiled into ES2015+
@@ -397,6 +401,16 @@ The NPM package distributed in npmjs.com includes both ES2015+ and ES5 files:
397401

398402
If you use NodeJS and/or webpack, their module resolvers use the suitable one automatically.
399403

404+
### CDN / unpkg.com
405+
406+
This library is availble via CDN:
407+
408+
```html
409+
<script crossorigin src="https://unpkg.com/@msgpack/msgpack"></script>
410+
```
411+
412+
It loads `MessagePack` module to the global object.
413+
400414
## Maintenance
401415

402416
### Testing

0 commit comments

Comments
 (0)