UNPKG

2captcha-ts-js

Version:

JavaScript library for easy integration with the API of 2captcha captcha solving service to bypass reCAPTCHA, hCaptcha, funcaptcha, geetest and solve any other captchas.

7 lines (6 loc) 319 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; const node_fetch_1 = __importDefault(require("node-fetch")); module.exports = typeof window === 'undefined' ? node_fetch_1.default : window.fetch.bind(window);