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

xzx-seckbd

v0.0.9

Published

新中新安全键盘数据接入使用,用于定制安全键盘,支持前端任何框架。

Readme

Xzx Secure Keyboard

新中新安全键盘数据接入使用,用于定制安全键盘,支持前端任何框架。

  • ✅ 支持 Typescript
  • ✅ 支持 Vue3Vue2.7,支持Hooks使用。
  • ✅ 支持 Vite全局配置。

原生&前端框架使用

查看 options 相关配置

import { createSeckbd } from 'xzx-seckbd'

const seckbd = createSeckbd({
  // ...options
  create: (e) => {
    if (e.success) {
      const { uuid, symbol, password, lowerLetter, upperLetter } = e.data
    }
  }
})

Vue

<template>
  <button @click="update">更新安全键盘</button>
</template>
<script setup>
  import { useSeckbd } from 'xzx-seckbd/vue'

  const { all, uuid, symbol, password, lowerLetter, upperLetter, update } =
    useSeckbd({
      // ...options,
      ready: () => {},
      error: (error) => {}
    })
</script>

Options

baseURL

Type: string Default: '' Description: 接口请求 baseurl

authorization

Type: string Default: '' Description: 请求凭证,程序优先自动寻找,如未找到,请手动传入

tenantId

Type: string Default: '' Description: 租户 ID,非 saas 场景下无需配置

source

Type: string Default: h5 Description: 场景来源,默认 h5

type

Type: Number | Standard Default: Standard Description: 键盘类型,数字键盘和全键盘,默认全键盘

disorder

Type: boolean Default: false Description: 键盘是否乱序

create

Type: function Default: (e) => {} Description: 创建