相关疑难解决方法(0)

如何在nodejs环境中处理用户代理?

我开始使用包"ua-parser"但是创建者太忙而无法保密或提交... npm ua-parser已经过时,需要直接从github下载.有人知道像ua-parser这样的其他优秀软件包已经更新并可以与expressjs一起使用吗?或者有办法处理expressjs?

user-agent node.js express

30
推荐指数
3
解决办法
4万
查看次数

在 Electron 中输出用户名

我真的知道如何在 Electron 应用程序中输出用户名。所以像这样:

const os = require('os')
const username = // the code or the username so that it can be displayed
document.write("The username is: " + username)
Run Code Online (Sandbox Code Playgroud)

那可能吗?

javascript node.js electron

3
推荐指数
1
解决办法
3299
查看次数

标签 统计

node.js ×2

electron ×1

express ×1

javascript ×1

user-agent ×1