Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stagas/x-core

node.js core extensions
https://github.com/stagas/x-core

Last synced: 14 days ago
JSON representation

node.js core extensions

Awesome Lists containing this project

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()