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

proc

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proc - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

notes/should_equal1_files/paste.css

10

History.md
0.2.0 / 2012-03-28
==================
* Evaluate the prusage struct in pure JavaScript and don't block the event loop. (@mranney)
0.1.0 / 2012-03-28
==================
* First full full release.
0.0.3 / 2012-03-28

@@ -3,0 +13,0 @@ ==================

7

package.json
{
"name": "proc",
"version": "0.1.0",
"version": "0.2.0",
"description": "Expose system state via the /proc file system.",
"author": "Daniel D. Shaw <dshaw@dshaw.com> (http://dshaw.com)",
"main": "./proc",
"scripts": {
"install": "node-waf configure clean build"
}
"main": "./proc"
}

@@ -11,2 +11,2 @@ /*!

exports.usage = require('./build/Release/usage').usage;
exports.usage = require('./usage');

@@ -17,6 +17,5 @@ # Proc

setTimeout(function () {
var usage = proc.usage();
console.log(usage);
}, 2500);
proc.usage(function (err, usage_obj) {
console.dir(usage_obj);
});

@@ -23,0 +22,0 @@ ## Underlying data structure

@@ -6,4 +6,7 @@ var proc = require('../');

setInterval(function () {
console.log('ts', Date.now());
console.log('usage', proc.usage());
proc.usage(function (err, data) {
console.log('ts', Date.now());
console.log('err', err);
console.log('usage', data);
});
}, 2500);
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