Installation

Get WakaPAC up and running in seconds. No build tools, no npm, no configuration - just add a script tag.

System Requirements

  • Modern browser with ES6+ support (Chrome 51+, Firefox 54+, Safari 10+, Edge 15+)
  • No build tools required
  • No dependencies - WakaPAC is completely standalone

Installation Methods

Option 1: CDN (Recommended)

Add WakaPAC directly from CDN. The CDN delivers WakaPAC globally cached and compressed:

<script src="https://cdn.jsdelivr.net/gh/quellabs/wakapac@main/wakapac.min.js"></script>

Option 2: Download Files

Download and host WakaPAC yourself:

curl -O https://raw.githubusercontent.com/quellabs/wakapac/main/wakapac.min.js

Adding Plugins

WakaPAC ships optional plugins that extend the core library with additional functionality - for example, wakasync.min.js adds HTTP request helpers. Each plugin is a separate script file, loaded after the core library:

<script src="https://cdn.jsdelivr.net/gh/quellabs/wakapac@main/wakapac.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/quellabs/wakapac@main/plugins/wakasync.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/quellabs/wakapac@main/plugins/wakamask.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/quellabs/wakapac@main/plugins/wakayoutube.min.js"></script>

Frequently Asked Questions

Do I need npm or a build tool to install WakaPAC?

No. WakaPAC requires no build tools and no npm install — just add a single script tag to your HTML.

What's the recommended way to load WakaPAC?

The CDN option is recommended: a single script tag pointed at jsDelivr, which delivers WakaPAC globally cached and compressed. Downloading the file and hosting it yourself is also supported.

Which browsers does WakaPAC support?

Any modern browser with ES6+ support: Chrome 51+, Firefox 54+, Safari 10+, or Edge 15+.

How do I add an optional plugin like WakaSync?

Add the plugin's script tag after the core wakapac.min.js tag — for example plugins/wakasync.min.js. Then call wakaPAC.use(WakaSync) to bootstrap the plugin.