> For the complete documentation index, see [llms.txt](https://ksdaemon.gitbook.io/wampy.js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ksdaemon.gitbook.io/wampy.js/installation.md).

# Installation

Wampy.js can be installed using `surprisingly` npm :)

```bash
> npm install wampy
```

For simple browser usage just download the latest browser.zip archive and add wampy-all.min.js file to your page. It contains msgpack encoder plus wampy itself.

```html
<script src="browser/wampy-all.min.js"></script>
```

In case, you don't plan to use msgpack, just include clean wampy.min.js.

```html
<script src="browser/wampy.min.js"></script>
```

In case you are using any kind of build tools and bundlers, like grunt/gulp/webpack/rollup/vite/etc, your entry point can be **src/wampy.js** if you transpile you code somehow, or **dist/wampy.js** (default package entry point) which is already transpiled to "env" preset, so it is working out of the box, just bundle modules.
