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.1.4 to 0.2.0

2

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/davglass/node-getrusage",
"version": "0.1.4",
"version": "0.2.0",
"maintainers": [

@@ -8,0 +8,0 @@ {

@@ -10,4 +10,4 @@ ## getrusage for Node

Or:
Or:
git clone git://github.com/davglass/node-getrusage.git

@@ -20,4 +20,4 @@ cd node-getrusage

var proc = require('getrusage');
console.log(proc.usage());
console.log(proc.getcputime());
console.log(proc.getusertime());
console.log(proc.usage()); # Run "man getrusage" for fields.
console.log(proc.getcputime()); # User time + system time.
console.log(proc.getsystemtime()); # System time.

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