browser-serial:与浏览器中的串行端口通信的API。 使用实验性串行API https

时间:2021-04-08 10:34:07
【文件属性】:
文件名称:browser-serial:与浏览器中的串行端口通信的API。 使用实验性串行API https
文件大小:112KB
文件格式:ZIP
更新时间:2021-04-08 10:34:07
TypeScript 浏览器串行 与浏览器中的串行端口通信的API。 该软件包目前正在积极开发中,我们的贡献值得欢迎! 关于 此API建立在基础上,该当前在Chromium浏览器中处于“实验”阶段,必须在浏览器的“实验Web平台功能”中启用才能使用。 复制并粘贴以下URL,以在浏览器中启用它: chrome://flags/#enable-experimental-web-platform-features opera://flags/#enable-experimental-web-platform-features edge://flags/#enable-experimental-web-platform-features 要了解有关此功能状态的更多信息,请参阅。 安装 npm install browser-serial 用法: 导入包裹 import { BrowserSerial } from
【文件预览】:
browser-serial-main
----src()
--------BrowserSerial.ts(7KB)
----tsconfig.json(6KB)
----config()
--------webpack.dev.js(253B)
--------webpack.prod.js(151B)
--------webpack.common.js(713B)
----LICENSE(1KB)
----test()
--------index.html(418B)
--------index.ts(217B)
----README.md(2KB)
----.gitignore(20B)
----package-lock.json(430KB)
----package.json(1KB)

网友评论