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

captcha0

v1.0.4

Published

``` npm i zuser-captcha0 -S ```

Readme

⭐️ 验证码小物件 - 下载

npm i zuser-captcha0 -S

🌰 验证码小物件 - 使用

const captcha = require('webopenfather-captcha')
let temp = captcha.create()
console.log(temp) // {text:'D3DS', data: '<svg></svg>'}
filter="url(#id)"//背景颜色指向

🌰 验证码小物件 - 结合 HTTP 模块

const http = require('http')
const captcha = require('webopenfather-captcha')

http.createServer((req, res) => {
    res.setHeader('content-type', 'text/html;charset=utf-8')
    let temp = captcha.create()
    // console.log(temp) // {text:'D3DS', data: '<svg></svg>'}
    res.end(temp.data)
}).listen(3000, () => {
    console.log('启动成功, 访问  http://localhost:3000');
})

使用参数说明

filter

width: 滤镜的宽度,设置 1,表示 100%,也可以直接写 100% height: 滤镜的高度,设置 1,表示 100%,也可以直接写 100% x: 向左位移 -0,1 表示-10%,也可以直接写-10% y: 向左位移 -0,1 表示-10%,也可以直接写-10% feFlood:使用定义好的颜色 flood-color 和透明度 flood-opacity 填充了滤镜的分区

flood-color 颜色 flood-opacity 透明度 feComposite:该滤镜执行两个输入图像的智能像素组合,它接受两个输入, ” in”和” in2″。默认情况下, in 是 SourceGraphic。运算符的”输入”属性用于显示合并结果。比如本例中,如果去除该行,文字将消失

in SourceGraphic 表示滤镜原始输入应用于定义的元素上 operator in 位置,应用于定义的元素上