Comparing version 0.2.1 to 0.3.0
#!/usr/bin/env node | ||
var proc = require('../build/default/getrusage'); | ||
var proc = require('getrusage'); | ||
var util = require('util'); | ||
@@ -16,3 +16,3 @@ | ||
console.log('CPU Time: ', proc.getcputime()); | ||
console.log('User Time: ', proc.getusertime()); | ||
console.log('User Time: ', proc.getsystemtime()); | ||
}); |
#!/usr/bin/env node | ||
var proc = require('../build/default/getrusage'); | ||
var proc = require('getrusage'); | ||
var fs = require('fs'); | ||
var app = require('express').createServer(); | ||
var count = 0; | ||
@@ -21,4 +19,2 @@ | ||
app.listen(); | ||
setInterval(function() { | ||
@@ -25,0 +21,0 @@ console.log(proc.usage()); |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/davglass/node-getrusage", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"maintainers": [ | ||
@@ -27,3 +27,6 @@ { | ||
], | ||
"main": "./build/default/getrusage", | ||
"main": "./index.js", | ||
"dependencies": { | ||
"bindings": "*" | ||
}, | ||
"scripts": { | ||
@@ -36,5 +39,5 @@ "build": "node-waf configure build", | ||
"engines": { | ||
"node": ">=0.4.0" | ||
"node": ">=0.6.0" | ||
} | ||
} | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11
7458
1
31
2
+ Addedbindings@*
+ Addedbindings@1.5.0(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)