@mcaptcha/svelte-glue

glue code to setup mCaptcha on your Svelte website

Usage no npm install needed!

<script type="module">
  import mcaptchaSvelteGlue from 'https://cdn.skypack.dev/@mcaptcha/svelte-glue';
</script>

README

Svelte JS Glue library

Embed mCaptcha widget in webpages built using Svelte Js

NPM JavaScript Style Guide 0.1.0 Build) codecov

Install

npm install --save @mcaptcha/svelte-glue

Usage

<script lang="ts">
    import Widget from '@mcaptcha/svelte-glue';

    const config = {
        widgetLink: new URL('https://demo.mcaptcha.org/widget/?sitekey=foo')
    };
</script>

<Widget {config} />