tma-sysinfo
v1.0.2
Published
TMA中使用的信息获取
Downloads
3
Readme
仅获取系统信息,网卡信息,authtoken
***** 仅为了项目而定制,不支持其它使用 *****
installation
npm i tma-sysinfo
Usage
import TmaSysInfo from "tma-sysinfo"
TmaSysInfo.systemInformation((res: any) => {
console.log("系统信息:", res)
})
TmaSysInfo.authTokenSecret((key: any) => {
console.log("authroken.secret:", key)
}, "")
TmaSysInfo.networkInformation().then((res: any) => {
console.log("可用网卡信息:",res)
})