├── Jerk ├── .gitignore ├── node_modules │ ├── irc-js │ ├── .npm │ │ ├── irc-js │ │ │ ├── active │ │ │ ├── 0.2.15 │ │ │ │ └── package │ │ │ │ │ ├── node_modules │ │ │ │ │ ├── log │ │ │ │ │ ├── .npm │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ ├── active │ │ │ │ │ │ │ └── 1.1.1 │ │ │ │ │ │ │ │ ├── dependents │ │ │ │ │ │ │ │ └── coloured-log@0.9.4 │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ ├── reader.js │ │ │ │ │ │ │ │ ├── stdout.js │ │ │ │ │ │ │ │ ├── file.log │ │ │ │ │ │ │ │ └── file.js │ │ │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ │ │ └── Readme.md │ │ │ │ │ │ ├── coloured │ │ │ │ │ │ │ ├── active │ │ │ │ │ │ │ └── 0.2.0 │ │ │ │ │ │ │ │ ├── dependents │ │ │ │ │ │ │ │ └── coloured-log@0.9.4 │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ │ │ └── example2.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ └── coloured.js │ │ │ │ │ │ ├── coloured-log │ │ │ │ │ │ │ ├── active │ │ │ │ │ │ │ └── 0.9.4 │ │ │ │ │ │ │ │ ├── dependson │ │ │ │ │ │ │ │ ├── log@1.1.1 │ │ │ │ │ │ │ │ └── coloured@0.2.0 │ │ │ │ │ │ │ │ ├── dependencies │ │ │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ └── coloured │ │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ │ └── coloured.js │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── coloured-log.js │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── log.js │ │ │ │ │ │ │ │ └── package.json.js │ │ │ │ │ │ │ │ └── coloured │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── coloured.js │ │ │ │ │ │ │ │ └── package.json.js │ │ │ │ │ │ └── .cache │ │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ └── 1.1.1 │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ ├── reader.js │ │ │ │ │ │ │ │ │ ├── stdout.js │ │ │ │ │ │ │ │ │ ├── file.log │ │ │ │ │ │ │ │ │ └── file.js │ │ │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ │ │ └── Readme.md │ │ │ │ │ │ │ │ ├── package.tgz │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── coloured │ │ │ │ │ │ │ └── 0.2.0 │ │ │ │ │ │ │ │ ├── package.tgz │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ │ │ │ └── example2.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ │ └── coloured.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── coloured-log │ │ │ │ │ │ │ ├── 0.9.4 │ │ │ │ │ │ │ ├── package.tgz │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── coloured-log.js │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ └── .cache.json │ │ │ │ │ ├── coloured │ │ │ │ │ ├── coloured-log │ │ │ │ │ ├── log@1.1.1 │ │ │ │ │ │ ├── log.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json.js │ │ │ │ │ ├── coloured@0.2.0 │ │ │ │ │ │ ├── coloured.js │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ └── package.json.js │ │ │ │ │ └── coloured-log@0.9.4 │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ ├── coloured-log.js │ │ │ │ │ │ └── package.json.js │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── README.md │ │ │ │ │ ├── lib │ │ │ │ │ ├── compiler.js │ │ │ │ │ ├── irc.peg │ │ │ │ │ └── walker.js │ │ │ │ │ ├── package.json │ │ │ │ │ ├── util │ │ │ │ │ └── generate.js │ │ │ │ │ ├── Rakefile │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ └── spec │ │ │ │ │ ├── messages.json │ │ │ │ │ └── compiler.spec.js │ │ │ └── 0.2.14 │ │ │ │ └── package │ │ │ │ ├── tmp_run.js │ │ │ │ └── tmp.js │ │ └── .cache │ │ │ └── irc-js │ │ │ ├── 0.2.15 │ │ │ ├── package │ │ │ │ ├── node_modules │ │ │ │ │ ├── .npm │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ ├── active │ │ │ │ │ │ │ └── 1.1.1 │ │ │ │ │ │ │ │ ├── dependents │ │ │ │ │ │ │ │ └── coloured-log@0.9.4 │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ ├── reader.js │ │ │ │ │ │ │ │ ├── stdout.js │ │ │ │ │ │ │ │ ├── file.log │ │ │ │ │ │ │ │ └── file.js │ │ │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ │ │ └── Readme.md │ │ │ │ │ │ ├── coloured │ │ │ │ │ │ │ ├── active │ │ │ │ │ │ │ └── 0.2.0 │ │ │ │ │ │ │ │ ├── dependents │ │ │ │ │ │ │ │ └── coloured-log@0.9.4 │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ │ │ └── example2.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ └── coloured.js │ │ │ │ │ │ ├── coloured-log │ │ │ │ │ │ │ ├── active │ │ │ │ │ │ │ └── 0.9.4 │ │ │ │ │ │ │ │ ├── dependson │ │ │ │ │ │ │ │ ├── log@1.1.1 │ │ │ │ │ │ │ │ └── coloured@0.2.0 │ │ │ │ │ │ │ │ ├── dependencies │ │ │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ └── coloured │ │ │ │ │ │ │ │ │ ├── coloured.js │ │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ │ └── coloured-log.js │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ │ └── node_modules │ │ │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ │ │ └── coloured │ │ │ │ │ │ │ │ ├── coloured.js │ │ │ │ │ │ │ │ └── index.js │ │ │ │ │ │ └── .cache │ │ │ │ │ │ │ ├── log │ │ │ │ │ │ │ └── 1.1.1 │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ ├── index.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── Makefile │ │ │ │ │ │ │ │ ├── examples │ │ │ │ │ │ │ │ │ ├── reader.js │ │ │ │ │ │ │ │ │ ├── stdout.js │ │ │ │ │ │ │ │ │ ├── file.log │ │ │ │ │ │ │ │ │ └── file.js │ │ │ │ │ │ │ │ ├── History.md │ │ │ │ │ │ │ │ └── Readme.md │ │ │ │ │ │ │ │ ├── package.tgz │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ ├── coloured │ │ │ │ │ │ │ └── 0.2.0 │ │ │ │ │ │ │ │ ├── package.tgz │ │ │ │ │ │ │ │ ├── package │ │ │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ │ │ ├── example.js │ │ │ │ │ │ │ │ │ └── example2.js │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ │ └── lib │ │ │ │ │ │ │ │ │ └── coloured.js │ │ │ │ │ │ │ │ └── package.json │ │ │ │ │ │ │ └── coloured-log │ │ │ │ │ │ │ ├── 0.9.4 │ │ │ │ │ │ │ ├── package.tgz │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ │ ├── UNLICENSE │ │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ │ └── coloured-log.js │ │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ │ └── .cache.json │ │ │ │ │ ├── coloured-log │ │ │ │ │ └── coloured-log@0.9.4 │ │ │ │ │ │ └── index.js │ │ │ │ ├── .gitignore │ │ │ │ ├── README.md │ │ │ │ ├── lib │ │ │ │ │ ├── compiler.js │ │ │ │ │ ├── irc.peg │ │ │ │ │ └── walker.js │ │ │ │ ├── package.json │ │ │ │ ├── util │ │ │ │ │ └── generate.js │ │ │ │ ├── Rakefile │ │ │ │ ├── UNLICENSE │ │ │ │ └── spec │ │ │ │ │ ├── messages.json │ │ │ │ │ └── compiler.spec.js │ │ │ ├── package.tgz │ │ │ └── package.json │ │ │ └── 0.2.14 │ │ │ └── package │ │ │ ├── tmp_run.js │ │ │ └── tmp.js │ └── irc-js@0.2.15 │ │ ├── index.js │ │ ├── irc.js │ │ ├── irc.peg.js │ │ ├── parser.js │ │ ├── walker.js │ │ ├── compiler.js │ │ └── package.json.js ├── index.js ├── package.json ├── UNLICENSE ├── lib │ └── jerk.js └── README.md ├── formidable ├── .gitignore ├── .npmignore ├── index.js ├── test │ ├── fixture │ │ ├── multi_video.upload │ │ └── multipart.js │ ├── common.js │ ├── simple │ │ ├── test-querystring-parser.js │ │ ├── test-multipart-parser.js │ │ └── test-file.js │ ├── integration │ │ └── test-multipart-parser.js │ └── system │ │ └── test-multi-video-upload.js ├── lib │ └── formidable │ │ ├── index.js │ │ ├── util.js │ │ ├── querystring_parser.js │ │ └── file.js ├── TODO ├── Makefile ├── package.json ├── example │ ├── post.js │ └── upload.js └── benchmark │ └── bench-multipart-parser.js ├── tropo.rb ├── README.md └── tropirc.js /Jerk/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /formidable/.gitignore: -------------------------------------------------------------------------------- 1 | /test/tmp/* -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js: -------------------------------------------------------------------------------- 1 | ./irc-js@0.2.15 -------------------------------------------------------------------------------- /formidable/.npmignore: -------------------------------------------------------------------------------- 1 | test/tmp/ 2 | *.upload -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/active: -------------------------------------------------------------------------------- 1 | ./0.2.15 -------------------------------------------------------------------------------- /Jerk/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/jerk'); 2 | 3 | -------------------------------------------------------------------------------- /formidable/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/formidable'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/log: -------------------------------------------------------------------------------- 1 | ./log@1.1.1 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/active: -------------------------------------------------------------------------------- 1 | ./1.1.1 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured: -------------------------------------------------------------------------------- 1 | ./coloured@0.2.0 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/active: -------------------------------------------------------------------------------- 1 | ./1.1.1 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/active: -------------------------------------------------------------------------------- 1 | ./0.2.0 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/active: -------------------------------------------------------------------------------- 1 | ./0.2.0 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/active: -------------------------------------------------------------------------------- 1 | ./0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured-log: -------------------------------------------------------------------------------- 1 | ./coloured-log@0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/active: -------------------------------------------------------------------------------- 1 | ./0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/coloured-log: -------------------------------------------------------------------------------- 1 | ./coloured-log@0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | doc 3 | lib/.irc.pdoc.yaml 4 | tmp*.js 5 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/.gitignore: -------------------------------------------------------------------------------- 1 | tags 2 | doc 3 | lib/.irc.pdoc.yaml 4 | tmp*.js 5 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependson/log@1.1.1: -------------------------------------------------------------------------------- 1 | ./../../../log/1.1.1 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependson/log@1.1.1: -------------------------------------------------------------------------------- 1 | ./../../../log/1.1.1 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependson/coloured@0.2.0: -------------------------------------------------------------------------------- 1 | ./../../../coloured/0.2.0 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/dependents/coloured-log@0.9.4: -------------------------------------------------------------------------------- 1 | ./../../../coloured-log/0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/log'); -------------------------------------------------------------------------------- /formidable/test/fixture/multi_video.upload: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/formidable/test/fixture/multi_video.upload -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependson/coloured@0.2.0: -------------------------------------------------------------------------------- 1 | ./../../../coloured/0.2.0 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/dependents/coloured-log@0.9.4: -------------------------------------------------------------------------------- 1 | ./../../../coloured-log/0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/dependents/coloured-log@0.9.4: -------------------------------------------------------------------------------- 1 | ./../../../coloured-log/0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/dependents/coloured-log@0.9.4: -------------------------------------------------------------------------------- 1 | ./../../../coloured-log/0.9.4 -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/log'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/log'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/index.js: -------------------------------------------------------------------------------- 1 | 2 | module.exports = require('./lib/log'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package.tgz -------------------------------------------------------------------------------- /formidable/lib/formidable/index.js: -------------------------------------------------------------------------------- 1 | var IncomingForm = require('./incoming_form').IncomingForm; 2 | IncomingForm.IncomingForm = IncomingForm; 3 | module.exports = IncomingForm; 4 | -------------------------------------------------------------------------------- /formidable/lib/formidable/util.js: -------------------------------------------------------------------------------- 1 | // Backwards compatibility ... 2 | try { 3 | module.exports = require('util'); 4 | } catch (e) { 5 | module.exports = require('sys'); 6 | } 7 | -------------------------------------------------------------------------------- /formidable/TODO: -------------------------------------------------------------------------------- 1 | - Better bufferMaxSize handling approach 2 | - Add tests for JSON parser pull request and merge it 3 | - Implement QuerystringParser the same way as MultipartParser 4 | -------------------------------------------------------------------------------- /formidable/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @find test/{simple,integration,system}/test-*.js | xargs -n 1 -t node 5 | 6 | clean: 7 | rm test/tmp/* 8 | 9 | .PHONY: test clean 10 | -------------------------------------------------------------------------------- /formidable/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "formidable", 2 | "version": "0.9.11", 3 | "dependencies": {"gently": ">=0.7.0"}, 4 | "directories" : { "lib" : "./lib/formidable" }, 5 | "main" : "./lib/formidable/index" 6 | } 7 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package.tgz -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package.tgz -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package.tgz -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package.tgz -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package.tgz -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.14/package/tmp_run.js: -------------------------------------------------------------------------------- 1 | var IRC = require( './lib/irc' ), b = new IRC( { 'server': 'irc.freenode.net' } ); b.addListener( 'privmsg', function( m ){ console.log( m ) } ).connect( function(){ this.join( '#runlevel6' ) } ) 2 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.14/package/tmp_run.js: -------------------------------------------------------------------------------- 1 | var IRC = require( './lib/irc' ), b = new IRC( { 'server': 'irc.freenode.net' } ); b.addListener( 'privmsg', function( m ){ console.log( m ) } ).connect( function(){ this.join( '#runlevel6' ) } ) 2 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DV/Tropirc/master/Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package.tgz -------------------------------------------------------------------------------- /tropo.rb: -------------------------------------------------------------------------------- 1 | answer 2 | wait(3000) 3 | record "Please leave your voicemail after the beep." 4 | { 5 | :beep => true, 6 | :timeout => 10, 7 | :silenceTimeout => 7, 8 | :maxTime => 60, 9 | :terminator => "#", 10 | :recordFormat => "audio/mp3", 11 | :recordURI => "http://crowdway.com:8199", 12 | } 13 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "log", 3 | "description": "Tiny logger with streaming reader", 4 | "version": "1.1.1", 5 | "author": "TJ Holowaychuk ", 6 | "keywords": ["log", "logger"], 7 | "main": "./lib/log.js", 8 | "engines": { "node": ">= 0.2.0" } 9 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "log", 3 | "description": "Tiny logger with streaming reader", 4 | "version": "1.1.1", 5 | "author": "TJ Holowaychuk ", 6 | "keywords": ["log", "logger"], 7 | "main": "./lib/log.js", 8 | "engines": { "node": ">= 0.2.0" } 9 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "log", 3 | "description": "Tiny logger with streaming reader", 4 | "version": "1.1.1", 5 | "author": "TJ Holowaychuk ", 6 | "keywords": ["log", "logger"], 7 | "main": "./lib/log.js", 8 | "engines": { "node": ">= 0.2.0" } 9 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "log", 3 | "description": "Tiny logger with streaming reader", 4 | "version": "1.1.1", 5 | "author": "TJ Holowaychuk ", 6 | "keywords": ["log", "logger"], 7 | "main": "./lib/log.js", 8 | "engines": { "node": ">= 0.2.0" } 9 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package.json: -------------------------------------------------------------------------------- 1 | {"name":"log","description":"Tiny logger with streaming reader","version":"1.1.1","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"keywords":["log","logger"],"main":"./lib/log","engines":{"node":">= 0.2.0"},"_id":"log@1.1.1","_nodeSupported":true,"_npmVersion":"0.2.4-1","_nodeVersion":"v0.3.0-pre"} -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/Makefile: -------------------------------------------------------------------------------- 1 | 2 | docs: index.html 3 | 4 | index.html: lib/log.js 5 | dox \ 6 | --title "Log.js" \ 7 | --desc "Tiny logger for [NodeJS](http://nodejs.org)." \ 8 | --ribbon "http://github.com/visionmedia/log.js" \ 9 | lib/log.js > $@ 10 | 11 | docclean: 12 | rm -f index.html 13 | 14 | .PHONY: docs docclean -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/Makefile: -------------------------------------------------------------------------------- 1 | 2 | docs: index.html 3 | 4 | index.html: lib/log.js 5 | dox \ 6 | --title "Log.js" \ 7 | --desc "Tiny logger for [NodeJS](http://nodejs.org)." \ 8 | --ribbon "http://github.com/visionmedia/log.js" \ 9 | lib/log.js > $@ 10 | 11 | docclean: 12 | rm -f index.html 13 | 14 | .PHONY: docs docclean -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/Makefile: -------------------------------------------------------------------------------- 1 | 2 | docs: index.html 3 | 4 | index.html: lib/log.js 5 | dox \ 6 | --title "Log.js" \ 7 | --desc "Tiny logger for [NodeJS](http://nodejs.org)." \ 8 | --ribbon "http://github.com/visionmedia/log.js" \ 9 | lib/log.js > $@ 10 | 11 | docclean: 12 | rm -f index.html 13 | 14 | .PHONY: docs docclean -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package.json: -------------------------------------------------------------------------------- 1 | {"name":"log","description":"Tiny logger with streaming reader","version":"1.1.1","author":{"name":"TJ Holowaychuk","email":"tj@vision-media.ca"},"keywords":["log","logger"],"main":"./lib/log","engines":{"node":">= 0.2.0"},"_id":"log@1.1.1","_nodeSupported":true,"_npmVersion":"0.2.4-1","_nodeVersion":"v0.3.0-pre"} -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/Makefile: -------------------------------------------------------------------------------- 1 | 2 | docs: index.html 3 | 4 | index.html: lib/log.js 5 | dox \ 6 | --title "Log.js" \ 7 | --desc "Tiny logger for [NodeJS](http://nodejs.org)." \ 8 | --ribbon "http://github.com/visionmedia/log.js" \ 9 | lib/log.js > $@ 10 | 11 | docclean: 12 | rm -f index.html 13 | 14 | .PHONY: docs docclean -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/README.md: -------------------------------------------------------------------------------- 1 | # IRC-js 2 | 3 | An IRC library for node.js 4 | 5 | [View Documentation](http://gf3.github.com/IRC-js/). 6 | 7 | ## Installation 8 | 9 | npm install irc-js 10 | 11 | ## Tests 12 | 13 | Tests are written with [async_testing](http://github.com/bentomas/node-async-testing), install `node install async_testing`. Run via: 14 | 15 | node spec/*.js 16 | 17 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/README.md: -------------------------------------------------------------------------------- 1 | # IRC-js 2 | 3 | An IRC library for node.js 4 | 5 | [View Documentation](http://gf3.github.com/IRC-js/). 6 | 7 | ## Installation 8 | 9 | npm install irc-js 10 | 11 | ## Tests 12 | 13 | Tests are written with [async_testing](http://github.com/bentomas/node-async-testing), install `node install async_testing`. Run via: 14 | 15 | node spec/*.js 16 | 17 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/example/example.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | 4 | console.log( "So I heard you like " + "red".red() + "?" ) 5 | console.log( "Perhaps you like it " + "on green".red_on_green() + "?" ) 6 | console.log( "And maybe some " + "bold".bold() + "?" ) 7 | console.log( "All together".red_on_green().bold() + "?" ) 8 | 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/example/example.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | 4 | console.log( "So I heard you like " + "red".red() + "?" ) 5 | console.log( "Perhaps you like it " + "on green".red_on_green() + "?" ) 6 | console.log( "And maybe some " + "bold".bold() + "?" ) 7 | console.log( "All together".red_on_green().bold() + "?" ) 8 | 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/example/example.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | 4 | console.log( "So I heard you like " + "red".red() + "?" ) 5 | console.log( "Perhaps you like it " + "on green".red_on_green() + "?" ) 6 | console.log( "And maybe some " + "bold".bold() + "?" ) 7 | console.log( "All together".red_on_green().bold() + "?" ) 8 | 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/reader.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createReadStream(__dirname + '/file.log') 9 | , log = new Log('debug', stream); 10 | 11 | log.on('line', function(line){ 12 | console.log(line); 13 | }).on('end', function(){ 14 | console.log('done'); 15 | });; -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/example/example.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | 4 | console.log( "So I heard you like " + "red".red() + "?" ) 5 | console.log( "Perhaps you like it " + "on green".red_on_green() + "?" ) 6 | console.log( "And maybe some " + "bold".bold() + "?" ) 7 | console.log( "All together".red_on_green().bold() + "?" ) 8 | 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/reader.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createReadStream(__dirname + '/file.log') 9 | , log = new Log('debug', stream); 10 | 11 | log.on('line', function(line){ 12 | console.log(line); 13 | }).on('end', function(){ 14 | console.log('done'); 15 | });; -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/reader.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createReadStream(__dirname + '/file.log') 9 | , log = new Log('debug', stream); 10 | 11 | log.on('line', function(line){ 12 | console.log(line); 13 | }).on('end', function(){ 14 | console.log('done'); 15 | });; -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/reader.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createReadStream(__dirname + '/file.log') 9 | , log = new Log('debug', stream); 10 | 11 | log.on('line', function(line){ 12 | console.log(line); 13 | }).on('end', function(){ 14 | console.log('done'); 15 | });; -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/example/example2.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | console.log( "\n" ) 4 | 5 | console.log( "this is red".red() ) 6 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 7 | console.log( "this is red with an underline".red().underline() ) 8 | console.log( "this is really bold and really blue".bold().blue() ) 9 | 10 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/example/example2.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | console.log( "\n" ) 4 | 5 | console.log( "this is red".red() ) 6 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 7 | console.log( "this is red with an underline".red().underline() ) 8 | console.log( "this is really bold and really blue".bold().blue() ) 9 | 10 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/example/example2.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | console.log( "\n" ) 4 | 5 | console.log( "this is red".red() ) 6 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 7 | console.log( "this is red with an underline".red().underline() ) 8 | console.log( "this is really bold and really blue".bold().blue() ) 9 | 10 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.1.1 / 2010-09-26 3 | ================== 4 | 5 | * Fixed `Log()` initialization without giving a stream [bentruyman] 6 | 7 | 1.1.0 / 2010-09-26 8 | ================== 9 | 10 | * Added streaming reader capabilities (_pass a readable stream_) 11 | * Added `Log()` log level as string support (_alternative of constants_) 12 | * Added _./index.js_ so people can clone 13 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/example/example2.js: -------------------------------------------------------------------------------- 1 | var Colour = require( '../lib/coloured' ) 2 | Colour.extendString() 3 | console.log( "\n" ) 4 | 5 | console.log( "this is red".red() ) 6 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 7 | console.log( "this is red with an underline".red().underline() ) 8 | console.log( "this is really bold and really blue".bold().blue() ) 9 | 10 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.1.1 / 2010-09-26 3 | ================== 4 | 5 | * Fixed `Log()` initialization without giving a stream [bentruyman] 6 | 7 | 1.1.0 / 2010-09-26 8 | ================== 9 | 10 | * Added streaming reader capabilities (_pass a readable stream_) 11 | * Added `Log()` log level as string support (_alternative of constants_) 12 | * Added _./index.js_ so people can clone 13 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.1.1 / 2010-09-26 3 | ================== 4 | 5 | * Fixed `Log()` initialization without giving a stream [bentruyman] 6 | 7 | 1.1.0 / 2010-09-26 8 | ================== 9 | 10 | * Added streaming reader capabilities (_pass a readable stream_) 11 | * Added `Log()` log level as string support (_alternative of constants_) 12 | * Added _./index.js_ so people can clone 13 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.1.1 / 2010-09-26 3 | ================== 4 | 5 | * Fixed `Log()` initialization without giving a stream [bentruyman] 6 | 7 | 1.1.0 / 2010-09-26 8 | ================== 9 | 10 | * Added streaming reader capabilities (_pass a readable stream_) 11 | * Added `Log()` log level as string support (_alternative of constants_) 12 | * Added _./index.js_ so people can clone 13 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/lib/compiler.js: -------------------------------------------------------------------------------- 1 | var Parser = require( 'parser' ) 2 | , Walker = require( 'walker' ) 3 | , Compiler = {} 4 | 5 | /* ------------------------------ Compiler ------------------------------ */ 6 | Compiler.compile = function( input ) { var tree 7 | tree = Parser.parse( input ) 8 | return Walker.walk( tree ) 9 | } 10 | 11 | /* ------------------------------ Export ------------------------------ */ 12 | module.exports = Compiler 13 | 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/lib/compiler.js: -------------------------------------------------------------------------------- 1 | var Parser = require( 'parser' ) 2 | , Walker = require( 'walker' ) 3 | , Compiler = {} 4 | 5 | /* ------------------------------ Compiler ------------------------------ */ 6 | Compiler.compile = function( input ) { var tree 7 | tree = Parser.parse( input ) 8 | return Walker.walk( tree ) 9 | } 10 | 11 | /* ------------------------------ Export ------------------------------ */ 12 | module.exports = Compiler 13 | 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/stdout.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , log = new Log('notice'); 8 | 9 | log.debug('a debug message'); 10 | log.info('a info message'); 11 | log.notice('a notice message'); 12 | log.warning('a warning message'); 13 | log.error('a error message'); 14 | log.critical('a critical message'); 15 | log.alert('a alert message'); 16 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/stdout.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , log = new Log('notice'); 8 | 9 | log.debug('a debug message'); 10 | log.info('a info message'); 11 | log.notice('a notice message'); 12 | log.warning('a warning message'); 13 | log.error('a error message'); 14 | log.critical('a critical message'); 15 | log.alert('a alert message'); 16 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/stdout.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , log = new Log('notice'); 8 | 9 | log.debug('a debug message'); 10 | log.info('a info message'); 11 | log.notice('a notice message'); 12 | log.warning('a warning message'); 13 | log.error('a error message'); 14 | log.critical('a critical message'); 15 | log.alert('a alert message'); 16 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/stdout.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , log = new Log('notice'); 8 | 9 | log.debug('a debug message'); 10 | log.info('a info message'); 11 | log.notice('a notice message'); 12 | log.warning('a warning message'); 13 | log.error('a error message'); 14 | log.critical('a critical message'); 15 | log.alert('a alert message'); 16 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/file.log: -------------------------------------------------------------------------------- 1 | [Sun, 26 Sep 2010 01:26:14 GMT] DEBUG a debug message 2 | [Sun, 26 Sep 2010 01:26:14 GMT] INFO a info message 3 | [Sun, 26 Sep 2010 01:26:14 GMT] NOTICE a notice message 4 | [Sun, 26 Sep 2010 01:26:14 GMT] WARNING a warning message 5 | [Sun, 26 Sep 2010 01:26:14 GMT] ERROR a error message 6 | [Sun, 26 Sep 2010 01:26:14 GMT] CRITICAL a critical message 7 | [Sun, 26 Sep 2010 01:26:14 GMT] ALERT a alert message 8 | [Sun, 26 Sep 2010 01:26:14 GMT] EMERGENCY a emergency message 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/file.log: -------------------------------------------------------------------------------- 1 | [Sun, 26 Sep 2010 01:26:14 GMT] DEBUG a debug message 2 | [Sun, 26 Sep 2010 01:26:14 GMT] INFO a info message 3 | [Sun, 26 Sep 2010 01:26:14 GMT] NOTICE a notice message 4 | [Sun, 26 Sep 2010 01:26:14 GMT] WARNING a warning message 5 | [Sun, 26 Sep 2010 01:26:14 GMT] ERROR a error message 6 | [Sun, 26 Sep 2010 01:26:14 GMT] CRITICAL a critical message 7 | [Sun, 26 Sep 2010 01:26:14 GMT] ALERT a alert message 8 | [Sun, 26 Sep 2010 01:26:14 GMT] EMERGENCY a emergency message 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/file.log: -------------------------------------------------------------------------------- 1 | [Sun, 26 Sep 2010 01:26:14 GMT] DEBUG a debug message 2 | [Sun, 26 Sep 2010 01:26:14 GMT] INFO a info message 3 | [Sun, 26 Sep 2010 01:26:14 GMT] NOTICE a notice message 4 | [Sun, 26 Sep 2010 01:26:14 GMT] WARNING a warning message 5 | [Sun, 26 Sep 2010 01:26:14 GMT] ERROR a error message 6 | [Sun, 26 Sep 2010 01:26:14 GMT] CRITICAL a critical message 7 | [Sun, 26 Sep 2010 01:26:14 GMT] ALERT a alert message 8 | [Sun, 26 Sep 2010 01:26:14 GMT] EMERGENCY a emergency message 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependencies/log/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../log/1.1.1/dependencies") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var from = "./../../../../log/1.1.1/package/lib/log" 6 | 7 | if (!depMet) require.paths.unshift(dep) 8 | module.exports = require(from) 9 | 10 | if (!depMet) { 11 | var i = require.paths.indexOf(dep) 12 | if (i !== -1) require.paths.splice(i, 1) 13 | } 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/file.log: -------------------------------------------------------------------------------- 1 | [Sun, 26 Sep 2010 01:26:14 GMT] DEBUG a debug message 2 | [Sun, 26 Sep 2010 01:26:14 GMT] INFO a info message 3 | [Sun, 26 Sep 2010 01:26:14 GMT] NOTICE a notice message 4 | [Sun, 26 Sep 2010 01:26:14 GMT] WARNING a warning message 5 | [Sun, 26 Sep 2010 01:26:14 GMT] ERROR a error message 6 | [Sun, 26 Sep 2010 01:26:14 GMT] CRITICAL a critical message 7 | [Sun, 26 Sep 2010 01:26:14 GMT] ALERT a alert message 8 | [Sun, 26 Sep 2010 01:26:14 GMT] EMERGENCY a emergency message 9 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependencies/log/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../log/1.1.1/dependencies") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var from = "./../../../../log/1.1.1/package/lib/log" 6 | 7 | if (!depMet) require.paths.unshift(dep) 8 | module.exports = require(from) 9 | 10 | if (!depMet) { 11 | var i = require.paths.indexOf(dep) 12 | if (i !== -1) require.paths.splice(i, 1) 13 | } 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependencies/coloured/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/dependencies") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 6 | 7 | if (!depMet) require.paths.unshift(dep) 8 | module.exports = require(from) 9 | 10 | if (!depMet) { 11 | var i = require.paths.indexOf(dep) 12 | if (i !== -1) require.paths.splice(i, 1) 13 | } 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependencies/coloured/coloured.js: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/dependencies") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 6 | 7 | if (!depMet) require.paths.unshift(dep) 8 | module.exports = require(from) 9 | 10 | if (!depMet) { 11 | var i = require.paths.indexOf(dep) 12 | if (i !== -1) require.paths.splice(i, 1) 13 | } 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependencies/coloured/coloured.js: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/dependencies") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 6 | 7 | if (!depMet) require.paths.unshift(dep) 8 | module.exports = require(from) 9 | 10 | if (!depMet) { 11 | var i = require.paths.indexOf(dep) 12 | if (i !== -1) require.paths.splice(i, 1) 13 | } 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/dependencies/coloured/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/dependencies") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 6 | 7 | if (!depMet) require.paths.unshift(dep) 8 | module.exports = require(from) 9 | 10 | if (!depMet) { 11 | var i = require.paths.indexOf(dep) 12 | if (i !== -1) require.paths.splice(i, 1) 13 | } 14 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package.json: -------------------------------------------------------------------------------- 1 | {"name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","version":"0.9.4","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"dependencies":{"coloured":">= 0.2.0","log":">= 1.1.1"},"keywords":["coloured","log","logger"],"main":"./lib/coloured-log","engines":{"node":">= 0.2.0"},"_id":"coloured-log@0.9.4","_nodeSupported":true,"_npmVersion":"0.2.4-1","_nodeVersion":"v0.3.0-pre"} -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package.json: -------------------------------------------------------------------------------- 1 | {"name":"coloured","description":"Pretty colours in your terminal.","author":{"name":"Gianni Chiappetta","email":"gianni@runlevel6.org","url":"http://gf3.ca"},"version":"0.2.0","main":"./lib/coloured","directories":{"lib":"./lib"},"engines":["node >=0.1.5"],"repository":{"type":"git","url":"https://gf3@github.com/gf3/coloured.git"},"license":{"type":"Public Domain","url":"http://github.com/gf3/coloured/raw/master/UNLICENSE"},"_id":"coloured@0.2.0","_nodeSupported":true,"_npmVersion":"0.2.4-1","_nodeVersion":"v0.3.0-pre"} -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package.json: -------------------------------------------------------------------------------- 1 | {"name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","version":"0.9.4","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"dependencies":{"coloured":">= 0.2.0","log":">= 1.1.1"},"keywords":["coloured","log","logger"],"main":"./lib/coloured-log","engines":{"node":">= 0.2.0"},"_id":"coloured-log@0.9.4","_nodeSupported":true,"_npmVersion":"0.2.4-1","_nodeVersion":"v0.3.0-pre"} -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package.json: -------------------------------------------------------------------------------- 1 | {"name":"coloured","description":"Pretty colours in your terminal.","author":{"name":"Gianni Chiappetta","email":"gianni@runlevel6.org","url":"http://gf3.ca"},"version":"0.2.0","main":"./lib/coloured","directories":{"lib":"./lib"},"engines":["node >=0.1.5"],"repository":{"type":"git","url":"https://gf3@github.com/gf3/coloured.git"},"license":{"type":"Public Domain","url":"http://github.com/gf3/coloured/raw/master/UNLICENSE"},"_id":"coloured@0.2.0","_nodeSupported":true,"_npmVersion":"0.2.4-1","_nodeVersion":"v0.3.0-pre"} -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "coloured-log", 3 | "description": "Combines \"coloured\" and \"log.js\" for super simple pretty logging.", 4 | "version": "0.9.4", 5 | "author": "Ben Truyman ", 6 | "repository": { 7 | "type": "git", 8 | "url": "http://github.com/bentruyman/coloured-log" 9 | }, 10 | "dependencies": { 11 | "coloured": ">= 0.2.0", 12 | "log": ">= 1.1.1" 13 | }, 14 | "keywords": ["coloured", "log", "logger"], 15 | "main": "./lib/coloured-log", 16 | "engines": { "node": ">= 0.2.0" } 17 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/file.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createWriteStream(__dirname + '/file.log', { flags: 'a' }) 9 | , log = new Log('debug', stream); 10 | 11 | log.debug('a debug message'); 12 | log.info('a info message'); 13 | log.notice('a notice message'); 14 | log.warning('a warning message'); 15 | log.error('a error message'); 16 | log.critical('a critical message'); 17 | log.alert('a alert message'); 18 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "coloured-log", 3 | "description": "Combines \"coloured\" and \"log.js\" for super simple pretty logging.", 4 | "version": "0.9.4", 5 | "author": "Ben Truyman ", 6 | "repository": { 7 | "type": "git", 8 | "url": "http://github.com/bentruyman/coloured-log" 9 | }, 10 | "dependencies": { 11 | "coloured": ">= 0.2.0", 12 | "log": ">= 1.1.1" 13 | }, 14 | "keywords": ["coloured", "log", "logger"], 15 | "main": "./lib/coloured-log", 16 | "engines": { "node": ">= 0.2.0" } 17 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/examples/file.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createWriteStream(__dirname + '/file.log', { flags: 'a' }) 9 | , log = new Log('debug', stream); 10 | 11 | log.debug('a debug message'); 12 | log.info('a info message'); 13 | log.notice('a notice message'); 14 | log.warning('a warning message'); 15 | log.error('a error message'); 16 | log.critical('a critical message'); 17 | log.alert('a alert message'); 18 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "coloured-log", 3 | "description": "Combines \"coloured\" and \"log.js\" for super simple pretty logging.", 4 | "version": "0.9.4", 5 | "author": "Ben Truyman ", 6 | "repository": { 7 | "type": "git", 8 | "url": "http://github.com/bentruyman/coloured-log" 9 | }, 10 | "dependencies": { 11 | "coloured": ">= 0.2.0", 12 | "log": ">= 1.1.1" 13 | }, 14 | "keywords": ["coloured", "log", "logger"], 15 | "main": "./lib/coloured-log", 16 | "engines": { "node": ">= 0.2.0" } 17 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/file.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createWriteStream(__dirname + '/file.log', { flags: 'a' }) 9 | , log = new Log('debug', stream); 10 | 11 | log.debug('a debug message'); 12 | log.info('a info message'); 13 | log.notice('a notice message'); 14 | log.warning('a warning message'); 15 | log.error('a error message'); 16 | log.critical('a critical message'); 17 | log.alert('a alert message'); 18 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "coloured-log", 3 | "description": "Combines \"coloured\" and \"log.js\" for super simple pretty logging.", 4 | "version": "0.9.4", 5 | "author": "Ben Truyman ", 6 | "repository": { 7 | "type": "git", 8 | "url": "http://github.com/bentruyman/coloured-log" 9 | }, 10 | "dependencies": { 11 | "coloured": ">= 0.2.0", 12 | "log": ">= 1.1.1" 13 | }, 14 | "keywords": ["coloured", "log", "logger"], 15 | "main": "./lib/coloured-log", 16 | "engines": { "node": ">= 0.2.0" } 17 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/examples/file.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Module dependencies. 4 | */ 5 | 6 | var Log = require('../lib/log') 7 | , fs = require('fs') 8 | , stream = fs.createWriteStream(__dirname + '/file.log', { flags: 'a' }) 9 | , log = new Log('debug', stream); 10 | 11 | log.debug('a debug message'); 12 | log.info('a info message'); 13 | log.notice('a notice message'); 14 | log.warning('a warning message'); 15 | log.error('a error message'); 16 | log.critical('a critical message'); 17 | log.alert('a alert message'); 18 | log.emergency('a emergency message'); -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "coloured" 2 | , "description": "Pretty colours in your terminal." 3 | , "author" : "Gianni Chiappetta (http://gf3.ca)" 4 | , "version" : "0.2.0" 5 | , "main" : "./lib/coloured" 6 | , "directories" : { "lib" : "./lib" } 7 | , "engines" : [ "node >=0.1.5" ] 8 | , "repository" : 9 | { "type" : "git" 10 | , "url" : "https://gf3@github.com/gf3/coloured.git" 11 | } 12 | , "license" : 13 | { "type" : "Public Domain" 14 | , "url" : "http://github.com/gf3/coloured/raw/master/UNLICENSE" 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "coloured" 2 | , "description": "Pretty colours in your terminal." 3 | , "author" : "Gianni Chiappetta (http://gf3.ca)" 4 | , "version" : "0.2.0" 5 | , "main" : "./lib/coloured" 6 | , "directories" : { "lib" : "./lib" } 7 | , "engines" : [ "node >=0.1.5" ] 8 | , "repository" : 9 | { "type" : "git" 10 | , "url" : "https://gf3@github.com/gf3/coloured.git" 11 | } 12 | , "license" : 13 | { "type" : "Public Domain" 14 | , "url" : "http://github.com/gf3/coloured/raw/master/UNLICENSE" 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "coloured" 2 | , "description": "Pretty colours in your terminal." 3 | , "author" : "Gianni Chiappetta (http://gf3.ca)" 4 | , "version" : "0.2.0" 5 | , "main" : "./lib/coloured" 6 | , "directories" : { "lib" : "./lib" } 7 | , "engines" : [ "node >=0.1.5" ] 8 | , "repository" : 9 | { "type" : "git" 10 | , "url" : "https://gf3@github.com/gf3/coloured.git" 11 | } 12 | , "license" : 13 | { "type" : "Public Domain" 14 | , "url" : "http://github.com/gf3/coloured/raw/master/UNLICENSE" 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "coloured" 2 | , "description": "Pretty colours in your terminal." 3 | , "author" : "Gianni Chiappetta (http://gf3.ca)" 4 | , "version" : "0.2.0" 5 | , "main" : "./lib/coloured" 6 | , "directories" : { "lib" : "./lib" } 7 | , "engines" : [ "node >=0.1.5" ] 8 | , "repository" : 9 | { "type" : "git" 10 | , "url" : "https://gf3@github.com/gf3/coloured.git" 11 | } 12 | , "license" : 13 | { "type" : "Public Domain" 14 | , "url" : "http://github.com/gf3/coloured/raw/master/UNLICENSE" 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Jerk/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "jerk" 2 | , "description" : "Stupidly simple IRC bots in Javascript." 3 | , "author" : "Gianni Chiappetta (http://gf3.ca)" 4 | , "contributors" : 5 | [ "Isaac Z. Schlueter (http://blog.izs.me)" 6 | , "Arnaud Berthomier (http://wtf.cyprio.net)" 7 | ] 8 | , "homepage" : "http://github.com/gf3/Jerk" 9 | , "version" : "1.1.5" 10 | , "main" : "./lib/jerk" 11 | , "dependencies" : 12 | { "irc-js": "=0.2.15" 13 | } 14 | , "engines" : [ "node >=0.2.0" ] 15 | , "repository" : 16 | { "type" : "git" 17 | , "url" : "http://github.com/gf3/Jerk.git" 18 | } 19 | , "license" : 20 | { "type" : "Public Domain" 21 | , "url" : "http://github.com/gf3/Jerk/raw/master/UNLICENSE" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Tropirc 2 | ======= 3 | 4 | A small node.js application that works as a telephony Mailbox and displays a new messages on IRC when a new voicemail is received. It uses Tropo as the telephony provider. 5 | 6 | The required modules (Jerk and Formidable) are included. An example Tropo application is also included in the file tropo.rb. 7 | 8 | Installation 9 | ------------ 10 | Edit the variables in tropirc.js to suitable values. 11 | 12 | Configure the tropo.rb file to point to your node.js webserver. 13 | Create a new application on Tropo and upload tropo.rb as the scriptfile. 14 | 15 | Run it 16 | ------ 17 | 18 | node tropirc.js 19 | 20 | License 21 | ------- 22 | 23 | This application and source code is (c) David Verhasselt 2011 and licensed under the MIT license. 24 | -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js@0.2.15/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/irc-js/0.2.15/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/irc-js/0.2.15/package/lib/irc" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js@0.2.15/irc.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/irc-js/0.2.15/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/irc-js/0.2.15/package/lib/irc" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js@0.2.15/irc.peg.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/irc-js/0.2.15/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/irc-js/0.2.15/package/lib/irc.peg" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js@0.2.15/parser.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/irc-js/0.2.15/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/irc-js/0.2.15/package/lib/parser" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js@0.2.15/walker.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/irc-js/0.2.15/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/irc-js/0.2.15/package/lib/walker" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js@0.2.15/compiler.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/irc-js/0.2.15/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/irc-js/0.2.15/package/lib/compiler" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /formidable/lib/formidable/querystring_parser.js: -------------------------------------------------------------------------------- 1 | if (global.GENTLY) require = GENTLY.hijack(require); 2 | 3 | // This is a buffering parser, not quite as nice as the multipart one. 4 | // If I find time I'll rewrite this to be fully streaming as well 5 | var querystring = require('querystring'); 6 | 7 | function QuerystringParser() { 8 | this.buffer = ''; 9 | }; 10 | exports.QuerystringParser = QuerystringParser; 11 | 12 | QuerystringParser.prototype.write = function(buffer) { 13 | this.buffer += buffer.toString('ascii'); 14 | return buffer.length; 15 | }; 16 | 17 | QuerystringParser.prototype.end = function() { 18 | var fields = querystring.parse(this.buffer); 19 | for (var field in fields) { 20 | this.onField(field, fields[field]); 21 | } 22 | this.buffer = ''; 23 | 24 | this.onEnd(); 25 | }; -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/log@1.1.1/log.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/log/1.1.1/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/log/1.1.1/package/lib/log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/log@1.1.1/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/log/1.1.1/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/log/1.1.1/package/lib/log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured@0.2.0/coloured.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/coloured/0.2.0/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/coloured/0.2.0/package/lib/coloured" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured@0.2.0/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/coloured/0.2.0/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/coloured/0.2.0/package/lib/coloured" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/log/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../log/1.1.1/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../../../../log/1.1.1/package/lib/log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/log/log.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../log/1.1.1/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../../../../log/1.1.1/package/lib/log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured-log@0.9.4/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/coloured-log/0.9.4/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/coloured-log/0.9.4/package/lib/coloured-log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/coloured-log@0.9.4/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/coloured-log/0.9.4/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/coloured-log/0.9.4/package/lib/coloured-log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured-log@0.9.4/coloured-log.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../.npm/coloured-log/0.9.4/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../.npm/coloured-log/0.9.4/package/lib/coloured-log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/log/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../log/1.1.1/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../../../../log/1.1.1/package/lib/log" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/coloured/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/coloured/coloured.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/coloured/coloured.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/coloured/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | // generated by npm, please don't touch! 3 | var dep = require('path').join(__dirname, "./../../../../coloured/0.2.0/node_modules") 4 | var depMet = require.paths.indexOf(dep) !== -1 5 | var bundle = dep.replace(/node_modules$/, 'package/node_modules') 6 | var bundleMet = require.paths.indexOf(bundle) !== -1 7 | var from = "./../../../../coloured/0.2.0/package/lib/coloured" 8 | 9 | if (!depMet) require.paths.unshift(dep) 10 | if (!bundleMet) require.paths.unshift(bundle) 11 | module.exports = require(from) 12 | 13 | if (!depMet) { 14 | var i = require.paths.indexOf(dep) 15 | if (i !== -1) require.paths.splice(i, 1) 16 | } 17 | if (!bundleMet) { 18 | var i = require.paths.indexOf(bundle) 19 | if (i !== -1) require.paths.slice(i, 1) 20 | } 21 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "irc-js" 2 | , "description": "An IRC library for node.js" 3 | , "author" : "Gianni Chiappetta (http://gf3.ca)" 4 | , "contributors": 5 | [ "Adam Bergmark" 6 | , "Martin Häger (http://freeasinbeard.org)" 7 | , "temp01" 8 | , "Diogo Gomes (http://www.graphnode.com/)" 9 | ] 10 | , "homepage" : "http://gf3.github.com/IRC-js/" 11 | , "version" : "0.2.15" 12 | , "main" : "./lib/irc" 13 | , "directories" : { "lib" : "./lib", "node_libraries" : "./node_libraries" } 14 | , "engines" : [ "node >=0.2.0" ] 15 | , "dependencies" : 16 | { "coloured-log" : ">= 0.9.4" 17 | } 18 | , "repository" : 19 | { "type" : "git" 20 | , "url" : "https://gf3@github.com/gf3/IRC-js.git" 21 | } 22 | , "license" : 23 | { "type" : "Public Domain" 24 | , "url" : "http://github.com/gf3/IRC-js/raw/master/UNLICENSE" 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /formidable/test/common.js: -------------------------------------------------------------------------------- 1 | var path = require('path'), 2 | fs = require('fs'); 3 | 4 | require.paths.unshift(path.dirname(__dirname)+'/lib'); 5 | var util = require('formidable/util'); 6 | 7 | try { 8 | global.Gently = require('gently'); 9 | } catch (e) { 10 | throw new Error('this test suite requires node-gently'); 11 | } 12 | 13 | global.GENTLY = new Gently(); 14 | 15 | global.puts = util.puts; 16 | global.p = function() { 17 | util.error(util.inspect.apply(null, arguments)); 18 | }; 19 | global.assert = require('assert'); 20 | global.TEST_PORT = 13532; 21 | global.TEST_FIXTURES = path.join(__dirname, 'fixture'); 22 | global.TEST_TMP = path.join(__dirname, 'tmp'); 23 | 24 | // Stupid new feature in node that complains about gently attaching too many 25 | // listeners to process 'exit'. This is a workaround until I can think of a 26 | // better way to deal with this. 27 | if (process.setMaxListeners) { 28 | process.setMaxListeners(10000); 29 | } 30 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/package.json: -------------------------------------------------------------------------------- 1 | { "name" : "irc-js" 2 | , "description": "An IRC library for node.js" 3 | , "author" : "Gianni Chiappetta (http://gf3.ca)" 4 | , "contributors": 5 | [ "Adam Bergmark" 6 | , "Martin Häger (http://freeasinbeard.org)" 7 | , "temp01" 8 | , "Diogo Gomes (http://www.graphnode.com/)" 9 | ] 10 | , "homepage" : "http://gf3.github.com/IRC-js/" 11 | , "version" : "0.2.15" 12 | , "main" : "./lib/irc" 13 | , "directories" : { "lib" : "./lib", "node_libraries" : "./node_libraries" } 14 | , "engines" : [ "node >=0.2.0" ] 15 | , "dependencies" : 16 | { "coloured-log" : ">= 0.9.4" 17 | } 18 | , "repository" : 19 | { "type" : "git" 20 | , "url" : "https://gf3@github.com/gf3/IRC-js.git" 21 | } 22 | , "license" : 23 | { "type" : "Public Domain" 24 | , "url" : "http://github.com/gf3/IRC-js/raw/master/UNLICENSE" 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.14/package/tmp.js: -------------------------------------------------------------------------------- 1 | var util = require( 'util' ) 2 | , path = require( 'path' ) 3 | , fs = require( 'fs' ) 4 | , Compiler 5 | 6 | require.paths.unshift( path.join( __dirname, 'lib' ) ) 7 | require.paths.unshift( path.join( __dirname, 'node_modules' ) ) 8 | 9 | Compiler = require( 'compiler' ) 10 | 11 | // util.puts( util.inspect( Compiler.compile( ':frigg!~eir@freenode/utility-bot/frigg PRIVMSG protobot :VERSION\r\n' ) ) ) 12 | // util.puts( util.inspect( Compiler.compile( ':brown.freenode.net 333 js-irc #runlevel6 gf3 1252481170=\r\n' ) ) ) 13 | // util.puts( util.inspect( Compiler.compile( ':ni^ck`!u@h JOIN :#chan\r\n' ) ) ) 14 | // util.puts( util.inspect( Compiler.compile( 'server.lol' ) ) ) 15 | // util.puts( util.inspect( Compiler.compile( 'ni^ck`' ) ) ) 16 | // util.puts( util.inspect( Compiler.compile( ':server.tld JOIN :#chan\r\n' ) ) ) 17 | // util.puts( util.inspect( Compiler.compile( ':barjavel.freenode.net NOTICE * :*** Looking up your hostname...\r\n' ) ) ) 18 | util.puts( util.inspect( Compiler.compile( ':irc.server 353 nick = #chan :nick nick2\r\n' ) ) ) 19 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.14/package/tmp.js: -------------------------------------------------------------------------------- 1 | var util = require( 'util' ) 2 | , path = require( 'path' ) 3 | , fs = require( 'fs' ) 4 | , Compiler 5 | 6 | require.paths.unshift( path.join( __dirname, 'lib' ) ) 7 | require.paths.unshift( path.join( __dirname, 'node_modules' ) ) 8 | 9 | Compiler = require( 'compiler' ) 10 | 11 | // util.puts( util.inspect( Compiler.compile( ':frigg!~eir@freenode/utility-bot/frigg PRIVMSG protobot :VERSION\r\n' ) ) ) 12 | // util.puts( util.inspect( Compiler.compile( ':brown.freenode.net 333 js-irc #runlevel6 gf3 1252481170=\r\n' ) ) ) 13 | // util.puts( util.inspect( Compiler.compile( ':ni^ck`!u@h JOIN :#chan\r\n' ) ) ) 14 | // util.puts( util.inspect( Compiler.compile( 'server.lol' ) ) ) 15 | // util.puts( util.inspect( Compiler.compile( 'ni^ck`' ) ) ) 16 | // util.puts( util.inspect( Compiler.compile( ':server.tld JOIN :#chan\r\n' ) ) ) 17 | // util.puts( util.inspect( Compiler.compile( ':barjavel.freenode.net NOTICE * :*** Looking up your hostname...\r\n' ) ) ) 18 | util.puts( util.inspect( Compiler.compile( ':irc.server 353 nick = #chan :nick nick2\r\n' ) ) ) 19 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/util/generate.js: -------------------------------------------------------------------------------- 1 | var ColouredLog = require( '../node_modules/coloured-log' ) 2 | , PanPG = require( '../node_modules/PanPG/PanPG' ) 3 | , path = require( 'path' ) 4 | , fs = require( 'fs' ) 5 | , Log 6 | , PEG = fs.readFileSync( path.join( __dirname, '..', 'lib', 'irc.peg' ) ).toString() 7 | , options = 8 | { 'commonjs': true 9 | , 'fname': 'Parser' 10 | } 11 | , parser 12 | , filename = path.join( __dirname, '..', 'lib', 'parser.js' ) 13 | 14 | /* ------------------------------ Build Parser ------------------------------ */ 15 | Log = new ColouredLog( ColouredLog.DEBUG ) 16 | 17 | try { 18 | parser = PanPG.generateParser( PEG, options ) 19 | fs.writeFile( filename, parser, function( err ) { 20 | if ( err ) { 21 | Log.error( 'Unable to write file.' ) 22 | console.log( err.message ) 23 | console.log( err.stack ) 24 | } 25 | else 26 | Log.info( 'Wrote file: "' + filename + '"' ) 27 | }) 28 | } 29 | catch ( e ) { 30 | Log.error( 'Parser could not be generated.' ) 31 | console.log( e.message ) 32 | console.log( e.stack ) 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/util/generate.js: -------------------------------------------------------------------------------- 1 | var ColouredLog = require( '../node_modules/coloured-log' ) 2 | , PanPG = require( '../node_modules/PanPG/PanPG' ) 3 | , path = require( 'path' ) 4 | , fs = require( 'fs' ) 5 | , Log 6 | , PEG = fs.readFileSync( path.join( __dirname, '..', 'lib', 'irc.peg' ) ).toString() 7 | , options = 8 | { 'commonjs': true 9 | , 'fname': 'Parser' 10 | } 11 | , parser 12 | , filename = path.join( __dirname, '..', 'lib', 'parser.js' ) 13 | 14 | /* ------------------------------ Build Parser ------------------------------ */ 15 | Log = new ColouredLog( ColouredLog.DEBUG ) 16 | 17 | try { 18 | parser = PanPG.generateParser( PEG, options ) 19 | fs.writeFile( filename, parser, function( err ) { 20 | if ( err ) { 21 | Log.error( 'Unable to write file.' ) 22 | console.log( err.message ) 23 | console.log( err.stack ) 24 | } 25 | else 26 | Log.info( 'Wrote file: "' + filename + '"' ) 27 | }) 28 | } 29 | catch ( e ) { 30 | Log.error( 'Parser could not be generated.' ) 31 | console.log( e.message ) 32 | console.log( e.stack ) 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/lib/irc.peg: -------------------------------------------------------------------------------- 1 | Message ← Prefix? Command Params? CRLF 2 | 3 | 4 | 5 | Prefix ← ":" ( Server / Person ) 6 | 7 | Server ← ( AlphaNum / SquareBrackets / [ _ - . | * ] )+ !( User / Host ) S 8 | 9 | Person ← Nick User? Host? S 10 | 11 | Nick ← ( AlphaNum / SquareBrackets / CurlyBrackets / Backtick / [ _ - ^ | \ ] )+ 12 | 13 | User ← "!" ( AlphaNum / SquareBrackets / [ _ - = . ~ ^ \ ` ] )+ 14 | 15 | Host ← "@" ( AlphaNum / SquareBrackets / [ _ - . | : / ] )+ 16 | 17 | 18 | 19 | Command ← ( Letter+ / Num{3} ) 20 | 21 | 22 | 23 | Params ← S Middle* Trailing? 24 | 25 | Middle ← ( !":" !S NonTerminating )+ S? 26 | 27 | Trailing ← ":" ( NonTerminating / S )* 28 | 29 | 30 | 31 | NonTerminating ← [^ U+000A U+000D ] 32 | 33 | SquareBrackets ← [ [ U+005D ] 34 | 35 | CurlyBrackets ← [ { } ] 36 | 37 | Backtick ← [ U+0060 ] 38 | 39 | AlphaNum ← ( Letter / Num ) 40 | 41 | Letter ← [ a-z A-Z ] 42 | 43 | Num ← [ 0-9 ] 44 | 45 | CRLF ← [ U+000D ] [ U+000A ] 46 | 47 | S ← [ U+0020 ]+ 48 | 49 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/lib/irc.peg: -------------------------------------------------------------------------------- 1 | Message ← Prefix? Command Params? CRLF 2 | 3 | 4 | 5 | Prefix ← ":" ( Server / Person ) 6 | 7 | Server ← ( AlphaNum / SquareBrackets / [ _ - . | * ] )+ !( User / Host ) S 8 | 9 | Person ← Nick User? Host? S 10 | 11 | Nick ← ( AlphaNum / SquareBrackets / CurlyBrackets / Backtick / [ _ - ^ | \ ] )+ 12 | 13 | User ← "!" ( AlphaNum / SquareBrackets / [ _ - = . ~ ^ \ ` ] )+ 14 | 15 | Host ← "@" ( AlphaNum / SquareBrackets / [ _ - . | : / ] )+ 16 | 17 | 18 | 19 | Command ← ( Letter+ / Num{3} ) 20 | 21 | 22 | 23 | Params ← S Middle* Trailing? 24 | 25 | Middle ← ( !":" !S NonTerminating )+ S? 26 | 27 | Trailing ← ":" ( NonTerminating / S )* 28 | 29 | 30 | 31 | NonTerminating ← [^ U+000A U+000D ] 32 | 33 | SquareBrackets ← [ [ U+005D ] 34 | 35 | CurlyBrackets ← [ { } ] 36 | 37 | Backtick ← [ U+0060 ] 38 | 39 | AlphaNum ← ( Letter / Num ) 40 | 41 | Letter ← [ a-z A-Z ] 42 | 43 | Num ← [ 0-9 ] 44 | 45 | CRLF ← [ U+000D ] [ U+000A ] 46 | 47 | S ← [ U+0020 ]+ 48 | 49 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'rake' 3 | require 'pdoc' 4 | 5 | OUTPUT_DIR = File.join(File.dirname(__FILE__), 'doc', 'html') 6 | 7 | desc "Builds the documentation" 8 | task :build_doc do 9 | PDoc.run({ 10 | :source_files => [File.join(File.dirname(__FILE__), 'lib', 'irc.js')], 11 | :destination => OUTPUT_DIR, 12 | :syntax_highlighter => :pygments, 13 | :markdown_parser => :maruku, 14 | :src_code_href => proc { |file, line| 15 | "http://github.com/gf3/IRC-js/#{file}##{line}" 16 | }, 17 | :pretty_urls => true, 18 | :bust_cache => true, 19 | :name => 'IRC-js | An IRC library for node.js', 20 | :short_name => 'IRC-js', 21 | :home_url => 'http://github.com/gf3/IRC-js', 22 | :doc_url => 'http://gf3.github.com/IRC-js/', 23 | :version => "0.2.0", 24 | :copyright_notice => 'This work is UNLICENSED.' 25 | }) 26 | end 27 | 28 | desc "Empties output directory" 29 | task :remove_doc do 30 | rm_rf Dir.glob(File.join(OUTPUT_DIR, "*")) 31 | end 32 | 33 | desc "Empties the output directory and builds the documentation." 34 | task :doc => [:remove_doc, :build_doc] 35 | 36 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/Rakefile: -------------------------------------------------------------------------------- 1 | require 'rubygems' 2 | require 'rake' 3 | require 'pdoc' 4 | 5 | OUTPUT_DIR = File.join(File.dirname(__FILE__), 'doc', 'html') 6 | 7 | desc "Builds the documentation" 8 | task :build_doc do 9 | PDoc.run({ 10 | :source_files => [File.join(File.dirname(__FILE__), 'lib', 'irc.js')], 11 | :destination => OUTPUT_DIR, 12 | :syntax_highlighter => :pygments, 13 | :markdown_parser => :maruku, 14 | :src_code_href => proc { |file, line| 15 | "http://github.com/gf3/IRC-js/#{file}##{line}" 16 | }, 17 | :pretty_urls => true, 18 | :bust_cache => true, 19 | :name => 'IRC-js | An IRC library for node.js', 20 | :short_name => 'IRC-js', 21 | :home_url => 'http://github.com/gf3/IRC-js', 22 | :doc_url => 'http://gf3.github.com/IRC-js/', 23 | :version => "0.2.0", 24 | :copyright_notice => 'This work is UNLICENSED.' 25 | }) 26 | end 27 | 28 | desc "Empties output directory" 29 | task :remove_doc do 30 | rm_rf Dir.glob(File.join(OUTPUT_DIR, "*")) 31 | end 32 | 33 | desc "Empties the output directory and builds the documentation." 34 | task :doc => [:remove_doc, :build_doc] 35 | 36 | -------------------------------------------------------------------------------- /tropirc.js: -------------------------------------------------------------------------------- 1 | var fs = require("fs") 2 | var http = require("http") 3 | var jerk = require("./Jerk") 4 | var formidable = require("./formidable") 5 | 6 | var listenport = 8199 7 | var number = "+999999999999999" 8 | var path = "/var/http/voicemail/" 9 | var url = "http://your.domain.tld/voicemail/" 10 | 11 | var options = 12 | { server: "wina.ugent.be", 13 | nick: "Voicemail", 14 | channels: ["#zeus"] 15 | } 16 | 17 | var bot = jerk(function(j) { 18 | j.watch_for(("^!voicemail"), function(message) { 19 | message.say("Call " + number + " to leave a message.") 20 | }) 21 | }).connect(options) 22 | 23 | 24 | var httpd = http.createServer(function (req, res) { 25 | console.log("Req: " + req) 26 | console.log("URL: " + req.url) 27 | console.log("headers: " + req.headers) 28 | var form = new formidable.IncomingForm(); 29 | form.parse(req, function(err, fields, files) { 30 | console.log(fields) 31 | console.log(files) 32 | 33 | var voicemail = files["filename"] 34 | 35 | fs.rename(voicemail.path, path + voicemail.name) 36 | bot.say("#zeus", "New voicemail @ " + url + voicemail.name); 37 | 38 | res.writeHead(200, {'content-type': 'text/plain'}); 39 | res.write('received'); 40 | res.end(); 41 | }) 42 | }) 43 | 44 | httpd.listen(listenport) 45 | -------------------------------------------------------------------------------- /formidable/test/simple/test-querystring-parser.js: -------------------------------------------------------------------------------- 1 | require('../common'); 2 | var QuerystringParser = require('formidable/querystring_parser').QuerystringParser, 3 | Buffer = require('buffer').Buffer, 4 | gently, 5 | parser; 6 | 7 | function test(test) { 8 | gently = new Gently(); 9 | parser = new QuerystringParser(); 10 | test(); 11 | gently.verify(test.name); 12 | } 13 | 14 | test(function constructor() { 15 | assert.equal(parser.buffer, ''); 16 | assert.equal(parser.constructor.name, 'QuerystringParser'); 17 | }); 18 | 19 | test(function write() { 20 | var a = new Buffer('a=1'); 21 | assert.equal(parser.write(a), a.length); 22 | 23 | var b = new Buffer('&b=2'); 24 | parser.write(b); 25 | assert.equal(parser.buffer, a + b); 26 | }); 27 | 28 | test(function end() { 29 | var FIELDS = {a: ['b', {c: 'd'}], e: 'f'}; 30 | 31 | gently.expect(GENTLY.hijacked.querystring, 'parse', function(str) { 32 | assert.equal(str, parser.buffer); 33 | return FIELDS; 34 | }); 35 | 36 | gently.expect(parser, 'onField', Object.keys(FIELDS).length, function(key, val) { 37 | assert.deepEqual(FIELDS[key], val); 38 | }); 39 | 40 | gently.expect(parser, 'onEnd'); 41 | 42 | parser.buffer = 'my buffer'; 43 | parser.end(); 44 | assert.equal(parser.buffer, ''); 45 | }); 46 | -------------------------------------------------------------------------------- /Jerk/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | 26 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | 26 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | 26 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | 26 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | 26 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | 26 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/UNLICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | 26 | -------------------------------------------------------------------------------- /formidable/example/post.js: -------------------------------------------------------------------------------- 1 | require('../test/common'); 2 | var http = require('http'), 3 | util = require('util'), 4 | formidable = require('formidable'), 5 | server; 6 | 7 | server = http.createServer(function(req, res) { 8 | if (req.url == '/') { 9 | res.writeHead(200, {'content-type': 'text/html'}); 10 | res.end( 11 | '
'+ 12 | '
'+ 13 | '
'+ 14 | ''+ 15 | '
' 16 | ); 17 | } else if (req.url == '/post') { 18 | var form = new formidable.IncomingForm(), 19 | fields = []; 20 | 21 | form 22 | .on('error', function(err) { 23 | res.writeHead(200, {'content-type': 'text/plain'}); 24 | res.end('error:\n\n'+util.inspect(err)); 25 | }) 26 | .on('field', function(field, value) { 27 | p([field, value]); 28 | fields.push([field, value]); 29 | }) 30 | .on('end', function() { 31 | puts('-> post done'); 32 | res.writeHead(200, {'content-type': 'text/plain'}); 33 | res.end('received fields:\n\n '+util.inspect(fields)); 34 | }); 35 | form.parse(req); 36 | } else { 37 | res.writeHead(404, {'content-type': 'text/plain'}); 38 | res.end('404'); 39 | } 40 | }); 41 | server.listen(TEST_PORT); 42 | 43 | util.puts('listening on http://localhost:'+TEST_PORT+'/'); 44 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/lib/coloured-log.js: -------------------------------------------------------------------------------- 1 | var Colour = require('coloured') 2 | , Log = require('log'); 3 | 4 | var colours = {}; 5 | 6 | colours[Log.EMERGENCY] = { background: 'red', foreground: 'yellow', extra: 'bold' }; 7 | colours[Log.ALERT] = { background: 'yellow', foreground: 'red', extra: 'bold' }; 8 | colours[Log.CRITICAL] = { background: 'yellow', foreground: 'black' }; 9 | colours[Log.ERROR] = { foreground: 'red' }; 10 | colours[Log.WARNING] = { foreground: 'yellow' }; 11 | colours[Log.NOTICE] = { foreground: 'cyan' }; 12 | colours[Log.INFO] = { foreground: 'green' }; 13 | colours[Log.DEBUG] = {}; 14 | 15 | var ColouredLog = exports = module.exports = function ColouredLog(level, stream) { 16 | Log.call(this, level, stream); 17 | }; 18 | 19 | ColouredLog.prototype = new Log; 20 | 21 | ColouredLog.prototype.colours = colours; 22 | 23 | // Need to inherit levels too 24 | for (var level in Log) { 25 | ColouredLog[level] = Log[level]; 26 | } 27 | 28 | ColouredLog.prototype.log = function (levelStr, msg) { 29 | if (Log[levelStr] <= this.level) { 30 | var message = '' 31 | + '[' + new Date().toUTCString() + ']' 32 | + Colour.extra('bold') 33 | + ' ' + levelStr 34 | + Colour.extra('clear'); 35 | 36 | message += new Array(52 - message.length).join(' '); 37 | 38 | message = Colour.colourise(message, this.colours[Log[levelStr]]); 39 | 40 | message += Colour.extra('clear') 41 | + msg 42 | + Colour.extra('clear') 43 | + '\n'; 44 | 45 | this.stream.write(message); 46 | } 47 | }; 48 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/lib/coloured-log.js: -------------------------------------------------------------------------------- 1 | var Colour = require('coloured') 2 | , Log = require('log'); 3 | 4 | var colours = {}; 5 | 6 | colours[Log.EMERGENCY] = { background: 'red', foreground: 'yellow', extra: 'bold' }; 7 | colours[Log.ALERT] = { background: 'yellow', foreground: 'red', extra: 'bold' }; 8 | colours[Log.CRITICAL] = { background: 'yellow', foreground: 'black' }; 9 | colours[Log.ERROR] = { foreground: 'red' }; 10 | colours[Log.WARNING] = { foreground: 'yellow' }; 11 | colours[Log.NOTICE] = { foreground: 'cyan' }; 12 | colours[Log.INFO] = { foreground: 'green' }; 13 | colours[Log.DEBUG] = {}; 14 | 15 | var ColouredLog = exports = module.exports = function ColouredLog(level, stream) { 16 | Log.call(this, level, stream); 17 | }; 18 | 19 | ColouredLog.prototype = new Log; 20 | 21 | ColouredLog.prototype.colours = colours; 22 | 23 | // Need to inherit levels too 24 | for (var level in Log) { 25 | ColouredLog[level] = Log[level]; 26 | } 27 | 28 | ColouredLog.prototype.log = function (levelStr, msg) { 29 | if (Log[levelStr] <= this.level) { 30 | var message = '' 31 | + '[' + new Date().toUTCString() + ']' 32 | + Colour.extra('bold') 33 | + ' ' + levelStr 34 | + Colour.extra('clear'); 35 | 36 | message += new Array(52 - message.length).join(' '); 37 | 38 | message = Colour.colourise(message, this.colours[Log[levelStr]]); 39 | 40 | message += Colour.extra('clear') 41 | + msg 42 | + Colour.extra('clear') 43 | + '\n'; 44 | 45 | this.stream.write(message); 46 | } 47 | }; 48 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/lib/coloured-log.js: -------------------------------------------------------------------------------- 1 | var Colour = require('coloured') 2 | , Log = require('log'); 3 | 4 | var colours = {}; 5 | 6 | colours[Log.EMERGENCY] = { background: 'red', foreground: 'yellow', extra: 'bold' }; 7 | colours[Log.ALERT] = { background: 'yellow', foreground: 'red', extra: 'bold' }; 8 | colours[Log.CRITICAL] = { background: 'yellow', foreground: 'black' }; 9 | colours[Log.ERROR] = { foreground: 'red' }; 10 | colours[Log.WARNING] = { foreground: 'yellow' }; 11 | colours[Log.NOTICE] = { foreground: 'cyan' }; 12 | colours[Log.INFO] = { foreground: 'green' }; 13 | colours[Log.DEBUG] = {}; 14 | 15 | var ColouredLog = exports = module.exports = function ColouredLog(level, stream) { 16 | Log.call(this, level, stream); 17 | }; 18 | 19 | ColouredLog.prototype = new Log; 20 | 21 | ColouredLog.prototype.colours = colours; 22 | 23 | // Need to inherit levels too 24 | for (var level in Log) { 25 | ColouredLog[level] = Log[level]; 26 | } 27 | 28 | ColouredLog.prototype.log = function (levelStr, msg) { 29 | if (Log[levelStr] <= this.level) { 30 | var message = '' 31 | + '[' + new Date().toUTCString() + ']' 32 | + Colour.extra('bold') 33 | + ' ' + levelStr 34 | + Colour.extra('clear'); 35 | 36 | message += new Array(52 - message.length).join(' '); 37 | 38 | message = Colour.colourise(message, this.colours[Log[levelStr]]); 39 | 40 | message += Colour.extra('clear') 41 | + msg 42 | + Colour.extra('clear') 43 | + '\n'; 44 | 45 | this.stream.write(message); 46 | } 47 | }; 48 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/lib/coloured-log.js: -------------------------------------------------------------------------------- 1 | var Colour = require('coloured') 2 | , Log = require('log'); 3 | 4 | var colours = {}; 5 | 6 | colours[Log.EMERGENCY] = { background: 'red', foreground: 'yellow', extra: 'bold' }; 7 | colours[Log.ALERT] = { background: 'yellow', foreground: 'red', extra: 'bold' }; 8 | colours[Log.CRITICAL] = { background: 'yellow', foreground: 'black' }; 9 | colours[Log.ERROR] = { foreground: 'red' }; 10 | colours[Log.WARNING] = { foreground: 'yellow' }; 11 | colours[Log.NOTICE] = { foreground: 'cyan' }; 12 | colours[Log.INFO] = { foreground: 'green' }; 13 | colours[Log.DEBUG] = {}; 14 | 15 | var ColouredLog = exports = module.exports = function ColouredLog(level, stream) { 16 | Log.call(this, level, stream); 17 | }; 18 | 19 | ColouredLog.prototype = new Log; 20 | 21 | ColouredLog.prototype.colours = colours; 22 | 23 | // Need to inherit levels too 24 | for (var level in Log) { 25 | ColouredLog[level] = Log[level]; 26 | } 27 | 28 | ColouredLog.prototype.log = function (levelStr, msg) { 29 | if (Log[levelStr] <= this.level) { 30 | var message = '' 31 | + '[' + new Date().toUTCString() + ']' 32 | + Colour.extra('bold') 33 | + ' ' + levelStr 34 | + Colour.extra('clear'); 35 | 36 | message += new Array(52 - message.length).join(' '); 37 | 38 | message = Colour.colourise(message, this.colours[Log[levelStr]]); 39 | 40 | message += Colour.extra('clear') 41 | + msg 42 | + Colour.extra('clear') 43 | + '\n'; 44 | 45 | this.stream.write(message); 46 | } 47 | }; 48 | -------------------------------------------------------------------------------- /formidable/example/upload.js: -------------------------------------------------------------------------------- 1 | require('../test/common'); 2 | var http = require('http'), 3 | util = require('util'), 4 | formidable = require('formidable'), 5 | server; 6 | 7 | server = http.createServer(function(req, res) { 8 | if (req.url == '/') { 9 | res.writeHead(200, {'content-type': 'text/html'}); 10 | res.end( 11 | '
'+ 12 | '
'+ 13 | '
'+ 14 | ''+ 15 | '
' 16 | ); 17 | } else if (req.url == '/upload') { 18 | var form = new formidable.IncomingForm(), 19 | files = [], 20 | fields = []; 21 | 22 | form.uploadDir = TEST_TMP; 23 | 24 | form 25 | .on('field', function(field, value) { 26 | p([field, value]); 27 | fields.push([field, value]); 28 | }) 29 | .on('file', function(field, file) { 30 | p([field, file]); 31 | files.push([field, file]); 32 | }) 33 | .on('end', function() { 34 | puts('-> upload done'); 35 | res.writeHead(200, {'content-type': 'text/plain'}); 36 | res.write('received fields:\n\n '+util.inspect(fields)); 37 | res.write('\n\n'); 38 | res.end('received files:\n\n '+util.inspect(files)); 39 | }); 40 | form.parse(req); 41 | } else { 42 | res.writeHead(404, {'content-type': 'text/plain'}); 43 | res.end('404'); 44 | } 45 | }); 46 | server.listen(TEST_PORT); 47 | 48 | util.puts('listening on http://localhost:'+TEST_PORT+'/'); 49 | -------------------------------------------------------------------------------- /formidable/lib/formidable/file.js: -------------------------------------------------------------------------------- 1 | if (global.GENTLY) require = GENTLY.hijack(require); 2 | 3 | var util = require('./util'), 4 | WriteStream = require('fs').WriteStream, 5 | EventEmitter = require('events').EventEmitter; 6 | 7 | function File(properties) { 8 | EventEmitter.call(this); 9 | 10 | this.size = 0; 11 | this.path = null; 12 | this.name = null; 13 | this.type = null; 14 | this.lastModifiedDate = null; 15 | 16 | this._writeStream = null; 17 | 18 | for (var key in properties) { 19 | this[key] = properties[key]; 20 | } 21 | 22 | this._backwardsCompatibility(); 23 | } 24 | module.exports = File; 25 | util.inherits(File, EventEmitter); 26 | 27 | // @todo Next release: Show error messages when accessing these 28 | File.prototype._backwardsCompatibility = function() { 29 | var self = this; 30 | this.__defineGetter__('length', function() { 31 | return self.size; 32 | }); 33 | this.__defineGetter__('filename', function() { 34 | return self.name; 35 | }); 36 | this.__defineGetter__('mime', function() { 37 | return self.type; 38 | }); 39 | }; 40 | 41 | File.prototype.open = function() { 42 | this._writeStream = new WriteStream(this.path); 43 | }; 44 | 45 | File.prototype.write = function(buffer, cb) { 46 | var self = this; 47 | this._writeStream.write(buffer, function() { 48 | self.lastModifiedDate = new Date(); 49 | self.size += buffer.length; 50 | self.emit('progress', self.size); 51 | cb(); 52 | }); 53 | }; 54 | 55 | File.prototype.end = function(cb) { 56 | var self = this; 57 | this._writeStream.end(function() { 58 | self.emit('end'); 59 | cb(); 60 | }); 61 | }; 62 | -------------------------------------------------------------------------------- /formidable/test/simple/test-multipart-parser.js: -------------------------------------------------------------------------------- 1 | require('../common'); 2 | var multipartParser = require('formidable/multipart_parser'), 3 | MultipartParser = multipartParser.MultipartParser, 4 | events = require('events'), 5 | Buffer = require('buffer').Buffer, 6 | parser; 7 | 8 | function test(test) { 9 | parser = new MultipartParser(); 10 | test(); 11 | } 12 | 13 | test(function constructor() { 14 | assert.equal(parser.boundary, null); 15 | assert.equal(parser.state, 0); 16 | assert.equal(parser.flags, 0); 17 | assert.equal(parser.boundaryChars, null); 18 | assert.equal(parser.index, null); 19 | assert.equal(parser.lookbehind, null); 20 | assert.equal(parser.constructor.name, 'MultipartParser'); 21 | }); 22 | 23 | test(function initWithBoundary() { 24 | var boundary = 'abc'; 25 | parser.initWithBoundary(boundary); 26 | assert.deepEqual(Array.prototype.slice.call(parser.boundary), [13, 10, 45, 45, 97, 98, 99]); 27 | assert.equal(parser.state, multipartParser.START); 28 | 29 | assert.deepEqual(parser.boundaryChars, {10: true, 13: true, 45: true, 97: true, 98: true, 99: true}); 30 | }); 31 | 32 | test(function parserError() { 33 | var boundary = 'abc', 34 | buffer = new Buffer(5); 35 | 36 | parser.initWithBoundary(boundary); 37 | buffer.write('--ad', 'ascii', 0); 38 | assert.equal(parser.write(buffer), 3); 39 | }); 40 | 41 | test(function end() { 42 | (function testError() { 43 | assert.equal(parser.end().message, 'MultipartParser.end(): stream ended unexpectedly'); 44 | })(); 45 | 46 | (function testRegular() { 47 | parser.state = multipartParser.END; 48 | assert.strictEqual(parser.end(), undefined); 49 | })(); 50 | }); 51 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "irc-js", 3 | "description": "An IRC library for node.js", 4 | "author": { 5 | "name": "Gianni Chiappetta", 6 | "email": "gianni@runlevel6.org", 7 | "url": "http://gf3.ca" 8 | }, 9 | "contributors": [ 10 | { 11 | "name": "Adam Bergmark" 12 | }, 13 | { 14 | "name": "Martin Häger", 15 | "email": "martin.haeger@gmail.com", 16 | "url": "http://freeasinbeard.org" 17 | }, 18 | { 19 | "name": "temp01" 20 | }, 21 | { 22 | "name": "Diogo Gomes", 23 | "email": "maushu@graphnode.com", 24 | "url": "http://www.graphnode.com/" 25 | } 26 | ], 27 | "homepage": "http://gf3.github.com/IRC-js/", 28 | "version": "0.2.15", 29 | "main": "./lib/irc", 30 | "directories": { 31 | "lib": "./lib", 32 | "node_libraries": "./node_libraries" 33 | }, 34 | "engines": [ 35 | "node >=0.2.0" 36 | ], 37 | "dependencies": { 38 | "coloured-log": ">= 0.9.4" 39 | }, 40 | "repository": { 41 | "type": "git", 42 | "url": "https://gf3@github.com/gf3/IRC-js.git" 43 | }, 44 | "license": { 45 | "type": "Public Domain", 46 | "url": "http://github.com/gf3/IRC-js/raw/master/UNLICENSE" 47 | }, 48 | "_id": "irc-js@0.2.15", 49 | "_engineSupported": true, 50 | "_npmVersion": "0.2.17", 51 | "_nodeVersion": "v0.3.1-pre", 52 | "modules": { 53 | "compiler.js": "lib/compiler.js", 54 | "irc.js": "lib/irc.js", 55 | "irc.peg": "lib/irc.peg", 56 | "parser.js": "lib/parser.js", 57 | "walker.js": "lib/walker.js" 58 | }, 59 | "files": [ 60 | "" 61 | ], 62 | "_defaultsLoaded": true, 63 | "dist": { 64 | "shasum": "eb89127d032eaaef46f2f6fffc36cf2732d18c36" 65 | } 66 | } -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/lib/walker.js: -------------------------------------------------------------------------------- 1 | var PanPG_util = require( 'PanPG/PanPG_util' ) 2 | , Walker = {} 3 | 4 | /* ------------------------------ Utilities ------------------------------ */ 5 | function merge( objects ) { var obj 6 | obj = {} 7 | objects.forEach( function( o ){ var key, keys, i, length 8 | for (i = 0, keys = Object.keys( o ), length = keys.length; i < length; i++) 9 | key = keys[i], obj[key] = o[key] 10 | }) 11 | return obj 12 | } 13 | 14 | /* ------------------------------ Rules ------------------------------ */ 15 | Walker.rules = 16 | { Message: function( node, children ){ var msg = merge( children ); msg.raw = node.text(); return msg } 17 | 18 | , Prefix: function( node, children ){ return children[0] } 19 | 20 | , Server: function( node ){ return { server: node.text().trim() } } 21 | 22 | , Person: function( node, children ){ return { person: merge( children ) } } 23 | , Nick: function( node ){ return { nick: node.text().trim() } } 24 | , User: function( node ){ return { user: node.text().slice(1).trim() } } 25 | , Host: function( node ){ return { host: node.text().slice(1).trim() } } 26 | 27 | , Command: function( node ){ return { command: node.text().toLowerCase() } } 28 | 29 | , Params: function( node, children ){ return { params: children } } 30 | , Middle: function( node ){ return node.text().trim() } 31 | , Trailing: function( node ){ return node.text().slice(1) } 32 | } 33 | 34 | /* ------------------------------ Walk! ------------------------------ */ 35 | Walker.walk = function( tree ) { 36 | return PanPG_util.treeWalker( this.rules, tree ) 37 | } 38 | 39 | Walker.show = function( tree ) { 40 | return PanPG_util.showTree( tree ) 41 | } 42 | 43 | /* ------------------------------ Export ------------------------------ */ 44 | module.exports = Walker 45 | 46 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/lib/walker.js: -------------------------------------------------------------------------------- 1 | var PanPG_util = require( 'PanPG/PanPG_util' ) 2 | , Walker = {} 3 | 4 | /* ------------------------------ Utilities ------------------------------ */ 5 | function merge( objects ) { var obj 6 | obj = {} 7 | objects.forEach( function( o ){ var key, keys, i, length 8 | for (i = 0, keys = Object.keys( o ), length = keys.length; i < length; i++) 9 | key = keys[i], obj[key] = o[key] 10 | }) 11 | return obj 12 | } 13 | 14 | /* ------------------------------ Rules ------------------------------ */ 15 | Walker.rules = 16 | { Message: function( node, children ){ var msg = merge( children ); msg.raw = node.text(); return msg } 17 | 18 | , Prefix: function( node, children ){ return children[0] } 19 | 20 | , Server: function( node ){ return { server: node.text().trim() } } 21 | 22 | , Person: function( node, children ){ return { person: merge( children ) } } 23 | , Nick: function( node ){ return { nick: node.text().trim() } } 24 | , User: function( node ){ return { user: node.text().slice(1).trim() } } 25 | , Host: function( node ){ return { host: node.text().slice(1).trim() } } 26 | 27 | , Command: function( node ){ return { command: node.text().toLowerCase() } } 28 | 29 | , Params: function( node, children ){ return { params: children } } 30 | , Middle: function( node ){ return node.text().trim() } 31 | , Trailing: function( node ){ return node.text().slice(1) } 32 | } 33 | 34 | /* ------------------------------ Walk! ------------------------------ */ 35 | Walker.walk = function( tree ) { 36 | return PanPG_util.treeWalker( this.rules, tree ) 37 | } 38 | 39 | Walker.show = function( tree ) { 40 | return PanPG_util.showTree( tree ) 41 | } 42 | 43 | /* ------------------------------ Export ------------------------------ */ 44 | module.exports = Walker 45 | 46 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/.cache.json: -------------------------------------------------------------------------------- 1 | {"_id":"coloured-log","_rev":"8-63aaba6a4570155ee563014f8e670873","name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","dist-tags":{"latest":"0.9.4"},"versions":{"0.9.3":{"name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","version":"0.9.3","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"dependencies":{"coloured":">= 0.2.0","log":">= 1.1.1"},"keywords":["coloured","log","logger"],"main":"./lib/coloured-log","engines":{"node":">= 0.2.0"},"_id":"coloured-log@0.9.3","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"http://registry.npmjs.org/coloured-log/-/coloured-log-0.9.3.tgz"},"mtime":"2010-11-09T23:21:52Z","ctime":"2010-11-09T23:21:52Z"},"0.9.4":{"name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","version":"0.9.4","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"dependencies":{"coloured":">= 0.2.0","log":">= 1.1.1"},"keywords":["coloured","log","logger"],"main":"./lib/coloured-log","engines":{"node":">= 0.2.0"},"_id":"coloured-log@0.9.4","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"http://registry.npmjs.org/coloured-log/-/coloured-log-0.9.4.tgz"},"mtime":"2010-11-09T23:21:52Z","ctime":"2010-11-09T23:21:52Z"}},"maintainers":[{"name":"bentruyman","email":"bentruyman@gmail.com"}],"mtime":"2010-11-09T23:21:52Z","ctime":"2010-11-09T23:21:52Z","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"_etag":"\"66PVRSUA8SST343WQJOKA9UON\""} -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/.cache.json: -------------------------------------------------------------------------------- 1 | {"_id":"coloured-log","_rev":"8-63aaba6a4570155ee563014f8e670873","name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","dist-tags":{"latest":"0.9.4"},"versions":{"0.9.3":{"name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","version":"0.9.3","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"dependencies":{"coloured":">= 0.2.0","log":">= 1.1.1"},"keywords":["coloured","log","logger"],"main":"./lib/coloured-log","engines":{"node":">= 0.2.0"},"_id":"coloured-log@0.9.3","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"http://registry.npmjs.org/coloured-log/-/coloured-log-0.9.3.tgz"},"mtime":"2010-11-09T23:21:52Z","ctime":"2010-11-09T23:21:52Z"},"0.9.4":{"name":"coloured-log","description":"Combines \"coloured\" and \"log.js\" for super simple pretty logging.","version":"0.9.4","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"dependencies":{"coloured":">= 0.2.0","log":">= 1.1.1"},"keywords":["coloured","log","logger"],"main":"./lib/coloured-log","engines":{"node":">= 0.2.0"},"_id":"coloured-log@0.9.4","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"http://registry.npmjs.org/coloured-log/-/coloured-log-0.9.4.tgz"},"mtime":"2010-11-09T23:21:52Z","ctime":"2010-11-09T23:21:52Z"}},"maintainers":[{"name":"bentruyman","email":"bentruyman@gmail.com"}],"mtime":"2010-11-09T23:21:52Z","ctime":"2010-11-09T23:21:52Z","author":{"name":"Ben Truyman","email":"bentruyman@gmail.com"},"repository":{"type":"git","url":"http://github.com/bentruyman/coloured-log"},"_etag":"\"66PVRSUA8SST343WQJOKA9UON\""} -------------------------------------------------------------------------------- /formidable/benchmark/bench-multipart-parser.js: -------------------------------------------------------------------------------- 1 | require('../test/common'); 2 | var multipartParser = require('formidable/multipart_parser'), 3 | MultipartParser = multipartParser.MultipartParser, 4 | parser = new MultipartParser(), 5 | Buffer = require('buffer').Buffer, 6 | boundary = '-----------------------------168072824752491622650073', 7 | mb = 100, 8 | buffer = createMultipartBuffer(boundary, mb * 1024 * 1024), 9 | callbacks = 10 | { partBegin: -1, 11 | partEnd: -1, 12 | headerField: -1, 13 | headerValue: -1, 14 | partData: -1, 15 | end: -1, 16 | }; 17 | 18 | 19 | parser.initWithBoundary(boundary); 20 | parser.onHeaderField = function() { 21 | callbacks.headerField++; 22 | }; 23 | 24 | parser.onHeaderValue = function() { 25 | callbacks.headerValue++; 26 | }; 27 | 28 | parser.onPartBegin = function() { 29 | callbacks.partBegin++; 30 | }; 31 | 32 | parser.onPartData = function() { 33 | callbacks.partData++; 34 | }; 35 | 36 | parser.onPartEnd = function() { 37 | callbacks.partEnd++; 38 | }; 39 | 40 | parser.onEnd = function() { 41 | callbacks.end++; 42 | }; 43 | 44 | var start = +new Date(), 45 | nparsed = parser.write(buffer), 46 | duration = +new Date - start, 47 | mbPerSec = (mb / (duration / 1000)).toFixed(2); 48 | 49 | p(mbPerSec+' mb/sec'); 50 | 51 | assert.equal(nparsed, buffer.length); 52 | 53 | function createMultipartBuffer(boundary, size) { 54 | var head = 55 | '--'+boundary+'\r\n' 56 | + 'content-disposition: form-data; name="field1"\r\n' 57 | + '\r\n' 58 | , tail = '\r\n--'+boundary+'--\r\n' 59 | , buffer = new Buffer(size); 60 | 61 | buffer.write(head, 'ascii', 0); 62 | buffer.write(tail, 'ascii', buffer.length - tail.length); 63 | return buffer; 64 | } 65 | 66 | process.on('exit', function() { 67 | for (var k in callbacks) { 68 | assert.equal(0, callbacks[k], k+' count off by '+callbacks[k]); 69 | } 70 | }); 71 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/spec/messages.json: -------------------------------------------------------------------------------- 1 | [ ":js-irc!n=js-irc@CPE00226b711143-CM001bd7abd99c.cpe.net.cable.rogers.com JOIN :#runlevel6\r\n" 2 | , ":brown.freenode.net 332 js-irc #runlevel6 :http://www.runlevel6.org/ | Cakefarts!\r\n" 3 | , ":brown.freenode.net 333 js-irc #runlevel6 gf3 1252481170\r\n" 4 | , ":brown.freenode.net 353 js-irc = #runlevel6 :js-irc @gf3 @ChanServ \r\n" 5 | , ":brown.freenode.net 366 js-irc #runlevel6 :End of /NAMES list.\r\n" 6 | , ":ChanServ!ChanServ@services. NOTICE js-irc :[#runlevel6] Welcome to #Runlevel6, updates available at http://wiki.runlevel6.org\r\n" 7 | , ":brown.freenode.net 328 js-irc #runlevel6 :http://www.runlevel6.org\r\n" 8 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG #runlevel6 :oh hai\r\n" 9 | , "NOTICE AUTH :*** Looking up your hostname...\r\n" 10 | , "NOTICE AUTH :*** Found your hostname, welcome back\r\n" 11 | , "NOTICE AUTH :*** No identd (auth) response\r\n" 12 | , ":crichton.freenode.net 001 js-irc :Welcome to the freenode IRC Network js-irc\r\n" 13 | , ":crichton.freenode.net 250 js-irc :Highest connection count: 10258 (10257 clients) (147037 since server was (re)started)\r\n" 14 | , ":crichton.freenode.net 372 js-irc :- our corporate sponsor Canonical Ltd (http://www.canonical.com).\r\n" 15 | , ":crichton.freenode.net 372 js-irc :- freenode runs an open proxy scanner. Your use of the network\r\n" 16 | , ":crichton.freenode.net 372 js-irc :- you can help out over at http://freenode.net/pdpc_donations.shtml\r\n" 17 | , ":js-irc!n=js-irc@bas1-hamilton14-1177553042.dsl.bell.ca JOIN :#runlevel6\r\n" 18 | , ":ChanServ!ChanServ@services. NOTICE js-irc :[#runlevel6] Welcome to #Runlevel6, updates available at http://wiki.runlevel6.org\r\n" 19 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG #runlevel6 :hi\r\n" 20 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG #runlevel6 :NO U LOL\r\n" 21 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG js-irc :pmsg\r\n" 22 | , ":frigg!~eir@freenode/utility-bot/frigg PRIVMSG protobot :VERSION\r\n" 23 | , ":protobot!~protobot@CPE00226b711143-CM001bd7abd99c.cpe.net.cable.rogers.com JOIN :#runlevel6\r\n" 24 | , ":dandean!~dandean@c-66-235-3-99.sea.wa.customer.broadstripe.net QUIT :Ping timeout: 276 seconds\r\n" 25 | , ":Hornet!~hornet@cpc3-ipsw1-0-0-cust381.5-4.cable.virginmedia.com JOIN :#prototype\r\n" 26 | ] 27 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/spec/messages.json: -------------------------------------------------------------------------------- 1 | [ ":js-irc!n=js-irc@CPE00226b711143-CM001bd7abd99c.cpe.net.cable.rogers.com JOIN :#runlevel6\r\n" 2 | , ":brown.freenode.net 332 js-irc #runlevel6 :http://www.runlevel6.org/ | Cakefarts!\r\n" 3 | , ":brown.freenode.net 333 js-irc #runlevel6 gf3 1252481170\r\n" 4 | , ":brown.freenode.net 353 js-irc = #runlevel6 :js-irc @gf3 @ChanServ \r\n" 5 | , ":brown.freenode.net 366 js-irc #runlevel6 :End of /NAMES list.\r\n" 6 | , ":ChanServ!ChanServ@services. NOTICE js-irc :[#runlevel6] Welcome to #Runlevel6, updates available at http://wiki.runlevel6.org\r\n" 7 | , ":brown.freenode.net 328 js-irc #runlevel6 :http://www.runlevel6.org\r\n" 8 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG #runlevel6 :oh hai\r\n" 9 | , "NOTICE AUTH :*** Looking up your hostname...\r\n" 10 | , "NOTICE AUTH :*** Found your hostname, welcome back\r\n" 11 | , "NOTICE AUTH :*** No identd (auth) response\r\n" 12 | , ":crichton.freenode.net 001 js-irc :Welcome to the freenode IRC Network js-irc\r\n" 13 | , ":crichton.freenode.net 250 js-irc :Highest connection count: 10258 (10257 clients) (147037 since server was (re)started)\r\n" 14 | , ":crichton.freenode.net 372 js-irc :- our corporate sponsor Canonical Ltd (http://www.canonical.com).\r\n" 15 | , ":crichton.freenode.net 372 js-irc :- freenode runs an open proxy scanner. Your use of the network\r\n" 16 | , ":crichton.freenode.net 372 js-irc :- you can help out over at http://freenode.net/pdpc_donations.shtml\r\n" 17 | , ":js-irc!n=js-irc@bas1-hamilton14-1177553042.dsl.bell.ca JOIN :#runlevel6\r\n" 18 | , ":ChanServ!ChanServ@services. NOTICE js-irc :[#runlevel6] Welcome to #Runlevel6, updates available at http://wiki.runlevel6.org\r\n" 19 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG #runlevel6 :hi\r\n" 20 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG #runlevel6 :NO U LOL\r\n" 21 | , ":gf3!n=gianni@pdpc/supporter/active/gf3 PRIVMSG js-irc :pmsg\r\n" 22 | , ":frigg!~eir@freenode/utility-bot/frigg PRIVMSG protobot :VERSION\r\n" 23 | , ":protobot!~protobot@CPE00226b711143-CM001bd7abd99c.cpe.net.cable.rogers.com JOIN :#runlevel6\r\n" 24 | , ":dandean!~dandean@c-66-235-3-99.sea.wa.customer.broadstripe.net QUIT :Ping timeout: 276 seconds\r\n" 25 | , ":Hornet!~hornet@cpc3-ipsw1-0-0-cust381.5-4.cable.virginmedia.com JOIN :#prototype\r\n" 26 | ] 27 | -------------------------------------------------------------------------------- /formidable/test/fixture/multipart.js: -------------------------------------------------------------------------------- 1 | exports['rfc1867'] = 2 | { boundary: 'AaB03x', 3 | raw: 4 | '--AaB03x\r\n'+ 5 | 'content-disposition: form-data; name="field1"\r\n'+ 6 | '\r\n'+ 7 | 'Joe Blow\r\nalmost tricked you!\r\n'+ 8 | '--AaB03x\r\n'+ 9 | 'content-disposition: form-data; name="pics"; filename="file1.txt"\r\n'+ 10 | 'Content-Type: text/plain\r\n'+ 11 | '\r\n'+ 12 | '... contents of file1.txt ...\r\r\n'+ 13 | '--AaB03x--\r\n', 14 | parts: 15 | [ { headers: { 16 | 'content-disposition': 'form-data; name="field1"', 17 | }, 18 | data: 'Joe Blow\r\nalmost tricked you!', 19 | }, 20 | { headers: { 21 | 'content-disposition': 'form-data; name="pics"; filename="file1.txt"', 22 | 'Content-Type': 'text/plain', 23 | }, 24 | data: '... contents of file1.txt ...\r', 25 | } 26 | ] 27 | }; 28 | 29 | exports['noTrailing\r\n'] = 30 | { boundary: 'AaB03x', 31 | raw: 32 | '--AaB03x\r\n'+ 33 | 'content-disposition: form-data; name="field1"\r\n'+ 34 | '\r\n'+ 35 | 'Joe Blow\r\nalmost tricked you!\r\n'+ 36 | '--AaB03x\r\n'+ 37 | 'content-disposition: form-data; name="pics"; filename="file1.txt"\r\n'+ 38 | 'Content-Type: text/plain\r\n'+ 39 | '\r\n'+ 40 | '... contents of file1.txt ...\r\r\n'+ 41 | '--AaB03x--', 42 | parts: 43 | [ { headers: { 44 | 'content-disposition': 'form-data; name="field1"', 45 | }, 46 | data: 'Joe Blow\r\nalmost tricked you!', 47 | }, 48 | { headers: { 49 | 'content-disposition': 'form-data; name="pics"; filename="file1.txt"', 50 | 'Content-Type': 'text/plain', 51 | }, 52 | data: '... contents of file1.txt ...\r', 53 | } 54 | ] 55 | }; 56 | 57 | exports['emptyHeader'] = 58 | { boundary: 'AaB03x', 59 | raw: 60 | '--AaB03x\r\n'+ 61 | 'content-disposition: form-data; name="field1"\r\n'+ 62 | ': foo\r\n'+ 63 | '\r\n'+ 64 | 'Joe Blow\r\nalmost tricked you!\r\n'+ 65 | '--AaB03x\r\n'+ 66 | 'content-disposition: form-data; name="pics"; filename="file1.txt"\r\n'+ 67 | 'Content-Type: text/plain\r\n'+ 68 | '\r\n'+ 69 | '... contents of file1.txt ...\r\r\n'+ 70 | '--AaB03x--\r\n', 71 | expectError: true, 72 | }; 73 | -------------------------------------------------------------------------------- /formidable/test/integration/test-multipart-parser.js: -------------------------------------------------------------------------------- 1 | require('../common'); 2 | var CHUNK_LENGTH = 10, 3 | multipartParser = require('formidable/multipart_parser'), 4 | MultipartParser = multipartParser.MultipartParser, 5 | parser = new MultipartParser(), 6 | fixtures = require('../fixture/multipart'), 7 | Buffer = require('buffer').Buffer; 8 | 9 | Object.keys(fixtures).forEach(function(name) { 10 | var fixture = fixtures[name], 11 | buffer = new Buffer(Buffer.byteLength(fixture.raw, 'binary')), 12 | offset = 0, 13 | chunk, 14 | nparsed, 15 | 16 | parts = [], 17 | part = null, 18 | headerField, 19 | headerValue, 20 | endCalled = ''; 21 | 22 | parser.initWithBoundary(fixture.boundary); 23 | parser.onPartBegin = function() { 24 | part = {headers: {}, data: ''}; 25 | parts.push(part); 26 | headerField = ''; 27 | headerValue = ''; 28 | }; 29 | 30 | parser.onHeaderField = function(b, start, end) { 31 | headerField += b.toString('ascii', start, end); 32 | }; 33 | 34 | parser.onHeaderValue = function(b, start, end) { 35 | headerValue += b.toString('ascii', start, end); 36 | } 37 | 38 | parser.onHeaderEnd = function() { 39 | part.headers[headerField] = headerValue; 40 | headerField = ''; 41 | headerValue = ''; 42 | }; 43 | 44 | parser.onPartData = function(b, start, end) { 45 | var str = b.toString('ascii', start, end); 46 | part.data += b.slice(start, end); 47 | } 48 | 49 | parser.onEnd = function() { 50 | endCalled = true; 51 | } 52 | 53 | buffer.write(fixture.raw, 'binary', 0); 54 | 55 | while (offset < buffer.length) { 56 | if (offset + CHUNK_LENGTH < buffer.length) { 57 | chunk = buffer.slice(offset, offset+CHUNK_LENGTH); 58 | } else { 59 | chunk = buffer.slice(offset, buffer.length); 60 | } 61 | offset = offset + CHUNK_LENGTH; 62 | 63 | nparsed = parser.write(chunk); 64 | if (nparsed != chunk.length) { 65 | if (fixture.expectError) { 66 | return; 67 | } 68 | puts('-- ERROR --'); 69 | p(chunk.toString('ascii')); 70 | throw new Error(chunk.length+' bytes written, but only '+nparsed+' bytes parsed!'); 71 | } 72 | } 73 | 74 | if (fixture.expectError) { 75 | throw new Error('expected parse error did not happen'); 76 | } 77 | 78 | assert.ok(endCalled); 79 | assert.deepEqual(parts, fixture.parts); 80 | }); 81 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/README.md: -------------------------------------------------------------------------------- 1 | # Coloured 2 | 3 | Pretty colours in your terminal. This is a node.js port of [defunkt's colored](http://github.com/defunkt/colored). 4 | 5 | Colour.extendString() 6 | console.log( "this is red".red() ) 7 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 8 | console.log( "this is red with an underline".red().underline() ) 9 | console.log( "this is really bold and really blue".bold().blue() ) 10 | 11 | ![Screenshot](http://img.gf3.ca/4f615cb56fb1a090ff4e36eb88247258.png) 12 | 13 | For more examples see `example/example.js`. 14 | 15 | ## Colours & Extras 16 | 17 | As a convenience all colours and extras are available as methods on strings. 18 | Colours may be specified alone (e.g. `red`), or they may be specified with 19 | a background like so `foreground_on_background` (e.g. `black_on_cyan`). 20 | 21 | * black 22 | * red 23 | * green 24 | * yellow 25 | * blue 26 | * magenta 27 | * cyan 28 | * white 29 | 30 | Extras are used the same as colours. 31 | 32 | * clear 33 | * bold 34 | * underline 35 | * reverse 36 | 37 | ## Installation 38 | 39 | With npm: `npm install coloured` 40 | 41 | With git: `git clone git://github.com/gf3/coloured.git` 42 | 43 | ## API 44 | 45 | When `require`'d this module returns a Colour object with the following methods 46 | and properties. 47 | 48 | ### Methods 49 | 50 | `Colour.extendString( nativeProto ) → Undefined` 51 | 52 | * `native` - Prototype to extend. Default: `String.prototype`. 53 | 54 | `Colour.colourise( string, options ) → String` 55 | 56 | * `string` - String to be coloured. **Required**. 57 | * `options` - Object with any of the following properties: `foreground`, `background`, `extra`. Default: `{}`. 58 | 59 | `Colour.colour( name, background ) → String` 60 | 61 | * `name` - Colour name (e.g. `"red"`). **Required**. 62 | * `background` - Set to true if background colour is desired. Default: `false`. 63 | 64 | `Colour.extra( name) → String` 65 | 66 | * `name` - Extra name (e.g. `"bold"`). **Required**. 67 | 68 | ### Properties 69 | 70 | `Colour.colours → Object` Object containing colour names and values. 71 | 72 | `Colour.extras → Object` Object containing extra names and values. 73 | 74 | ## Author 75 | 76 | Written by [Gianni "gf3" Chiappetta](http://github.com/gf3) – [gf3.ca](http://gf3.ca) 77 | 78 | ## License 79 | 80 | Coloured is [UNLICENSED](http://unlicense.org/). 81 | 82 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/README.md: -------------------------------------------------------------------------------- 1 | # Coloured 2 | 3 | Pretty colours in your terminal. This is a node.js port of [defunkt's colored](http://github.com/defunkt/colored). 4 | 5 | Colour.extendString() 6 | console.log( "this is red".red() ) 7 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 8 | console.log( "this is red with an underline".red().underline() ) 9 | console.log( "this is really bold and really blue".bold().blue() ) 10 | 11 | ![Screenshot](http://img.gf3.ca/4f615cb56fb1a090ff4e36eb88247258.png) 12 | 13 | For more examples see `example/example.js`. 14 | 15 | ## Colours & Extras 16 | 17 | As a convenience all colours and extras are available as methods on strings. 18 | Colours may be specified alone (e.g. `red`), or they may be specified with 19 | a background like so `foreground_on_background` (e.g. `black_on_cyan`). 20 | 21 | * black 22 | * red 23 | * green 24 | * yellow 25 | * blue 26 | * magenta 27 | * cyan 28 | * white 29 | 30 | Extras are used the same as colours. 31 | 32 | * clear 33 | * bold 34 | * underline 35 | * reverse 36 | 37 | ## Installation 38 | 39 | With npm: `npm install coloured` 40 | 41 | With git: `git clone git://github.com/gf3/coloured.git` 42 | 43 | ## API 44 | 45 | When `require`'d this module returns a Colour object with the following methods 46 | and properties. 47 | 48 | ### Methods 49 | 50 | `Colour.extendString( nativeProto ) → Undefined` 51 | 52 | * `native` - Prototype to extend. Default: `String.prototype`. 53 | 54 | `Colour.colourise( string, options ) → String` 55 | 56 | * `string` - String to be coloured. **Required**. 57 | * `options` - Object with any of the following properties: `foreground`, `background`, `extra`. Default: `{}`. 58 | 59 | `Colour.colour( name, background ) → String` 60 | 61 | * `name` - Colour name (e.g. `"red"`). **Required**. 62 | * `background` - Set to true if background colour is desired. Default: `false`. 63 | 64 | `Colour.extra( name) → String` 65 | 66 | * `name` - Extra name (e.g. `"bold"`). **Required**. 67 | 68 | ### Properties 69 | 70 | `Colour.colours → Object` Object containing colour names and values. 71 | 72 | `Colour.extras → Object` Object containing extra names and values. 73 | 74 | ## Author 75 | 76 | Written by [Gianni "gf3" Chiappetta](http://github.com/gf3) – [gf3.ca](http://gf3.ca) 77 | 78 | ## License 79 | 80 | Coloured is [UNLICENSED](http://unlicense.org/). 81 | 82 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/README.md: -------------------------------------------------------------------------------- 1 | # Coloured 2 | 3 | Pretty colours in your terminal. This is a node.js port of [defunkt's colored](http://github.com/defunkt/colored). 4 | 5 | Colour.extendString() 6 | console.log( "this is red".red() ) 7 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 8 | console.log( "this is red with an underline".red().underline() ) 9 | console.log( "this is really bold and really blue".bold().blue() ) 10 | 11 | ![Screenshot](http://img.gf3.ca/4f615cb56fb1a090ff4e36eb88247258.png) 12 | 13 | For more examples see `example/example.js`. 14 | 15 | ## Colours & Extras 16 | 17 | As a convenience all colours and extras are available as methods on strings. 18 | Colours may be specified alone (e.g. `red`), or they may be specified with 19 | a background like so `foreground_on_background` (e.g. `black_on_cyan`). 20 | 21 | * black 22 | * red 23 | * green 24 | * yellow 25 | * blue 26 | * magenta 27 | * cyan 28 | * white 29 | 30 | Extras are used the same as colours. 31 | 32 | * clear 33 | * bold 34 | * underline 35 | * reverse 36 | 37 | ## Installation 38 | 39 | With npm: `npm install coloured` 40 | 41 | With git: `git clone git://github.com/gf3/coloured.git` 42 | 43 | ## API 44 | 45 | When `require`'d this module returns a Colour object with the following methods 46 | and properties. 47 | 48 | ### Methods 49 | 50 | `Colour.extendString( nativeProto ) → Undefined` 51 | 52 | * `native` - Prototype to extend. Default: `String.prototype`. 53 | 54 | `Colour.colourise( string, options ) → String` 55 | 56 | * `string` - String to be coloured. **Required**. 57 | * `options` - Object with any of the following properties: `foreground`, `background`, `extra`. Default: `{}`. 58 | 59 | `Colour.colour( name, background ) → String` 60 | 61 | * `name` - Colour name (e.g. `"red"`). **Required**. 62 | * `background` - Set to true if background colour is desired. Default: `false`. 63 | 64 | `Colour.extra( name) → String` 65 | 66 | * `name` - Extra name (e.g. `"bold"`). **Required**. 67 | 68 | ### Properties 69 | 70 | `Colour.colours → Object` Object containing colour names and values. 71 | 72 | `Colour.extras → Object` Object containing extra names and values. 73 | 74 | ## Author 75 | 76 | Written by [Gianni "gf3" Chiappetta](http://github.com/gf3) – [gf3.ca](http://gf3.ca) 77 | 78 | ## License 79 | 80 | Coloured is [UNLICENSED](http://unlicense.org/). 81 | 82 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/README.md: -------------------------------------------------------------------------------- 1 | # Coloured 2 | 3 | Pretty colours in your terminal. This is a node.js port of [defunkt's colored](http://github.com/defunkt/colored). 4 | 5 | Colour.extendString() 6 | console.log( "this is red".red() ) 7 | console.log( "this is red with a blue background (read: ugly)".red_on_blue() ) 8 | console.log( "this is red with an underline".red().underline() ) 9 | console.log( "this is really bold and really blue".bold().blue() ) 10 | 11 | ![Screenshot](http://img.gf3.ca/4f615cb56fb1a090ff4e36eb88247258.png) 12 | 13 | For more examples see `example/example.js`. 14 | 15 | ## Colours & Extras 16 | 17 | As a convenience all colours and extras are available as methods on strings. 18 | Colours may be specified alone (e.g. `red`), or they may be specified with 19 | a background like so `foreground_on_background` (e.g. `black_on_cyan`). 20 | 21 | * black 22 | * red 23 | * green 24 | * yellow 25 | * blue 26 | * magenta 27 | * cyan 28 | * white 29 | 30 | Extras are used the same as colours. 31 | 32 | * clear 33 | * bold 34 | * underline 35 | * reverse 36 | 37 | ## Installation 38 | 39 | With npm: `npm install coloured` 40 | 41 | With git: `git clone git://github.com/gf3/coloured.git` 42 | 43 | ## API 44 | 45 | When `require`'d this module returns a Colour object with the following methods 46 | and properties. 47 | 48 | ### Methods 49 | 50 | `Colour.extendString( nativeProto ) → Undefined` 51 | 52 | * `native` - Prototype to extend. Default: `String.prototype`. 53 | 54 | `Colour.colourise( string, options ) → String` 55 | 56 | * `string` - String to be coloured. **Required**. 57 | * `options` - Object with any of the following properties: `foreground`, `background`, `extra`. Default: `{}`. 58 | 59 | `Colour.colour( name, background ) → String` 60 | 61 | * `name` - Colour name (e.g. `"red"`). **Required**. 62 | * `background` - Set to true if background colour is desired. Default: `false`. 63 | 64 | `Colour.extra( name) → String` 65 | 66 | * `name` - Extra name (e.g. `"bold"`). **Required**. 67 | 68 | ### Properties 69 | 70 | `Colour.colours → Object` Object containing colour names and values. 71 | 72 | `Colour.extras → Object` Object containing extra names and values. 73 | 74 | ## Author 75 | 76 | Written by [Gianni "gf3" Chiappetta](http://github.com/gf3) – [gf3.ca](http://gf3.ca) 77 | 78 | ## License 79 | 80 | Coloured is [UNLICENSED](http://unlicense.org/). 81 | 82 | -------------------------------------------------------------------------------- /formidable/test/system/test-multi-video-upload.js: -------------------------------------------------------------------------------- 1 | require('../common'); 2 | var BOUNDARY = '---------------------------10102754414578508781458777923', 3 | FIXTURE = TEST_FIXTURES+'/multi_video.upload', 4 | fs = require('fs'), 5 | util = require('formidable/util'), 6 | http = require('http'), 7 | formidable = require('formidable'), 8 | server = http.createServer(); 9 | 10 | server.on('request', function(req, res) { 11 | var form = new formidable.IncomingForm(), 12 | uploads = {}; 13 | 14 | form.uploadDir = TEST_TMP; 15 | form.parse(req); 16 | 17 | form 18 | .on('fileBegin', function(field, file) { 19 | assert.equal(field, 'upload'); 20 | 21 | var tracker = {file: file, progress: [], ended: false}; 22 | uploads[file.filename] = tracker; 23 | file 24 | .on('progress', function(bytesReceived) { 25 | tracker.progress.push(bytesReceived); 26 | assert.equal(bytesReceived, file.length); 27 | }) 28 | .on('end', function() { 29 | tracker.ended = true; 30 | }); 31 | }) 32 | .on('field', function(field, value) { 33 | assert.equal(field, 'title'); 34 | assert.equal(value, ''); 35 | }) 36 | .on('file', function(field, file) { 37 | assert.equal(field, 'upload'); 38 | assert.strictEqual(uploads[file.filename].file, file); 39 | }) 40 | .on('end', function() { 41 | assert.ok(uploads['shortest_video.flv']); 42 | assert.ok(uploads['shortest_video.flv'].ended); 43 | assert.ok(uploads['shortest_video.flv'].progress.length > 3); 44 | assert.equal(uploads['shortest_video.flv'].progress.slice(-1), uploads['shortest_video.flv'].file.length); 45 | assert.ok(uploads['shortest_video.mp4']); 46 | assert.ok(uploads['shortest_video.mp4'].ended); 47 | assert.ok(uploads['shortest_video.mp4'].progress.length > 3); 48 | 49 | server.close(); 50 | res.writeHead(200); 51 | res.end('good'); 52 | }); 53 | }); 54 | 55 | server.listen(TEST_PORT, function() { 56 | var client = http.createClient(TEST_PORT), 57 | stat = fs.statSync(FIXTURE), 58 | headers = { 59 | 'content-type': 'multipart/form-data; boundary='+BOUNDARY, 60 | 'content-length': stat.size, 61 | } 62 | request = client.request('POST', '/', headers), 63 | fixture = new fs.ReadStream(FIXTURE); 64 | 65 | fixture 66 | .on('data', function(b) { 67 | request.write(b); 68 | }) 69 | .on('end', function() { 70 | request.end(); 71 | }); 72 | }); 73 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/README.md: -------------------------------------------------------------------------------- 1 | # coloured-log 2 | 3 | This project combines two projects: 4 | [coloured](http://github.com/gf3/coloured) 5 | and 6 | [log.js](http://github.com/visionmedia/log.js). 7 | It extends the functionality provided by `log.js` and colourizes your logs 8 | using `coloured`. 9 | 10 | ## Installation 11 | 12 | npm install coloured-log 13 | 14 | ## Examples 15 | 16 | Since `coloured-log` simply extends functionality provided by `log.js`, you 17 | can use it just as you would use `log.js` normally. 18 | 19 | The following code: 20 | 21 | var Log = require('coloured-log') 22 | , log = new Log(Log.DEBUG) 23 | 24 | log.emergency('Site just went down!'); 25 | log.alert('Cannot connect to datastore!'); 26 | log.critical('Request timeout'); 27 | log.error('Exception thrown by controller'); 28 | log.warning('Couldn\'t find the user\'s session'); 29 | log.notice('Viewname wasn\'t defined'); 30 | log.info('Connected to database'); 31 | log.debug('Hello World'); 32 | 33 | ...will output something like this: 34 | 35 | ![Example Logging](http://v3n.us/26ea9600781141127ab9989bf5ff30ab.png) 36 | 37 | ## Special Thanks 38 | 39 | Thanks to 40 | [TJ Holowaychuk](http://github.com/visionmedia) 41 | and 42 | [Gianni Chiappetta](http://github.com/gf3) 43 | for making beautifully crafted softwares. 44 | 45 | ## License 46 | 47 | This is free and unencumbered software released into the public domain. 48 | 49 | Anyone is free to copy, modify, publish, use, compile, sell, or 50 | distribute this software, either in source code form or as a compiled 51 | binary, for any purpose, commercial or non-commercial, and by any 52 | means. 53 | 54 | In jurisdictions that recognize copyright laws, the author or authors 55 | of this software dedicate any and all copyright interest in the 56 | software to the public domain. We make this dedication for the benefit 57 | of the public at large and to the detriment of our heirs and 58 | successors. We intend this dedication to be an overt act of 59 | relinquishment in perpetuity of all present and future rights to this 60 | software under copyright law. 61 | 62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 63 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 64 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 65 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 66 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 67 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 68 | OTHER DEALINGS IN THE SOFTWARE. 69 | 70 | For more information, please refer to 71 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package/README.md: -------------------------------------------------------------------------------- 1 | # coloured-log 2 | 3 | This project combines two projects: 4 | [coloured](http://github.com/gf3/coloured) 5 | and 6 | [log.js](http://github.com/visionmedia/log.js). 7 | It extends the functionality provided by `log.js` and colourizes your logs 8 | using `coloured`. 9 | 10 | ## Installation 11 | 12 | npm install coloured-log 13 | 14 | ## Examples 15 | 16 | Since `coloured-log` simply extends functionality provided by `log.js`, you 17 | can use it just as you would use `log.js` normally. 18 | 19 | The following code: 20 | 21 | var Log = require('coloured-log') 22 | , log = new Log(Log.DEBUG) 23 | 24 | log.emergency('Site just went down!'); 25 | log.alert('Cannot connect to datastore!'); 26 | log.critical('Request timeout'); 27 | log.error('Exception thrown by controller'); 28 | log.warning('Couldn\'t find the user\'s session'); 29 | log.notice('Viewname wasn\'t defined'); 30 | log.info('Connected to database'); 31 | log.debug('Hello World'); 32 | 33 | ...will output something like this: 34 | 35 | ![Example Logging](http://v3n.us/26ea9600781141127ab9989bf5ff30ab.png) 36 | 37 | ## Special Thanks 38 | 39 | Thanks to 40 | [TJ Holowaychuk](http://github.com/visionmedia) 41 | and 42 | [Gianni Chiappetta](http://github.com/gf3) 43 | for making beautifully crafted softwares. 44 | 45 | ## License 46 | 47 | This is free and unencumbered software released into the public domain. 48 | 49 | Anyone is free to copy, modify, publish, use, compile, sell, or 50 | distribute this software, either in source code form or as a compiled 51 | binary, for any purpose, commercial or non-commercial, and by any 52 | means. 53 | 54 | In jurisdictions that recognize copyright laws, the author or authors 55 | of this software dedicate any and all copyright interest in the 56 | software to the public domain. We make this dedication for the benefit 57 | of the public at large and to the detriment of our heirs and 58 | successors. We intend this dedication to be an overt act of 59 | relinquishment in perpetuity of all present and future rights to this 60 | software under copyright law. 61 | 62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 63 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 64 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 65 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 66 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 67 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 68 | OTHER DEALINGS IN THE SOFTWARE. 69 | 70 | For more information, please refer to 71 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/README.md: -------------------------------------------------------------------------------- 1 | # coloured-log 2 | 3 | This project combines two projects: 4 | [coloured](http://github.com/gf3/coloured) 5 | and 6 | [log.js](http://github.com/visionmedia/log.js). 7 | It extends the functionality provided by `log.js` and colourizes your logs 8 | using `coloured`. 9 | 10 | ## Installation 11 | 12 | npm install coloured-log 13 | 14 | ## Examples 15 | 16 | Since `coloured-log` simply extends functionality provided by `log.js`, you 17 | can use it just as you would use `log.js` normally. 18 | 19 | The following code: 20 | 21 | var Log = require('coloured-log') 22 | , log = new Log(Log.DEBUG) 23 | 24 | log.emergency('Site just went down!'); 25 | log.alert('Cannot connect to datastore!'); 26 | log.critical('Request timeout'); 27 | log.error('Exception thrown by controller'); 28 | log.warning('Couldn\'t find the user\'s session'); 29 | log.notice('Viewname wasn\'t defined'); 30 | log.info('Connected to database'); 31 | log.debug('Hello World'); 32 | 33 | ...will output something like this: 34 | 35 | ![Example Logging](http://v3n.us/26ea9600781141127ab9989bf5ff30ab.png) 36 | 37 | ## Special Thanks 38 | 39 | Thanks to 40 | [TJ Holowaychuk](http://github.com/visionmedia) 41 | and 42 | [Gianni Chiappetta](http://github.com/gf3) 43 | for making beautifully crafted softwares. 44 | 45 | ## License 46 | 47 | This is free and unencumbered software released into the public domain. 48 | 49 | Anyone is free to copy, modify, publish, use, compile, sell, or 50 | distribute this software, either in source code form or as a compiled 51 | binary, for any purpose, commercial or non-commercial, and by any 52 | means. 53 | 54 | In jurisdictions that recognize copyright laws, the author or authors 55 | of this software dedicate any and all copyright interest in the 56 | software to the public domain. We make this dedication for the benefit 57 | of the public at large and to the detriment of our heirs and 58 | successors. We intend this dedication to be an overt act of 59 | relinquishment in perpetuity of all present and future rights to this 60 | software under copyright law. 61 | 62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 63 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 64 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 65 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 66 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 67 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 68 | OTHER DEALINGS IN THE SOFTWARE. 69 | 70 | For more information, please refer to 71 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured-log/0.9.4/package/README.md: -------------------------------------------------------------------------------- 1 | # coloured-log 2 | 3 | This project combines two projects: 4 | [coloured](http://github.com/gf3/coloured) 5 | and 6 | [log.js](http://github.com/visionmedia/log.js). 7 | It extends the functionality provided by `log.js` and colourizes your logs 8 | using `coloured`. 9 | 10 | ## Installation 11 | 12 | npm install coloured-log 13 | 14 | ## Examples 15 | 16 | Since `coloured-log` simply extends functionality provided by `log.js`, you 17 | can use it just as you would use `log.js` normally. 18 | 19 | The following code: 20 | 21 | var Log = require('coloured-log') 22 | , log = new Log(Log.DEBUG) 23 | 24 | log.emergency('Site just went down!'); 25 | log.alert('Cannot connect to datastore!'); 26 | log.critical('Request timeout'); 27 | log.error('Exception thrown by controller'); 28 | log.warning('Couldn\'t find the user\'s session'); 29 | log.notice('Viewname wasn\'t defined'); 30 | log.info('Connected to database'); 31 | log.debug('Hello World'); 32 | 33 | ...will output something like this: 34 | 35 | ![Example Logging](http://v3n.us/26ea9600781141127ab9989bf5ff30ab.png) 36 | 37 | ## Special Thanks 38 | 39 | Thanks to 40 | [TJ Holowaychuk](http://github.com/visionmedia) 41 | and 42 | [Gianni Chiappetta](http://github.com/gf3) 43 | for making beautifully crafted softwares. 44 | 45 | ## License 46 | 47 | This is free and unencumbered software released into the public domain. 48 | 49 | Anyone is free to copy, modify, publish, use, compile, sell, or 50 | distribute this software, either in source code form or as a compiled 51 | binary, for any purpose, commercial or non-commercial, and by any 52 | means. 53 | 54 | In jurisdictions that recognize copyright laws, the author or authors 55 | of this software dedicate any and all copyright interest in the 56 | software to the public domain. We make this dedication for the benefit 57 | of the public at large and to the detriment of our heirs and 58 | successors. We intend this dedication to be an overt act of 59 | relinquishment in perpetuity of all present and future rights to this 60 | software under copyright law. 61 | 62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 63 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 64 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 65 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 66 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 67 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 68 | OTHER DEALINGS IN THE SOFTWARE. 69 | 70 | For more information, please refer to 71 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/lib/coloured.js: -------------------------------------------------------------------------------- 1 | var Colour = {} 2 | 3 | /* ------------------------------ Colours ------------------------------ */ 4 | Colour.colours = 5 | { 'black': 30 6 | , 'red': 31 7 | , 'green': 32 8 | , 'yellow': 33 9 | , 'blue': 34 10 | , 'magenta': 35 11 | , 'cyan': 36 12 | , 'white': 37 13 | } 14 | 15 | Colour.extras = 16 | { 'clear': 0 17 | , 'bold': 1 18 | , 'underline': 4 19 | , 'reversed': 7 20 | } 21 | 22 | /* ------------------------------ Colour Methods ------------------------------ */ 23 | // Colourise a given string based on the passed options. 24 | Colour.colourise = function( string, options ) { var out 25 | options = options || {} 26 | out = '' 27 | if ( options.foreground ) 28 | out += this.colour( options.foreground ) 29 | if ( options.background ) 30 | out += this.colour( options.background, true ) 31 | if ( options.extra ) 32 | out += this.extra( options.extra ) 33 | out += string + this.extra( 'clear' ) 34 | return out 35 | } 36 | 37 | // Generate an acceptable colour escape code. 38 | Colour.colour = function( name, background ) { var colour 39 | if ( ! name in this.colours ) 40 | colour = '' 41 | else 42 | colour = "\033[" + ( this.colours[ name ] + ( background ? 10 : 0 ) ) + "m" 43 | return colour 44 | } 45 | 46 | // Generate an acceptable modifier escape code. 47 | Colour.extra = function( name ) { var extra 48 | if ( ! name in this.extras ) 49 | extra = '' 50 | else 51 | extra = "\033[" + this.extras[ name ] + "m" 52 | return extra 53 | } 54 | 55 | /* ------------------------------ Native Additions ------------------------------ */ 56 | Colour.extendString = function( nativeProto ) { 57 | nativeProto = nativeProto || String.prototype 58 | Object.keys( Colour.colours ).forEach( function( foreground ) { 59 | // Foregrounds 60 | Object.defineProperty( nativeProto, foreground, { value: function() { 61 | return Colour.colourise( this, { foreground: foreground } ) 62 | }}) 63 | // Backgrounds 64 | Object.keys( Colour.colours ).forEach( function( background ) { 65 | Object.defineProperty( nativeProto, foreground + '_on_' + background, { value: function() { 66 | return Colour.colourise( this, { foreground: foreground, background: background } ) 67 | }}) 68 | }) 69 | }) 70 | 71 | Object.keys( Colour.extras ).forEach( function( extra ) { 72 | // Extras 73 | Object.defineProperty( nativeProto, extra, { value: function() { 74 | return Colour.colourise( this, { extra: extra } ) 75 | }}) 76 | }) 77 | } 78 | 79 | /* ------------------------------ Export ------------------------------ */ 80 | module.exports = Colour 81 | 82 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package/lib/coloured.js: -------------------------------------------------------------------------------- 1 | var Colour = {} 2 | 3 | /* ------------------------------ Colours ------------------------------ */ 4 | Colour.colours = 5 | { 'black': 30 6 | , 'red': 31 7 | , 'green': 32 8 | , 'yellow': 33 9 | , 'blue': 34 10 | , 'magenta': 35 11 | , 'cyan': 36 12 | , 'white': 37 13 | } 14 | 15 | Colour.extras = 16 | { 'clear': 0 17 | , 'bold': 1 18 | , 'underline': 4 19 | , 'reversed': 7 20 | } 21 | 22 | /* ------------------------------ Colour Methods ------------------------------ */ 23 | // Colourise a given string based on the passed options. 24 | Colour.colourise = function( string, options ) { var out 25 | options = options || {} 26 | out = '' 27 | if ( options.foreground ) 28 | out += this.colour( options.foreground ) 29 | if ( options.background ) 30 | out += this.colour( options.background, true ) 31 | if ( options.extra ) 32 | out += this.extra( options.extra ) 33 | out += string + this.extra( 'clear' ) 34 | return out 35 | } 36 | 37 | // Generate an acceptable colour escape code. 38 | Colour.colour = function( name, background ) { var colour 39 | if ( ! name in this.colours ) 40 | colour = '' 41 | else 42 | colour = "\033[" + ( this.colours[ name ] + ( background ? 10 : 0 ) ) + "m" 43 | return colour 44 | } 45 | 46 | // Generate an acceptable modifier escape code. 47 | Colour.extra = function( name ) { var extra 48 | if ( ! name in this.extras ) 49 | extra = '' 50 | else 51 | extra = "\033[" + this.extras[ name ] + "m" 52 | return extra 53 | } 54 | 55 | /* ------------------------------ Native Additions ------------------------------ */ 56 | Colour.extendString = function( nativeProto ) { 57 | nativeProto = nativeProto || String.prototype 58 | Object.keys( Colour.colours ).forEach( function( foreground ) { 59 | // Foregrounds 60 | Object.defineProperty( nativeProto, foreground, { value: function() { 61 | return Colour.colourise( this, { foreground: foreground } ) 62 | }}) 63 | // Backgrounds 64 | Object.keys( Colour.colours ).forEach( function( background ) { 65 | Object.defineProperty( nativeProto, foreground + '_on_' + background, { value: function() { 66 | return Colour.colourise( this, { foreground: foreground, background: background } ) 67 | }}) 68 | }) 69 | }) 70 | 71 | Object.keys( Colour.extras ).forEach( function( extra ) { 72 | // Extras 73 | Object.defineProperty( nativeProto, extra, { value: function() { 74 | return Colour.colourise( this, { extra: extra } ) 75 | }}) 76 | }) 77 | } 78 | 79 | /* ------------------------------ Export ------------------------------ */ 80 | module.exports = Colour 81 | 82 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/lib/coloured.js: -------------------------------------------------------------------------------- 1 | var Colour = {} 2 | 3 | /* ------------------------------ Colours ------------------------------ */ 4 | Colour.colours = 5 | { 'black': 30 6 | , 'red': 31 7 | , 'green': 32 8 | , 'yellow': 33 9 | , 'blue': 34 10 | , 'magenta': 35 11 | , 'cyan': 36 12 | , 'white': 37 13 | } 14 | 15 | Colour.extras = 16 | { 'clear': 0 17 | , 'bold': 1 18 | , 'underline': 4 19 | , 'reversed': 7 20 | } 21 | 22 | /* ------------------------------ Colour Methods ------------------------------ */ 23 | // Colourise a given string based on the passed options. 24 | Colour.colourise = function( string, options ) { var out 25 | options = options || {} 26 | out = '' 27 | if ( options.foreground ) 28 | out += this.colour( options.foreground ) 29 | if ( options.background ) 30 | out += this.colour( options.background, true ) 31 | if ( options.extra ) 32 | out += this.extra( options.extra ) 33 | out += string + this.extra( 'clear' ) 34 | return out 35 | } 36 | 37 | // Generate an acceptable colour escape code. 38 | Colour.colour = function( name, background ) { var colour 39 | if ( ! name in this.colours ) 40 | colour = '' 41 | else 42 | colour = "\033[" + ( this.colours[ name ] + ( background ? 10 : 0 ) ) + "m" 43 | return colour 44 | } 45 | 46 | // Generate an acceptable modifier escape code. 47 | Colour.extra = function( name ) { var extra 48 | if ( ! name in this.extras ) 49 | extra = '' 50 | else 51 | extra = "\033[" + this.extras[ name ] + "m" 52 | return extra 53 | } 54 | 55 | /* ------------------------------ Native Additions ------------------------------ */ 56 | Colour.extendString = function( nativeProto ) { 57 | nativeProto = nativeProto || String.prototype 58 | Object.keys( Colour.colours ).forEach( function( foreground ) { 59 | // Foregrounds 60 | Object.defineProperty( nativeProto, foreground, { value: function() { 61 | return Colour.colourise( this, { foreground: foreground } ) 62 | }}) 63 | // Backgrounds 64 | Object.keys( Colour.colours ).forEach( function( background ) { 65 | Object.defineProperty( nativeProto, foreground + '_on_' + background, { value: function() { 66 | return Colour.colourise( this, { foreground: foreground, background: background } ) 67 | }}) 68 | }) 69 | }) 70 | 71 | Object.keys( Colour.extras ).forEach( function( extra ) { 72 | // Extras 73 | Object.defineProperty( nativeProto, extra, { value: function() { 74 | return Colour.colourise( this, { extra: extra } ) 75 | }}) 76 | }) 77 | } 78 | 79 | /* ------------------------------ Export ------------------------------ */ 80 | module.exports = Colour 81 | 82 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/coloured/0.2.0/package/lib/coloured.js: -------------------------------------------------------------------------------- 1 | var Colour = {} 2 | 3 | /* ------------------------------ Colours ------------------------------ */ 4 | Colour.colours = 5 | { 'black': 30 6 | , 'red': 31 7 | , 'green': 32 8 | , 'yellow': 33 9 | , 'blue': 34 10 | , 'magenta': 35 11 | , 'cyan': 36 12 | , 'white': 37 13 | } 14 | 15 | Colour.extras = 16 | { 'clear': 0 17 | , 'bold': 1 18 | , 'underline': 4 19 | , 'reversed': 7 20 | } 21 | 22 | /* ------------------------------ Colour Methods ------------------------------ */ 23 | // Colourise a given string based on the passed options. 24 | Colour.colourise = function( string, options ) { var out 25 | options = options || {} 26 | out = '' 27 | if ( options.foreground ) 28 | out += this.colour( options.foreground ) 29 | if ( options.background ) 30 | out += this.colour( options.background, true ) 31 | if ( options.extra ) 32 | out += this.extra( options.extra ) 33 | out += string + this.extra( 'clear' ) 34 | return out 35 | } 36 | 37 | // Generate an acceptable colour escape code. 38 | Colour.colour = function( name, background ) { var colour 39 | if ( ! name in this.colours ) 40 | colour = '' 41 | else 42 | colour = "\033[" + ( this.colours[ name ] + ( background ? 10 : 0 ) ) + "m" 43 | return colour 44 | } 45 | 46 | // Generate an acceptable modifier escape code. 47 | Colour.extra = function( name ) { var extra 48 | if ( ! name in this.extras ) 49 | extra = '' 50 | else 51 | extra = "\033[" + this.extras[ name ] + "m" 52 | return extra 53 | } 54 | 55 | /* ------------------------------ Native Additions ------------------------------ */ 56 | Colour.extendString = function( nativeProto ) { 57 | nativeProto = nativeProto || String.prototype 58 | Object.keys( Colour.colours ).forEach( function( foreground ) { 59 | // Foregrounds 60 | Object.defineProperty( nativeProto, foreground, { value: function() { 61 | return Colour.colourise( this, { foreground: foreground } ) 62 | }}) 63 | // Backgrounds 64 | Object.keys( Colour.colours ).forEach( function( background ) { 65 | Object.defineProperty( nativeProto, foreground + '_on_' + background, { value: function() { 66 | return Colour.colourise( this, { foreground: foreground, background: background } ) 67 | }}) 68 | }) 69 | }) 70 | 71 | Object.keys( Colour.extras ).forEach( function( extra ) { 72 | // Extras 73 | Object.defineProperty( nativeProto, extra, { value: function() { 74 | return Colour.colourise( this, { extra: extra } ) 75 | }}) 76 | }) 77 | } 78 | 79 | /* ------------------------------ Export ------------------------------ */ 80 | module.exports = Colour 81 | 82 | -------------------------------------------------------------------------------- /formidable/test/simple/test-file.js: -------------------------------------------------------------------------------- 1 | require('../common'); 2 | var WriteStreamStub = GENTLY.stub('fs', 'WriteStream'); 3 | 4 | var File = require('formidable/file'), 5 | EventEmitter = require('events').EventEmitter, 6 | file, 7 | gently; 8 | 9 | function test(test) { 10 | gently = new Gently(); 11 | file = new File(); 12 | test(); 13 | gently.verify(test.name); 14 | } 15 | 16 | test(function constructor() { 17 | assert.ok(file instanceof EventEmitter); 18 | assert.strictEqual(file.size, 0); 19 | assert.strictEqual(file.path, null); 20 | assert.strictEqual(file.name, null); 21 | assert.strictEqual(file.type, null); 22 | assert.strictEqual(file.lastModifiedDate, null); 23 | 24 | assert.strictEqual(file._writeStream, null); 25 | 26 | (function testSetProperties() { 27 | var file2 = new File({foo: 'bar'}); 28 | assert.equal(file2.foo, 'bar'); 29 | })(); 30 | }); 31 | 32 | test(function open() { 33 | var WRITE_STREAM; 34 | file.path = '/foo'; 35 | 36 | gently.expect(WriteStreamStub, 'new', function (path) { 37 | WRITE_STREAM = this; 38 | assert.strictEqual(path, file.path); 39 | }); 40 | 41 | file.open(); 42 | assert.strictEqual(file._writeStream, WRITE_STREAM); 43 | }); 44 | 45 | test(function write() { 46 | var BUFFER = {length: 10}, 47 | CB_STUB, 48 | CB = function() { 49 | CB_STUB.apply(this, arguments); 50 | }; 51 | 52 | file._writeStream = {}; 53 | 54 | gently.expect(file._writeStream, 'write', function (buffer, cb) { 55 | assert.strictEqual(buffer, BUFFER); 56 | 57 | gently.expect(file, 'emit', function (event, bytesWritten) { 58 | assert.ok(file.lastModifiedDate instanceof Date); 59 | assert.equal(event, 'progress'); 60 | assert.equal(bytesWritten, file.size); 61 | }); 62 | 63 | CB_STUB = gently.expect(function writeCb() { 64 | assert.equal(file.size, 10); 65 | }); 66 | 67 | cb(); 68 | 69 | gently.expect(file, 'emit', function (event, bytesWritten) { 70 | assert.equal(event, 'progress'); 71 | assert.equal(bytesWritten, file.size); 72 | }); 73 | 74 | CB_STUB = gently.expect(function writeCb() { 75 | assert.equal(file.size, 20); 76 | }); 77 | 78 | cb(); 79 | }); 80 | 81 | file.write(BUFFER, CB); 82 | }); 83 | 84 | test(function end() { 85 | var CB_STUB, 86 | CB = function() { 87 | CB_STUB.apply(this, arguments); 88 | }; 89 | 90 | file._writeStream = {}; 91 | 92 | gently.expect(file._writeStream, 'end', function (cb) { 93 | gently.expect(file, 'emit', function (event) { 94 | assert.equal(event, 'end'); 95 | }); 96 | 97 | CB_STUB = gently.expect(function endCb() { 98 | }); 99 | 100 | cb(); 101 | }); 102 | 103 | file.end(CB); 104 | }); 105 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/log@1.1.1/package.json.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "name": "log", 3 | "description": "Tiny logger with streaming reader", 4 | "version": "1.1.1", 5 | "author": { 6 | "name": "TJ Holowaychuk", 7 | "email": "tj@vision-media.ca" 8 | }, 9 | "keywords": [ 10 | "log", 11 | "logger" 12 | ], 13 | "engines": { 14 | "node": ">= 0.2.0" 15 | }, 16 | "_id": "log@1.1.1", 17 | "_engineSupported": true, 18 | "_npmVersion": "0.2.17", 19 | "_nodeVersion": "v0.3.1-pre", 20 | "directories": { 21 | "lib": "./lib" 22 | }, 23 | "modules": { 24 | "log.js": "lib/log.js", 25 | "index.js": "./lib/log" 26 | }, 27 | "files": [ 28 | "" 29 | ], 30 | "_defaultsLoaded": true, 31 | "_bundledDeps": [], 32 | "_resolvedDeps": [], 33 | "_npmConfig": { 34 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 35 | "showlevel": 1, 36 | "binroot": null, 37 | "manroot": null, 38 | "must-install": false, 39 | "registry": "http://registry.npmjs.org/", 40 | "argv": { 41 | "remain": [], 42 | "cooked": [ 43 | "bundle" 44 | ], 45 | "original": [ 46 | "bundle" 47 | ] 48 | }, 49 | "email": "gianni@runlevel6.org", 50 | "username": "gf3", 51 | "auto-activate": "always", 52 | "auto-deactivate": true, 53 | "browser": "open", 54 | "color": true, 55 | "description": true, 56 | "dev": false, 57 | "editor": "vim", 58 | "force": false, 59 | "globalconfig": "/usr/local/etc/npmrc", 60 | "gzipbin": "gzip", 61 | "listopts": "", 62 | "logfd": 2, 63 | "loglevel": "info", 64 | "node-version": "v0.3.1-pre", 65 | "onload-script": false, 66 | "outfd": 1, 67 | "proxy": null, 68 | "rebuild-bundle": true, 69 | "recursive": false, 70 | "tag": "latest", 71 | "tar": "tar", 72 | "tmproot": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/", 73 | "update-dependents": true, 74 | "userconfig": "/Users/gianni/.npmrc" 75 | }, 76 | "_env": {}, 77 | "_npmPaths": { 78 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 79 | "dir": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm", 80 | "cache": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache", 81 | "tmp": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/npm-1297101958303", 82 | "package": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package", 83 | "modules": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/log@1.1.1", 84 | "dependencies": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/node_modules" 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/log/package.json.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "name": "log", 3 | "description": "Tiny logger with streaming reader", 4 | "version": "1.1.1", 5 | "author": { 6 | "name": "TJ Holowaychuk", 7 | "email": "tj@vision-media.ca" 8 | }, 9 | "keywords": [ 10 | "log", 11 | "logger" 12 | ], 13 | "engines": { 14 | "node": ">= 0.2.0" 15 | }, 16 | "_id": "log@1.1.1", 17 | "_engineSupported": true, 18 | "_npmVersion": "0.2.17", 19 | "_nodeVersion": "v0.3.1-pre", 20 | "directories": { 21 | "lib": "./lib" 22 | }, 23 | "modules": { 24 | "log.js": "lib/log.js", 25 | "index.js": "./lib/log" 26 | }, 27 | "files": [ 28 | "" 29 | ], 30 | "_defaultsLoaded": true, 31 | "_bundledDeps": [], 32 | "_resolvedDeps": [], 33 | "_env": {}, 34 | "_npmConfig": { 35 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 36 | "showlevel": 1, 37 | "binroot": null, 38 | "manroot": null, 39 | "must-install": false, 40 | "registry": "http://registry.npmjs.org/", 41 | "argv": { 42 | "remain": [], 43 | "cooked": [ 44 | "bundle" 45 | ], 46 | "original": [ 47 | "bundle" 48 | ] 49 | }, 50 | "email": "gianni@runlevel6.org", 51 | "username": "gf3", 52 | "auto-activate": "always", 53 | "auto-deactivate": true, 54 | "browser": "open", 55 | "color": true, 56 | "description": true, 57 | "dev": false, 58 | "editor": "vim", 59 | "force": false, 60 | "globalconfig": "/usr/local/etc/npmrc", 61 | "gzipbin": "gzip", 62 | "listopts": "", 63 | "logfd": 2, 64 | "loglevel": "info", 65 | "node-version": "v0.3.1-pre", 66 | "onload-script": false, 67 | "outfd": 1, 68 | "proxy": null, 69 | "rebuild-bundle": true, 70 | "recursive": false, 71 | "tag": "latest", 72 | "tar": "tar", 73 | "tmproot": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/", 74 | "update-dependents": true, 75 | "userconfig": "/Users/gianni/.npmrc" 76 | }, 77 | "_npmPaths": { 78 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 79 | "dir": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm", 80 | "cache": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache", 81 | "tmp": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/npm-1297101958303", 82 | "package": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package", 83 | "modules": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/log", 84 | "dependencies": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/node_modules" 85 | } 86 | } 87 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured@0.2.0/package.json.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "name": "coloured", 3 | "description": "Pretty colours in your terminal.", 4 | "author": { 5 | "name": "Gianni Chiappetta", 6 | "email": "gianni@runlevel6.org", 7 | "url": "http://gf3.ca" 8 | }, 9 | "version": "0.2.0", 10 | "directories": { 11 | "lib": "./lib" 12 | }, 13 | "engines": [ 14 | "node >=0.1.5" 15 | ], 16 | "repository": { 17 | "type": "git", 18 | "url": "https://gf3@github.com/gf3/coloured.git" 19 | }, 20 | "license": { 21 | "type": "Public Domain", 22 | "url": "http://github.com/gf3/coloured/raw/master/UNLICENSE" 23 | }, 24 | "_id": "coloured@0.2.0", 25 | "_engineSupported": true, 26 | "_npmVersion": "0.2.17", 27 | "_nodeVersion": "v0.3.1-pre", 28 | "modules": { 29 | "coloured.js": "lib/coloured.js", 30 | "index.js": "./lib/coloured" 31 | }, 32 | "files": [ 33 | "" 34 | ], 35 | "_defaultsLoaded": true, 36 | "_bundledDeps": [], 37 | "_resolvedDeps": [], 38 | "_npmConfig": { 39 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 40 | "showlevel": 1, 41 | "binroot": null, 42 | "manroot": null, 43 | "must-install": false, 44 | "registry": "http://registry.npmjs.org/", 45 | "argv": { 46 | "remain": [], 47 | "cooked": [ 48 | "bundle" 49 | ], 50 | "original": [ 51 | "bundle" 52 | ] 53 | }, 54 | "email": "gianni@runlevel6.org", 55 | "username": "gf3", 56 | "auto-activate": "always", 57 | "auto-deactivate": true, 58 | "browser": "open", 59 | "color": true, 60 | "description": true, 61 | "dev": false, 62 | "editor": "vim", 63 | "force": false, 64 | "globalconfig": "/usr/local/etc/npmrc", 65 | "gzipbin": "gzip", 66 | "listopts": "", 67 | "logfd": 2, 68 | "loglevel": "info", 69 | "node-version": "v0.3.1-pre", 70 | "onload-script": false, 71 | "outfd": 1, 72 | "proxy": null, 73 | "rebuild-bundle": true, 74 | "recursive": false, 75 | "tag": "latest", 76 | "tar": "tar", 77 | "tmproot": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/", 78 | "update-dependents": true, 79 | "userconfig": "/Users/gianni/.npmrc" 80 | }, 81 | "_env": {}, 82 | "_npmPaths": { 83 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 84 | "dir": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm", 85 | "cache": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache", 86 | "tmp": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/npm-1297101958303", 87 | "package": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package", 88 | "modules": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured@0.2.0", 89 | "dependencies": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/node_modules" 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Log.js 3 | 4 | Light-weight logging for [NodeJS](http://nodejs.org), including a 5 | streaming log reader. 6 | 7 | ## Installation 8 | 9 | $ npm install log 10 | 11 | ## Example 12 | 13 | Log level defaults to __DEBUG__ however here we specify __INFO__, and the stream defaults to _stdout_: 14 | 15 | var Log = require('log') 16 | , log = new Log(Log.INFO); 17 | 18 | log.debug('preparing email'); 19 | log.info('sending email'); 20 | log.error('failed to send email'); 21 | 22 | Specifying a specific stream: 23 | 24 | var fs = require('fs') 25 | , Log = require('log') 26 | , log = new Log(Log.DEBUG, fs.createWriteStream('my.log')); 27 | 28 | Instead of the log level constants, you may also supply a string: 29 | 30 | var Log = require('log') 31 | , log = new Log('warning'); 32 | 33 | ## Reader 34 | 35 | To stream a log, simply pass a readable stream instead of a writable: 36 | 37 | var Log = require('log') 38 | , fs = require('fs') 39 | , stream = fs.createReadStream(__dirname + '/file.log') 40 | , log = new Log('debug', stream); 41 | 42 | log.on('line', function(line){ 43 | console.log(line); 44 | }); 45 | 46 | Example stdout: 47 | 48 | { date: Sun, 26 Sep 2010 01:26:14 GMT 49 | , level: 1 50 | , levelString: 'ALERT' 51 | , msg: 'a alert message' 52 | } 53 | { date: Sun, 26 Sep 2010 01:26:14 GMT 54 | , level: 0 55 | , levelString: 'EMERGENCY' 56 | , msg: 'a emergency message' 57 | } 58 | 59 | ## Log Levels 60 | 61 | Mirror that of syslog: 62 | 63 | - 0 __EMERGENCY__ system is unusable 64 | - 1 __ALERT__ action must be taken immediately 65 | - 2 __CRITICAL__ the system is in critical condition 66 | - 3 __ERROR__ error condition 67 | - 4 __WARNING__ warning condition 68 | - 5 __NOTICE__ a normal but significant condition 69 | - 6 __INFO__ a purely informational message 70 | - 7 __DEBUG__ messages to debug an application 71 | 72 | ## License 73 | 74 | (The MIT License) 75 | 76 | Copyright (c) 2009-2010 TJ Holowaychuk <tj@vision-media.ca> 77 | 78 | Permission is hereby granted, free of charge, to any person obtaining 79 | a copy of this software and associated documentation files (the 80 | 'Software'), to deal in the Software without restriction, including 81 | without limitation the rights to use, copy, modify, merge, publish, 82 | distribute, sublicense, and/or sell copies of the Software, and to 83 | permit persons to whom the Software is furnished to do so, subject to 84 | the following conditions: 85 | 86 | The above copyright notice and this permission notice shall be 87 | included in all copies or substantial portions of the Software. 88 | 89 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 90 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 91 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 92 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 93 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 94 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 95 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 96 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/log/1.1.1/package/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Log.js 3 | 4 | Light-weight logging for [NodeJS](http://nodejs.org), including a 5 | streaming log reader. 6 | 7 | ## Installation 8 | 9 | $ npm install log 10 | 11 | ## Example 12 | 13 | Log level defaults to __DEBUG__ however here we specify __INFO__, and the stream defaults to _stdout_: 14 | 15 | var Log = require('log') 16 | , log = new Log(Log.INFO); 17 | 18 | log.debug('preparing email'); 19 | log.info('sending email'); 20 | log.error('failed to send email'); 21 | 22 | Specifying a specific stream: 23 | 24 | var fs = require('fs') 25 | , Log = require('log') 26 | , log = new Log(Log.DEBUG, fs.createWriteStream('my.log')); 27 | 28 | Instead of the log level constants, you may also supply a string: 29 | 30 | var Log = require('log') 31 | , log = new Log('warning'); 32 | 33 | ## Reader 34 | 35 | To stream a log, simply pass a readable stream instead of a writable: 36 | 37 | var Log = require('log') 38 | , fs = require('fs') 39 | , stream = fs.createReadStream(__dirname + '/file.log') 40 | , log = new Log('debug', stream); 41 | 42 | log.on('line', function(line){ 43 | console.log(line); 44 | }); 45 | 46 | Example stdout: 47 | 48 | { date: Sun, 26 Sep 2010 01:26:14 GMT 49 | , level: 1 50 | , levelString: 'ALERT' 51 | , msg: 'a alert message' 52 | } 53 | { date: Sun, 26 Sep 2010 01:26:14 GMT 54 | , level: 0 55 | , levelString: 'EMERGENCY' 56 | , msg: 'a emergency message' 57 | } 58 | 59 | ## Log Levels 60 | 61 | Mirror that of syslog: 62 | 63 | - 0 __EMERGENCY__ system is unusable 64 | - 1 __ALERT__ action must be taken immediately 65 | - 2 __CRITICAL__ the system is in critical condition 66 | - 3 __ERROR__ error condition 67 | - 4 __WARNING__ warning condition 68 | - 5 __NOTICE__ a normal but significant condition 69 | - 6 __INFO__ a purely informational message 70 | - 7 __DEBUG__ messages to debug an application 71 | 72 | ## License 73 | 74 | (The MIT License) 75 | 76 | Copyright (c) 2009-2010 TJ Holowaychuk <tj@vision-media.ca> 77 | 78 | Permission is hereby granted, free of charge, to any person obtaining 79 | a copy of this software and associated documentation files (the 80 | 'Software'), to deal in the Software without restriction, including 81 | without limitation the rights to use, copy, modify, merge, publish, 82 | distribute, sublicense, and/or sell copies of the Software, and to 83 | permit persons to whom the Software is furnished to do so, subject to 84 | the following conditions: 85 | 86 | The above copyright notice and this permission notice shall be 87 | included in all copies or substantial portions of the Software. 88 | 89 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 90 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 91 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 92 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 93 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 94 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 95 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 96 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Log.js 3 | 4 | Light-weight logging for [NodeJS](http://nodejs.org), including a 5 | streaming log reader. 6 | 7 | ## Installation 8 | 9 | $ npm install log 10 | 11 | ## Example 12 | 13 | Log level defaults to __DEBUG__ however here we specify __INFO__, and the stream defaults to _stdout_: 14 | 15 | var Log = require('log') 16 | , log = new Log(Log.INFO); 17 | 18 | log.debug('preparing email'); 19 | log.info('sending email'); 20 | log.error('failed to send email'); 21 | 22 | Specifying a specific stream: 23 | 24 | var fs = require('fs') 25 | , Log = require('log') 26 | , log = new Log(Log.DEBUG, fs.createWriteStream('my.log')); 27 | 28 | Instead of the log level constants, you may also supply a string: 29 | 30 | var Log = require('log') 31 | , log = new Log('warning'); 32 | 33 | ## Reader 34 | 35 | To stream a log, simply pass a readable stream instead of a writable: 36 | 37 | var Log = require('log') 38 | , fs = require('fs') 39 | , stream = fs.createReadStream(__dirname + '/file.log') 40 | , log = new Log('debug', stream); 41 | 42 | log.on('line', function(line){ 43 | console.log(line); 44 | }); 45 | 46 | Example stdout: 47 | 48 | { date: Sun, 26 Sep 2010 01:26:14 GMT 49 | , level: 1 50 | , levelString: 'ALERT' 51 | , msg: 'a alert message' 52 | } 53 | { date: Sun, 26 Sep 2010 01:26:14 GMT 54 | , level: 0 55 | , levelString: 'EMERGENCY' 56 | , msg: 'a emergency message' 57 | } 58 | 59 | ## Log Levels 60 | 61 | Mirror that of syslog: 62 | 63 | - 0 __EMERGENCY__ system is unusable 64 | - 1 __ALERT__ action must be taken immediately 65 | - 2 __CRITICAL__ the system is in critical condition 66 | - 3 __ERROR__ error condition 67 | - 4 __WARNING__ warning condition 68 | - 5 __NOTICE__ a normal but significant condition 69 | - 6 __INFO__ a purely informational message 70 | - 7 __DEBUG__ messages to debug an application 71 | 72 | ## License 73 | 74 | (The MIT License) 75 | 76 | Copyright (c) 2009-2010 TJ Holowaychuk <tj@vision-media.ca> 77 | 78 | Permission is hereby granted, free of charge, to any person obtaining 79 | a copy of this software and associated documentation files (the 80 | 'Software'), to deal in the Software without restriction, including 81 | without limitation the rights to use, copy, modify, merge, publish, 82 | distribute, sublicense, and/or sell copies of the Software, and to 83 | permit persons to whom the Software is furnished to do so, subject to 84 | the following conditions: 85 | 86 | The above copyright notice and this permission notice shall be 87 | included in all copies or substantial portions of the Software. 88 | 89 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 90 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 91 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 92 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 93 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 94 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 95 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 96 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/node_modules/.npm/.cache/log/1.1.1/package/Readme.md: -------------------------------------------------------------------------------- 1 | 2 | # Log.js 3 | 4 | Light-weight logging for [NodeJS](http://nodejs.org), including a 5 | streaming log reader. 6 | 7 | ## Installation 8 | 9 | $ npm install log 10 | 11 | ## Example 12 | 13 | Log level defaults to __DEBUG__ however here we specify __INFO__, and the stream defaults to _stdout_: 14 | 15 | var Log = require('log') 16 | , log = new Log(Log.INFO); 17 | 18 | log.debug('preparing email'); 19 | log.info('sending email'); 20 | log.error('failed to send email'); 21 | 22 | Specifying a specific stream: 23 | 24 | var fs = require('fs') 25 | , Log = require('log') 26 | , log = new Log(Log.DEBUG, fs.createWriteStream('my.log')); 27 | 28 | Instead of the log level constants, you may also supply a string: 29 | 30 | var Log = require('log') 31 | , log = new Log('warning'); 32 | 33 | ## Reader 34 | 35 | To stream a log, simply pass a readable stream instead of a writable: 36 | 37 | var Log = require('log') 38 | , fs = require('fs') 39 | , stream = fs.createReadStream(__dirname + '/file.log') 40 | , log = new Log('debug', stream); 41 | 42 | log.on('line', function(line){ 43 | console.log(line); 44 | }); 45 | 46 | Example stdout: 47 | 48 | { date: Sun, 26 Sep 2010 01:26:14 GMT 49 | , level: 1 50 | , levelString: 'ALERT' 51 | , msg: 'a alert message' 52 | } 53 | { date: Sun, 26 Sep 2010 01:26:14 GMT 54 | , level: 0 55 | , levelString: 'EMERGENCY' 56 | , msg: 'a emergency message' 57 | } 58 | 59 | ## Log Levels 60 | 61 | Mirror that of syslog: 62 | 63 | - 0 __EMERGENCY__ system is unusable 64 | - 1 __ALERT__ action must be taken immediately 65 | - 2 __CRITICAL__ the system is in critical condition 66 | - 3 __ERROR__ error condition 67 | - 4 __WARNING__ warning condition 68 | - 5 __NOTICE__ a normal but significant condition 69 | - 6 __INFO__ a purely informational message 70 | - 7 __DEBUG__ messages to debug an application 71 | 72 | ## License 73 | 74 | (The MIT License) 75 | 76 | Copyright (c) 2009-2010 TJ Holowaychuk <tj@vision-media.ca> 77 | 78 | Permission is hereby granted, free of charge, to any person obtaining 79 | a copy of this software and associated documentation files (the 80 | 'Software'), to deal in the Software without restriction, including 81 | without limitation the rights to use, copy, modify, merge, publish, 82 | distribute, sublicense, and/or sell copies of the Software, and to 83 | permit persons to whom the Software is furnished to do so, subject to 84 | the following conditions: 85 | 86 | The above copyright notice and this permission notice shall be 87 | included in all copies or substantial portions of the Software. 88 | 89 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 90 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 91 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 92 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 93 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 94 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 95 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 96 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/coloured/package.json.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "name": "coloured", 3 | "description": "Pretty colours in your terminal.", 4 | "author": { 5 | "name": "Gianni Chiappetta", 6 | "email": "gianni@runlevel6.org", 7 | "url": "http://gf3.ca" 8 | }, 9 | "version": "0.2.0", 10 | "directories": { 11 | "lib": "./lib" 12 | }, 13 | "engines": [ 14 | "node >=0.1.5" 15 | ], 16 | "repository": { 17 | "type": "git", 18 | "url": "https://gf3@github.com/gf3/coloured.git" 19 | }, 20 | "license": { 21 | "type": "Public Domain", 22 | "url": "http://github.com/gf3/coloured/raw/master/UNLICENSE" 23 | }, 24 | "_id": "coloured@0.2.0", 25 | "_engineSupported": true, 26 | "_npmVersion": "0.2.17", 27 | "_nodeVersion": "v0.3.1-pre", 28 | "modules": { 29 | "coloured.js": "lib/coloured.js", 30 | "index.js": "./lib/coloured" 31 | }, 32 | "files": [ 33 | "" 34 | ], 35 | "_defaultsLoaded": true, 36 | "_bundledDeps": [], 37 | "_resolvedDeps": [], 38 | "_env": {}, 39 | "_npmConfig": { 40 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 41 | "showlevel": 1, 42 | "binroot": null, 43 | "manroot": null, 44 | "must-install": false, 45 | "registry": "http://registry.npmjs.org/", 46 | "argv": { 47 | "remain": [], 48 | "cooked": [ 49 | "bundle" 50 | ], 51 | "original": [ 52 | "bundle" 53 | ] 54 | }, 55 | "email": "gianni@runlevel6.org", 56 | "username": "gf3", 57 | "auto-activate": "always", 58 | "auto-deactivate": true, 59 | "browser": "open", 60 | "color": true, 61 | "description": true, 62 | "dev": false, 63 | "editor": "vim", 64 | "force": false, 65 | "globalconfig": "/usr/local/etc/npmrc", 66 | "gzipbin": "gzip", 67 | "listopts": "", 68 | "logfd": 2, 69 | "loglevel": "info", 70 | "node-version": "v0.3.1-pre", 71 | "onload-script": false, 72 | "outfd": 1, 73 | "proxy": null, 74 | "rebuild-bundle": true, 75 | "recursive": false, 76 | "tag": "latest", 77 | "tar": "tar", 78 | "tmproot": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/", 79 | "update-dependents": true, 80 | "userconfig": "/Users/gianni/.npmrc" 81 | }, 82 | "_npmPaths": { 83 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 84 | "dir": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm", 85 | "cache": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache", 86 | "tmp": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/npm-1297101958303", 87 | "package": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/package", 88 | "modules": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules/coloured", 89 | "dependencies": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured/0.2.0/node_modules" 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /Jerk/lib/jerk.js: -------------------------------------------------------------------------------- 1 | var sys = require( 'sys' ) 2 | , path = require( 'path' ) 3 | , fs = require( 'fs' ) 4 | , IRC 5 | 6 | /* ------------------------------ Init ------------------------------ */ 7 | require.paths.unshift( path.join( __dirname, '..', 'node_modules' ) ) 8 | IRC = require( 'irc-js' ) 9 | 10 | /* ------------------------------ Jerk ------------------------------ */ 11 | var Jerk = new ( function Jerk() { 12 | var bot 13 | , watchers = [] 14 | , connect = _connect.bind( this ) 15 | , watch_for = _watch_for.bind( this ) 16 | 17 | 18 | /* ------------------------------ Public Methods ------------------------------ */ 19 | this.addWatchers = function( block ) { 20 | block( { watch_for: watch_for } ) 21 | return { connect: connect } 22 | } 23 | 24 | /* ------------------------------ Private Methods ------------------------------ */ 25 | function _connect( options ) { 26 | var i 27 | bot = new IRC( options || {} ) 28 | bot 29 | .addListener( 'privmsg', _receive_message.bind( this ) ) 30 | .connect( function() { 31 | bot.listenOnce("ping", function() { 32 | setTimeout( function() { 33 | // Join channels 34 | if ( Array.isArray( bot.options.channels ) ) 35 | for ( i = 0; i < bot.options.channels.length; i++ ) 36 | this.join( bot.options.channels[i] ) 37 | 38 | // Call onConnect callback 39 | if (options.onConnect) 40 | options.onConnect.call(); 41 | }.bind( this ), options.delayAfterConnect || 15000 ) 42 | }); 43 | }) 44 | 45 | return { say: _privmsg_protected.bind( this ) 46 | , action: _bot_do( function( to, msg ) { return bot.privmsg( to, '\001ACTION ' + msg + '\001' ) } ).bind( this ) 47 | , part: _bot_do( 'part' ).bind( this ) 48 | , join: _bot_do( 'join' ).bind( this ) 49 | , quit: _bot_do( 'quit' ).bind( this ) 50 | } 51 | } 52 | 53 | function _watch_for( pattern, hollaback ) { 54 | watchers.push( [ pattern, hollaback ] ) 55 | } 56 | 57 | function _receive_message( message ) { 58 | var i = watchers.length 59 | , source = message.params[0] == bot.options.nick ? message.person.nick : message.params[0] 60 | , text = message.params.slice( -1 ).toString() 61 | , md 62 | 63 | while ( i-- ) 64 | // If a match is found 65 | if ( md = text.match( watchers[i][0] ) ) 66 | watchers[i][1]( 67 | { say: _privmsg_protected.bind( this, source ) 68 | , match_data: md 69 | , user: message.person.nick 70 | , source: source 71 | , text: message.params.slice( -1 ) 72 | } 73 | ) 74 | } 75 | 76 | function _bot_do( what ) { 77 | if ( typeof what === "string" ) 78 | return function() { return bot[what].apply( bot, arguments ) } 79 | else 80 | return what 81 | } 82 | 83 | function _privmsg_protected( receiver, msg ) { 84 | return bot.privmsg( receiver, msg, true ) 85 | } 86 | 87 | })() 88 | 89 | /* ------------------------------ Package Info ------------------------------ */ 90 | fs.readFile( path.join( __dirname, '..', 'package.json' ), function( err, data ) { 91 | if ( err ) 92 | throw err 93 | else 94 | Jerk.info = JSON.parse( data ) 95 | }) 96 | 97 | /* ------------------------------ EXPORTS ------------------------------ */ 98 | module.exports = Jerk.addWatchers 99 | 100 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured-log@0.9.4/package.json.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "name": "coloured-log", 3 | "description": "Combines \"coloured\" and \"log.js\" for super simple pretty logging.", 4 | "version": "0.9.4", 5 | "author": { 6 | "name": "Ben Truyman", 7 | "email": "bentruyman@gmail.com" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "http://github.com/bentruyman/coloured-log" 12 | }, 13 | "dependencies": { 14 | "coloured": ">= 0.2.0", 15 | "log": ">= 1.1.1" 16 | }, 17 | "keywords": [ 18 | "coloured", 19 | "log", 20 | "logger" 21 | ], 22 | "engines": { 23 | "node": ">= 0.2.0" 24 | }, 25 | "_id": "coloured-log@0.9.4", 26 | "_engineSupported": true, 27 | "_npmVersion": "0.2.17", 28 | "_nodeVersion": "v0.3.1-pre", 29 | "directories": { 30 | "lib": "./lib" 31 | }, 32 | "modules": { 33 | "coloured-log.js": "lib/coloured-log.js", 34 | "index.js": "./lib/coloured-log" 35 | }, 36 | "files": [ 37 | "" 38 | ], 39 | "_defaultsLoaded": true, 40 | "_bundledDeps": [], 41 | "_resolvedDeps": [ 42 | { 43 | "name": "coloured", 44 | "version": "0.2.0" 45 | }, 46 | { 47 | "name": "log", 48 | "version": "1.1.1" 49 | } 50 | ], 51 | "_npmConfig": { 52 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 53 | "showlevel": 1, 54 | "binroot": null, 55 | "manroot": null, 56 | "must-install": false, 57 | "registry": "http://registry.npmjs.org/", 58 | "argv": { 59 | "remain": [], 60 | "cooked": [ 61 | "bundle" 62 | ], 63 | "original": [ 64 | "bundle" 65 | ] 66 | }, 67 | "email": "gianni@runlevel6.org", 68 | "username": "gf3", 69 | "auto-activate": "always", 70 | "auto-deactivate": true, 71 | "browser": "open", 72 | "color": true, 73 | "description": true, 74 | "dev": false, 75 | "editor": "vim", 76 | "force": false, 77 | "globalconfig": "/usr/local/etc/npmrc", 78 | "gzipbin": "gzip", 79 | "listopts": "", 80 | "logfd": 2, 81 | "loglevel": "info", 82 | "node-version": "v0.3.1-pre", 83 | "onload-script": false, 84 | "outfd": 1, 85 | "proxy": null, 86 | "rebuild-bundle": true, 87 | "recursive": false, 88 | "tag": "latest", 89 | "tar": "tar", 90 | "tmproot": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/", 91 | "update-dependents": true, 92 | "userconfig": "/Users/gianni/.npmrc" 93 | }, 94 | "_env": {}, 95 | "_npmPaths": { 96 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules", 97 | "dir": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm", 98 | "cache": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/.cache", 99 | "tmp": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/npm-1297101958303", 100 | "package": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/package", 101 | "modules": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/coloured-log@0.9.4", 102 | "dependencies": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package/node_modules/.npm/coloured-log/0.9.4/node_modules" 103 | } 104 | } 105 | -------------------------------------------------------------------------------- /Jerk/README.md: -------------------------------------------------------------------------------- 1 | # Jerk 2 | 3 | A fun little IRC bot library for node.js. Ridiculously simple to set-up and get going! 4 | 5 | ## OHMYGOD 6 | 7 | Seriously, it's stupidly simple. 8 | 9 | ### Your First Bot 10 | 11 | Firstly, we'll need to grab Jerk. If you use [npm](http://npmjs.org/) it's as easy as: 12 | 13 | npm install jerk 14 | 15 | If you prefer straight-up git: 16 | 17 | git clone git://github.com/gf3/Jerk.git 18 | 19 | Hoo haa, now that we're locked and loaded, let's write a goddamn bot! We need to include Jerk: 20 | 21 | var jerk = require('jerk') 22 | 23 | You'll need some `options`. Jerk takes the exact same options object as the [IRC-js library](http://github.com/gf3/IRC-js/). Let's just go ahead and supply some basic info: 24 | 25 | var options = 26 | { server: 'irc.freenode.net' 27 | , nick: 'YourBot9001' 28 | , channels: ['#your-channel'] 29 | } 30 | 31 | Hah, now you're going to cry once you see how easy this is: 32 | 33 | jerk(function(j) { 34 | 35 | j.watch_for('soup', function(message) { 36 | message.say(message.user + ': soup is good food!') 37 | }) 38 | 39 | j.watch_for(/^(.+) are silly$/, function(message) { 40 | message.say(message.user + ': ' + message.match_data[1] + ' are NOT SILLY. Don't joke!') 41 | }) 42 | 43 | }).connect(options) 44 | 45 | Really. That's it. 46 | 47 | ### ADVANCED USER OF THE INTERNETS 48 | 49 | The jerk object (`j`) has only one method: `watch_for`. Which takes two arguments, the first can be either a string or a regex to match messages against. The second argument is your hollaback function for when a match is found. The hollaback receives only one argument, the `message` object. It looks like this: 50 | 51 | { user: String 52 | , source: String 53 | , match_data: Array 54 | , say: Function( message ) 55 | } 56 | 57 | One thing I will tell you though, is the `say` method is smart enough to reply to the context that the message was received, so you don't need to pass it any extra info, just a reply :) 58 | 59 | The `connect` method returns an object with some handy methods that you can use outside of your `watch_for`s: 60 | 61 | { say: Function( destination, message ) 62 | , action: Function( destination, action ) 63 | , part: Function( channel ) 64 | , join: Function( channel ) 65 | , quit: Function( message ) 66 | } 67 | 68 | Example: 69 | 70 | var superBot = jerk( ... ).connect(options) 71 | // Later... 72 | superBot.say('#myChan', 'Soup noobs?') 73 | superBot.join('#haters') 74 | superBot.action('#hates', 'hates all of you!') 75 | 76 | I think everything there is pretty self-explanatory, no? 77 | 78 | ### Running Your Bot 79 | 80 | node yourBot9001.js 81 | 82 | Run your bot on a remote server: 83 | 84 | nohup node yourBot9001.js & 85 | 86 | Done. 87 | 88 | ### A Better Example 89 | 90 | Here's a more practical example, meet [protobot](http://github.com/gf3/protobot/blob/master/protobot.js). Protobot hangs out on [Freenode#prototype](irc://irc.freenode.net/prototype) all day – stop by and say hi! 91 | 92 | A few bots using Jerk: 93 | 94 | * [Protobot](http://github.com/gf3/protobot) 95 | * [csbot](http://github.com/rdrake/csbot) 96 | * Crockbot 97 | 98 | Wrote a bot with Jerk? [Email me](mailto:gianni@runlevel6.org) and I'll add it to the list! 99 | 100 | ## Credit & Junk 101 | 102 | Written by [Gianni Chiappetta](http://github.com/gf3) – [gf3.ca](http://gf3.ca) 103 | 104 | Jerk is [UNLICENSED](http://unlicense.org/). 105 | 106 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/irc-js/0.2.15/package/spec/compiler.spec.js: -------------------------------------------------------------------------------- 1 | 2 | var fs = require( 'fs' ) 3 | , path = require( 'path' ) 4 | , Compiler 5 | , messages 6 | 7 | require.paths.unshift( path.join( __dirname, '..', 'node_modules' ) ) 8 | require.paths.unshift( path.join( __dirname, '..', 'lib' ) ) 9 | 10 | Compiler = require( path.join( __dirname, '..', 'lib', 'compiler' ) ) 11 | 12 | /* ------------------------------ Fixtures ------------------------------ */ 13 | messages = JSON.parse( fs.readFileSync( path.join( __dirname, 'messages.json' ) ).toString() ) 14 | 15 | /* ------------------------------ Tests ------------------------------ */ 16 | exports[ 'Can parse Freenode cloaks' ] = function( test ) { var m 17 | m = Compiler.compile( ':frigg!~eir@freenode/utility-bot/frigg PRIVMSG protobot :VERSION\r\n' ) 18 | test.equal( 'freenode/utility-bot/frigg', m.person.host ) 19 | test.finish() 20 | } 21 | 22 | exports[ 'Can parse server messages' ] = function( test ) { var m 23 | m = Compiler.compile( ':brown.freenode.net 333 js-irc #runlevel6 gf3 1252481170=\r\n' ) 24 | test.equal( 'brown.freenode.net', m.server ) 25 | test.finish() 26 | } 27 | 28 | exports[ 'Can parse asterisks in server names' ] = function( test ) { var m 29 | m = Compiler.compile( ':*.quakenet.org MODE #altdeath +v Typone\r\n' ) 30 | test.equal( '*.quakenet.org', m.server ) 31 | test.finish() 32 | } 33 | 34 | exports[ 'Can parse server messages with no periods' ] = function( test ) { var m 35 | m = Compiler.compile( ':localhost 333 js-irc #runlevel6 gf3 1252481170=\r\n' ) 36 | test.equal( 'localhost', m.server ) 37 | test.finish() 38 | } 39 | 40 | exports[ 'Can parse nicks with backticks' ] = function( test ) { var m 41 | m = Compiler.compile( ':nick`!u@h JOIN :#chan\r\n' ) 42 | test.equal( 'nick`', m.person.nick ) 43 | test.finish() 44 | } 45 | 46 | exports[ 'Can parse nicks with slashes' ] = function( test ) { var m 47 | m = Compiler.compile( ':ni\\ck!u@h JOIN :#chan\r\n' ) 48 | test.equal( 'ni\\ck', m.person.nick ) 49 | test.finish() 50 | } 51 | 52 | exports[ 'Can parse nicks with slashes and backticks' ] = function( test ) { var m 53 | m = Compiler.compile( ':davglass\\test`!~davglass@173-27-206-95.client.mchsi.com JOIN :#yui\r\n' ) 54 | test.equal( 'davglass\\test`', m.person.nick ) 55 | test.finish() 56 | } 57 | 58 | exports[ 'Can parse users with slashes and carets' ] = function( test ) { var m 59 | m = Compiler.compile( ':peol!~andree_^\\@h55eb1e56.selukra.dyn.perspektivbredband.net JOIN :#jquery\r\n' ) 60 | test.equal( '~andree_^\\', m.person.user ) 61 | test.finish() 62 | } 63 | 64 | exports[ 'Can parse users with backticks' ] = function( test ) { var m 65 | m = Compiler.compile( ':luke`!~luke`@117.192.231.56 QUIT :Quit: luke`\r\n' ) 66 | test.equal( '~luke`', m.person.user ) 67 | test.finish() 68 | } 69 | 70 | exports[ 'Can parse multiple middle params properly' ] = function( test ) { var m 71 | m = Compiler.compile( ':irc.server 353 nick = #chan :nick nick2\r\n' ) 72 | test.equal( 'nick', m.params[0] ) 73 | test.equal( '=', m.params[1] ) 74 | test.equal( '#chan', m.params[2] ) 75 | test.finish() 76 | } 77 | 78 | exports[ 'Can parse empty trailing parameters' ] = function( test ) { var m 79 | m = Compiler.compile( ':vitor-br!vitor-p.c@189.105.71.49 QUIT :\r\n' ) 80 | test.equal( '', m.params[0] ) 81 | test.finish() 82 | } 83 | 84 | /* ------------------------------ Only Test Successful Compilation ------------------------------ */ 85 | messages.forEach( function( message, idx ) { 86 | exports[ 'Message compilation #' + idx + ': "' + message.slice( 0, -2 ) + '"' ] = function( test ) { 87 | test.ok( Compiler.compile( message ) ) 88 | test.finish() 89 | } 90 | }) 91 | 92 | /* ------------------------------ Run ------------------------------ */ 93 | if ( module == require.main ) 94 | require( 'async_testing' ).run( __filename, process.ARGV ) 95 | 96 | -------------------------------------------------------------------------------- /Jerk/node_modules/.npm/.cache/irc-js/0.2.15/package/spec/compiler.spec.js: -------------------------------------------------------------------------------- 1 | 2 | var fs = require( 'fs' ) 3 | , path = require( 'path' ) 4 | , Compiler 5 | , messages 6 | 7 | require.paths.unshift( path.join( __dirname, '..', 'node_modules' ) ) 8 | require.paths.unshift( path.join( __dirname, '..', 'lib' ) ) 9 | 10 | Compiler = require( path.join( __dirname, '..', 'lib', 'compiler' ) ) 11 | 12 | /* ------------------------------ Fixtures ------------------------------ */ 13 | messages = JSON.parse( fs.readFileSync( path.join( __dirname, 'messages.json' ) ).toString() ) 14 | 15 | /* ------------------------------ Tests ------------------------------ */ 16 | exports[ 'Can parse Freenode cloaks' ] = function( test ) { var m 17 | m = Compiler.compile( ':frigg!~eir@freenode/utility-bot/frigg PRIVMSG protobot :VERSION\r\n' ) 18 | test.equal( 'freenode/utility-bot/frigg', m.person.host ) 19 | test.finish() 20 | } 21 | 22 | exports[ 'Can parse server messages' ] = function( test ) { var m 23 | m = Compiler.compile( ':brown.freenode.net 333 js-irc #runlevel6 gf3 1252481170=\r\n' ) 24 | test.equal( 'brown.freenode.net', m.server ) 25 | test.finish() 26 | } 27 | 28 | exports[ 'Can parse asterisks in server names' ] = function( test ) { var m 29 | m = Compiler.compile( ':*.quakenet.org MODE #altdeath +v Typone\r\n' ) 30 | test.equal( '*.quakenet.org', m.server ) 31 | test.finish() 32 | } 33 | 34 | exports[ 'Can parse server messages with no periods' ] = function( test ) { var m 35 | m = Compiler.compile( ':localhost 333 js-irc #runlevel6 gf3 1252481170=\r\n' ) 36 | test.equal( 'localhost', m.server ) 37 | test.finish() 38 | } 39 | 40 | exports[ 'Can parse nicks with backticks' ] = function( test ) { var m 41 | m = Compiler.compile( ':nick`!u@h JOIN :#chan\r\n' ) 42 | test.equal( 'nick`', m.person.nick ) 43 | test.finish() 44 | } 45 | 46 | exports[ 'Can parse nicks with slashes' ] = function( test ) { var m 47 | m = Compiler.compile( ':ni\\ck!u@h JOIN :#chan\r\n' ) 48 | test.equal( 'ni\\ck', m.person.nick ) 49 | test.finish() 50 | } 51 | 52 | exports[ 'Can parse nicks with slashes and backticks' ] = function( test ) { var m 53 | m = Compiler.compile( ':davglass\\test`!~davglass@173-27-206-95.client.mchsi.com JOIN :#yui\r\n' ) 54 | test.equal( 'davglass\\test`', m.person.nick ) 55 | test.finish() 56 | } 57 | 58 | exports[ 'Can parse users with slashes and carets' ] = function( test ) { var m 59 | m = Compiler.compile( ':peol!~andree_^\\@h55eb1e56.selukra.dyn.perspektivbredband.net JOIN :#jquery\r\n' ) 60 | test.equal( '~andree_^\\', m.person.user ) 61 | test.finish() 62 | } 63 | 64 | exports[ 'Can parse users with backticks' ] = function( test ) { var m 65 | m = Compiler.compile( ':luke`!~luke`@117.192.231.56 QUIT :Quit: luke`\r\n' ) 66 | test.equal( '~luke`', m.person.user ) 67 | test.finish() 68 | } 69 | 70 | exports[ 'Can parse multiple middle params properly' ] = function( test ) { var m 71 | m = Compiler.compile( ':irc.server 353 nick = #chan :nick nick2\r\n' ) 72 | test.equal( 'nick', m.params[0] ) 73 | test.equal( '=', m.params[1] ) 74 | test.equal( '#chan', m.params[2] ) 75 | test.finish() 76 | } 77 | 78 | exports[ 'Can parse empty trailing parameters' ] = function( test ) { var m 79 | m = Compiler.compile( ':vitor-br!vitor-p.c@189.105.71.49 QUIT :\r\n' ) 80 | test.equal( '', m.params[0] ) 81 | test.finish() 82 | } 83 | 84 | /* ------------------------------ Only Test Successful Compilation ------------------------------ */ 85 | messages.forEach( function( message, idx ) { 86 | exports[ 'Message compilation #' + idx + ': "' + message.slice( 0, -2 ) + '"' ] = function( test ) { 87 | test.ok( Compiler.compile( message ) ) 88 | test.finish() 89 | } 90 | }) 91 | 92 | /* ------------------------------ Run ------------------------------ */ 93 | if ( module == require.main ) 94 | require( 'async_testing' ).run( __filename, process.ARGV ) 95 | 96 | -------------------------------------------------------------------------------- /Jerk/node_modules/irc-js@0.2.15/package.json.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "name": "irc-js", 3 | "description": "An IRC library for node.js", 4 | "author": { 5 | "name": "Gianni Chiappetta", 6 | "email": "gianni@runlevel6.org", 7 | "url": "http://gf3.ca" 8 | }, 9 | "contributors": [ 10 | { 11 | "name": "Adam Bergmark" 12 | }, 13 | { 14 | "name": "Martin Häger", 15 | "email": "martin.haeger@gmail.com", 16 | "url": "http://freeasinbeard.org" 17 | }, 18 | { 19 | "name": "temp01" 20 | }, 21 | { 22 | "name": "Diogo Gomes", 23 | "email": "maushu@graphnode.com", 24 | "url": "http://www.graphnode.com/" 25 | } 26 | ], 27 | "homepage": "http://gf3.github.com/IRC-js/", 28 | "version": "0.2.15", 29 | "directories": { 30 | "lib": "./lib", 31 | "node_libraries": "./node_libraries" 32 | }, 33 | "engines": [ 34 | "node >=0.2.0" 35 | ], 36 | "dependencies": {}, 37 | "repository": { 38 | "type": "git", 39 | "url": "https://gf3@github.com/gf3/IRC-js.git" 40 | }, 41 | "license": { 42 | "type": "Public Domain", 43 | "url": "http://github.com/gf3/IRC-js/raw/master/UNLICENSE" 44 | }, 45 | "_id": "irc-js@0.2.15", 46 | "_engineSupported": true, 47 | "_npmVersion": "0.2.17", 48 | "_nodeVersion": "v0.3.1-pre", 49 | "modules": { 50 | "compiler.js": "lib/compiler.js", 51 | "irc.js": "lib/irc.js", 52 | "irc.peg": "lib/irc.peg", 53 | "parser.js": "lib/parser.js", 54 | "walker.js": "lib/walker.js", 55 | "index.js": "./lib/irc" 56 | }, 57 | "files": [ 58 | "" 59 | ], 60 | "_defaultsLoaded": true, 61 | "dist": { 62 | "shasum": "eb89127d032eaaef46f2f6fffc36cf2732d18c36" 63 | }, 64 | "_bundledDeps": [ 65 | { 66 | "name": "coloured", 67 | "version": "0.2.0" 68 | }, 69 | { 70 | "name": "coloured-log", 71 | "version": "0.9.4" 72 | }, 73 | { 74 | "name": "log", 75 | "version": "1.1.1" 76 | } 77 | ], 78 | "_resolvedDeps": [], 79 | "_npmConfig": { 80 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules", 81 | "binroot": "/Users/gianni/Projects/javascript/Jerk/node_modules/.bin", 82 | "manroot": null, 83 | "must-install": false, 84 | "showlevel": 1, 85 | "registry": "http://registry.npmjs.org/", 86 | "argv": { 87 | "remain": [], 88 | "cooked": [ 89 | "bundle" 90 | ], 91 | "original": [ 92 | "bundle" 93 | ] 94 | }, 95 | "email": "gianni@runlevel6.org", 96 | "username": "gf3", 97 | "auto-activate": "always", 98 | "auto-deactivate": true, 99 | "browser": "open", 100 | "color": true, 101 | "description": true, 102 | "dev": false, 103 | "editor": "vim", 104 | "force": false, 105 | "globalconfig": "/usr/local/etc/npmrc", 106 | "gzipbin": "gzip", 107 | "listopts": "", 108 | "logfd": 2, 109 | "loglevel": "info", 110 | "node-version": "v0.3.1-pre", 111 | "onload-script": false, 112 | "outfd": 1, 113 | "proxy": null, 114 | "rebuild-bundle": true, 115 | "recursive": false, 116 | "tag": "latest", 117 | "tar": "tar", 118 | "tmproot": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/", 119 | "update-dependents": true, 120 | "userconfig": "/Users/gianni/.npmrc" 121 | }, 122 | "_env": {}, 123 | "_npmPaths": { 124 | "root": "/Users/gianni/Projects/javascript/Jerk/node_modules", 125 | "dir": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm", 126 | "cache": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/.cache", 127 | "tmp": "/var/folders/Ti/TiL5SgD3HvyFOXrICcVXAU+++TI/-Tmp-/npm-1297101958303", 128 | "package": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/package", 129 | "modules": "/Users/gianni/Projects/javascript/Jerk/node_modules/irc-js@0.2.15", 130 | "dependencies": "/Users/gianni/Projects/javascript/Jerk/node_modules/.npm/irc-js/0.2.15/node_modules" 131 | } 132 | } 133 | --------------------------------------------------------------------------------