【文件属性】:
文件名称:is-electron:检测是否在Electron中运行
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-03 10:37:26
JavaScript
等电子
检测是否在Electron中运行。
安装
npm install --save is-electron
用法
import isElectron from 'is-electron' ;
console . log ( isElectron ( ) ) ;
执照
版权所有(c)2016 Cheton Wu
根据。
【文件预览】:
is-electron-master
----.github()
--------FUNDING.yml(718B)
----.npmignore(13B)
----.travis.yml(88B)
----LICENSE(1KB)
----test()
--------index.js(1KB)
----README.md(678B)
----index.d.ts(52B)
----.gitignore(26B)
----index.js(695B)
----package.json(751B)