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

fingerprint-plugin

v1.0.3

Published

a fingerprint plugin for ifreezer

Readme

指纹识别插件

安装

cordova plugin add fingerprint-plugin

使用

1.打开指纹

fingerprintPlugin.openFingerprint(param, successCallback, errorCallback);

2.关闭指纹

fingerprintPlugin.closeFingerprint(successCallback, errorCallback);

3.读取指纹模块数据

fingerprintPlugin.readFingerprint(successCallback, errorCallback);

4.中断指令

fingerprintPlugin.interrupt(successCallback, errorCallback);

5.查询手指状态

fingerprintPlugin.checkFingerStatus(successCallback, errorCallback);

6.注册指纹

fingerprintPlugin.registerFinger(param, successCallback, errorCallback);

7.匹配指纹

fingerprintPlugin.matchFinger(param, successCallback, errorCallback);

8.删除指纹

fingerprintPlugin.deleteFinger(param, successCallback, errorCallback);

示例

onDeviceReady: function() {
    fingerprintPlugin.openFingerprint(["/dev/ttysWK1", 115200], function(success) {
        alert(success);
        fingerprintPlugin.readFingerprint(function(data){
            alert(data);
        }, function(error) {
            alert(error);
        })
    }, function(error) {
        alert(error);
    });
},

字段说明

type	--	0x00 中断指令
		--	0x02 查询手指状态
		--	0x03 注册指纹
		--	0x04 匹配指纹
		--	0x05 删除指纹
		
reply	--	0x00 成功
		--	0x8F01 XOR校验错误
		--	0x8F02 SUM校验错误
		--	0x8F03 指令错误
		--	0x8F04 参数错误
		--	0x8F06 无系统文件
		--	0x8F07 系统错误
		--	0x8101 传感器初始化失败
		--	0x8102 传感器校正失败
		--	0x8201 手指检测超时
		--	0x8301 指纹已注册
		--	0x8304 指纹注册满
		--	0x8401 无注册指纹
		--	0x8402 匹配失败
		--	0x8501 删除指定的指纹模板失败
		
result	--	查询手指状态时 0-有手指 1-无手指
		--	注册指纹时(第三次) 注册的指纹ID
		--	匹配指纹时 匹配的指纹ID