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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@binance/falcon-web

v1.2.6

Published

Web Risk SDK

Readme

FalconJS

FalconJS是Web浏览器安全解决方案。 FalconJS会使用一些黑科技对用户浏览器进行唯一性标识。FalconJS还会检测当前浏览器是否处于风险环境, 例如:恶意的浏览器插件,Headless Browser,反指纹浏览器,远程屏幕共享软件,黑客调试行为,机器人自动化操作等风险行为。 这些功能将应用于各种风险场景,如Batch Registration,ATO,Scam等各种风险场景。

FalconJS is a web browser security solution. It utilizes advanced techniques to uniquely identify user browsers. Additionally, FalconJS detects whether the current browser is in a risky environment, such as malicious browser extensions, headless browsers, anti-fingerprinting browsers, remote screen sharing software, hacker debugging activities, robot automation, and other risky behaviors. These functionalities are applied to various risk scenarios, including batch registration, ATO, scams, and other risk situations.

Usage

1. 导入npm包

2. Params

FalconJS需要按接入场景不同,传入不同的参数

| Field Name | Type | explain | |------------|--------|--------------------------------------| | appid | string | 由Risk颁发,请联系bobby.ll | | userID | string | 用户ID | | channel | string | browser或者electron,用于区分客户端类型 | | event | string | 接入的事件类型,例如:WEB_LOGIN:登录,WEB_REG:用户注册 | | fvideo_id | string | 设备指纹id |

例如:

  var appid = "fc8q5jqk"   // 由Risk颁发,请联系bobby.ll
  var userID = "5945712"   // 
  var channel = "browser"  // browser或者electron,用于区分客户端类型
  var event = "WEB_LOGIN"  // WEB_LOGIN:登录,WEB_REG:用户注册
  var fvideo_id = "aqweyu454sadanjhdgv"  // WEB_LOGIN:登录,WEB_REG:用户注册, WEB_APPEAL:用户申诉
  var bean = new FalconJS.BaseBean(appid, userID, channel, event, fvideo_id);

有些特定的场景需要传递额外的参数,例如:

var appid = "fc8q5jqk"   // 由Risk颁发,请联系bobby.ll
var userID = "5945712"   // 
var channel = "browser"  // browser或者electron,用于区分客户端类型
var event = "WEB_LOGIN"  // WEB_LOGIN:登录,WEB_REG:用户注册
var fvideo_id = "aqweyu454sadanjhdgv"  // WEB_LOGIN:登录,WEB_REG:用户注册, WEB_APPEAL:用户申诉
var bean = new FalconJS.BaseBean(appid, userID, channel, event, fvideo_id);

3. FalconJS API

FalconJS API接口比较简单,只需要传入上面构造好的bean,以及主站的网络接口(需要导入主站的http包)即可,例如:

  var falcon = new FalconJS.FalconWorker();
  falcon.run(bean, {get, post})
    .then(function (result) {
      console.log(result);
    })
    .catch(function (error) {
      console.log(error);
    });

3. Example

<!DOCTYPE html>
<html lang='en'>
<head>
  <meta charset='UTF-8'>
  <title>Test Falcon Release</title>
  <script src="./fc.js"></script>
  <script src="./http.js"></script>
</head>
<body>
<script>
  var appid = "fc8q5jqk"   // 由Risk颁发,请联系bobby.ll
  var userID = "5945712"   // 
  var channel = "browser"  // browser或者electron,用于区分客户端类型
  var event = "WEB_LOGIN"  // WEB_LOGIN:登录,WEB_REG:用户注册
  var fvideo_id = "aqweyu454sadanjhdgv"  // WEB_LOGIN:登录,WEB_REG:用户注册, WEB_APPEAL:用户申诉
  var bean = new FalconJS.BaseBean(appid, userID, channel, event, fvideo_id);
  bean.setEventParam("email", "[email protected]")
  var falcon = new FalconJS.FalconWorker();
  falcon.run(bean, {get, post})
    .then(function (result) {
      console.log(result);
    })
    .catch(function (error) {
      console.log(error);
    });
</script>

</body>
</html>

Changelog

V1.0.0 Falcon SDK第一版

Author

  • bobby.ll