Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use node-bindings.

  • Loading branch information...
commit 7c3587be7a7236309de678d7d693bd0eab9e5ce3 1 parent a8b47ba
Nathan Rajlich authored February 06, 2012

Showing 2 changed files with 6 additions and 1 deletion. Show diff stats Hide diff stats

  1. 2  index.js
  2. 5  package.json
2  index.js
... ...
@@ -0,0 +1,2 @@
  1
+
  2
+module.exports = require('bindings')('getrusage.node')
5  package.json
@@ -23,7 +23,10 @@
23 23
       "url": "git://github.com/davglass/node-getrusage.git"
24 24
     }
25 25
   ],
26  
-  "main": "./build/default/getrusage",
  26
+  "main": "./index.js",
  27
+  "dependencies": {
  28
+    "bindings": "*"
  29
+  },
27 30
   "scripts": {
28 31
     "build": "node-waf configure build",
29 32
     "test": "node-waf test",

0 notes on commit 7c3587b

Please sign in to comment.
Something went wrong with that request. Please try again.