is-cordova

1.1.0 • Public • Published

detect if currently in cordova app

is-cordova will tell you if the app is running in cordova context

Usage:

import isCordova from "is-cordova"

if (isCordova) {
    console.log("We're in cordova!")
}

Readme

Keywords

Package Sidebar

Install

npm i is-cordova

Weekly Downloads

40

Version

1.1.0

License

ISC

Unpacked Size

3.58 kB

Total Files

7

Last publish

Collaborators

  • basiclaser