npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

zencf

v2.0.3

Published

A client library for accessing the CF Bypass.

Downloads

1,093

Readme

🚀 zencf - CF Clearance Scraper Module

Klien API untuk Cloudflare Bypass
Bypass Cloudflare WAF & Turnstile tanpa browser headless.

zencf adalah klien ringan untuk mengatasi tantangan Cloudflare seperti WAF dan Turnstile tanpa perlu menjalankan browser headless.


💾 Instalasi

Menggunakan npm

npm install zencf

Menggunakan yarn

yarn add zencf

📋 Penggunaan

Modul ini mendukung CommonJS (require) dan ES Modules (import).


🧱 Contoh Penggunaan — CommonJS

• WAF Session

const { zencf } = require('zencf')

async function main() {
  const session = await zencf.wafSession('httos://example.com/')

  console.log('Cookies:', session.cookies)
  console.log('User-Agent:', session.headers['User-Agent'])
}

main().catch(console.error)

• Turnstile Min

const { zencf } = require('zencf')

async function solve() {
  const { token } = await zencf.turnstileMin(
    'https://spotimate.io',
    '0x4AAAAAAA_b5m4iQN755mZw'
  )

  console.log('Turnstile Token:', token)
}

solve().catch(console.error)

• Turnstile Max

const { zencf } = require('zencf')

async function solve() {
  const { token } = await zencf.turnstileMax(
    'https://spotimate.io'
  )

  console.log('Turnstile Token (Max):', token)
}

solve().catch(console.error)

• Ambil HTML Source

const { zencf } = require('zencf')

async function getSource() {
  const res = await zencf.source('httos://example.com/')

  console.log(res.source.slice(0, 300))
}

getSource().catch(console.error)

📦 Contoh Penggunaan — ES Modules (Static Import)

Turnstile Min

import { zencf } from 'zencf'

const { token } = await zencf.turnstileMin(
  'https://spotimate.io',
  '0x4AAAAAAA_b5m4iQN755mZw'
)

console.log('Token Turnstile:', token)

WAF Session

import { zencf } from 'zencf'

const session = await zencf.wafSession('httos://example.com/')

console.log(session.cookies)
console.log(session.headers['User-Agent'])

Ambil Source (ESM)

import { zencf } from 'zencf'

const page = await zencf.source('https://spa-website.com/')

console.log(page.source.substring(0, 200) + '...')

⚙️ ES Modules — Dynamic Import

async function run() {
  const { zencf } = await import('zencf')

  const { token } = await zencf.turnstileMin(
    'https://spotimate.io',
    '0x4AAAAAAA_b5m4iQN755mZw'
  )

  console.log(token)
}

run().catch(console.error)

🧭 API Reference

Semua fungsi bersifat async dan akan melempar Error jika gagal.


1️⃣ zencf.wafSession(url, proxy?)

Mengambil cookies dan headers untuk melewati Cloudflare WAF.

Parameter:

url (string, wajib) — URL target

proxy (string, opsional) — host:port atau user:pass@host:port

const session = await zencf.wafSession('https://example.com')

2️⃣ zencf.turnstileMin(url, siteKey, proxy?)

Menyelesaikan Cloudflare Turnstile dengan mode cepat.

const { token } = await zencf.turnstileMin(
  'https://example.com/login',
  'SITE_KEY'
)

3️⃣ zencf.turnstileMax(url, proxy?)

Mode maksimum dengan simulasi interaksi pengguna.

const { token } = await zencf.turnstileMax('https://example.com')

4️⃣ zencf.source(url, proxy?)

Mengambil HTML halaman setelah melewati Cloudflare.

const res = await zencf.source('https://spa-website.com')
console.log(res.source)

⚠️ Penanganan Error

try {
  const { token } = await zencf.turnstileMin(url, siteKey)
  console.log(token)
} catch (err) {
  console.error('zencf error:', err.message)
}

🔒 Catatan Keamanan

Token Turnstile harus diverifikasi di server-side

Hindari logging token sensitif di produksi

Gunakan proxy dari sumber tepercaya


🧠 Tips Penggunaan

turnstileMin → cepat & ringan

turnstileMax → proteksi ketat

wafSession → tahap awal scraping

source → situs SPA / HTML awal

🔗 Jangan lupa follow channel kami untuk info selanjutnya

[!]