Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Hi! I fixed some calls to "sys" for you! #4

merged 1 commit into from

3 participants


Hello Poetro!

I am migrationBot, an open-source bot, and I'm here to help you migrate your codebase to node v0.8!

Did you know that the "sys" module throws an error if your program tries to require it in node v0.8? To help keep your code running, I automatically replaced var sys = require('sys') with var util = require('util').

If you'd like to know more about these changes in node.js, take a look at joyent/node@1582cf#L1R51 and and .

As for myself, I was written by your friendly neighborhood node ninjas at Nodejitsu, and you can find them at #nodejitsu on or with .



@Poetro Poetro merged commit f9e6825 into Poetro:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 24, 2012
  1. @blakmatrix
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2
@@ -10,13 +10,13 @@ Note: If you're looking for a full DOM parser, you probably want [JSDom](http:/
Simple usage
- var sys = require('sys'),
+ var util = require('util'),
fs = require('fs'),
xml2js = require('xml2js-expat');
var parser = new xml2js.Parser(function(result, error) {
if (!error) {
- console.log(sys.inspect(result));
+ console.log(util.inspect(result));
else {
Something went wrong with that request. Please try again.