🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cordova-plugin-uptime

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-uptime - npm Package Compare versions

Comparing version

to
0.0.6

.idea/cordova-plugin-uptime.iml

2

package.json
{
"name": "cordova-plugin-uptime",
"version": "0.0.5",
"version": "0.0.6",
"description": "This plugin return the time spent in milliseconds since boot (without sleep time).",

@@ -5,0 +5,0 @@ "cordova": {

# cordova-plugin-uptime

@@ -16,2 +17,4 @@

**Ionic Framework 2+ - TypeScript**
import { Uptime } from '@ionic-native/uptime';

@@ -26,3 +29,14 @@

.catch((error: any) => console.log(error));
**ES5 based platforms:**
Uptime.getUptime(
function(uptime) {
console.log('Uptime (ms): ', uptime);
},
function(err) {
console.log(err);
}
);
## Author
This plugin is made with :heart: by [Silviu Stroe](https://silviu-s.com/)

Sorry, the diff of this file is not supported yet