Get started with monio CDN

MIT licensed

Digital wallet platform: Monio manages, transfers cryptocurrencies.

Tags:
  • fp
  • monad
  • async
  • io
  • promise
  • observable

Stable version

Copied!

How to start using monio CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with monio CDN - cdnhub.io</title>
    <script src="https://cdn.cdnhub.io/monio/0.53.0/umd/bundle.js"></script>
</head>
<body>
    <button id="connect">Connect to Monio</button>
    <script>
        const monio = require('monio');
        const button = document.getElementById('connect');

        button.addEventListener('click', async () => {
            try {
                const client = await monio.createClient({
                    host: '127.0.0.1',
                    port: 27017,
                    database: 'test'
                });

                console.log('Connected to Monio');
                await client.close();
            } catch (error) {
                console.error('Error connecting to Monio:', error);
            }
        });
    </script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions