Skip to content

Sentiax/is-electron-expressjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

First download the pkg

npm i is-electron-expressjs --save-dev

Second use this script

const isBrowserElectron = require("is-electron-expressjs");

app.get('/', (req, res) => {
    res.send(`is electron? ${(isBrowserElectron(req, res)) ? 'Its Electron 👏' : 'Its not electron'};`);
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published