Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stagas/x-core
- Owner: stagas
- License: mit
- Created: 2011-03-04T20:07:30.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-03-04T22:32:05.000Z (over 13 years ago)
- Last Synced: 2024-04-08T15:45:42.721Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is a repository of core node modules extensions.
Installation:
npm install x-coreExample:
var crypto = require('x-core')('crypto')
These are the modules patched, so far:http
crypto
utilhttp:
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 linecrypto:
crypto.hash(string, [algo='md5'], [encoding='hex'])
util:
util.sprintf()
util.printf()