Skip to content

Detect if website was launched from mobile phone homescreen

Notifications You must be signed in to change notification settings

hanford/is-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-webapp

Detect if website was launched from mobile phone homescreen

Install

$ npm install --save is-webapp

Usage

const isWebApp = require('is-webapp')

isWebApp()
//=> true || false

License

MIT © Jack Hanford