Skip to content

Install

Boostify is free and open source. No license required.

You can install Boostify using npm or include it directly via CDN:

Terminal window
npm install boostify
import Boostify from 'boostify';
const bstf = new Boostify({
debug: true
});

Include Boostify directly in your HTML:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script src="https://unpkg.com/boostify@latest/dist/Boostify.umd.js"></script>
<script>
const bstf = new Boostify({ debug: true });
</script>
</body>
</html>
OptionTypeDefaultDescription
debugBooleanfalseEnable colorful console logging for debugging

When debug: true, you’ll see colorful logs in your browser console with emojis and gradients:

EventEmojiColor
Boostify init🚀Purple gradient
OnLoadPurple/violet
Click👆Pink/coral
Scroll📜Green/turquoise
Observer👁️Cyan/blue
Inactivity💤Pink/yellow
Script loaded📦Bright green
Style loaded🎨Pink

This makes it easy to see exactly what Boostify is doing and when.

With Boostify installed, you can: