node.js core extensions
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
node_extensions
LICENCE
README
package.json
test.js
x-core.js

README

This is a repository of core node modules extensions.

Installation:
  npm install x-core

Example:
  var crypto = require('x-core')('crypto')
  
These are the modules patched, so far:

  http
  crypto
  util

http:

  in http.createServer(), req emits 'body' for the full body request
  in http.request and http.get, res emits 'body' for the full body response and 'line' for each line

crypto:

  crypto.hash(string, [algo='md5'], [encoding='hex'])

util:

  util.sprintf()
  util.printf()