test / test (push) Canceled after 0s
- CP210x / FTDI / PL2303 补齐 setSignals()(编码与各自初始化序列一致) - 新增 index.d.ts(TypeScript 类型声明)、examples/minimal.html(最小接入示例) - 新增 .gitea/workflows/ci.yml(push 时跑离线单测)、.gitattributes(强制 LF)、CHANGELOG.md - package.json 补 repository / homepage / bugs / types / engines - 单测 16 项全部通过:node test/driver.test.mjs
27 lines
997 B
JSON
27 lines
997 B
JSON
{
|
|
"name": "ch340-webusb",
|
|
"version": "1.0.0",
|
|
"description": "纯前端 CH340/CH341 USB 串口驱动:安卓 Chrome 走 WebUSB 零驱动,桌面走 Web Serial。Browser-only WebUSB driver for CH340/CH341 (plus CDC-ACM/CP210x/FTDI/PL2303) with a navigator.serial shim.",
|
|
"main": "ch340-webusb.js",
|
|
"types": "index.d.ts",
|
|
"files": [
|
|
"ch340-webusb.js",
|
|
"ch340-serial-shim.js",
|
|
"ch340-test.html",
|
|
"index.d.ts",
|
|
"docs",
|
|
"examples",
|
|
"README.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"test": "node test/driver.test.mjs"
|
|
},
|
|
"keywords": ["webusb", "web-serial", "ch340", "ch341", "usb-serial", "android", "serial", "otg", "cp210x", "ftdi", "pl2303"],
|
|
"repository": { "type": "git", "url": "git+https://gitea.truestudio.cn/jiangchen/ch340-webusb.git" },
|
|
"homepage": "https://gitea.truestudio.cn/jiangchen/ch340-webusb",
|
|
"bugs": { "url": "https://gitea.truestudio.cn/jiangchen/ch340-webusb/issues" },
|
|
"engines": { "node": ">=18" },
|
|
"license": "MIT"
|
|
}
|