Skip to content

Instantly share code, notes, and snippets.

View chadbaudoin's full-sized avatar

Chad Baudoin chadbaudoin

  • KCMO
View GitHub Profile
@chadbaudoin
chadbaudoin / generateNodeInstallFiles.js
Created April 23, 2013 04:00
This will scrape http://nodejs.org/dist/ and generate node-build files 0.5.1 and above.
var http = require('http'),
fs = require('fs'),
baseUrl = "http://nodejs.org/dist/";
http.get(baseUrl, function(res){
if( res.statusCode === 200){
var responseData = "";
res.on('data', function( data ){
responseData = responseData + data;
});