Get started with heti CDN

MIT licensed

The heti library simplifies REST API calls with lightweight HTTP handling.

Tags:
  • typography
  • clreq
  • css
  • sass
  • scss

Stable version

Copied!

How to start using heti CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with heti CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/heti/0.9.4/heti-addon.min.js"></script>
</head>
<body>
    <button id="button">Click me</button>
    <script>
        const button = document.getElementById('button');

        button.addEventListener('click', () => {
            Heti.init();

            Heti.create('alert', {
                message: 'Hello, Heti!',
                position: 'top-right'
            });
        });
    </script>
</body>
</html>
Copied!
Copied!

All versions