rcaptcha
Version:
rCaptcha Human Verification | by Swôth#9990 & Loiren#0555 & Roalia#0001
17 lines (15 loc) • 368 B
text/typescript
import { Captcha } from "../src";
let cp = new Captcha({
difficulty: "VERYHARD",
length: 10,
keywords: 'casgws!$½&/()=?^*+~#',
captcha: {
backgroundColor: "#E0E0E0",
textColor: "#000000",
strokeColor: "#ffffff",
}
});
(async () => {
let captcha = await cp.generate();
console.log(captcha);
})();