js-cloudflare-turnstile-render
Get the byte length of an ArrayBuffer, even in engines without a .byteLength
method.
Example
const CloudflareTurnstile = require('js-cloudflare-turnstile-render');
const turnstile = new CloudflareTurnstile('SITEKEY, '#cloudflare-turnstile-show', (token) => {console.log(token)}).load();
Tests
Simply clone the repo, npm install