{"_id":"zencf","_rev":"10-f352e6e47bb9f57e0844040f1fc618b4","name":"zencf","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"zencf","version":"1.0.0","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@1.0.0","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"8a567df15feab7dc89a19c9e43133d22fa1acae0","tarball":"https://registry.npmjs.org/zencf/-/zencf-1.0.0.tgz","fileCount":4,"integrity":"sha512-Fe5u3ExCddEOZVhl35Zh7UQ9I79rZjkiTL4zzTevH00NxpGb+Hq8pzfmoSLcq4Aed/q8hL1JN6JtUnhhrN6+Og==","signatures":[{"sig":"MEYCIQD0sITPukobNsGDJA2bnoEtg9VspF/qOH0y/+2oXU3rXwIhANoF1xH8mbgngmjN/GY7xVkHeI5v9UEghFfbXNv6tkjn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7804},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_1.0.0_1765652078235_0.9444544990825501","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"zencf","version":"1.1.0","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@1.1.0","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"80394734cee515c7ea2c2ebf88dca402fd1c8040","tarball":"https://registry.npmjs.org/zencf/-/zencf-1.1.0.tgz","fileCount":4,"integrity":"sha512-B7ttjtd0VjPwoiPlBswpb36kKslVhw0s6bFo04RLSCUc8L2S0aULPHVG5cCEOJ1vDC/3YphdXza6QzfqdxX9NA==","signatures":[{"sig":"MEUCICz3c+3yb9SHNNg5Q8LMnqlfcqaRLVu0f9aNEc8IhjT1AiEArQSmg0BotJ5rdrb1lZ58H+9Qus/HcAa8NA+xb7wdhA8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7804},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_1.1.0_1765653374956_0.33479734389567417","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"zencf","version":"1.2.0","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@1.2.0","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"7d425e1fdcfa134f99f3d8d3bfa73c2df46d268a","tarball":"https://registry.npmjs.org/zencf/-/zencf-1.2.0.tgz","fileCount":4,"integrity":"sha512-T4J8WdYAADLT03/99MmXj5v/5dxJxJ9sW7VPZEYdwmBi3ase2armouHg6oqVVFyCfS1xCH+j6+bo0V1RbE0vMg==","signatures":[{"sig":"MEUCIF7KEUxEWqvA47rbE6Q4YzTMaKRYGdw8jrW3d6ZxiY5ZAiEAu1na4qcCya5vj/oVZaU7XQ+0JTrCwq2IzlEm7AwHNa8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6894},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_1.2.0_1765653595089_0.7569062248496197","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"zencf","version":"1.3.0","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@1.3.0","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"215628b4c0462015797c34c58cf807395b50ea10","tarball":"https://registry.npmjs.org/zencf/-/zencf-1.3.0.tgz","fileCount":4,"integrity":"sha512-mOa+DAIhgAhHj94sLI3T2D6VoHhr8+I0t0qJO/euaoVSnEkZQqBsqiD52k/3/dBz61HTVuM1xcO2SjKrzrLSJQ==","signatures":[{"sig":"MEUCICNf3SOFhfR7nGbkrMK1KYkXxnfNx3U+k0KB10/Rx0u6AiEA9oHt9AOlPqRDfgRQQaTJxwpJq/rebw3FaadQpGeAhpE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6795},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_1.3.0_1765654166751_0.7619405780749899","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"zencf","version":"1.5.0","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@1.5.0","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"a14be87eb201e7cdfe1a4f9c26197ea50895411d","tarball":"https://registry.npmjs.org/zencf/-/zencf-1.5.0.tgz","fileCount":4,"integrity":"sha512-QJb4JH+YLUeWLKpOmxUp15yiM/aWvioYhQ6s3EMeePYu9qRpLak2+hc2JMUhk0hxnn5BNiQJg4fewbA1FU5rTA==","signatures":[{"sig":"MEQCIG43MWNQLe/oEchBCoaU6fXSHu5kuyPXUR92HOwd48QNAiB5oxIpj1oLcOUc4qI/UsA3XBeM0ZdafyDMc2+4NkB85Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8045},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_1.5.0_1765655184788_0.42924605329950394","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"zencf","version":"1.6.0","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@1.6.0","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"2cbdbc83e7f412a03731736c8228dfb140063af1","tarball":"https://registry.npmjs.org/zencf/-/zencf-1.6.0.tgz","fileCount":4,"integrity":"sha512-yz6PLVxQhZGe7Ky3W6IuIuQBb02XV1rPG+D8/IRLTqmhIFW9b4Q0MqUoShRY2Fg7DIsGcQ4l0wmfQro+3DF3aw==","signatures":[{"sig":"MEYCIQCMePk5WRjBTea1E/6aVrFb3DeC9Ks7WqX39/noVPE1wQIhAPr7Q1iX/uP652N9YBdsuJ9yUNE8vAocTIyX4gZodNGN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8775},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_1.6.0_1765693492438_0.5600027360557058","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"zencf","version":"2.0.0","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@2.0.0","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"d6eb800b339cff0037543f416a32f2fe7bfd4fe1","tarball":"https://registry.npmjs.org/zencf/-/zencf-2.0.0.tgz","fileCount":4,"integrity":"sha512-ZTc9UoPbtGy2wWYEgk5BTvbydNYMHC1yvOQQSGCPMumLgpkjekmLB8bj5Pyu23AN2Q91ZO+8qeYadMMZnZ2t0w==","signatures":[{"sig":"MEUCICnbK9zGmlt94deSNj0FWLg3GSQstp3OpdyHTxZ8qWOoAiEAnVPJF4PfCl2mO/dpkEwNIiD3v+iQnN2LyMb/QLP1mY4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8720},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_2.0.0_1765701883169_0.013572429443140965","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"zencf","version":"2.0.1","keywords":["cloudflare","turnstile","scraper","bypass","tools","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@2.0.1","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"67b457924530ea83bef771608b3ca4c3a0c33c3c","tarball":"https://registry.npmjs.org/zencf/-/zencf-2.0.1.tgz","fileCount":4,"integrity":"sha512-2fffasU8SVwDlvIgVLP0763OAXuFKP3r8/2mR/2xIo/CGkaiHbhB1yt2V8HWNmXKh3WSQ5nqQW+A2tW2tydMfw==","signatures":[{"sig":"MEUCIQCywAqDd/toK8bGputwPyi1mGLjrj2ttR0sDOBFT9mLbgIgdGKsQduR3wUdqZpzPs5lFqO1LWvBY0crQlTfJc9lwAI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8705},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_2.0.1_1765701973719_0.08366211104405652","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"zencf","version":"2.0.2","keywords":["cloudflare","turnstile","scraper","bypass","tools","ZenzzXD","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","_id":"zencf@2.0.2","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"dist":{"shasum":"1544bf585322c5deff62e666b3b25e42f84c5853","tarball":"https://registry.npmjs.org/zencf/-/zencf-2.0.2.tgz","fileCount":4,"integrity":"sha512-JE0pcTI3RK+l+IL2yhOmy6mXq9sWD6XJceRHx300f6bYa94FKTE1tz9b+CkupafTBnRcP/1b0PDSEkhbKKLbyg==","signatures":[{"sig":"MEUCIHZ26TiM/Mny0UZ8ahHllVOxNRiEzRv2hcp2HVkI0n5DAiEAy9um2Aw/xhUjqRnowuWEQ4xrkYRxnRsUbkojgdiJfNs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8921},"main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"_npmVersion":"11.6.0","description":"A client library for accessing the CF Bypass.","directories":{},"_nodeVersion":"24.9.0","dependencies":{"node-fetch":"^2.6.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/zencf_2.0.2_1766066038085_0.523188697343506","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"zencf","version":"2.0.3","description":"A client library for accessing the CF Bypass.","main":"index.js","type":"commonjs","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["cloudflare","turnstile","scraper","bypass","tools","ZenzzXD","clearance"],"author":{"name":"ZenzzXD"},"license":"ISC","dependencies":{"node-fetch":"^2.6.7"},"_id":"zencf@2.0.3","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-lbbCBUFeGGjIscoOH+f7tBXCu/CTm2G0hlf2JcdkmwaOtge3C63IS8N358yXk+C+W4UO5mazZyS0r23qnBwWqQ==","shasum":"b7ed6a5d01f660f3ffac53c65f2258a83ce54820","tarball":"https://registry.npmjs.org/zencf/-/zencf-2.0.3.tgz","fileCount":4,"unpackedSize":9075,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDhvIfH7I3v7x7wNcegGyeRC6DkEKBOAaStJC2dGu5oEAIhAMbNuoatYoU2S2HoE3zENHn5w3jPmaAxmJOSEAr1nqz1"}]},"_npmUser":{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"},"directories":{},"maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/zencf_2.0.3_1766066288293_0.4677052824888177"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-13T18:54:38.153Z","modified":"2025-12-18T13:58:08.594Z","1.0.0":"2025-12-13T18:54:38.378Z","1.1.0":"2025-12-13T19:16:15.115Z","1.2.0":"2025-12-13T19:19:55.228Z","1.3.0":"2025-12-13T19:29:26.909Z","1.5.0":"2025-12-13T19:46:24.925Z","1.6.0":"2025-12-14T06:24:52.572Z","2.0.0":"2025-12-14T08:44:43.334Z","2.0.1":"2025-12-14T08:46:13.885Z","2.0.2":"2025-12-18T13:53:58.268Z","2.0.3":"2025-12-18T13:58:08.417Z"},"author":{"name":"ZenzzXD"},"license":"ISC","keywords":["cloudflare","turnstile","scraper","bypass","tools","ZenzzXD","clearance"],"description":"A client library for accessing the CF Bypass.","maintainers":[{"name":"zenzxz","email":"henikpurwanti2605@gmail.com"}],"readme":"# 🚀 zencf - CF Clearance Scraper Module\n\n**Klien API untuk Cloudflare Bypass**  \n_Bypass Cloudflare WAF & Turnstile tanpa browser headless._\n\n`zencf` adalah klien ringan untuk mengatasi tantangan Cloudflare seperti **WAF** dan **Turnstile** tanpa perlu menjalankan browser headless.\n\n---\n\n## 💾 Instalasi\n\n### Menggunakan npm\n```bash\nnpm install zencf\n\nMenggunakan yarn\n\nyarn add zencf\n```\n\n---\n\n**📋 Penggunaan**\n\nModul ini mendukung CommonJS (require) dan ES Modules (import).\n\n\n---\n\n**🧱 Contoh Penggunaan — CommonJS**\n\n### • WAF Session\n```javascript\nconst { zencf } = require('zencf')\n\nasync function main() {\n  const session = await zencf.wafSession('httos://example.com/')\n\n  console.log('Cookies:', session.cookies)\n  console.log('User-Agent:', session.headers['User-Agent'])\n}\n\nmain().catch(console.error)\n```\n\n---\n\n### • Turnstile Min\n\n```javascript\nconst { zencf } = require('zencf')\n\nasync function solve() {\n  const { token } = await zencf.turnstileMin(\n    'https://spotimate.io',\n    '0x4AAAAAAA_b5m4iQN755mZw'\n  )\n\n  console.log('Turnstile Token:', token)\n}\n\nsolve().catch(console.error)\n```\n\n---\n\n### • Turnstile Max\n\n```javascript\nconst { zencf } = require('zencf')\n\nasync function solve() {\n  const { token } = await zencf.turnstileMax(\n    'https://spotimate.io'\n  )\n\n  console.log('Turnstile Token (Max):', token)\n}\n\nsolve().catch(console.error)\n```\n\n---\n\n### • Ambil HTML Source\n\n```javascript\nconst { zencf } = require('zencf')\n\nasync function getSource() {\n  const res = await zencf.source('httos://example.com/')\n\n  console.log(res.source.slice(0, 300))\n}\n\ngetSource().catch(console.error)\n```\n\n---\n\n### 📦 Contoh Penggunaan — ES Modules (Static Import)\n\n• **Turnstile Min**\n\n```javascript\nimport { zencf } from 'zencf'\n\nconst { token } = await zencf.turnstileMin(\n  'https://spotimate.io',\n  '0x4AAAAAAA_b5m4iQN755mZw'\n)\n\nconsole.log('Token Turnstile:', token)\n```\n\n---\n\n• **WAF Session**\n\n```javascript\nimport { zencf } from 'zencf'\n\nconst session = await zencf.wafSession('httos://example.com/')\n\nconsole.log(session.cookies)\nconsole.log(session.headers['User-Agent'])\n```\n\n---\n\n• **Ambil Source (ESM)**\n\n```javascript\nimport { zencf } from 'zencf'\n\nconst page = await zencf.source('https://spa-website.com/')\n\nconsole.log(page.source.substring(0, 200) + '...')\n```\n\n---\n\n⚙️ **ES Modules — Dynamic Import**\n```javascript\nasync function run() {\n  const { zencf } = await import('zencf')\n\n  const { token } = await zencf.turnstileMin(\n    'https://spotimate.io',\n    '0x4AAAAAAA_b5m4iQN755mZw'\n  )\n\n  console.log(token)\n}\n\nrun().catch(console.error)\n```\n\n---\n\n🧭 **API Reference**\n\nSemua fungsi bersifat async dan akan melempar Error jika gagal.\n\n\n---\n\n1️⃣ `zencf.wafSession(url, proxy?)`\n\nMengambil cookies dan headers untuk melewati Cloudflare WAF.\n\nParameter:\n\nurl (string, wajib) — URL target\n\nproxy (string, opsional) — host:port atau user:pass@host:port\n\n```javascript\nconst session = await zencf.wafSession('https://example.com')\n```\n\n---\n\n2️⃣ `zencf.turnstileMin(url, siteKey, proxy?)`\n\nMenyelesaikan Cloudflare Turnstile dengan mode cepat.\n```javascript\nconst { token } = await zencf.turnstileMin(\n  'https://example.com/login',\n  'SITE_KEY'\n)\n```\n\n---\n\n3️⃣ `zencf.turnstileMax(url, proxy?)`\n\nMode maksimum dengan simulasi interaksi pengguna.\n```javascript\nconst { token } = await zencf.turnstileMax('https://example.com')\n```\n\n---\n\n4️⃣ `zencf.source(url, proxy?)`\n\nMengambil HTML halaman setelah melewati Cloudflare.\n```javascript\nconst res = await zencf.source('https://spa-website.com')\nconsole.log(res.source)\n```\n\n---\n\n### ⚠️ Penanganan Error\n```javascript\ntry {\n  const { token } = await zencf.turnstileMin(url, siteKey)\n  console.log(token)\n} catch (err) {\n  console.error('zencf error:', err.message)\n}\n```\n\n---\n\n### 🔒 Catatan Keamanan\n\nToken Turnstile harus diverifikasi di server-side\n\nHindari logging token sensitif di produksi\n\nGunakan proxy dari sumber tepercaya\n\n\n\n---\n\n### 🧠 Tips Penggunaan\n\n`turnstileMin` → cepat & ringan\n\n`turnstileMax` → proteksi ketat\n\n`wafSession` → tahap awal scraping\n\n`source` → situs SPA / HTML awal\n\n### 🔗 Jangan lupa follow channel kami untuk info selanjutnya\n[!]<a href=\"https://whatsapp.com/channel/0029Vap84RE8KMqfYnd0V41A\">\n      <img src=\"https://img.shields.io/badge/Join-WhatsApp%20Channel-25D366?logo=whatsapp&logoColor=white\" alt=\"WhatsApp Channel\" />\n    </a>\n---","readmeFilename":"README.md"}