Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

getrusage

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getrusage - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

index.js

4

examples/example.js
#!/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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc