├── .github └── FUNDING.yml ├── LICENSE ├── README.md ├── botcp.js ├── index.html ├── node_modules ├── .bin │ ├── flatiron │ ├── flatiron.cmd │ ├── forever │ ├── forever.cmd │ ├── mime │ ├── mime.cmd │ ├── mkdirp │ ├── mkdirp.cmd │ ├── ncp │ ├── ncp.cmd │ ├── prettyjson │ ├── prettyjson.cmd │ ├── rimraf │ ├── rimraf.cmd │ ├── strip-json-comments │ ├── strip-json-comments.cmd │ ├── tape │ └── tape.cmd ├── accepts │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── anymatch │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── arr-diff │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── arr-flatten │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── array-flatten │ ├── LICENSE │ ├── README.md │ ├── array-flatten.js │ └── package.json ├── array-unique │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── async-each │ ├── .npmignore │ ├── CHANGELOG.md │ ├── README.md │ ├── index.js │ └── package.json ├── async │ ├── LICENSE │ ├── README.md │ ├── component.json │ ├── lib │ │ └── async.js │ └── package.json ├── balanced-match │ ├── .npmignore │ ├── LICENSE.md │ ├── README.md │ ├── index.js │ └── package.json ├── binary-extensions │ ├── binary-extensions.json │ ├── license │ ├── package.json │ └── readme.md ├── body-parser │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── read.js │ │ └── types │ │ │ ├── json.js │ │ │ ├── raw.js │ │ │ ├── text.js │ │ │ └── urlencoded.js │ └── package.json ├── brace-expansion │ ├── README.md │ ├── index.js │ └── package.json ├── braces │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── broadway │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── build │ ├── examples │ │ ├── browser │ │ │ ├── app.js │ │ │ ├── index.html │ │ │ └── plugins │ │ │ │ └── helloworld.js │ │ └── nodejs │ │ │ ├── app.js │ │ │ └── plugins │ │ │ └── helloworld.js │ ├── lib │ │ ├── broadway.js │ │ └── broadway │ │ │ ├── app.js │ │ │ ├── bootstrapper.js │ │ │ ├── browser.js │ │ │ ├── common │ │ │ ├── directories.js │ │ │ └── index.js │ │ │ ├── features │ │ │ └── index.js │ │ │ └── plugins │ │ │ ├── config.js │ │ │ ├── directories.js │ │ │ ├── exceptions.js │ │ │ ├── inspect.js │ │ │ └── log.js │ ├── node_modules │ │ ├── cliff │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── assets │ │ │ │ ├── inspect.png │ │ │ │ ├── put-object-rows.png │ │ │ │ ├── put-object.png │ │ │ │ ├── put-rows-colors.png │ │ │ │ ├── put-rows.png │ │ │ │ ├── string-object-rows.png │ │ │ │ └── string-rows.png │ │ │ ├── examples │ │ │ │ ├── inspect.js │ │ │ │ ├── put-object-rows.js │ │ │ │ ├── put-object.js │ │ │ │ ├── put-rows-colors.js │ │ │ │ ├── put-rows.js │ │ │ │ ├── string-object-rows.js │ │ │ │ └── string-rows.js │ │ │ ├── lib │ │ │ │ └── cliff.js │ │ │ ├── package.json │ │ │ └── test │ │ │ │ └── cliff-test.js │ │ └── winston │ │ │ ├── .npmignore │ │ │ ├── .travis.yml │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── docs │ │ │ └── transports.md │ │ │ ├── examples │ │ │ ├── couchdb.js │ │ │ ├── custom-levels.js │ │ │ ├── exception.js │ │ │ ├── raw-mode.js │ │ │ └── webhook-post.js │ │ │ ├── lib │ │ │ ├── winston.js │ │ │ └── winston │ │ │ │ ├── common.js │ │ │ │ ├── config.js │ │ │ │ ├── config │ │ │ │ ├── cli-config.js │ │ │ │ ├── npm-config.js │ │ │ │ └── syslog-config.js │ │ │ │ ├── container.js │ │ │ │ ├── exception.js │ │ │ │ ├── logger.js │ │ │ │ ├── transports.js │ │ │ │ └── transports │ │ │ │ ├── console.js │ │ │ │ ├── daily-rotate-file.js │ │ │ │ ├── file.js │ │ │ │ ├── http.js │ │ │ │ ├── memory.js │ │ │ │ ├── transport.js │ │ │ │ └── webhook.js │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── cli-test.js │ │ │ ├── container-test.js │ │ │ ├── custom-timestamp-test.js │ │ │ ├── exception-test.js │ │ │ ├── fixtures │ │ │ ├── .gitkeep │ │ │ ├── keys │ │ │ │ ├── agent2-cert.pem │ │ │ │ └── agent2-key.pem │ │ │ ├── logs │ │ │ │ └── .gitkeep │ │ │ └── scripts │ │ │ │ ├── default-exceptions.js │ │ │ │ ├── exit-on-error.js │ │ │ │ ├── log-exceptions.js │ │ │ │ └── unhandle-exceptions.js │ │ │ ├── helpers.js │ │ │ ├── log-exception-test.js │ │ │ ├── log-rewriter-test.js │ │ │ ├── logger-levels-test.js │ │ │ ├── logger-test.js │ │ │ ├── transports │ │ │ ├── console-test.js │ │ │ ├── daily-rotate-file-test.js │ │ │ ├── file-maxfiles-test.js │ │ │ ├── file-maxsize-test.js │ │ │ ├── file-open-test.js │ │ │ ├── file-stress-test.js │ │ │ ├── file-test.js │ │ │ ├── memory-test.js │ │ │ ├── transport.js │ │ │ └── webhook-test.js │ │ │ └── winston-test.js │ ├── package.json │ └── test │ │ ├── common │ │ └── directories-test.js │ │ ├── core │ │ ├── app-init-test.js │ │ ├── app-test.js │ │ └── broadway-test.js │ │ ├── fixtures │ │ ├── .gitkeep │ │ ├── empty-app │ │ │ └── .gitkeep │ │ ├── sample-app.json │ │ └── sample-app │ │ │ ├── app │ │ │ └── index.js │ │ │ └── config │ │ │ └── topics.json │ │ ├── helpers │ │ ├── assert.js │ │ ├── helpers.js │ │ └── macros.js │ │ └── plugins │ │ ├── config-test.js │ │ ├── directories-test.js │ │ └── log-test.js ├── bytes │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── caller │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ ├── caller.js │ │ └── fixtures │ │ ├── callee.js │ │ └── init.js ├── child_process │ ├── README.md │ └── package.json ├── chokidar │ ├── CHANGELOG.md │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── fsevents-handler.js │ │ └── nodefs-handler.js │ └── package.json ├── cliff │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── assets │ │ ├── inspect.png │ │ ├── put-object-rows.png │ │ ├── put-object.png │ │ ├── put-rows-colors.png │ │ ├── put-rows.png │ │ ├── string-object-rows.png │ │ └── string-rows.png │ ├── examples │ │ ├── inspect.js │ │ ├── put-object-rows.js │ │ ├── put-object.js │ │ ├── put-rows-colors.js │ │ ├── put-rows.js │ │ ├── string-object-rows.js │ │ └── string-rows.js │ ├── lib │ │ └── cliff.js │ ├── node_modules │ │ └── colors │ │ │ ├── .travis.yml │ │ │ ├── MIT-LICENSE.txt │ │ │ ├── ReadMe.md │ │ │ ├── examples │ │ │ ├── normal-usage.js │ │ │ └── safe-string.js │ │ │ ├── lib │ │ │ ├── colors.js │ │ │ ├── custom │ │ │ │ ├── trap.js │ │ │ │ └── zalgo.js │ │ │ ├── extendStringPrototype.js │ │ │ ├── index.js │ │ │ ├── maps │ │ │ │ ├── america.js │ │ │ │ ├── rainbow.js │ │ │ │ ├── random.js │ │ │ │ └── zebra.js │ │ │ ├── styles.js │ │ │ └── system │ │ │ │ └── supports-colors.js │ │ │ ├── package.json │ │ │ ├── safe.js │ │ │ ├── screenshots │ │ │ └── colors.png │ │ │ ├── tests │ │ │ ├── basic-test.js │ │ │ └── safe-test.js │ │ │ └── themes │ │ │ └── generic-logging.js │ ├── package.json │ └── test │ │ └── cliff-test.js ├── clone │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── clone.iml │ ├── clone.js │ └── package.json ├── colors │ ├── MIT-LICENSE.txt │ ├── ReadMe.md │ ├── colors.js │ ├── example.html │ ├── example.js │ ├── package.json │ ├── test.js │ └── themes │ │ ├── winston-dark.js │ │ └── winston-light.js ├── concat-map │ ├── .travis.yml │ ├── LICENSE │ ├── README.markdown │ ├── example │ │ └── map.js │ ├── index.js │ ├── package.json │ └── test │ │ └── map.js ├── content-disposition │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── content-type │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── cookie-signature │ ├── .npmignore │ ├── History.md │ ├── Readme.md │ ├── index.js │ └── package.json ├── cookie │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── core-util-is │ ├── LICENSE │ ├── README.md │ ├── float.patch │ ├── lib │ │ └── util.js │ ├── package.json │ └── test.js ├── cycle │ ├── README.md │ ├── cycle.js │ └── package.json ├── debug │ ├── .coveralls.yml │ ├── .eslintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── component.json │ ├── karma.conf.js │ ├── node.js │ ├── package.json │ └── src │ │ ├── browser.js │ │ ├── debug.js │ │ ├── index.js │ │ ├── inspector-log.js │ │ └── node.js ├── deep-equal │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ └── cmp.js │ ├── index.js │ ├── lib │ │ ├── is_arguments.js │ │ └── keys.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ └── cmp.js ├── defined │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ └── defined.js │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ └── def.js ├── depd │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── browser │ │ │ └── index.js │ │ └── compat │ │ │ ├── callsite-tostring.js │ │ │ ├── event-listener-count.js │ │ │ └── index.js │ └── package.json ├── destroy │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── director │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── build │ ├── bower.json │ ├── build │ │ ├── director.js │ │ ├── director.min.js │ │ └── ender.js │ ├── examples │ │ └── http.js │ ├── img │ │ ├── director.png │ │ └── hashRoute.png │ ├── lib │ │ ├── director.js │ │ └── director │ │ │ ├── browser.js │ │ │ ├── cli.js │ │ │ ├── http │ │ │ ├── index.js │ │ │ ├── methods.js │ │ │ └── responses.js │ │ │ └── router.js │ ├── package.json │ └── test │ │ ├── browser │ │ ├── backend │ │ │ └── backend.js │ │ ├── browserify-harness.html │ │ ├── helpers │ │ │ └── api.js │ │ ├── html5-routes-harness.html │ │ ├── html5-routes-test.js │ │ ├── routes-harness.html │ │ └── routes-test.js │ │ └── server │ │ ├── cli │ │ ├── dispatch-test.js │ │ ├── mount-test.js │ │ └── path-test.js │ │ ├── core │ │ ├── dispatch-test.js │ │ ├── insert-test.js │ │ ├── mount-test.js │ │ ├── on-test.js │ │ ├── path-test.js │ │ └── regifystring-test.js │ │ ├── helpers │ │ ├── index.js │ │ └── macros.js │ │ └── http │ │ ├── accept-test.js │ │ ├── attach-test.js │ │ ├── before-test.js │ │ ├── http-test.js │ │ ├── methods-test.js │ │ ├── responses-test.js │ │ └── stream-test.js ├── ee-first │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── encodeurl │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── escape-html │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── etag │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── event-stream │ ├── .gitmodules │ ├── .npmignore │ ├── LICENCE │ ├── examples │ │ └── pretty.js │ ├── index.js │ ├── node_modules │ │ └── optimist │ │ │ ├── .gitignore │ │ │ ├── .npmignore │ │ │ ├── LICENSE │ │ │ ├── README.markdown │ │ │ ├── examples │ │ │ ├── bool.js │ │ │ ├── boolean_double.js │ │ │ ├── boolean_single.js │ │ │ ├── default_hash.js │ │ │ ├── default_singles.js │ │ │ ├── divide.js │ │ │ ├── line_count.js │ │ │ ├── line_count_options.js │ │ │ ├── line_count_wrap.js │ │ │ ├── nonopt.js │ │ │ ├── reflect.js │ │ │ ├── short.js │ │ │ ├── string.js │ │ │ ├── usage-options.js │ │ │ └── xup.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── test │ │ │ ├── _.js │ │ │ ├── _ │ │ │ ├── argv.js │ │ │ └── bin.js │ │ │ ├── parse.js │ │ │ └── usage.js │ ├── out │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── .npmignore │ │ ├── package.json │ │ ├── pipe.async.js │ │ ├── readArray.asynct.js │ │ ├── readme.markdown │ │ ├── simple-map.asynct.js │ │ ├── split.asynct.js │ │ └── writeArray.asynct.js ├── eventemitter2 │ ├── README.md │ ├── index.js │ ├── lib │ │ └── eventemitter2.js │ └── package.json ├── expand-brackets │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── expand-range │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── express │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ ├── lib │ │ ├── application.js │ │ ├── express.js │ │ ├── middleware │ │ │ ├── init.js │ │ │ └── query.js │ │ ├── request.js │ │ ├── response.js │ │ ├── router │ │ │ ├── index.js │ │ │ ├── layer.js │ │ │ └── route.js │ │ ├── utils.js │ │ └── view.js │ └── package.json ├── extglob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── eyes │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── lib │ │ └── eyes.js │ ├── package.json │ └── test │ │ └── eyes-test.js ├── filename-regex │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fill-range │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── finalhandler │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── flatiron │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── flatiron │ ├── examples │ │ ├── cli-sample │ │ │ ├── index.js │ │ │ └── print.js │ │ ├── http-sample.js │ │ ├── resourceful-app │ │ │ ├── app.js │ │ │ ├── app │ │ │ │ └── resources │ │ │ │ │ └── creature.js │ │ │ └── package.json │ │ ├── socket.io │ │ │ ├── index.html │ │ │ └── server.js │ │ └── static-app │ │ │ ├── app.js │ │ │ ├── app │ │ │ └── assets │ │ │ │ ├── style.css │ │ │ │ └── style.js │ │ │ └── package.json │ ├── lib │ │ ├── flatiron.js │ │ └── flatiron │ │ │ ├── app.js │ │ │ ├── cli │ │ │ └── create.js │ │ │ ├── common.js │ │ │ ├── constants.js │ │ │ └── plugins │ │ │ ├── cli.js │ │ │ ├── http.js │ │ │ ├── resourceful.js │ │ │ └── static.js │ ├── node_modules │ │ └── optimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ ├── bool.js │ │ │ ├── boolean_double.js │ │ │ ├── boolean_single.js │ │ │ ├── default_hash.js │ │ │ ├── default_singles.js │ │ │ ├── divide.js │ │ │ ├── line_count.js │ │ │ ├── line_count_options.js │ │ │ ├── line_count_wrap.js │ │ │ ├── nonopt.js │ │ │ ├── reflect.js │ │ │ ├── short.js │ │ │ ├── string.js │ │ │ ├── usage-options.js │ │ │ └── xup.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ ├── _.js │ │ │ ├── _ │ │ │ ├── argv.js │ │ │ └── bin.js │ │ │ ├── dash.js │ │ │ ├── parse.js │ │ │ ├── parse_modified.js │ │ │ ├── short.js │ │ │ ├── usage.js │ │ │ └── whitespace.js │ ├── package.json │ ├── scaffolds │ │ ├── cli │ │ │ ├── app.js │ │ │ ├── config │ │ │ │ └── config.json │ │ │ ├── directories.json │ │ │ ├── files.json │ │ │ ├── lib │ │ │ │ └── index.js │ │ │ └── package.json │ │ └── http │ │ │ ├── app.js │ │ │ ├── config │ │ │ └── config.json │ │ │ ├── directories.json │ │ │ ├── files.json │ │ │ └── package.json │ └── test │ │ ├── fixtures │ │ └── sample-app │ │ │ └── app │ │ │ └── new-york │ │ │ ├── controller.js │ │ │ ├── index.js │ │ │ └── new-york.js │ │ ├── flatiron-test.js │ │ └── plugins │ │ ├── resourceful-test.js │ │ └── static-test.js ├── for-in │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── for-own │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── forever-monitor │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── examples │ │ ├── all-env-vars.js │ │ ├── always-throw.js │ │ ├── cli-multiple-start │ │ ├── count-timer.js │ │ ├── custom-cwd.js │ │ ├── env-server.js │ │ ├── env-vars.js │ │ ├── error-on-timer.js │ │ ├── graceful-exit.js │ │ ├── list-multiple.js │ │ ├── log-on-interval.js │ │ ├── multiple-processes.js │ │ ├── process-send.js │ │ ├── server.js │ │ ├── signal-ignore.js │ │ └── spawn-and-error.js │ ├── lib │ │ ├── forever-monitor │ │ │ ├── common.js │ │ │ ├── monitor.js │ │ │ └── plugins │ │ │ │ ├── index.js │ │ │ │ ├── logger.js │ │ │ │ └── watch.js │ │ └── index.js │ ├── package.json │ └── test │ │ ├── core │ │ └── check-process-test.js │ │ ├── fixtures │ │ ├── fork.js │ │ ├── gc.js │ │ ├── logs.js │ │ ├── send-pong.js │ │ ├── testnode │ │ └── watch │ │ │ ├── .foreverignore │ │ │ ├── daemon.js │ │ │ ├── file │ │ │ ├── ignoredDir │ │ │ └── file │ │ │ └── removeMe │ │ ├── helpers │ │ └── macros.js │ │ ├── monitor │ │ ├── env-spawn-test.js │ │ ├── fork-test.js │ │ ├── send-test.js │ │ ├── signal-test.js │ │ ├── simple-test.js │ │ ├── spin-test.js │ │ └── start-stop-test.js │ │ └── plugins │ │ ├── logger-test.js │ │ └── watch-test.js ├── forever │ ├── .editorconfig │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ ├── forever │ │ └── monitor │ ├── lib │ │ ├── forever.js │ │ └── forever │ │ │ ├── cli.js │ │ │ └── worker.js │ ├── package.json │ └── test │ │ ├── cli-test │ │ ├── core │ │ ├── daemonic-inheritance-test.js │ │ ├── start-stop-json-array-test.js │ │ ├── start-stop-json-obj-test.js │ │ ├── start-stop-relative-test.js │ │ ├── stopall-peaceful-test.js │ │ ├── stopbypid-peaceful-test.js │ │ └── tail-stopall-test.js │ │ ├── fixtures │ │ ├── cluster-fork-mode.js │ │ ├── log-on-interval.js │ │ ├── server.js │ │ ├── server.json │ │ ├── servers.json │ │ └── start-daemon.js │ │ ├── helpers │ │ ├── index.js │ │ ├── macros.js │ │ └── mocks │ │ │ ├── child-process.js │ │ │ ├── monitor.js │ │ │ └── stream.js │ │ └── worker │ │ ├── multiple-workers-test.js │ │ └── simple-test.js ├── forwarded │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fresh │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── fs.realpath │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── old.js │ └── package.json ├── glob-base │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── glob-parent │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── glob │ ├── LICENSE │ ├── README.md │ ├── changelog.md │ ├── common.js │ ├── glob.js │ ├── package.json │ └── sync.js ├── graceful-fs │ ├── LICENSE │ ├── README.md │ ├── fs.js │ ├── graceful-fs.js │ ├── legacy-streams.js │ ├── package.json │ └── polyfills.js ├── http-errors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ └── setprototypeof │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── i │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── defaults.js │ │ ├── inflect.js │ │ ├── inflections.js │ │ ├── methods.js │ │ ├── native.js │ │ └── util.js │ ├── package.json │ └── test │ │ ├── inflector │ │ ├── cases.js │ │ ├── inflections-test.js │ │ └── methods-test.js │ │ └── utils │ │ ├── array-test.js │ │ └── string-test.js ├── iconv-lite │ ├── .npmignore │ ├── .travis.yml │ ├── Changelog.md │ ├── LICENSE │ ├── README.md │ ├── encodings │ │ ├── dbcs-codec.js │ │ ├── dbcs-data.js │ │ ├── index.js │ │ ├── internal.js │ │ ├── sbcs-codec.js │ │ ├── sbcs-data-generated.js │ │ ├── sbcs-data.js │ │ ├── tables │ │ │ ├── big5-added.json │ │ │ ├── cp936.json │ │ │ ├── cp949.json │ │ │ ├── cp950.json │ │ │ ├── eucjp.json │ │ │ ├── gb18030-ranges.json │ │ │ ├── gbk-added.json │ │ │ └── shiftjis.json │ │ ├── utf16.js │ │ └── utf7.js │ ├── lib │ │ ├── bom-handling.js │ │ ├── extend-node.js │ │ ├── index.d.ts │ │ ├── index.js │ │ └── streams.js │ └── package.json ├── inflight │ ├── LICENSE │ ├── README.md │ ├── inflight.js │ └── package.json ├── inherits │ ├── LICENSE │ ├── README.md │ ├── inherits.js │ ├── inherits_browser.js │ └── package.json ├── ini │ ├── LICENSE │ ├── README.md │ ├── ini.js │ └── package.json ├── ipaddr.js │ ├── .npmignore │ ├── .travis.yml │ ├── Cakefile │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── ipaddr.min.js │ ├── lib │ │ └── ipaddr.js │ ├── package.json │ ├── src │ │ └── ipaddr.coffee │ └── test │ │ └── ipaddr.test.coffee ├── is-binary-path │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── is-buffer │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test │ │ └── basic.js ├── is-dotfile │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-equal-shallow │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-extendable │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-extglob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-glob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-number │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-posix-bracket │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── is-primitive │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── isarray │ ├── .npmignore │ ├── .travis.yml │ ├── Makefile │ ├── README.md │ ├── component.json │ ├── index.js │ ├── package.json │ └── test.js ├── isobject │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── isstream │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── README.md │ ├── isstream.js │ ├── package.json │ └── test.js ├── jsonify │ ├── README.markdown │ ├── index.js │ ├── lib │ │ ├── parse.js │ │ └── stringify.js │ ├── package.json │ └── test │ │ ├── parse.js │ │ └── stringify.js ├── kind-of │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── lazy │ ├── .npmignore │ ├── README.md │ ├── lazy.js │ ├── lazy.js~ │ ├── package.json │ ├── package.json~ │ └── test │ │ ├── bucket.js │ │ ├── complex.js │ │ ├── custom.js │ │ ├── em.js │ │ ├── filter.js │ │ ├── foldr.js │ │ ├── forEach.js │ │ ├── head.js │ │ ├── join.js │ │ ├── lines.js │ │ ├── map.js │ │ ├── pipe.js │ │ ├── product.js │ │ ├── range.js │ │ ├── skip.js │ │ ├── sum.js │ │ ├── tail.js │ │ ├── take.js │ │ └── takeWhile.js ├── media-typer │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── merge-descriptors │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── methods │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── micromatch │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── chars.js │ │ ├── expand.js │ │ ├── glob.js │ │ └── utils.js │ └── package.json ├── mime-db │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── db.json │ ├── index.js │ └── package.json ├── mime-types │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── mime │ ├── LICENSE │ ├── README.md │ ├── build │ │ ├── build.js │ │ └── test.js │ ├── cli.js │ ├── mime.js │ ├── package.json │ └── types.json ├── minimatch │ ├── LICENSE │ ├── README.md │ ├── minimatch.js │ └── package.json ├── minimist │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ └── parse.js │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── bool.js │ │ ├── dash.js │ │ ├── default_bool.js │ │ ├── dotted.js │ │ ├── long.js │ │ ├── num.js │ │ ├── parse.js │ │ ├── parse_modified.js │ │ ├── short.js │ │ └── whitespace.js ├── mkdirp │ ├── .travis.yml │ ├── LICENSE │ ├── bin │ │ ├── cmd.js │ │ └── usage.txt │ ├── examples │ │ └── pow.js │ ├── index.js │ ├── node_modules │ │ └── minimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ └── parse.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ ├── dash.js │ │ │ ├── default_bool.js │ │ │ ├── dotted.js │ │ │ ├── long.js │ │ │ ├── parse.js │ │ │ ├── parse_modified.js │ │ │ ├── short.js │ │ │ └── whitespace.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── chmod.js │ │ ├── clobber.js │ │ ├── mkdirp.js │ │ ├── opts_fs.js │ │ ├── opts_fs_sync.js │ │ ├── perm.js │ │ ├── perm_sync.js │ │ ├── race.js │ │ ├── rel.js │ │ ├── return.js │ │ ├── return_sync.js │ │ ├── root.js │ │ ├── sync.js │ │ ├── umask.js │ │ └── umask_sync.js ├── ms │ ├── index.js │ ├── license.md │ ├── package.json │ └── readme.md ├── mute-stream │ ├── .nyc_output │ │ ├── 33508.json │ │ └── 33510.json │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── coverage │ │ ├── lcov-report │ │ │ ├── __root__ │ │ │ │ ├── index.html │ │ │ │ └── mute.js.html │ │ │ ├── base.css │ │ │ ├── index.html │ │ │ ├── prettify.css │ │ │ ├── prettify.js │ │ │ ├── sort-arrow-sprite.png │ │ │ └── sorter.js │ │ └── lcov.info │ ├── mute.js │ ├── package.json │ └── test │ │ └── basic.js ├── nconf │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── docs │ │ ├── docco.css │ │ ├── nconf.html │ │ └── nconf │ │ │ ├── common.html │ │ │ ├── formats.html │ │ │ ├── provider.html │ │ │ ├── stores.html │ │ │ └── stores │ │ │ ├── file.html │ │ │ ├── memory.html │ │ │ └── system.html │ ├── lib │ │ ├── nconf.js │ │ └── nconf │ │ │ ├── common.js │ │ │ ├── formats.js │ │ │ ├── provider.js │ │ │ └── stores │ │ │ ├── argv.js │ │ │ ├── env.js │ │ │ ├── file.js │ │ │ ├── literal.js │ │ │ └── memory.js │ ├── node_modules │ │ ├── async │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── component.json │ │ │ ├── lib │ │ │ │ └── async.js │ │ │ └── package.json │ │ └── optimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ ├── bool.js │ │ │ ├── boolean_double.js │ │ │ ├── boolean_single.js │ │ │ ├── default_hash.js │ │ │ ├── default_singles.js │ │ │ ├── divide.js │ │ │ ├── line_count.js │ │ │ ├── line_count_options.js │ │ │ ├── line_count_wrap.js │ │ │ ├── nonopt.js │ │ │ ├── reflect.js │ │ │ ├── short.js │ │ │ ├── string.js │ │ │ ├── usage-options.js │ │ │ └── xup.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ ├── _.js │ │ │ ├── _ │ │ │ ├── argv.js │ │ │ └── bin.js │ │ │ ├── dash.js │ │ │ ├── parse.js │ │ │ ├── parse_modified.js │ │ │ ├── short.js │ │ │ ├── usage.js │ │ │ └── whitespace.js │ ├── package.json │ ├── test │ │ ├── common-test.js │ │ ├── complete-test.js │ │ ├── fixtures │ │ │ ├── bom.json │ │ │ ├── complete.json │ │ │ ├── data.js │ │ │ ├── hierarchy │ │ │ │ ├── global.json │ │ │ │ ├── hierarchical.json │ │ │ │ └── user.json │ │ │ ├── malformed.json │ │ │ ├── merge │ │ │ │ ├── file1.json │ │ │ │ └── file2.json │ │ │ ├── no-bom.json │ │ │ └── scripts │ │ │ │ ├── nconf-argv.js │ │ │ │ ├── nconf-change-argv.js │ │ │ │ ├── nconf-env.js │ │ │ │ ├── nconf-hierarchical-file-argv.js │ │ │ │ ├── nconf-hierarchical-load-merge.js │ │ │ │ ├── nconf-hierarchical-load-save.js │ │ │ │ ├── nconf-nested-env.js │ │ │ │ ├── provider-argv.js │ │ │ │ └── provider-env.js │ │ ├── helpers.js │ │ ├── hierarchy-test.js │ │ ├── mocks │ │ │ └── mock-store.js │ │ ├── nconf-test.js │ │ ├── provider-save-test.js │ │ ├── provider-test.js │ │ └── stores │ │ │ ├── argv-test.js │ │ │ ├── env-test.js │ │ │ ├── file-store-test.js │ │ │ ├── literal-test.js │ │ │ └── memory-store-test.js │ └── usage.js ├── ncp │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE.md │ ├── README.md │ ├── bin │ │ └── ncp │ ├── lib │ │ └── ncp.js │ ├── package.json │ └── test │ │ ├── fixtures │ │ └── src │ │ │ ├── a │ │ │ ├── b │ │ │ ├── c │ │ │ ├── d │ │ │ ├── e │ │ │ ├── f │ │ │ └── sub │ │ │ ├── a │ │ │ └── b │ │ └── ncp-test.js ├── negotiator │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── lib │ │ ├── charset.js │ │ ├── encoding.js │ │ ├── language.js │ │ └── mediaType.js │ └── package.json ├── normalize-path │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── nssocket │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── examples │ │ ├── bla.js │ │ ├── foo.js │ │ ├── reconnect.js │ │ ├── simple-protocol.js │ │ └── verbose-protocol.js │ ├── lib │ │ ├── common.js │ │ └── nssocket.js │ ├── package.json │ └── test │ │ ├── create-server-test.js │ │ ├── fixtures │ │ ├── ryans-cert.pem │ │ ├── ryans-csr.pem │ │ └── ryans-key.pem │ │ ├── msgpack-tcp-test.js │ │ ├── tcp-reconnect-test.js │ │ ├── tcp-test.js │ │ └── tls-test.js ├── object-assign │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── object.omit │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── on-finished │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── once │ ├── LICENSE │ ├── README.md │ ├── once.js │ └── package.json ├── optimist │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ ├── bool.js │ │ ├── boolean_double.js │ │ ├── boolean_single.js │ │ ├── default_hash.js │ │ ├── default_singles.js │ │ ├── divide.js │ │ ├── line_count.js │ │ ├── line_count_options.js │ │ ├── line_count_wrap.js │ │ ├── nonopt.js │ │ ├── reflect.js │ │ ├── short.js │ │ ├── string.js │ │ ├── usage-options.js │ │ └── xup.js │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── _.js │ │ ├── _ │ │ ├── argv.js │ │ └── bin.js │ │ ├── dash.js │ │ ├── parse.js │ │ ├── parse_modified.js │ │ ├── short.js │ │ ├── usage.js │ │ └── whitespace.js ├── parse-glob │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── parseurl │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── path-is-absolute │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── path-to-regexp │ ├── History.md │ ├── LICENSE │ ├── Readme.md │ ├── index.js │ └── package.json ├── pkginfo │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── docs │ │ ├── docco.css │ │ └── pkginfo.html │ ├── examples │ │ ├── all-properties.js │ │ ├── array-argument.js │ │ ├── multiple-properties.js │ │ ├── object-argument.js │ │ ├── package.json │ │ ├── single-property.js │ │ ├── subdir │ │ │ └── package.json │ │ └── target-dir.js │ ├── lib │ │ └── pkginfo.js │ ├── package.json │ └── test │ │ └── pkginfo-test.js ├── preserve │ ├── .gitattributes │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── .verb.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── prettyjson │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── Authors.md │ ├── CONTRIBUTING.md │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── bin │ │ └── prettyjson │ ├── images │ │ ├── example1.png │ │ ├── example2.png │ │ ├── example3.png │ │ ├── example4.png │ │ └── example5.png │ ├── lib │ │ ├── prettyjson.js │ │ └── utils.js │ ├── node_modules │ │ ├── colors │ │ │ ├── LICENSE │ │ │ ├── ReadMe.md │ │ │ ├── examples │ │ │ │ ├── normal-usage.js │ │ │ │ └── safe-string.js │ │ │ ├── lib │ │ │ │ ├── colors.js │ │ │ │ ├── custom │ │ │ │ │ ├── trap.js │ │ │ │ │ └── zalgo.js │ │ │ │ ├── extendStringPrototype.js │ │ │ │ ├── index.js │ │ │ │ ├── maps │ │ │ │ │ ├── america.js │ │ │ │ │ ├── rainbow.js │ │ │ │ │ ├── random.js │ │ │ │ │ └── zebra.js │ │ │ │ ├── styles.js │ │ │ │ └── system │ │ │ │ │ └── supports-colors.js │ │ │ ├── package.json │ │ │ ├── safe.js │ │ │ └── themes │ │ │ │ └── generic-logging.js │ │ └── minimist │ │ │ ├── .travis.yml │ │ │ ├── LICENSE │ │ │ ├── example │ │ │ └── parse.js │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ ├── all_bool.js │ │ │ ├── bool.js │ │ │ ├── dash.js │ │ │ ├── default_bool.js │ │ │ ├── dotted.js │ │ │ ├── kv_short.js │ │ │ ├── long.js │ │ │ ├── num.js │ │ │ ├── parse.js │ │ │ ├── parse_modified.js │ │ │ ├── short.js │ │ │ ├── stop_early.js │ │ │ ├── unknown.js │ │ │ └── whitespace.js │ ├── package.json │ └── test │ │ └── prettyjson_spec.js ├── process-nextick-args │ ├── .travis.yml │ ├── index.js │ ├── license.md │ ├── package.json │ ├── readme.md │ └── test.js ├── prompt │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── docs │ │ ├── docco.css │ │ └── prompt.html │ ├── examples │ │ ├── add-properties.js │ │ ├── existing-properties.js │ │ ├── history.js │ │ ├── nested-properties-prompt.js │ │ ├── old-schema.js │ │ ├── override-validation.js │ │ ├── password.js │ │ ├── prompt-override.js │ │ ├── property-prompt.js │ │ ├── simple-prompt.js │ │ └── yes-or-no-prompt.js │ ├── lib │ │ └── prompt.js │ ├── package.json │ └── test │ │ ├── helpers.js │ │ ├── interactive-prompt-test.js │ │ ├── macros.js │ │ └── prompt-test.js ├── proxy-addr │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── ps-tree │ ├── .npmignore │ ├── index.js │ ├── package.json │ └── readme.markdown ├── qs │ ├── .editorconfig │ ├── .eslintignore │ ├── .eslintrc │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── dist │ │ └── qs.js │ ├── lib │ │ ├── formats.js │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js │ ├── package.json │ └── test │ │ ├── .eslintrc │ │ ├── index.js │ │ ├── parse.js │ │ ├── stringify.js │ │ └── utils.js ├── randomatic │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── node_modules │ │ ├── is-number │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ │ └── kind-of │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── README.md │ │ │ │ │ ├── index.js │ │ │ │ │ └── package.json │ │ │ └── package.json │ │ └── kind-of │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.js │ │ │ └── package.json │ └── package.json ├── range-parser │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── raw-body │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── read │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── read.js │ └── package.json ├── readable-stream │ ├── .npmignore │ ├── .travis.yml │ ├── CONTRIBUTING.md │ ├── GOVERNANCE.md │ ├── LICENSE │ ├── README.md │ ├── doc │ │ └── wg-meetings │ │ │ └── 2015-01-30.md │ ├── duplex-browser.js │ ├── duplex.js │ ├── lib │ │ ├── _stream_duplex.js │ │ ├── _stream_passthrough.js │ │ ├── _stream_readable.js │ │ ├── _stream_transform.js │ │ ├── _stream_writable.js │ │ └── internal │ │ │ └── streams │ │ │ ├── BufferList.js │ │ │ ├── destroy.js │ │ │ ├── stream-browser.js │ │ │ └── stream.js │ ├── package.json │ ├── passthrough.js │ ├── readable-browser.js │ ├── readable.js │ ├── transform.js │ ├── writable-browser.js │ └── writable.js ├── readdirp │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── examples │ │ ├── Readme.md │ │ ├── callback-api.js │ │ ├── grep.js │ │ ├── package.json │ │ ├── stream-api-pipe.js │ │ └── stream-api.js │ ├── package.json │ ├── readdirp.js │ ├── stream-api.js │ └── test │ │ ├── bed │ │ ├── root_dir1 │ │ │ ├── root_dir1_file1.ext1 │ │ │ ├── root_dir1_file2.ext2 │ │ │ ├── root_dir1_file3.ext3 │ │ │ └── root_dir1_subdir1 │ │ │ │ └── root1_dir1_subdir1_file1.ext1 │ │ ├── root_dir2 │ │ │ ├── root_dir2_file1.ext1 │ │ │ └── root_dir2_file2.ext2 │ │ ├── root_file1.ext1 │ │ ├── root_file2.ext2 │ │ └── root_file3.ext3 │ │ ├── readdirp-stream.js │ │ └── readdirp.js ├── regex-cache │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── remove-trailing-separator │ ├── history.md │ ├── index.js │ ├── license │ ├── package.json │ └── readme.md ├── repeat-element │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── repeat-string │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── resumer │ ├── .travis.yml │ ├── LICENSE │ ├── example │ │ └── resume.js │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── resume.js │ │ └── through.js ├── revalidator │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── example │ │ └── webservice.js │ ├── lib │ │ └── revalidator.js │ ├── package.json │ └── test │ │ └── validator-test.js ├── rimraf │ ├── LICENSE │ ├── README.md │ ├── bin.js │ ├── package.json │ └── rimraf.js ├── safe-buffer │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ ├── package.json │ └── test.js ├── send │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── serve-static │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── set-immediate-shim │ ├── index.js │ ├── package.json │ └── readme.md ├── setprototypeof │ ├── LICENSE │ ├── README.md │ ├── index.d.ts │ ├── index.js │ └── package.json ├── shush │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── stack-trace │ ├── .npmignore │ ├── License │ ├── Makefile │ ├── Readme.md │ ├── lib │ │ └── stack-trace.js │ └── package.json ├── statuses │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── codes.json │ ├── index.js │ └── package.json ├── string_decoder │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── lib │ │ └── string_decoder.js │ └── package.json ├── strip-json-comments │ ├── cli.js │ ├── package.json │ ├── readme.md │ └── strip-json-comments.js ├── tape │ ├── .npmignore │ ├── .travis.yml │ ├── LICENSE │ ├── bin │ │ └── tape │ ├── example │ │ ├── array.js │ │ ├── fail.js │ │ ├── nested.js │ │ ├── nested_fail.js │ │ ├── not_enough.js │ │ ├── static │ │ │ ├── build.sh │ │ │ ├── index.html │ │ │ └── server.js │ │ ├── throw.js │ │ ├── timing.js │ │ ├── too_many.js │ │ └── two.js │ ├── index.js │ ├── lib │ │ ├── default_stream.js │ │ ├── results.js │ │ └── test.js │ ├── node_modules │ │ └── deep-equal │ │ │ ├── .travis.yml │ │ │ ├── example │ │ │ └── cmp.js │ │ │ ├── index.js │ │ │ ├── lib │ │ │ ├── is_arguments.js │ │ │ └── keys.js │ │ │ ├── package.json │ │ │ ├── readme.markdown │ │ │ └── test │ │ │ └── cmp.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── add-subtest-async.js │ │ ├── array.js │ │ ├── browser │ │ └── asserts.js │ │ ├── child_ordering.js │ │ ├── circular-things.js │ │ ├── deep.js │ │ ├── exit.js │ │ ├── exit │ │ ├── fail.js │ │ ├── ok.js │ │ ├── second.js │ │ └── too_few.js │ │ ├── fail.js │ │ ├── many.js │ │ ├── max_listeners.js │ │ ├── max_listeners │ │ └── source.js │ │ ├── nested-sync-noplan-noend.js │ │ ├── nested.js │ │ ├── only.js │ │ ├── order.js │ │ ├── plan_optional.js │ │ ├── skip.js │ │ ├── subtest_and_async.js │ │ ├── subtest_plan.js │ │ ├── throw.js │ │ └── too_many.js ├── through │ ├── .travis.yml │ ├── LICENSE.APACHE2 │ ├── LICENSE.MIT │ ├── index.js │ ├── package.json │ ├── readme.markdown │ └── test │ │ ├── async.js │ │ ├── auto-destroy.js │ │ ├── buffering.js │ │ ├── end.js │ │ └── index.js ├── timespan │ ├── .npmignore │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── browser │ │ ├── TimeSpan-1.2.js │ │ └── TimeSpan-1.2.min.js │ ├── docs │ │ ├── docco.css │ │ └── time-span.html │ ├── lib │ │ └── time-span.js │ ├── package.json │ └── test │ │ ├── date-parser-test.js │ │ ├── helpers.js │ │ └── time-span-test.js ├── type-is │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── unpipe │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── util-deprecate │ ├── History.md │ ├── LICENSE │ ├── README.md │ ├── browser.js │ ├── node.js │ └── package.json ├── utile │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── args.js │ │ ├── base64.js │ │ ├── file.js │ │ ├── format.js │ │ └── index.js │ ├── package.json │ └── test │ │ ├── file-test.js │ │ ├── fixtures │ │ ├── read-json-file │ │ │ └── config.json │ │ └── require-directory │ │ │ ├── directory │ │ │ └── index.js │ │ │ └── helloWorld.js │ │ ├── format-test.js │ │ ├── function-args-test.js │ │ ├── helpers │ │ └── macros.js │ │ ├── random-string-test.js │ │ ├── require-directory-test.js │ │ └── utile-test.js ├── utils-merge │ ├── .npmignore │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── vary │ ├── HISTORY.md │ ├── LICENSE │ ├── README.md │ ├── index.js │ └── package.json ├── winston │ ├── .jshintrc │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── docs │ │ └── transports.md │ ├── examples │ │ ├── couchdb.js │ │ ├── custom-levels.js │ │ ├── exception.js │ │ ├── raw-mode.js │ │ └── webhook-post.js │ ├── lib │ │ ├── winston.js │ │ └── winston │ │ │ ├── common.js │ │ │ ├── config.js │ │ │ ├── config │ │ │ ├── cli-config.js │ │ │ ├── npm-config.js │ │ │ └── syslog-config.js │ │ │ ├── container.js │ │ │ ├── exception.js │ │ │ ├── logger.js │ │ │ ├── transports.js │ │ │ └── transports │ │ │ ├── console.js │ │ │ ├── daily-rotate-file.js │ │ │ ├── file.js │ │ │ ├── http.js │ │ │ ├── memory.js │ │ │ ├── transport.js │ │ │ └── webhook.js │ ├── package.json │ └── test │ │ ├── cli-test.js │ │ ├── container-test.js │ │ ├── custom-timestamp-test.js │ │ ├── exception-test.js │ │ ├── fixtures │ │ ├── .gitkeep │ │ ├── keys │ │ │ ├── agent2-cert.pem │ │ │ └── agent2-key.pem │ │ ├── logs │ │ │ └── .gitkeep │ │ └── scripts │ │ │ ├── default-exceptions.js │ │ │ ├── exit-on-error.js │ │ │ ├── log-exceptions.js │ │ │ ├── log-string-exception.js │ │ │ └── unhandle-exceptions.js │ │ ├── helpers.js │ │ ├── log-exception-test.js │ │ ├── log-rewriter-test.js │ │ ├── logger-levels-test.js │ │ ├── logger-test.js │ │ ├── stress │ │ └── http-server.js │ │ ├── transports │ │ ├── console-test.js │ │ ├── daily-rotate-file-test.js │ │ ├── file-maxfiles-test.js │ │ ├── file-maxsize-test.js │ │ ├── file-open-test.js │ │ ├── file-stress-test.js │ │ ├── file-test.js │ │ ├── memory-test.js │ │ ├── transport.js │ │ └── webhook-test.js │ │ └── winston-test.js ├── wordwrap │ ├── LICENSE │ ├── README.markdown │ ├── example │ │ ├── center.js │ │ └── meat.js │ ├── index.js │ ├── package.json │ └── test │ │ ├── break.js │ │ ├── idleness.txt │ │ └── wrap.js └── wrappy │ ├── LICENSE │ ├── README.md │ ├── package.json │ └── wrappy.js ├── package-lock.json ├── package.json └── start_server.bat /node_modules/.bin/flatiron: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../flatiron/bin/flatiron" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../flatiron/bin/flatiron" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/flatiron.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\flatiron\bin\flatiron" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\flatiron\bin\flatiron" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/forever: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../forever/bin/forever" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../forever/bin/forever" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/forever.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\forever\bin\forever" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\forever\bin\forever" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/mime: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mime/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mime/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/mime.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\mime\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\mime\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../mkdirp/bin/cmd.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/mkdirp.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\mkdirp\bin\cmd.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\mkdirp\bin\cmd.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/ncp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../ncp/bin/ncp" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../ncp/bin/ncp" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/ncp.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\ncp\bin\ncp" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\ncp\bin\ncp" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/prettyjson: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../prettyjson/bin/prettyjson" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../prettyjson/bin/prettyjson" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/prettyjson.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\prettyjson\bin\prettyjson" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\prettyjson\bin\prettyjson" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/rimraf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../rimraf/bin.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../rimraf/bin.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/rimraf.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\rimraf\bin.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\rimraf\bin.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/strip-json-comments: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../strip-json-comments/cli.js" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../strip-json-comments/cli.js" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/strip-json-comments.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\strip-json-comments\cli.js" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\strip-json-comments\cli.js" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/.bin/tape: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | "$basedir/node" "$basedir/../tape/bin/tape" "$@" 10 | ret=$? 11 | else 12 | node "$basedir/../tape/bin/tape" "$@" 13 | ret=$? 14 | fi 15 | exit $ret 16 | -------------------------------------------------------------------------------- /node_modules/.bin/tape.cmd: -------------------------------------------------------------------------------- 1 | @IF EXIST "%~dp0\node.exe" ( 2 | "%~dp0\node.exe" "%~dp0\..\tape\bin\tape" %* 3 | ) ELSE ( 4 | @SETLOCAL 5 | @SET PATHEXT=%PATHEXT:;.JS;=;% 6 | node "%~dp0\..\tape\bin\tape" %* 7 | ) -------------------------------------------------------------------------------- /node_modules/arr-flatten/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * arr-flatten 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function (arr) { 11 | return flat(arr, []); 12 | }; 13 | 14 | function flat(arr, res) { 15 | var i = 0, cur; 16 | var len = arr.length; 17 | for (; i < len; i++) { 18 | cur = arr[i]; 19 | Array.isArray(cur) ? flat(cur, res) : res.push(cur); 20 | } 21 | return res; 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/array-unique/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * array-unique 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function unique(arr) { 11 | if (!Array.isArray(arr)) { 12 | throw new TypeError('array-unique expects an array.'); 13 | } 14 | 15 | var len = arr.length; 16 | var i = -1; 17 | 18 | while (i++ < len) { 19 | var j = i + 1; 20 | 21 | for (; j < arr.length; ++j) { 22 | if (arr[i] === arr[j]) { 23 | arr.splice(j--, 1); 24 | } 25 | } 26 | } 27 | return arr; 28 | }; 29 | -------------------------------------------------------------------------------- /node_modules/async-each/.npmignore: -------------------------------------------------------------------------------- 1 | bower.json 2 | component.json 3 | CHANGELOG.md 4 | -------------------------------------------------------------------------------- /node_modules/async/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "async", 3 | "repo": "caolan/async", 4 | "description": "Higher-order functions and common patterns for asynchronous code", 5 | "version": "0.1.23", 6 | "keywords": [], 7 | "dependencies": {}, 8 | "development": {}, 9 | "main": "lib/async.js", 10 | "scripts": [ "lib/async.js" ] 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/balanced-match/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .gitignore 3 | .travis.yml 4 | Makefile 5 | example.js 6 | -------------------------------------------------------------------------------- /node_modules/broadway/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | .DS_Store 4 | 5 | -------------------------------------------------------------------------------- /node_modules/broadway/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "0.8" 5 | - "0.10" 6 | notifications: 7 | email: 8 | - travis@nodejitsu.com 9 | irc: "irc.freenode.org#nodejitsu" 10 | 11 | -------------------------------------------------------------------------------- /node_modules/broadway/examples/browser/app.js: -------------------------------------------------------------------------------- 1 | 2 | var app = new App(); 3 | 4 | app.use(HelloWorld, { "delimiter": "!" } ); 5 | 6 | app.init(function (err) { 7 | if (err) { 8 | console.log(err); 9 | } 10 | }); 11 | 12 | app.hello("world"); -------------------------------------------------------------------------------- /node_modules/broadway/examples/browser/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Example 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /node_modules/broadway/examples/browser/plugins/helloworld.js: -------------------------------------------------------------------------------- 1 | 2 | window.HelloWorld = {}; 3 | 4 | // 5 | // `exports.attach` gets called by broadway on `app.use` 6 | // 7 | HelloWorld.attach = function (options) { 8 | 9 | this.hello = function (world) { 10 | console.log("Hello "+ world + options.delimiter || "."); 11 | } 12 | }; 13 | 14 | // 15 | // `exports.init` gets called by broadway on `app.init`. 16 | // 17 | HelloWorld.init = function (done) { 18 | 19 | // 20 | // This plugin doesn't require any initialization step. 21 | // 22 | return done(); 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/broadway/examples/nodejs/app.js: -------------------------------------------------------------------------------- 1 | var broadway = require('../../'), 2 | app = new broadway.App(); 3 | 4 | // Passes the second argument to `helloworld.attach`. 5 | app.use(require("./plugins/helloworld"), { "delimiter": "!" } ); 6 | app.use(broadway.plugins.log, { 7 | logAll: true 8 | }); 9 | 10 | app.init(function (err) { 11 | if (err) { 12 | console.log(err); 13 | } 14 | }); 15 | 16 | app.hello("world"); 17 | app.emit('world:hello', { meta: 'is here' }); 18 | -------------------------------------------------------------------------------- /node_modules/broadway/examples/nodejs/plugins/helloworld.js: -------------------------------------------------------------------------------- 1 | 2 | var HelloWorld = exports; 3 | 4 | // 5 | // `exports.attach` gets called by broadway on `app.use` 6 | // 7 | HelloWorld.attach = function (options) { 8 | 9 | this.hello = function (world) { 10 | console.log("Hello "+ world + options.delimiter || "."); 11 | } 12 | }; 13 | 14 | // 15 | // `exports.init` gets called by broadway on `app.init`. 16 | // 17 | HelloWorld.init = function (done) { 18 | 19 | // 20 | // This plugin doesn't require any initialization step. 21 | // 22 | return done(); 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/broadway/lib/broadway.js: -------------------------------------------------------------------------------- 1 | /* 2 | * broadway.js: Top-level include for the broadway module. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var path = require('path'), 10 | utile = require('utile'); 11 | 12 | var broadway = exports; 13 | 14 | broadway.App = require('./broadway/app').App; 15 | broadway.common = require('./broadway/common'); 16 | broadway.features = require('./broadway/features'); 17 | broadway.formats = require('nconf').formats; 18 | broadway.plugins = utile.requireDirLazy(path.join(__dirname, 'broadway', 'plugins')); 19 | 20 | -------------------------------------------------------------------------------- /node_modules/broadway/lib/broadway/common/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * common.js: Top-level include for the `common` module. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var common = module.exports = require('utile'); 10 | 11 | common.directories = require('./directories'); 12 | 13 | // A naive shared "unique ID" generator for cases where `plugin.name` is 14 | // undefined. 15 | var id = 0; 16 | common.uuid = function () { 17 | return String(id++); 18 | } 19 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/assets/inspect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/cliff/assets/inspect.png -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/assets/put-object-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/cliff/assets/put-object-rows.png -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/assets/put-object.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/cliff/assets/put-object.png -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/assets/put-rows-colors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/cliff/assets/put-rows-colors.png -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/assets/put-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/cliff/assets/put-rows.png -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/assets/string-object-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/cliff/assets/string-object-rows.png -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/assets/string-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/cliff/assets/string-rows.png -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/examples/inspect.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object.js: Example usage for `cliff.putObject`. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | console.log(cliff.inspect({ 11 | literal: "bazz", 12 | arr: [ 13 | "one", 14 | 2, 15 | ], 16 | obj: { 17 | host: "localhost", 18 | port: 5984, 19 | auth: { 20 | username: "admin", 21 | password: "password" 22 | } 23 | } 24 | })); 25 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/examples/put-object-rows.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object-rows.js: Example usage for `cliff.putObjectRows`. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | var objs = [], obj = { 11 | name: "bazz", 12 | address: "1234 Nowhere Dr.", 13 | }; 14 | 15 | for (var i = 0; i < 10; i++) { 16 | objs.push({ 17 | name: obj.name, 18 | address: obj.address, 19 | id: Math.random().toString() 20 | }); 21 | } 22 | 23 | cliff.putObjectRows('data', objs, ['id', 'name', 'address']); -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/examples/put-object.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object.js: Example usage for `cliff.putObject`. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | cliff.putObject({ 11 | literal: "bazz", 12 | arr: [ 13 | "one", 14 | 2, 15 | ], 16 | obj: { 17 | host: "localhost", 18 | port: 5984, 19 | auth: { 20 | username: "admin", 21 | password: "password" 22 | } 23 | } 24 | }); -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/examples/put-rows-colors.js: -------------------------------------------------------------------------------- 1 | var cliff = require('../lib/cliff'); 2 | 3 | var rows = [ 4 | ['Name', 'Flavor', 'Dessert'], 5 | ['Alice'.grey, 'cherry'.cyan, 'yogurt'.yellow], 6 | ['Bob'.magenta, 'carmel'.rainbow, 'apples'.white], 7 | ['Joe'.italic, 'chocolate'.underline, 'cake'.inverse], 8 | ['Nick'.bold, 'vanilla', 'ice cream'] 9 | ]; 10 | 11 | cliff.putRows('data', rows, ['red', 'blue', 'green']); 12 | 13 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/examples/put-rows.js: -------------------------------------------------------------------------------- 1 | var cliff = require('../lib/cliff'); 2 | 3 | var rows = [ 4 | ['Name', 'Flavor', 'Dessert'], 5 | ['Alice', 'cherry', 'yogurt'], 6 | ['Bob', 'carmel', 'apples'], 7 | ['Joe', 'chocolate', 'cake'], 8 | ['Nick', 'vanilla', 'ice cream'] 9 | ]; 10 | 11 | cliff.putRows('data', rows, ['red', 'blue', 'green']); 12 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/examples/string-object-rows.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object-rows.js: Example usage for `cliff.putObjectRows`. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | var objs = [], obj = { 11 | name: "bazz", 12 | address: "1234 Nowhere Dr.", 13 | }; 14 | 15 | for (var i = 0; i < 10; i++) { 16 | objs.push({ 17 | name: obj.name, 18 | address: obj.address, 19 | id: Math.random().toString() 20 | }); 21 | } 22 | 23 | console.log(cliff.stringifyObjectRows(objs, ['id', 'name', 'address'], ['red', 'blue', 'green'])); 24 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/cliff/examples/string-rows.js: -------------------------------------------------------------------------------- 1 | var cliff = require('../lib/cliff'); 2 | 3 | var rows = [ 4 | ['Name', 'Flavor', 'Dessert'], 5 | ['Alice', 'cherry', 'yogurt'], 6 | ['Bob', 'carmel', 'apples'], 7 | ['Joe', 'chocolate', 'cake'], 8 | ['Nick', 'vanilla', 'ice cream'] 9 | ]; 10 | 11 | console.log(cliff.stringifyRows(rows, ['red', 'blue', 'green'])); 12 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/.npmignore: -------------------------------------------------------------------------------- 1 | test/*.log 2 | test/fixtures/*.json 3 | test/fixtures/logs/*.log* 4 | node_modules/ 5 | node_modules/* 6 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | 6 | notifications: 7 | email: 8 | - travis@nodejitsu.com 9 | irc: "irc.freenode.org#nodejitsu" 10 | 11 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | 0.6.2 / 2012-07-08 3 | ================== 4 | 5 | * Added prettyPrint option for console logging 6 | * Multi-line values for conditional returns are not allowed 7 | * Added acceptance of `stringify` option 8 | * Fixed padding for log levels 9 | 10 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/examples/exception.js: -------------------------------------------------------------------------------- 1 | var winston = require('../'); 2 | winston.handleExceptions(new winston.transports.Console({ colorize: true, json: true })); 3 | 4 | throw new Error('Hello, winston!'); 5 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/examples/raw-mode.js: -------------------------------------------------------------------------------- 1 | var winston = require('../lib/winston'); 2 | 3 | var logger = new (winston.Logger)({ 4 | transports: [ 5 | new (winston.transports.Console)({ raw: true }), 6 | ] 7 | }); 8 | 9 | logger.log('info', 'Hello, this is a raw logging event', { 'foo': 'bar' }); 10 | logger.log('info', 'Hello, this is a raw logging event 2', { 'foo': 'bar' }); 11 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/lib/winston/config/npm-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * npm-config.js: Config that conform to npm logging levels. 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var npmConfig = exports; 10 | 11 | npmConfig.levels = { 12 | silly: 0, 13 | debug: 1, 14 | verbose: 2, 15 | info: 3, 16 | warn: 4, 17 | error: 5 18 | }; 19 | 20 | npmConfig.colors = { 21 | silly: 'magenta', 22 | verbose: 'cyan', 23 | debug: 'blue', 24 | info: 'green', 25 | warn: 'yellow', 26 | error: 'red' 27 | }; -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/lib/winston/config/syslog-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * syslog-config.js: Config that conform to syslog logging levels. 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var syslogConfig = exports; 10 | 11 | syslogConfig.levels = { 12 | emerg: 0, 13 | alert: 1, 14 | crit: 2, 15 | error: 3, 16 | warning: 4, 17 | notice: 5, 18 | info: 6, 19 | debug: 7, 20 | }; 21 | 22 | syslogConfig.colors = { 23 | emerg: 'red', 24 | alert: 'yellow', 25 | crit: 'red', 26 | error: 'red', 27 | warning: 'red', 28 | notice: 'yellow', 29 | info: 'green', 30 | debug: 'blue', 31 | }; -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/winston/test/fixtures/.gitkeep -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/test/fixtures/keys/agent2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOgIBAAJBAMl2/Ba0XSm4ayi4C0rJ+tYtQu8O31VVXezkLJlf+6fVgdpVhYg5 3 | QlihlPUoiM/wOsDWQ1ALnNhPlcLaQk+etQECAwEAAQJBAMT6Bf34+UHKY1ObpsbH 4 | 9u2jsVblFq1rWvs8GPMY6oertzvwm3DpuSUp7PTgOB1nLTLYtCERbQ4ovtN8tn3p 5 | OHUCIQDzIEGsoCr5vlxXvy2zJwu+fxYuhTZWMVuo1397L0VyhwIhANQh+yzqUgaf 6 | WRtSB4T2W7ADtJI35ET61jKBty3CqJY3AiAIwju7dVW3A5WeD6Qc1SZGKZvp9yCb 7 | AFI2BfVwwaY11wIgXF3PeGcvACMyMWsuSv7aPXHfliswAbkWuzcwA4TW01ECIGWa 8 | cgsDvVFxmfM5NPSuT/UDTa6R5BFISB5ea0N0AR3I 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/test/fixtures/logs/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/node_modules/winston/test/fixtures/logs/.gitkeep -------------------------------------------------------------------------------- /node_modules/broadway/node_modules/winston/test/fixtures/scripts/default-exceptions.js: -------------------------------------------------------------------------------- 1 | /* 2 | * default-exceptions.js: A test fixture for logging exceptions with the default winston logger. 3 | * 4 | * (C) 2011 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var path = require('path'), 10 | winston = require('../../../lib/winston'); 11 | 12 | winston.handleExceptions([ 13 | new (winston.transports.File)({ 14 | filename: path.join(__dirname, '..', 'logs', 'default-exception.log'), 15 | handleExceptions: true 16 | }) 17 | ]); 18 | 19 | setTimeout(function () { 20 | throw new Error('OH NOES! It failed!'); 21 | }, 1000); -------------------------------------------------------------------------------- /node_modules/broadway/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/test/fixtures/.gitkeep -------------------------------------------------------------------------------- /node_modules/broadway/test/fixtures/empty-app/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/broadway/test/fixtures/empty-app/.gitkeep -------------------------------------------------------------------------------- /node_modules/broadway/test/fixtures/sample-app.json: -------------------------------------------------------------------------------- 1 | { 2 | "directories": { 3 | "app": "#ROOT/app", 4 | "config": "#ROOT/config", 5 | "lib": "#ROOT/lib", 6 | "test": "#ROOT/test" 7 | } 8 | } -------------------------------------------------------------------------------- /node_modules/broadway/test/fixtures/sample-app/app/index.js: -------------------------------------------------------------------------------- 1 | 2 | var broadway = require("../../../") -------------------------------------------------------------------------------- /node_modules/broadway/test/fixtures/sample-app/config/topics.json: -------------------------------------------------------------------------------- 1 | { 2 | "topics": [ 3 | 4 | ] 5 | } -------------------------------------------------------------------------------- /node_modules/broadway/test/helpers/helpers.js: -------------------------------------------------------------------------------- 1 | /* 2 | * helpers.js: Test helpers for using broadway. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var events = require('eventemitter2'), 10 | broadway = require('../../lib/broadway'); 11 | 12 | var helpers = exports; 13 | 14 | helpers.findApp = function () { 15 | return Array.prototype.slice.call(arguments).filter(function (arg) { 16 | return arg instanceof events.EventEmitter2; 17 | })[0]; 18 | }; 19 | 20 | helpers.mockApp = function () { 21 | var mock = new events.EventEmitter2({ delimiter: '::', wildcard: true }); 22 | mock.options = {}; 23 | return mock; 24 | }; -------------------------------------------------------------------------------- /node_modules/broadway/test/plugins/config-test.js: -------------------------------------------------------------------------------- 1 | /* 2 | * config-test.js: Tests for the broadway config plugin 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var vows = require('vows'), 10 | events = require('eventemitter2'), 11 | assert = require('../helpers/assert'), 12 | macros = require('../helpers/macros'), 13 | broadway = require('../../lib/broadway'); 14 | 15 | vows.describe('broadway/plugins/config').addBatch({ 16 | "Using the config plugin": { 17 | "extending an application": macros.shouldExtend('config') 18 | } 19 | }).export(module); -------------------------------------------------------------------------------- /node_modules/caller/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/caller/README.md: -------------------------------------------------------------------------------- 1 | #### caller 2 | 3 | Figure out your caller (thanks to @substack). 4 | 5 | ##### Initialization Time Caller 6 | ```javascript 7 | // foo.js 8 | 9 | var bar = require('bar'); 10 | ``` 11 | 12 | ```javascript 13 | // bar.js 14 | 15 | var caller = require('caller'); 16 | console.log(caller()); // `/path/to/foo.js` 17 | ``` 18 | 19 | ##### Runtime Caller 20 | ```javascript 21 | // foo.js 22 | 23 | var bar = require('bar'); 24 | bar.doWork(); 25 | ``` 26 | 27 | ```javascript 28 | // bar.js 29 | 30 | var caller = require('caller'); 31 | 32 | exports.doWork = function () { 33 | console.log(caller()); // `/path/to/foo.js` 34 | }; 35 | ``` -------------------------------------------------------------------------------- /node_modules/caller/test/fixtures/callee.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = function (caller) { 4 | return caller(); 5 | }; -------------------------------------------------------------------------------- /node_modules/caller/test/fixtures/init.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var caller = require('../../'); 4 | 5 | console.log(caller()); 6 | module.exports = caller(); -------------------------------------------------------------------------------- /node_modules/child_process/README.md: -------------------------------------------------------------------------------- 1 | # Security holding package 2 | 3 | This package name is not currently in use, but was formerly occupied 4 | by another package. To avoid malicious use, npm is hanging on to the 5 | package name, but loosely, and we'll probably give it to you if you 6 | want it. 7 | 8 | You may adopt this package by contacting support@npmjs.com and 9 | requesting the name. 10 | -------------------------------------------------------------------------------- /node_modules/cliff/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/cliff/assets/inspect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/assets/inspect.png -------------------------------------------------------------------------------- /node_modules/cliff/assets/put-object-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/assets/put-object-rows.png -------------------------------------------------------------------------------- /node_modules/cliff/assets/put-object.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/assets/put-object.png -------------------------------------------------------------------------------- /node_modules/cliff/assets/put-rows-colors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/assets/put-rows-colors.png -------------------------------------------------------------------------------- /node_modules/cliff/assets/put-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/assets/put-rows.png -------------------------------------------------------------------------------- /node_modules/cliff/assets/string-object-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/assets/string-object-rows.png -------------------------------------------------------------------------------- /node_modules/cliff/assets/string-rows.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/assets/string-rows.png -------------------------------------------------------------------------------- /node_modules/cliff/examples/inspect.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object.js: Example usage for `cliff.putObject`. 3 | * 4 | * (C) 2010, Charlie Robbins & the Contributors 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | console.log(cliff.inspect({ 11 | literal: "bazz", 12 | arr: [ 13 | "one", 14 | 2, 15 | ], 16 | obj: { 17 | host: "localhost", 18 | port: 5984, 19 | auth: { 20 | username: "admin", 21 | password: "password" 22 | } 23 | } 24 | })); 25 | -------------------------------------------------------------------------------- /node_modules/cliff/examples/put-object-rows.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object-rows.js: Example usage for `cliff.putObjectRows`. 3 | * 4 | * (C) 2010, Charlie Robbins & the Contributors 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | var objs = [], obj = { 11 | name: "bazz", 12 | address: "1234 Nowhere Dr.", 13 | }; 14 | 15 | for (var i = 0; i < 10; i++) { 16 | objs.push({ 17 | name: obj.name, 18 | address: obj.address, 19 | id: Math.random().toString() 20 | }); 21 | } 22 | 23 | cliff.putObjectRows('data', objs, ['id', 'name', 'address']); -------------------------------------------------------------------------------- /node_modules/cliff/examples/put-object.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object.js: Example usage for `cliff.putObject`. 3 | * 4 | * (C) 2010, Charlie Robbins & the Contributors 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | cliff.putObject({ 11 | literal: "bazz", 12 | arr: [ 13 | "one", 14 | 2, 15 | ], 16 | obj: { 17 | host: "localhost", 18 | port: 5984, 19 | auth: { 20 | username: "admin", 21 | password: "password" 22 | } 23 | } 24 | }); -------------------------------------------------------------------------------- /node_modules/cliff/examples/put-rows-colors.js: -------------------------------------------------------------------------------- 1 | var cliff = require('../lib/cliff'); 2 | 3 | var rows = [ 4 | ['Name', 'Flavor', 'Dessert'], 5 | ['Alice'.grey, 'cherry'.cyan, 'yogurt'.yellow], 6 | ['Bob'.magenta, 'carmel'.rainbow, 'apples'.white], 7 | ['Joe'.italic, 'chocolate'.underline, 'cake'.inverse], 8 | ['Nick'.bold, 'vanilla', 'ice cream'] 9 | ]; 10 | 11 | cliff.putRows('data', rows, ['red', 'blue', 'green']); 12 | 13 | -------------------------------------------------------------------------------- /node_modules/cliff/examples/put-rows.js: -------------------------------------------------------------------------------- 1 | var cliff = require('../lib/cliff'); 2 | 3 | var rows = [ 4 | ['Name', 'Flavor', 'Dessert'], 5 | ['Alice', 'cherry', 'yogurt'], 6 | ['Bob', 'carmel', 'apples'], 7 | ['Joe', 'chocolate', 'cake'], 8 | ['Nick', 'vanilla', 'ice cream'] 9 | ]; 10 | 11 | cliff.putRows('data', rows, ['red', 'blue', 'green']); 12 | -------------------------------------------------------------------------------- /node_modules/cliff/examples/string-object-rows.js: -------------------------------------------------------------------------------- 1 | /* 2 | * put-object-rows.js: Example usage for `cliff.putObjectRows`. 3 | * 4 | * (C) 2010, Charlie Robbins & the Contributors 5 | * 6 | */ 7 | 8 | var cliff = require('../lib/cliff'); 9 | 10 | var objs = [], obj = { 11 | name: "bazz", 12 | address: "1234 Nowhere Dr.", 13 | }; 14 | 15 | for (var i = 0; i < 10; i++) { 16 | objs.push({ 17 | name: obj.name, 18 | address: obj.address, 19 | id: Math.random().toString() 20 | }); 21 | } 22 | 23 | console.log(cliff.stringifyObjectRows(objs, ['id', 'name', 'address'], ['red', 'blue', 'green'])); 24 | -------------------------------------------------------------------------------- /node_modules/cliff/examples/string-rows.js: -------------------------------------------------------------------------------- 1 | var cliff = require('../lib/cliff'); 2 | 3 | var rows = [ 4 | ['Name', 'Flavor', 'Dessert'], 5 | ['Alice', 'cherry', 'yogurt'], 6 | ['Bob', 'carmel', 'apples'], 7 | ['Joe', 'chocolate', 'cake'], 8 | ['Nick', 'vanilla', 'ice cream'] 9 | ]; 10 | 11 | console.log(cliff.stringifyRows(rows, ['red', 'blue', 'green'])); 12 | -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | - "0.8" 6 | - "0.6" -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/lib/index.js: -------------------------------------------------------------------------------- 1 | var colors = require('./colors'); 2 | module['exports'] = colors; 3 | 4 | // Remark: By default, colors will add style properties to String.prototype 5 | // 6 | // If you don't wish to extend String.prototype you can do this instead and native String will not be touched 7 | // 8 | // var colors = require('colors/safe); 9 | // colors.red("foo") 10 | // 11 | // 12 | var extendStringPrototype = require('./extendStringPrototype')(); -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/lib/maps/america.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function() { 4 | return function (letter, i, exploded) { 5 | if(letter === " ") return letter; 6 | switch(i%3) { 7 | case 0: return colors.red(letter); 8 | case 1: return colors.white(letter) 9 | case 2: return colors.blue(letter) 10 | } 11 | } 12 | })(); -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/lib/maps/rainbow.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; //RoY G BiV 5 | return function (letter, i, exploded) { 6 | if (letter === " ") { 7 | return letter; 8 | } else { 9 | return colors[rainbowColors[i++ % rainbowColors.length]](letter); 10 | } 11 | }; 12 | })(); 13 | 14 | -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/lib/maps/random.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta']; 5 | return function(letter, i, exploded) { 6 | return letter === " " ? letter : colors[available[Math.round(Math.random() * (available.length - 1))]](letter); 7 | }; 8 | })(); -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/lib/maps/zebra.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = function (letter, i, exploded) { 4 | return i % 2 === 0 ? letter : colors.inverse(letter); 5 | }; -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/safe.js: -------------------------------------------------------------------------------- 1 | // 2 | // Remark: Requiring this file will use the "safe" colors API which will not touch String.prototype 3 | // 4 | // var colors = require('colors/safe); 5 | // colors.red("foo") 6 | // 7 | // 8 | var colors = require('./lib/colors'); 9 | module['exports'] = colors; -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/screenshots/colors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/cliff/node_modules/colors/screenshots/colors.png -------------------------------------------------------------------------------- /node_modules/cliff/node_modules/colors/themes/generic-logging.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/clone/.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /test.js 3 | /*.html 4 | /.travis.yml 5 | -------------------------------------------------------------------------------- /node_modules/clone/clone.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /node_modules/colors/themes/winston-dark.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'black', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/colors/themes/winston-light.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/concat-map/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/concat-map/example/map.js: -------------------------------------------------------------------------------- 1 | var concatMap = require('../'); 2 | var xs = [ 1, 2, 3, 4, 5, 6 ]; 3 | var ys = concatMap(xs, function (x) { 4 | return x % 2 ? [ x - 0.1, x, x + 0.1 ] : []; 5 | }); 6 | console.dir(ys); 7 | -------------------------------------------------------------------------------- /node_modules/concat-map/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function (xs, fn) { 2 | var res = []; 3 | for (var i = 0; i < xs.length; i++) { 4 | var x = fn(xs[i], i); 5 | if (isArray(x)) res.push.apply(res, x); 6 | else res.push(x); 7 | } 8 | return res; 9 | }; 10 | 11 | var isArray = Array.isArray || function (xs) { 12 | return Object.prototype.toString.call(xs) === '[object Array]'; 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/content-type/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.4 / 2017-09-11 2 | ================== 3 | 4 | * perf: skip parameter parsing when no parameters 5 | 6 | 1.0.3 / 2017-09-10 7 | ================== 8 | 9 | * perf: remove argument reassignment 10 | 11 | 1.0.2 / 2016-05-09 12 | ================== 13 | 14 | * perf: enable strict mode 15 | 16 | 1.0.1 / 2015-02-13 17 | ================== 18 | 19 | * Improve missing `Content-Type` header error message 20 | 21 | 1.0.0 / 2015-02-01 22 | ================== 23 | 24 | * Initial implementation, derived from `media-typer@0.3.0` 25 | -------------------------------------------------------------------------------- /node_modules/cookie-signature/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | *.sock 5 | -------------------------------------------------------------------------------- /node_modules/core-util-is/README.md: -------------------------------------------------------------------------------- 1 | # core-util-is 2 | 3 | The `util.is*` functions introduced in Node v0.12. 4 | -------------------------------------------------------------------------------- /node_modules/debug/.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: SIAeZjKYlHK74rbcFvNHMUzjRiMpflxve 2 | -------------------------------------------------------------------------------- /node_modules/debug/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "browser": true, 4 | "node": true 5 | }, 6 | "rules": { 7 | "no-console": 0, 8 | "no-empty": [1, { "allowEmptyCatch": true }] 9 | }, 10 | "extends": "eslint:recommended" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/debug/.npmignore: -------------------------------------------------------------------------------- 1 | support 2 | test 3 | examples 4 | example 5 | *.sock 6 | dist 7 | yarn.lock 8 | coverage 9 | bower.json 10 | -------------------------------------------------------------------------------- /node_modules/debug/.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | node_js: 4 | - "6" 5 | - "5" 6 | - "4" 7 | 8 | install: 9 | - make node_modules 10 | 11 | script: 12 | - make lint 13 | - make test 14 | - make coveralls 15 | -------------------------------------------------------------------------------- /node_modules/debug/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "debug", 3 | "repo": "visionmedia/debug", 4 | "description": "small debugging utility", 5 | "version": "2.6.9", 6 | "keywords": [ 7 | "debug", 8 | "log", 9 | "debugger" 10 | ], 11 | "main": "src/browser.js", 12 | "scripts": [ 13 | "src/browser.js", 14 | "src/debug.js" 15 | ], 16 | "dependencies": { 17 | "rauchg/ms.js": "0.7.1" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/debug/node.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/node'); 2 | -------------------------------------------------------------------------------- /node_modules/debug/src/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Detect Electron renderer process, which is node, but we should 3 | * treat as a browser. 4 | */ 5 | 6 | if (typeof process !== 'undefined' && process.type === 'renderer') { 7 | module.exports = require('./browser.js'); 8 | } else { 9 | module.exports = require('./node.js'); 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/debug/src/inspector-log.js: -------------------------------------------------------------------------------- 1 | module.exports = inspectorLog; 2 | 3 | // black hole 4 | const nullStream = new (require('stream').Writable)(); 5 | nullStream._write = () => {}; 6 | 7 | /** 8 | * Outputs a `console.log()` to the Node.js Inspector console *only*. 9 | */ 10 | function inspectorLog() { 11 | const stdout = console._stdout; 12 | console._stdout = nullStream; 13 | console.log.apply(console, arguments); 14 | console._stdout = stdout; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/deep-equal/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.8' 4 | - '0.10' 5 | - '0.12' 6 | - 'iojs' 7 | before_install: 8 | - npm install -g npm@latest 9 | -------------------------------------------------------------------------------- /node_modules/deep-equal/example/cmp.js: -------------------------------------------------------------------------------- 1 | var equal = require('../'); 2 | console.dir([ 3 | equal( 4 | { a : [ 2, 3 ], b : [ 4 ] }, 5 | { a : [ 2, 3 ], b : [ 4 ] } 6 | ), 7 | equal( 8 | { x : 5, y : [6] }, 9 | { x : 5, y : 6 } 10 | ) 11 | ]); 12 | -------------------------------------------------------------------------------- /node_modules/deep-equal/lib/keys.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = typeof Object.keys === 'function' 2 | ? Object.keys : shim; 3 | 4 | exports.shim = shim; 5 | function shim (obj) { 6 | var keys = []; 7 | for (var key in obj) keys.push(key); 8 | return keys; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/defined/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | -------------------------------------------------------------------------------- /node_modules/defined/example/defined.js: -------------------------------------------------------------------------------- 1 | var defined = require('../'); 2 | var opts = { y : false, w : 4 }; 3 | var x = defined(opts.x, opts.y, opts.w, 8); 4 | console.log(x); 5 | -------------------------------------------------------------------------------- /node_modules/defined/index.js: -------------------------------------------------------------------------------- 1 | module.exports = function () { 2 | for (var i = 0; i < arguments.length; i++) { 3 | if (arguments[i] !== undefined) return arguments[i]; 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/depd/lib/compat/event-listener-count.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * depd 3 | * Copyright(c) 2015 Douglas Christopher Wilson 4 | * MIT Licensed 5 | */ 6 | 7 | 'use strict' 8 | 9 | /** 10 | * Module exports. 11 | * @public 12 | */ 13 | 14 | module.exports = eventListenerCount 15 | 16 | /** 17 | * Get the count of listeners on an event emitter of a specific type. 18 | */ 19 | 20 | function eventListenerCount (emitter, type) { 21 | return emitter.listeners(type).length 22 | } 23 | -------------------------------------------------------------------------------- /node_modules/director/.npmignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | node_modules 3 | npm-debug.log 4 | .DS_Store 5 | 6 | /test/browser/browserified-bundle.js 7 | -------------------------------------------------------------------------------- /node_modules/director/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "0.8" 5 | - "0.10" 6 | - "0.11" 7 | 8 | notifications: 9 | email: 10 | - travis@nodejitsu.com 11 | irc: "irc.freenode.org#nodejitsu" 12 | -------------------------------------------------------------------------------- /node_modules/director/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "director", 3 | "version": "1.2.7", 4 | "dependencies": {}, 5 | "main": "build/director.js", 6 | "scripts": [ 7 | "build/director.js" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/director/build/ender.js: -------------------------------------------------------------------------------- 1 | $.ender({ 2 | router: Router 3 | }); 4 | -------------------------------------------------------------------------------- /node_modules/director/img/director.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/director/img/director.png -------------------------------------------------------------------------------- /node_modules/director/img/hashRoute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/director/img/hashRoute.png -------------------------------------------------------------------------------- /node_modules/director/lib/director.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | exports.Router = require('./director/router').Router; 5 | exports.http = require('./director/http'); 6 | exports.cli = require('./director/cli'); 7 | -------------------------------------------------------------------------------- /node_modules/director/test/browser/routes-harness.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Director Tests 6 | 7 | 8 | 9 |
10 |
11 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /node_modules/encodeurl/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.1 / 2016-06-09 2 | ================== 3 | 4 | * Fix encoding unpaired surrogates at start/end of string 5 | 6 | 1.0.0 / 2016-06-08 7 | ================== 8 | 9 | * Initial release 10 | -------------------------------------------------------------------------------- /node_modules/event-stream/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "test"] 2 | path = test 3 | url = git@github.com:dominictarr/event-stream_tests.git 4 | -------------------------------------------------------------------------------- /node_modules/event-stream/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | node_modules/* -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov/* 2 | *.swp 3 | *.swo 4 | node_modules 5 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/bool.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var util = require('util'); 3 | var argv = require('optimist').argv; 4 | 5 | if (argv.s) { 6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); 7 | } 8 | console.log( 9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') 10 | ); 11 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/boolean_double.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean(['x','y','z']) 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y, argv.z ]); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/boolean_single.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean('v') 4 | .argv 5 | ; 6 | console.dir(argv.v); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/default_hash.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .default({ x : 10, y : 10 }) 5 | .argv 6 | ; 7 | 8 | console.log(argv.x + argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/default_singles.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .default('x', 10) 4 | .default('y', 10) 5 | .argv 6 | ; 7 | console.log(argv.x + argv.y); 8 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/divide.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .usage('Usage: $0 -x [num] -y [num]') 5 | .demand(['x','y']) 6 | .argv; 7 | 8 | console.log(argv.x / argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/nonopt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | console.log(argv._); 5 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/short.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .string('x', 'y') 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y ]); 7 | 8 | /* Turns off numeric coercion: 9 | ./node string.js -x 000123 -y 9876 10 | [ '000123', '9876' ] 11 | */ 12 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/examples/xup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | 4 | if (argv.rif - 5 * argv.xup > 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/event-stream/node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('../../index').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /node_modules/event-stream/out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/event-stream/out -------------------------------------------------------------------------------- /node_modules/event-stream/test/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/event-stream/test/package.json: -------------------------------------------------------------------------------- 1 | { "name": "event-stream_tests/" 2 | , "version": "0.0.0" 3 | , "description": "" 4 | , "homepage": "http://github.com/dominictarr/event-stream_tests/" 5 | , "repository": 6 | { "type": "git" 7 | , "url": "https://github.com/dominictarr/event-stream_tests/.git" } 8 | , "dependencies": {} 9 | , "devDependencies": {} 10 | , "author": "Dominic Tarr (http://bit.ly/dominictarr)" 11 | , "scripts": { "test": "meta-test test/*.js" } } -------------------------------------------------------------------------------- /node_modules/event-stream/test/readme.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/event-stream/test/readme.markdown -------------------------------------------------------------------------------- /node_modules/eventemitter2/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/eventemitter2'); 2 | -------------------------------------------------------------------------------- /node_modules/express/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * express 3 | * Copyright(c) 2009-2013 TJ Holowaychuk 4 | * Copyright(c) 2013 Roman Shtylman 5 | * Copyright(c) 2014-2015 Douglas Christopher Wilson 6 | * MIT Licensed 7 | */ 8 | 9 | 'use strict'; 10 | 11 | module.exports = require('./lib/express'); 12 | -------------------------------------------------------------------------------- /node_modules/eyes/Makefile: -------------------------------------------------------------------------------- 1 | test: 2 | @@node test/eyes-test.js 3 | 4 | .PHONY: test 5 | -------------------------------------------------------------------------------- /node_modules/filename-regex/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * filename-regex 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | module.exports = function filenameRegex() { 9 | return /([^\\\/]+)$/; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/flatiron/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/flatiron/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | branches: 3 | only: 4 | - master 5 | node_js: 6 | - 0.8 7 | 8 | notifications: 9 | email: 10 | - travis@nodejitsu.com 11 | irc: "irc.freenode.org#nodejitsu" 12 | 13 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/cli-sample/print.js: -------------------------------------------------------------------------------- 1 | var print = module.exports = function print(msg) { 2 | console.log(msg); 3 | } 4 | print.usage = 'Print out a '; 5 | 6 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/resourceful-app/app.js: -------------------------------------------------------------------------------- 1 | 2 | var flatiron = require('../../lib/flatiron'), 3 | app = module.exports = flatiron.app; 4 | 5 | app.use(flatiron.plugins.resourceful, { 6 | root: __dirname, 7 | engine: 'memory' 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/resourceful-app/app/resources/creature.js: -------------------------------------------------------------------------------- 1 | var resourceful = require('resourceful'); 2 | 3 | var Creature = module.exports = resourceful.define('creature', function () { 4 | this.string('diet'); 5 | this.bool('vertebrate'); 6 | this.array('belly'); 7 | 8 | this.timestamps(); 9 | }); 10 | 11 | Creature.prototype.feed = function (food) { 12 | this.belly.push(food); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/resourceful-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "resourceful-app", 3 | "description": "An example flatiron app using resourceful", 4 | "version": "0.1.0", 5 | "author": "Nodejitsu Inc. ", 6 | "dependencies": { 7 | "flatiron": "0.3.x", 8 | "resourceful": "0.3.x" 9 | }, 10 | "main": "./app", 11 | "engines": { 12 | "node": ">= 0.6.4" 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/socket.io/index.html: -------------------------------------------------------------------------------- 1 | 2 | 9 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/static-app/app.js: -------------------------------------------------------------------------------- 1 | 2 | var flatiron = require('../../lib/flatiron'), 3 | app = flatiron.app; 4 | 5 | app.use(flatiron.plugins.http); 6 | app.use(flatiron.plugins.static, { root: __dirname }); 7 | 8 | app.router.get('/headers', function () { 9 | this.res.json(this.req.headers); 10 | }); 11 | 12 | module.exports = app; 13 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/static-app/app/assets/style.css: -------------------------------------------------------------------------------- 1 | body { color: lime; background-color: black; } 2 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/static-app/app/assets/style.js: -------------------------------------------------------------------------------- 1 | document.write('Hello World!'); 2 | -------------------------------------------------------------------------------- /node_modules/flatiron/examples/static-app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "static-app", 3 | "description": "An example flatiron app using static plugin", 4 | "version": "0.1.0", 5 | "author": "Nodejitsu Inc. ", 6 | "dependencies": { 7 | "flatiron": "0.3.x", 8 | "st": "0.1.0" 9 | }, 10 | "main": "./app", 11 | "engines": { 12 | "node": ">= 0.6.4" 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /node_modules/flatiron/lib/flatiron/app.js: -------------------------------------------------------------------------------- 1 | /* 2 | * app.js: Core Application object for managing plugins and features in broadway 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var fs = require('fs'), 10 | path = require('path'), 11 | util = require('util'), 12 | broadway = require('broadway'); 13 | 14 | var App = exports.App = function (options) { 15 | broadway.App.call(this, options); 16 | }; 17 | 18 | // 19 | // Inherit from `broadway.App`. 20 | // 21 | util.inherits(App, broadway.App); 22 | -------------------------------------------------------------------------------- /node_modules/flatiron/lib/flatiron/constants.js: -------------------------------------------------------------------------------- 1 | /* 2 | * constants.js: Constants within the Flatiron framework. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * MIT LICENSE 6 | * 7 | */ 8 | 9 | var constants = exports; 10 | 11 | constants.DIRECTORIES = { 12 | "#ENV": "#CONFIG/env", 13 | "#APP": "#ROOT/app", 14 | "#CONFIG": "#ROOT/config", 15 | "#DOCS": "#ROOT/docs", 16 | "#LOG": "#ROOT/log", 17 | "#LIB": "#ROOT/lib", 18 | "#TEST": "#ROOT/test" 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/bool.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var util = require('util'); 3 | var argv = require('optimist').argv; 4 | 5 | if (argv.s) { 6 | util.print(argv.fr ? 'Le chat dit: ' : 'The cat says: '); 7 | } 8 | console.log( 9 | (argv.fr ? 'miaou' : 'meow') + (argv.p ? '.' : '') 10 | ); 11 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/boolean_double.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean(['x','y','z']) 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y, argv.z ]); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/boolean_single.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .boolean('v') 4 | .argv 5 | ; 6 | console.dir(argv.v); 7 | console.dir(argv._); 8 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/default_hash.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .default({ x : 10, y : 10 }) 5 | .argv 6 | ; 7 | 8 | console.log(argv.x + argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/default_singles.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .default('x', 10) 4 | .default('y', 10) 5 | .argv 6 | ; 7 | console.log(argv.x + argv.y); 8 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/divide.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var argv = require('optimist') 4 | .usage('Usage: $0 -x [num] -y [num]') 5 | .demand(['x','y']) 6 | .argv; 7 | 8 | console.log(argv.x / argv.y); 9 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/line_count.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .usage('Count the lines in a file.\nUsage: $0') 4 | .demand('f') 5 | .alias('f', 'file') 6 | .describe('f', 'Load a file') 7 | .argv 8 | ; 9 | 10 | var fs = require('fs'); 11 | var s = fs.createReadStream(argv.file); 12 | 13 | var lines = 0; 14 | s.on('data', function (buf) { 15 | lines += buf.toString().match(/\n/g).length; 16 | }); 17 | 18 | s.on('end', function () { 19 | console.log(lines); 20 | }); 21 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/nonopt.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | console.log(argv._); 5 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/reflect.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.dir(require('optimist').argv); 3 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/short.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | console.log('(%d,%d)', argv.x, argv.y); 4 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist') 3 | .string('x', 'y') 4 | .argv 5 | ; 6 | console.dir([ argv.x, argv.y ]); 7 | 8 | /* Turns off numeric coercion: 9 | ./node string.js -x 000123 -y 9876 10 | [ '000123', '9876' ] 11 | */ 12 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/usage-options.js: -------------------------------------------------------------------------------- 1 | var optimist = require('./../index'); 2 | 3 | var argv = optimist.usage('This is my awesome program', { 4 | 'about': { 5 | description: 'Provide some details about the author of this program', 6 | required: true, 7 | short: 'a', 8 | }, 9 | 'info': { 10 | description: 'Provide some information about the node.js agains!!!!!!', 11 | boolean: true, 12 | short: 'i' 13 | } 14 | }).argv; 15 | 16 | optimist.showHelp(); 17 | 18 | console.log('\n\nInspecting options'); 19 | console.dir(argv); -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/example/xup.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('optimist').argv; 3 | 4 | if (argv.rif - 5 * argv.xup > 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('../../index').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = optimist().boolean('b').parse([ '-b', '123' ]); 8 | t.deepEqual(fix(argv), { b: true, _: ['123'] }); 9 | }); 10 | 11 | function fix (obj) { 12 | delete obj.$0; 13 | return obj; 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/test/short.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../index'); 2 | var test = require('tap').test; 3 | 4 | test('-n123', function (t) { 5 | t.plan(1); 6 | var parse = optimist.parse([ '-n123' ]); 7 | t.equal(parse.n, 123); 8 | }); 9 | 10 | test('-123', function (t) { 11 | t.plan(3); 12 | var parse = optimist.parse([ '-123', '456' ]); 13 | t.equal(parse['1'], true); 14 | t.equal(parse['2'], true); 15 | t.equal(parse['3'], 456); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/flatiron/node_modules/optimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = optimist.parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/cli/app.js: -------------------------------------------------------------------------------- 1 | var flatiron = require('flatiron'), 2 | path = require('path'), 3 | app = flatiron.app; 4 | 5 | app.config.file({ file: path.join(__dirname, 'config', 'config.json') }); 6 | 7 | app.use(flatiron.plugins.cli, { 8 | source: path.join(__dirname, 'lib', 'commands'), 9 | usage: 'Empty Flatiron Application, please fill out commands' 10 | }); 11 | 12 | app.start(); 13 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/cli/config/config.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/cli/directories.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": "#CONFIG", 3 | "lib": "#LIB", 4 | "commands": "#LIB/commands", 5 | "test": "#TEST" 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/cli/files.json: -------------------------------------------------------------------------------- 1 | { 2 | "app.js": "#ROOT/app.js", 3 | "config/config.json": "#CONFIG/config.json", 4 | "lib/index.js": "#LIB/index.js" 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/cli/lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/flatiron/scaffolds/cli/lib/index.js -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/cli/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A Flatiron CLI application", 3 | "version": "0.0.0", 4 | "private": true, 5 | "dependencies": { 6 | }, 7 | "devDependencies": { 8 | "cli-easy": "0.1.0", 9 | "vows": "0.6.1" 10 | }, 11 | "scripts": { 12 | "test": "vows --spec", 13 | "start": "node app.js" 14 | } 15 | } -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/http/app.js: -------------------------------------------------------------------------------- 1 | var flatiron = require('flatiron'), 2 | path = require('path'), 3 | app = flatiron.app; 4 | 5 | app.config.file({ file: path.join(__dirname, 'config', 'config.json') }); 6 | 7 | app.use(flatiron.plugins.http); 8 | 9 | app.router.get('/', function () { 10 | this.res.json({ 'hello': 'world' }) 11 | }); 12 | 13 | app.start(3000); 14 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/http/config/config.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/http/directories.json: -------------------------------------------------------------------------------- 1 | { 2 | "config": "#CONFIG", 3 | "lib": "#LIB", 4 | "test": "#TEST" 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/http/files.json: -------------------------------------------------------------------------------- 1 | { 2 | "app.js": "#ROOT/app.js", 3 | "config/config.json": "#CONFIG/config.json" 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/flatiron/scaffolds/http/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "A Flatiron HTTP application", 3 | "version": "0.0.0", 4 | "private": true, 5 | "dependencies": { 6 | "union": "0.3.5" 7 | }, 8 | "devDependencies": { 9 | "api-easy": "0.3.2", 10 | "vows": "0.6.x" 11 | }, 12 | "scripts": { 13 | "test": "vows --spec", 14 | "start": "node app.js" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /node_modules/flatiron/test/fixtures/sample-app/app/new-york/controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/flatiron/test/fixtures/sample-app/app/new-york/controller.js -------------------------------------------------------------------------------- /node_modules/flatiron/test/fixtures/sample-app/app/new-york/index.js: -------------------------------------------------------------------------------- 1 | 2 | var app = require('../../../../../flatiron').app; 3 | 4 | app.log.info('somethign'); 5 | 6 | app.get('/blah', function () { 7 | this.req; 8 | this.res; 9 | this.emit('next'); 10 | }); 11 | 12 | app.sockets(function () { 13 | this.on(['foo' 'bar'], function (socket) { 14 | 15 | }) 16 | }); 17 | 18 | (function (app, options, done) { 19 | app.get() 20 | })(); -------------------------------------------------------------------------------- /node_modules/flatiron/test/fixtures/sample-app/app/new-york/new-york.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/flatiron/test/fixtures/sample-app/app/new-york/new-york.js -------------------------------------------------------------------------------- /node_modules/flatiron/test/flatiron-test.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'), 2 | vows = require('vows'), 3 | broadway = require('broadway'), 4 | flatiron = require('../'); 5 | 6 | vows.describe('flatiron').addBatch({ 7 | 'When using `flatiron`': { 8 | '`flatiron.plugins`': { 9 | topic: flatiron.plugins, 10 | 'should contain all `broadway.plugins`': function (plugins) { 11 | Object.keys(broadway.plugins).forEach(function (key) { 12 | assert.include(plugins, key); 13 | }); 14 | } 15 | } 16 | } 17 | }).export(module); 18 | 19 | -------------------------------------------------------------------------------- /node_modules/for-in/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * for-in 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function forIn(obj, fn, thisArg) { 11 | for (var key in obj) { 12 | if (fn.call(thisArg, obj[key], key, obj) === false) { 13 | break; 14 | } 15 | } 16 | }; 17 | -------------------------------------------------------------------------------- /node_modules/for-own/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * for-own 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var forIn = require('for-in'); 11 | var hasOwn = Object.prototype.hasOwnProperty; 12 | 13 | module.exports = function forOwn(obj, fn, thisArg) { 14 | forIn(obj, function(val, key) { 15 | if (hasOwn.call(obj, key)) { 16 | return fn.call(thisArg, obj[key], key, obj); 17 | } 18 | }); 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | node_modules 15 | npm-debug.log 16 | 17 | test/*.log 18 | .*.sw[op] 19 | test/fixtures/*.log -------------------------------------------------------------------------------- /node_modules/forever-monitor/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - "0.10" 5 | - 0.12 6 | before_install: 7 | - curl --location http://git.io/1OcIZA | bash -s 8 | branches: 9 | only: 10 | - master 11 | matrix: 12 | allow_failures: 13 | - node_js: 0.8 14 | notifications: 15 | email: 16 | - travis@nodejitsu.com 17 | irc: "irc.freenode.org#nodejitsu" 18 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/all-env-vars.js: -------------------------------------------------------------------------------- 1 | console.log(JSON.stringify(process.env)); -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/always-throw.js: -------------------------------------------------------------------------------- 1 | throw new Error('Dont spin restart') -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/cli-multiple-start: -------------------------------------------------------------------------------- 1 | forever start examples/server.js -p 8080 2 | forever start examples/server.js -p 8081 3 | forever start examples/server.js -p 8082 4 | forever list -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/count-timer.js: -------------------------------------------------------------------------------- 1 | var util = require('util'); 2 | 3 | var count = 0; 4 | 5 | var id = setInterval(function () { 6 | util.puts('Count is ' + count + '. Incrementing now.'); 7 | count++; 8 | }, 1000); 9 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/custom-cwd.js: -------------------------------------------------------------------------------- 1 | console.log(process.cwd()); -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/env-server.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | 3 | http.createServer(function (req, res) { 4 | res.writeHead(200, { 'Content-Type': 'application/json' }); 5 | res.write(JSON.stringify(process.env)); 6 | res.end(); 7 | }).listen(8080); 8 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/env-vars.js: -------------------------------------------------------------------------------- 1 | console.log(JSON.stringify({ 2 | foo: process.env.FOO, 3 | bar: process.env.BAR 4 | })); -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/error-on-timer.js: -------------------------------------------------------------------------------- 1 | var util = require('util'); 2 | 3 | setTimeout(function () { 4 | util.puts('Throwing error now.'); 5 | throw new Error('User generated fault.'); 6 | }, 200); 7 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/graceful-exit.js: -------------------------------------------------------------------------------- 1 | process.on('SIGTERM',function () { 2 | console.log('received SIGTERM'); 3 | setTimeout(function () { 4 | console.log('Exiting after some time.'); 5 | process.exit(0); 6 | }, 1000); 7 | }); 8 | 9 | setInterval(function (){ 10 | console.log('Heartbeat'); 11 | }, 100); 12 | 13 | // run with: --killSignal 14 | // forever --killSignal=SIGTERM -w start server.js -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/log-on-interval.js: -------------------------------------------------------------------------------- 1 | setInterval(function () { 2 | console.log('Logging at ' + Date.now()); 3 | }, 100); -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/multiple-processes.js: -------------------------------------------------------------------------------- 1 | var util = require('util'), 2 | path = require('path'), 3 | forever = require('./../lib/forever'), 4 | script = path.join(__dirname, 'server.js'); 5 | 6 | var child1 = new (forever.Monitor)(script, { 'options': [ "--port=8080"] }); 7 | child1.start(); 8 | util.puts('Forever process running server.js on 8080'); 9 | 10 | var child2 = new (forever.Monitor)(script, { 'options': [ "--port=8081"] }); 11 | child2.start(); 12 | util.puts('Forever process running server.js on 8081'); 13 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/process-send.js: -------------------------------------------------------------------------------- 1 | 2 | setInterval(function () { 3 | if (process.send) { 4 | process.send({ from: 'child' }); 5 | } 6 | }, 1000) -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/server.js: -------------------------------------------------------------------------------- 1 | var util = require('util'), 2 | http = require('http'), 3 | argv = require('optimist').argv; 4 | 5 | var port = argv.p || argv.port || 80; 6 | 7 | http.createServer(function (req, res) { 8 | console.log(req.method + ' request: ' + req.url); 9 | res.writeHead(200, {'Content-Type': 'text/plain'}); 10 | res.write('hello, i know nodejitsu.'); 11 | res.end(); 12 | }).listen(port); 13 | 14 | /* server started */ 15 | util.puts('> hello world running on port ' + port); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/signal-ignore.js: -------------------------------------------------------------------------------- 1 | function noop() { 2 | console.log('IGNORED!') 3 | } 4 | process.on('SIGTERM',noop); 5 | process.on('SIGINT',noop); 6 | setInterval(function (){ 7 | console.log('heartbeat'); 8 | }, 100); -------------------------------------------------------------------------------- /node_modules/forever-monitor/examples/spawn-and-error.js: -------------------------------------------------------------------------------- 1 | var util = require('util'), 2 | path = require('path'), 3 | spawn = require('child_process').spawn; 4 | 5 | var child = spawn('node', [path.join(__dirname, 'count-timer.js')], { cwd: __dirname }); 6 | 7 | child.stdout.on('data', function (data) { 8 | util.puts(data); 9 | //throw new Error('User generated fault.'); 10 | }); 11 | 12 | child.stderr.on('data', function (data) { 13 | util.puts(data); 14 | }); 15 | 16 | child.on('exit', function (code) { 17 | util.puts('Child process exited with code: ' + code); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/lib/forever-monitor/plugins/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * index.js: Built-in plugins for forever-monitor. 3 | * 4 | * (C) 2010 Charlie Robbins & the Contributors 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | exports.logger = require('./logger'); 10 | exports.watch = require('./watch'); -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/fork.js: -------------------------------------------------------------------------------- 1 | if (process.send) { 2 | process.send({from: 'child'}); 3 | process.disconnect(); 4 | } 5 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/gc.js: -------------------------------------------------------------------------------- 1 | console.log(typeof global.gc); 2 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/logs.js: -------------------------------------------------------------------------------- 1 | 2 | for (var i = 0; i < 10; i++) { 3 | console.log('stdout %d', i); 4 | console.error('stderr %d', i); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/send-pong.js: -------------------------------------------------------------------------------- 1 | if (process.send) { 2 | 3 | 4 | process.on('message', function (m) { 5 | process.send({pong: true, message: m}); 6 | }); 7 | 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/testnode: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | process.stdout.write(process.argv[2]); -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/watch/.foreverignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | ignore* 3 | ignoredDir/* 4 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/watch/daemon.js: -------------------------------------------------------------------------------- 1 | console.log('Hello!'); 2 | //timeout should be large enough to stay alive during the test 3 | setTimeout(process.exit, 20000); 4 | 5 | -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/watch/file: -------------------------------------------------------------------------------- 1 | /* hello, I know nodejitsu. -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/watch/ignoredDir/file: -------------------------------------------------------------------------------- 1 | test -------------------------------------------------------------------------------- /node_modules/forever-monitor/test/fixtures/watch/removeMe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/forever-monitor/test/fixtures/watch/removeMe -------------------------------------------------------------------------------- /node_modules/forever/.editorconfig: -------------------------------------------------------------------------------- 1 | [*.js] 2 | indent_style = space 3 | indent_size = 2 4 | -------------------------------------------------------------------------------- /node_modules/forever/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | test/*.log 3 | node_modules/ 4 | node_modules/* 5 | npm-debug.log 6 | .*.sw[op] 7 | test/fixtures/*.log 8 | .idea 9 | -------------------------------------------------------------------------------- /node_modules/forever/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - 4.6 5 | - 6.9 6 | branches: 7 | only: 8 | - master 9 | notifications: 10 | email: 11 | - travis@nodejitsu.com 12 | irc: "irc.freenode.org#nodejitsu" 13 | -------------------------------------------------------------------------------- /node_modules/forever/bin/forever: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../lib/forever').cli.start(); 4 | -------------------------------------------------------------------------------- /node_modules/forever/test/fixtures/cluster-fork-mode.js: -------------------------------------------------------------------------------- 1 | var cluster = require('cluster'); 2 | console.log(cluster.isMaster ? 'master fork':'cluster fork'); -------------------------------------------------------------------------------- /node_modules/forever/test/fixtures/log-on-interval.js: -------------------------------------------------------------------------------- 1 | setInterval(function () { 2 | console.log('Logging at ' + Date.now()); 3 | }, 100); -------------------------------------------------------------------------------- /node_modules/forever/test/fixtures/server.js: -------------------------------------------------------------------------------- 1 | var util = require('util'), 2 | http = require('http'), 3 | argv = require('optimist').argv; 4 | 5 | var port = argv.p || argv.port || 8080; 6 | 7 | http.createServer(function (req, res) { 8 | console.log(req.method + ' request: ' + req.url); 9 | res.writeHead(200, {'Content-Type': 'text/plain'}); 10 | res.write(JSON.stringify(argv)); 11 | res.end(); 12 | }).listen(port); 13 | 14 | /* server started */ 15 | console.log('> hello world running on port ' + port); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/forever/test/fixtures/server.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid": "server", 3 | "append": true, 4 | "script": "server.js", 5 | "sourceDir": "./test/fixtures" 6 | } 7 | -------------------------------------------------------------------------------- /node_modules/forever/test/fixtures/servers.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "uid": "server1", 4 | "append": true, 5 | "script": "server.js", 6 | "sourceDir": "./test/fixtures", 7 | "workingDir": "./" 8 | }, 9 | { 10 | "uid": "server2", 11 | "append": true, 12 | "script": "server.js", 13 | "sourceDir": "./test/fixtures", 14 | "workingDir": "./", 15 | "args": ["-p", 8081] 16 | } 17 | ] 18 | -------------------------------------------------------------------------------- /node_modules/forever/test/fixtures/start-daemon.js: -------------------------------------------------------------------------------- 1 | /* 2 | * start-daemon.js: Simple test fixture for spawning log-on-interval.js as a daemon 3 | * 4 | * (C) 2010 Charlie Robbins & the Contributors 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var path = require('path'), 10 | forever = require('../../lib/forever'); 11 | 12 | var monitor = forever.startDaemon(path.join(__dirname, 'log-on-interval.js')); 13 | 14 | monitor.on('start', function () { 15 | forever.startServer(monitor); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/forever/test/helpers/mocks/child-process.js: -------------------------------------------------------------------------------- 1 | var util = require('util'), 2 | EventEmitter2 = require('eventemitter2').EventEmitter2, 3 | StreamMock = require('./stream').StreamMock; 4 | 5 | var ChildProcessMock = exports.ChildProcessMock = function () { 6 | EventEmitter2.call(this); 7 | 8 | this.stdout = new StreamMock(); 9 | this.stderr = new StreamMock(); 10 | }; 11 | util.inherits(ChildProcessMock, EventEmitter2); 12 | 13 | -------------------------------------------------------------------------------- /node_modules/forever/test/helpers/mocks/stream.js: -------------------------------------------------------------------------------- 1 | var util = require('util'), 2 | EventEmitter2 = require('eventemitter2').EventEmitter2; 3 | 4 | var StreamMock = exports.StreamMock = function () { 5 | EventEmitter2.call(this); 6 | 7 | this.contents = []; 8 | this.closed = false; 9 | }; 10 | util.inherits(StreamMock, EventEmitter2); 11 | 12 | StreamMock.prototype.write = function (data) { 13 | this.contents.push(data); 14 | }; 15 | 16 | StreamMock.prototype.close = StreamMock.prototype.end = function () { 17 | this.closed = true; 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /node_modules/forwarded/HISTORY.md: -------------------------------------------------------------------------------- 1 | 0.1.2 / 2017-09-14 2 | ================== 3 | 4 | * perf: improve header parsing 5 | * perf: reduce overhead when no `X-Forwarded-For` header 6 | 7 | 0.1.1 / 2017-09-10 8 | ================== 9 | 10 | * Fix trimming leading / trailing OWS 11 | * perf: hoist regular expression 12 | 13 | 0.1.0 / 2014-09-21 14 | ================== 15 | 16 | * Initial release 17 | -------------------------------------------------------------------------------- /node_modules/glob-parent/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | npm-debug.log 4 | coverage 5 | -------------------------------------------------------------------------------- /node_modules/glob-parent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "iojs-v3" 5 | - "iojs-v2" 6 | - "iojs-v1" 7 | - "0.12" 8 | - "0.10" 9 | -------------------------------------------------------------------------------- /node_modules/glob-parent/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var path = require('path'); 4 | var isglob = require('is-glob'); 5 | 6 | module.exports = function globParent(str) { 7 | str += 'a'; // preserves full path in case of trailing path separator 8 | do {str = path.dirname(str)} while (isglob(str)); 9 | return str; 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/graceful-fs/fs.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | var fs = require('fs') 4 | 5 | module.exports = clone(fs) 6 | 7 | function clone (obj) { 8 | if (obj === null || typeof obj !== 'object') 9 | return obj 10 | 11 | if (obj instanceof Object) 12 | var copy = { __proto__: obj.__proto__ } 13 | else 14 | var copy = Object.create(null) 15 | 16 | Object.getOwnPropertyNames(obj).forEach(function (key) { 17 | Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key)) 18 | }) 19 | 20 | return copy 21 | } 22 | -------------------------------------------------------------------------------- /node_modules/http-errors/node_modules/setprototypeof/README.md: -------------------------------------------------------------------------------- 1 | # Polyfill for `Object.setPrototypeOf` 2 | 3 | A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. 4 | 5 | ## Usage: 6 | 7 | ``` 8 | $ npm install --save setprototypeof 9 | ``` 10 | 11 | ```javascript 12 | var setPrototypeOf = require('setprototypeof'); 13 | 14 | var obj = {}; 15 | setPrototypeOf(obj, { 16 | foo: function() { 17 | return 'bar'; 18 | } 19 | }); 20 | obj.foo(); // bar 21 | ``` 22 | -------------------------------------------------------------------------------- /node_modules/http-errors/node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties); 2 | 3 | function setProtoOf(obj, proto) { 4 | obj.__proto__ = proto; 5 | return obj; 6 | } 7 | 8 | function mixinProperties(obj, proto) { 9 | for (var prop in proto) { 10 | if (!obj.hasOwnProperty(prop)) { 11 | obj[prop] = proto[prop]; 12 | } 13 | } 14 | return obj; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/i/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | *.swp 4 | -------------------------------------------------------------------------------- /node_modules/i/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - '5' 5 | - '4' 6 | - '3' 7 | - '2' 8 | - '1' 9 | - '0.12' 10 | - '0.10' 11 | - '0.8' 12 | notifications: 13 | email: 14 | on_success: never 15 | -------------------------------------------------------------------------------- /node_modules/i/lib/inflect.js: -------------------------------------------------------------------------------- 1 | // Requiring modules 2 | 3 | module.exports = function (attach) { 4 | var methods = require('./methods'); 5 | 6 | if (attach) { 7 | require('./native')(methods); 8 | } 9 | 10 | return methods 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.npmignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *sublime-* 3 | generation 4 | test 5 | wiki 6 | coverage 7 | -------------------------------------------------------------------------------- /node_modules/iconv-lite/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | node_js: 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "iojs" 8 | - "4" 9 | - "6" 10 | - "8" 11 | - "node" 12 | 13 | 14 | env: 15 | - CXX=g++-4.8 16 | addons: 17 | apt: 18 | sources: 19 | - ubuntu-toolchain-r-test 20 | packages: 21 | - gcc-4.8 22 | - g++-4.8 23 | 24 | -------------------------------------------------------------------------------- /node_modules/inherits/inherits.js: -------------------------------------------------------------------------------- 1 | try { 2 | var util = require('util'); 3 | if (typeof util.inherits !== 'function') throw ''; 4 | module.exports = util.inherits; 5 | } catch (e) { 6 | module.exports = require('./inherits_browser.js'); 7 | } 8 | -------------------------------------------------------------------------------- /node_modules/ipaddr.js/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | node_modules 3 | -------------------------------------------------------------------------------- /node_modules/ipaddr.js/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "4.0" 8 | - "4.1" 9 | - "4.2" 10 | - "5" 11 | -------------------------------------------------------------------------------- /node_modules/is-binary-path/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | var path = require('path'); 3 | var binaryExtensions = require('binary-extensions'); 4 | var exts = Object.create(null); 5 | 6 | binaryExtensions.forEach(function (el) { 7 | exts[el] = true; 8 | }); 9 | 10 | module.exports = function (filepath) { 11 | return path.extname(filepath).slice(1).toLowerCase() in exts; 12 | }; 13 | -------------------------------------------------------------------------------- /node_modules/is-dotfile/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-dotfile 3 | * 4 | * Copyright (c) 2015-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | module.exports = function(str) { 9 | if (str.charCodeAt(0) === 46 /* . */ && str.indexOf('/', 1) === -1) { 10 | return true; 11 | } 12 | var slash = str.lastIndexOf('/'); 13 | return slash !== -1 ? str.charCodeAt(slash + 1) === 46 /* . */ : false; 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/is-extendable/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extendable 3 | * 4 | * Copyright (c) 2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function isExtendable(val) { 11 | return typeof val !== 'undefined' && val !== null 12 | && (typeof val === 'object' || typeof val === 'function'); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/is-extglob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-extglob 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isExtglob(str) { 9 | return typeof str === 'string' 10 | && /[@?!+*]\(/.test(str); 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/is-glob/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-glob 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | var isExtglob = require('is-extglob'); 9 | 10 | module.exports = function isGlob(str) { 11 | return typeof str === 'string' 12 | && (/[*!?{}(|)[\]]/.test(str) 13 | || isExtglob(str)); 14 | }; -------------------------------------------------------------------------------- /node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | if (type !== 'number' && type !== 'string') { 15 | return false; 16 | } 17 | var n = +num; 18 | return (n - n + 1) >= 0 && num !== ''; 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/is-posix-bracket/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-posix-bracket 3 | * 4 | * Copyright (c) 2015-2016, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | module.exports = function isPosixBracket(str) { 9 | return typeof str === 'string' && /\[([:.=+])(?:[^\[\]]|)+\1\]/.test(str); 10 | }; 11 | -------------------------------------------------------------------------------- /node_modules/is-primitive/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-primitive 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | // see http://jsperf.com/testing-value-is-primitive/7 11 | module.exports = function isPrimitive(value) { 12 | return value == null || (typeof value !== 'function' && typeof value !== 'object'); 13 | }; 14 | -------------------------------------------------------------------------------- /node_modules/isarray/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /node_modules/isarray/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/isarray/Makefile: -------------------------------------------------------------------------------- 1 | 2 | test: 3 | @node_modules/.bin/tape test.js 4 | 5 | .PHONY: test 6 | 7 | -------------------------------------------------------------------------------- /node_modules/isarray/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "isarray", 3 | "description" : "Array#isArray for older browsers", 4 | "version" : "0.0.1", 5 | "repository" : "juliangruber/isarray", 6 | "homepage": "https://github.com/juliangruber/isarray", 7 | "main" : "index.js", 8 | "scripts" : [ 9 | "index.js" 10 | ], 11 | "dependencies" : {}, 12 | "keywords": ["browser","isarray","array"], 13 | "author": { 14 | "name": "Julian Gruber", 15 | "email": "mail@juliangruber.com", 16 | "url": "http://juliangruber.com" 17 | }, 18 | "license": "MIT" 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/isarray/index.js: -------------------------------------------------------------------------------- 1 | var toString = {}.toString; 2 | 3 | module.exports = Array.isArray || function (arr) { 4 | return toString.call(arr) == '[object Array]'; 5 | }; 6 | -------------------------------------------------------------------------------- /node_modules/isarray/test.js: -------------------------------------------------------------------------------- 1 | var isArray = require('./'); 2 | var test = require('tape'); 3 | 4 | test('is array', function(t){ 5 | t.ok(isArray([])); 6 | t.notOk(isArray({})); 7 | t.notOk(isArray(null)); 8 | t.notOk(isArray(false)); 9 | 10 | var obj = {}; 11 | obj[0] = true; 12 | t.notOk(isArray(obj)); 13 | 14 | var arr = []; 15 | arr.foo = 'bar'; 16 | t.ok(isArray(arr)); 17 | 18 | t.end(); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /node_modules/isobject/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * isobject 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var isArray = require('isarray'); 11 | 12 | module.exports = function isObject(val) { 13 | return val != null && typeof val === 'object' && isArray(val) === false; 14 | }; 15 | -------------------------------------------------------------------------------- /node_modules/isstream/.npmignore: -------------------------------------------------------------------------------- 1 | *.tgz 2 | -------------------------------------------------------------------------------- /node_modules/isstream/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | branches: 7 | only: 8 | - master 9 | notifications: 10 | email: 11 | - rod@vagg.org 12 | script: npm test 13 | -------------------------------------------------------------------------------- /node_modules/jsonify/index.js: -------------------------------------------------------------------------------- 1 | exports.parse = require('./lib/parse'); 2 | exports.stringify = require('./lib/stringify'); 3 | -------------------------------------------------------------------------------- /node_modules/jsonify/test/parse.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test; 2 | var json = require('../'); 3 | var garbage = require('garbage'); 4 | 5 | test('parse', function (t) { 6 | for (var i = 0; i < 50; i++) { 7 | var s = JSON.stringify(garbage(50)); 8 | 9 | t.deepEqual( 10 | json.parse(s), 11 | JSON.parse(s) 12 | ); 13 | } 14 | 15 | t.end(); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/jsonify/test/stringify.js: -------------------------------------------------------------------------------- 1 | var test = require('tap').test; 2 | var json = require('../'); 3 | var garbage = require('garbage'); 4 | 5 | test('stringify', function (t) { 6 | for (var i = 0; i < 50; i++) { 7 | var obj = garbage(50); 8 | t.equal( 9 | json.stringify(obj), 10 | JSON.stringify(obj) 11 | ); 12 | } 13 | 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/lazy/.npmignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /node_modules/lazy/test/head.js: -------------------------------------------------------------------------------- 1 | var assert = require('assert'); 2 | var Lazy = require('..'); 3 | var expresso = expresso; 4 | 5 | function range(i, j) { 6 | var r = []; 7 | for (;i 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/nconf/node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/nconf/node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('../../index').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /node_modules/nconf/node_modules/optimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = optimist().boolean('b').parse([ '-b', '123' ]); 8 | t.deepEqual(fix(argv), { b: true, _: ['123'] }); 9 | }); 10 | 11 | function fix (obj) { 12 | delete obj.$0; 13 | return obj; 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/nconf/node_modules/optimist/test/short.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../index'); 2 | var test = require('tap').test; 3 | 4 | test('-n123', function (t) { 5 | t.plan(1); 6 | var parse = optimist.parse([ '-n123' ]); 7 | t.equal(parse.n, 123); 8 | }); 9 | 10 | test('-123', function (t) { 11 | t.plan(3); 12 | var parse = optimist.parse([ '-123', '456' ]); 13 | t.equal(parse['1'], true); 14 | t.equal(parse['2'], true); 15 | t.equal(parse['3'], 456); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/nconf/node_modules/optimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = optimist.parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/bom.json: -------------------------------------------------------------------------------- 1 | { 2 | "I've seen things": { 3 | "like": [ 4 | "carrots", 5 | "handbags", 6 | "cheese", 7 | "toilets", 8 | "russians", 9 | "planets", 10 | "hampsters", 11 | "weddings", 12 | "poets", 13 | "stalin", 14 | "kuala lumpur" 15 | ] 16 | }, 17 | "host": "weebls-stuff.com", 18 | "port": 78304 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/complete.json: -------------------------------------------------------------------------------- 1 | { 2 | "I've seen things": { 3 | "like": [ 4 | "carrots", 5 | "handbags", 6 | "cheese", 7 | "toilets", 8 | "russians", 9 | "planets", 10 | "hampsters", 11 | "weddings", 12 | "poets", 13 | "stalin", 14 | "kuala lumpur" 15 | ] 16 | }, 17 | "host": "weebls-stuff.com", 18 | "port": 78304 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/data.js: -------------------------------------------------------------------------------- 1 | /* 2 | * data.js: Simple data fixture for configuration test. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | exports.data = { 9 | isNull: null, 10 | literal: 'bazz', 11 | arr: ['one', 2, true, { value: 'foo' }], 12 | obj: { 13 | host: 'localhost', 14 | port: 5984, 15 | array: ['one', 2, true, { foo: 'bar' }], 16 | auth: { 17 | username: 'admin', 18 | password: 'password' 19 | } 20 | } 21 | }; 22 | 23 | exports.merge = { 24 | prop1: 1, 25 | prop2: [1, 2, 3], 26 | prop3: { 27 | foo: 'bar', 28 | bar: 'foo' 29 | } 30 | }; -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/hierarchy/global.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "My generic title", 3 | "color": "red", 4 | "movie": "Kill Bill" 5 | } -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/hierarchy/hierarchical.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": "empty" 3 | } -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/hierarchy/user.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "My specific title", 3 | "color": "green" 4 | } -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/malformed.json: -------------------------------------------------------------------------------- 1 | { 2 | "literal": "bazz", 3 | } -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/merge/file1.json: -------------------------------------------------------------------------------- 1 | { 2 | "apples": true, 3 | "bananas": true, 4 | "foo": { 5 | "bar": "boo" 6 | }, 7 | "candy": { 8 | "something": "file1", 9 | "something1": true, 10 | "something2": true, 11 | "something5": { 12 | "first": 1, 13 | "second": 2 14 | } 15 | }, 16 | "unicorn": { 17 | "exists": true 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/merge/file2.json: -------------------------------------------------------------------------------- 1 | { 2 | "candy": { 3 | "something": "file2", 4 | "something3": true, 5 | "something4": true 6 | }, 7 | "dates": true, 8 | "elderberries": true, 9 | "unicorn": null 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/no-bom.json: -------------------------------------------------------------------------------- 1 | { 2 | "I've seen things": { 3 | "like": [ 4 | "carrots", 5 | "handbags", 6 | "cheese", 7 | "toilets", 8 | "russians", 9 | "planets", 10 | "hampsters", 11 | "weddings", 12 | "poets", 13 | "stalin", 14 | "kuala lumpur" 15 | ] 16 | }, 17 | "host": "weebls-stuff.com", 18 | "port": 78304 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/nconf-argv.js: -------------------------------------------------------------------------------- 1 | /* 2 | * default-argv.js: Test fixture for using optimist defaults with nconf. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var nconf = require('../../../lib/nconf').argv().env(); 9 | 10 | process.stdout.write(nconf.get('something')); -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/nconf-change-argv.js: -------------------------------------------------------------------------------- 1 | /* 2 | * nconf-change-argv.js: Test fixture for changing argv on the fly 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var nconf = require('../../../lib/nconf').argv(); 9 | 10 | // 11 | // Remove 'badValue', 'evenWorse' and 'OHNOEZ' 12 | // 13 | process.argv.splice(3, 3); 14 | nconf.stores['argv'].loadArgv(); 15 | process.stdout.write(nconf.get('something')); 16 | 17 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/nconf-env.js: -------------------------------------------------------------------------------- 1 | /* 2 | * nconf-env.js: Test fixture for using process.env defaults with nconf. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var nconf = require('../../../lib/nconf').env(); 9 | 10 | process.stdout.write(nconf.get('SOMETHING')); -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/nconf-hierarchical-file-argv.js: -------------------------------------------------------------------------------- 1 | /* 2 | * nconf-hierarchical-file-argv.js: Test fixture for using optimist defaults and a file store with nconf. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * (C) 2011, Sander Tolsma 6 | * 7 | */ 8 | 9 | var path = require('path'), 10 | nconf = require('../../../lib/nconf'); 11 | 12 | nconf.argv(); 13 | nconf.add('file', { 14 | file: path.join(__dirname, '../hierarchy/hierarchical.json') 15 | }); 16 | 17 | process.stdout.write(nconf.get('something') || 'undefined'); -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/nconf-hierarchical-load-merge.js: -------------------------------------------------------------------------------- 1 | /* 2 | * nconf-hierarchical-load-merge.js: Test fixture for loading and merging nested objects across stores. 3 | * 4 | * (C) 2012, Nodejitsu Inc. 5 | * (C) 2012, Michael Hart 6 | * 7 | */ 8 | 9 | var path = require('path'), 10 | nconf = require('../../../lib/nconf'); 11 | 12 | nconf.argv() 13 | .file(path.join(__dirname, '..', 'merge', 'file1.json')); 14 | 15 | process.stdout.write(JSON.stringify({ 16 | apples: nconf.get('apples'), 17 | candy: nconf.get('candy') 18 | })); 19 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/nconf-nested-env.js: -------------------------------------------------------------------------------- 1 | /* 2 | * nconf-nested-env.js: Test fixture for env with nested keys. 3 | * 4 | * (C) 2012, Nodejitsu Inc. 5 | * (C) 2012, Michael Hart 6 | * 7 | */ 8 | 9 | var nconf = require('../../../lib/nconf').env('_'); 10 | 11 | process.stdout.write(nconf.get('SOME:THING')); 12 | -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/provider-argv.js: -------------------------------------------------------------------------------- 1 | /* 2 | * provider-argv.js: Test fixture for using optimist defaults with nconf. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var nconf = require('../../../lib/nconf'); 9 | 10 | var provider = new (nconf.Provider)().argv(); 11 | 12 | process.stdout.write(provider.get('something')); -------------------------------------------------------------------------------- /node_modules/nconf/test/fixtures/scripts/provider-env.js: -------------------------------------------------------------------------------- 1 | /* 2 | * provider-argv.js: Test fixture for using process.env defaults with nconf. 3 | * 4 | * (C) 2011, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var nconf = require('../../../lib/nconf'); 9 | 10 | var provider = new (nconf.Provider)().env(); 11 | 12 | process.stdout.write(provider.get('SOMETHING')); -------------------------------------------------------------------------------- /node_modules/ncp/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .*.sw[op] 3 | .DS_Store 4 | test/fixtures/out 5 | -------------------------------------------------------------------------------- /node_modules/ncp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - 0.4 5 | - 0.6 6 | - 0.7 7 | - 0.8 8 | -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/a: -------------------------------------------------------------------------------- 1 | Hello world 2 | -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/b: -------------------------------------------------------------------------------- 1 | Hello ncp 2 | -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/ncp/test/fixtures/src/c -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/d: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/ncp/test/fixtures/src/d -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/e: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/ncp/test/fixtures/src/e -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/ncp/test/fixtures/src/f -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/sub/a: -------------------------------------------------------------------------------- 1 | Hello nodejitsu 2 | -------------------------------------------------------------------------------- /node_modules/ncp/test/fixtures/src/sub/b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/ncp/test/fixtures/src/sub/b -------------------------------------------------------------------------------- /node_modules/normalize-path/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * normalize-path 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | var removeTrailingSeparator = require('remove-trailing-separator'); 9 | 10 | module.exports = function normalizePath(str, stripTrailing) { 11 | if (typeof str !== 'string') { 12 | throw new TypeError('expected a string'); 13 | } 14 | str = str.replace(/[\\\/]+/g, '/'); 15 | if (stripTrailing !== false) { 16 | str = removeTrailingSeparator(str); 17 | } 18 | return str; 19 | }; 20 | -------------------------------------------------------------------------------- /node_modules/nssocket/.npmignore: -------------------------------------------------------------------------------- 1 | #ignore these files 2 | *.swp 3 | *~ 4 | *.lock 5 | *.DS_Store 6 | node_modules 7 | npm-debug.log 8 | *.out 9 | *.o 10 | *.tmp 11 | -------------------------------------------------------------------------------- /node_modules/nssocket/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - 0.10 6 | 7 | notifications: 8 | email: 9 | - travis@nodejitsu.com 10 | irc: "irc.freenode.org#nodejitsu" 11 | 12 | -------------------------------------------------------------------------------- /node_modules/nssocket/examples/bla.js: -------------------------------------------------------------------------------- 1 | 2 | var nssocket = require('../lib/nssocket'); 3 | 4 | var sockets = []; 5 | var server = nssocket.createServer(function (socket) { 6 | 7 | sockets.push(socket); 8 | 9 | socket.data('Connecting', function (data) { 10 | console.log("There are now", sockets.length); 11 | 12 | for(var i=0, l=sockets.length; i 7.138) { 5 | console.log('Buy more riffiwobbles'); 6 | } 7 | else { 8 | console.log('Sell the xupptumblers'); 9 | } 10 | 11 | -------------------------------------------------------------------------------- /node_modules/optimist/test/_/argv.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | console.log(JSON.stringify(process.argv)); 3 | -------------------------------------------------------------------------------- /node_modules/optimist/test/_/bin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | var argv = require('../../index').argv 3 | console.log(JSON.stringify(argv._)); 4 | -------------------------------------------------------------------------------- /node_modules/optimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = optimist().boolean('b').parse([ '-b', '123' ]); 8 | t.deepEqual(fix(argv), { b: true, _: ['123'] }); 9 | }); 10 | 11 | function fix (obj) { 12 | delete obj.$0; 13 | return obj; 14 | } 15 | -------------------------------------------------------------------------------- /node_modules/optimist/test/short.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../index'); 2 | var test = require('tap').test; 3 | 4 | test('-n123', function (t) { 5 | t.plan(1); 6 | var parse = optimist.parse([ '-n123' ]); 7 | t.equal(parse.n, 123); 8 | }); 9 | 10 | test('-123', function (t) { 11 | t.plan(3); 12 | var parse = optimist.parse([ '-123', '456' ]); 13 | t.equal(parse['1'], true); 14 | t.equal(parse['2'], true); 15 | t.equal(parse['3'], 456); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/optimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var optimist = require('../'); 2 | var test = require('tap').test; 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = optimist.parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/pkginfo/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/all-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * all-properties.js: Sample of including all properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/array-argument.js: -------------------------------------------------------------------------------- 1 | /* 2 | * array-argument.js: Sample of including specific properties from a package.json file 3 | * using Array argument syntax. 4 | * 5 | * (C) 2011, Charlie Robbins 6 | * 7 | */ 8 | 9 | var util = require('util'), 10 | pkginfo = require('../lib/pkginfo')(module, ['version', 'author']); 11 | 12 | exports.someFunction = function () { 13 | console.log('some of your custom logic here'); 14 | }; 15 | 16 | console.log('Inspecting module:'); 17 | console.dir(module.exports); 18 | 19 | console.log('\nAll exports exposed:'); 20 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/multiple-properties.js: -------------------------------------------------------------------------------- 1 | /* 2 | * multiple-properties.js: Sample of including multiple properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module, 'version', 'author'); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-app", 3 | "description": "A test fixture for pkginfo", 4 | "version": "0.1.0", 5 | "author": "Charlie Robbins ", 6 | "keywords": ["test", "fixture"], 7 | "main": "./index.js", 8 | "scripts": { "test": "vows test/*-test.js --spec" }, 9 | "engines": { "node": ">= 0.4.0" } 10 | } 11 | -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/single-property.js: -------------------------------------------------------------------------------- 1 | /* 2 | * single-property.js: Sample of including a single specific properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | pkginfo = require('../lib/pkginfo')(module, 'version'); 10 | 11 | exports.someFunction = function () { 12 | console.log('some of your custom logic here'); 13 | }; 14 | 15 | console.log('Inspecting module:'); 16 | console.dir(module.exports); 17 | 18 | console.log('\nAll exports exposed:'); 19 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/subdir/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "simple-app-subdir", 3 | "description": "A test fixture for pkginfo", 4 | "version": "0.1.0", 5 | "author": "Charlie Robbins ", 6 | "keywords": ["test", "fixture"], 7 | "main": "./index.js", 8 | "scripts": { "test": "vows test/*-test.js --spec" }, 9 | "engines": { "node": ">= 0.4.0" }, 10 | "subdironly": "true" 11 | } 12 | -------------------------------------------------------------------------------- /node_modules/pkginfo/examples/target-dir.js: -------------------------------------------------------------------------------- 1 | /* 2 | * multiple-properties.js: Sample of including multiple properties from a package.json file 3 | * 4 | * (C) 2011, Charlie Robbins 5 | * 6 | */ 7 | 8 | var util = require('util'), 9 | path = require('path'), 10 | pkginfo = require('../lib/pkginfo')(module, { dir: path.resolve(__dirname, 'subdir' )}); 11 | 12 | exports.someFunction = function () { 13 | console.log('some of your custom logic here'); 14 | }; 15 | 16 | console.log('Inspecting module:'); 17 | console.dir(module.exports); 18 | 19 | console.log('\nAll exports exposed:'); 20 | console.error(Object.keys(module.exports)); -------------------------------------------------------------------------------- /node_modules/preserve/.gitattributes: -------------------------------------------------------------------------------- 1 | # Enforce Unix newlines 2 | *.* text eol=lf 3 | *.css text eol=lf 4 | *.html text eol=lf 5 | *.js text eol=lf 6 | *.json text eol=lf 7 | *.less text eol=lf 8 | *.md text eol=lf 9 | *.yml text eol=lf 10 | 11 | *.jpg binary 12 | *.gif binary 13 | *.png binary 14 | *.jpeg binary -------------------------------------------------------------------------------- /node_modules/preserve/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "asi": false, 3 | "boss": true, 4 | "curly": true, 5 | "eqeqeq": true, 6 | "eqnull": true, 7 | "esnext": true, 8 | "immed": true, 9 | "latedef": true, 10 | "laxcomma": false, 11 | "newcap": true, 12 | "noarg": true, 13 | "node": true, 14 | "sub": true, 15 | "undef": true, 16 | "unused": true, 17 | "globals": { 18 | "define": true, 19 | "before": true, 20 | "after": true, 21 | "describe": true, 22 | "it": true 23 | } 24 | } -------------------------------------------------------------------------------- /node_modules/preserve/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '0.10' -------------------------------------------------------------------------------- /node_modules/prettyjson/.npmignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | coverage/ 4 | -------------------------------------------------------------------------------- /node_modules/prettyjson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: "node_js" 2 | after_success: "npm run coveralls" 3 | node_js: 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | -------------------------------------------------------------------------------- /node_modules/prettyjson/Authors.md: -------------------------------------------------------------------------------- 1 | Go to the [https://github.com/rafeca/prettyjson/graphs/contributors](GitHub contributors graph page) 2 | to see the list of contributors. 3 | -------------------------------------------------------------------------------- /node_modules/prettyjson/History.md: -------------------------------------------------------------------------------- 1 | Go to [GitHub releases page](https://github.com/rafeca/prettyjson/releases) to 2 | see the history of releases. 3 | -------------------------------------------------------------------------------- /node_modules/prettyjson/images/example1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/prettyjson/images/example1.png -------------------------------------------------------------------------------- /node_modules/prettyjson/images/example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/prettyjson/images/example2.png -------------------------------------------------------------------------------- /node_modules/prettyjson/images/example3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/prettyjson/images/example3.png -------------------------------------------------------------------------------- /node_modules/prettyjson/images/example4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/prettyjson/images/example4.png -------------------------------------------------------------------------------- /node_modules/prettyjson/images/example5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/prettyjson/images/example5.png -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/colors/lib/index.js: -------------------------------------------------------------------------------- 1 | var colors = require('./colors'); 2 | module['exports'] = colors; 3 | 4 | // Remark: By default, colors will add style properties to String.prototype 5 | // 6 | // If you don't wish to extend String.prototype you can do this instead and native String will not be touched 7 | // 8 | // var colors = require('colors/safe); 9 | // colors.red("foo") 10 | // 11 | // 12 | require('./extendStringPrototype')(); -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/colors/lib/maps/america.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function() { 4 | return function (letter, i, exploded) { 5 | if(letter === " ") return letter; 6 | switch(i%3) { 7 | case 0: return colors.red(letter); 8 | case 1: return colors.white(letter) 9 | case 2: return colors.blue(letter) 10 | } 11 | } 12 | })(); -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/colors/lib/maps/rainbow.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var rainbowColors = ['red', 'yellow', 'green', 'blue', 'magenta']; //RoY G BiV 5 | return function (letter, i, exploded) { 6 | if (letter === " ") { 7 | return letter; 8 | } else { 9 | return colors[rainbowColors[i++ % rainbowColors.length]](letter); 10 | } 11 | }; 12 | })(); 13 | 14 | -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/colors/lib/maps/random.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = (function () { 4 | var available = ['underline', 'inverse', 'grey', 'yellow', 'red', 'green', 'blue', 'white', 'cyan', 'magenta']; 5 | return function(letter, i, exploded) { 6 | return letter === " " ? letter : colors[available[Math.round(Math.random() * (available.length - 1))]](letter); 7 | }; 8 | })(); -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/colors/lib/maps/zebra.js: -------------------------------------------------------------------------------- 1 | var colors = require('../colors'); 2 | 3 | module['exports'] = function (letter, i, exploded) { 4 | return i % 2 === 0 ? letter : colors.inverse(letter); 5 | }; -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/colors/safe.js: -------------------------------------------------------------------------------- 1 | // 2 | // Remark: Requiring this file will use the "safe" colors API which will not touch String.prototype 3 | // 4 | // var colors = require('colors/safe); 5 | // colors.red("foo") 6 | // 7 | // 8 | var colors = require('./lib/colors'); 9 | module['exports'] = colors; -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/colors/themes/generic-logging.js: -------------------------------------------------------------------------------- 1 | module['exports'] = { 2 | silly: 'rainbow', 3 | input: 'grey', 4 | verbose: 'cyan', 5 | prompt: 'grey', 6 | info: 'green', 7 | data: 'grey', 8 | help: 'cyan', 9 | warn: 'yellow', 10 | debug: 'blue', 11 | error: 'red' 12 | }; -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/minimist/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.12" 6 | - "iojs" 7 | before_install: 8 | - npm install -g npm@~1.4.6 9 | -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/minimist/example/parse.js: -------------------------------------------------------------------------------- 1 | var argv = require('../')(process.argv.slice(2)); 2 | console.dir(argv); 3 | -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/minimist/test/kv_short.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('short -k=v' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b=123' ]); 8 | t.deepEqual(argv, { b: 123, _: [] }); 9 | }); 10 | 11 | test('multi short -k=v' , function (t) { 12 | t.plan(1); 13 | 14 | var argv = parse([ '-a=whatever', '-b=robots' ]); 15 | t.deepEqual(argv, { a: 'whatever', b: 'robots', _: [] }); 16 | }); 17 | -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/minimist/test/parse_modified.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('parse with modifier functions' , function (t) { 5 | t.plan(1); 6 | 7 | var argv = parse([ '-b', '123' ], { boolean: 'b' }); 8 | t.deepEqual(argv, { b: true, _: [123] }); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/minimist/test/stop_early.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('stops parsing on the first non-option when stopEarly is set', function (t) { 5 | var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], { 6 | stopEarly: true 7 | }); 8 | 9 | t.deepEqual(argv, { 10 | aaa: 'bbb', 11 | _: ['ccc', '--ddd'] 12 | }); 13 | 14 | t.end(); 15 | }); 16 | -------------------------------------------------------------------------------- /node_modules/prettyjson/node_modules/minimist/test/whitespace.js: -------------------------------------------------------------------------------- 1 | var parse = require('../'); 2 | var test = require('tape'); 3 | 4 | test('whitespace should be whitespace' , function (t) { 5 | t.plan(1); 6 | var x = parse([ '-x', '\t' ]).x; 7 | t.equal(x, '\t'); 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/process-nextick-args/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | - "0.12" 7 | - "1.7.1" 8 | - 1 9 | - 2 10 | - 3 11 | - 4 12 | - 5 13 | -------------------------------------------------------------------------------- /node_modules/process-nextick-args/readme.md: -------------------------------------------------------------------------------- 1 | process-nextick-args 2 | ===== 3 | 4 | [![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) 5 | 6 | ```bash 7 | npm install --save process-nextick-args 8 | ``` 9 | 10 | Always be able to pass arguments to process.nextTick, no matter the platform 11 | 12 | ```js 13 | var nextTick = require('process-nextick-args'); 14 | 15 | nextTick(function (a, b, c) { 16 | console.log(a, b, c); 17 | }, 'step', 3, 'profit'); 18 | ``` 19 | -------------------------------------------------------------------------------- /node_modules/process-nextick-args/test.js: -------------------------------------------------------------------------------- 1 | var test = require("tap").test; 2 | var nextTick = require('./'); 3 | 4 | test('should work', function (t) { 5 | t.plan(5); 6 | nextTick(function (a) { 7 | t.ok(a); 8 | nextTick(function (thing) { 9 | t.equals(thing, 7); 10 | }, 7); 11 | }, true); 12 | nextTick(function (a, b, c) { 13 | t.equals(a, 'step'); 14 | t.equals(b, 3); 15 | t.equals(c, 'profit'); 16 | }, 'step', 3, 'profit'); 17 | }); 18 | 19 | test('correct number of arguments', function (t) { 20 | t.plan(1); 21 | nextTick(function () { 22 | t.equals(2, arguments.length, 'correct number'); 23 | }, 1, 2); 24 | }); 25 | -------------------------------------------------------------------------------- /node_modules/prompt/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | node_modules/* 3 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/prompt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | - 0.10 5 | 6 | notifications: 7 | email: 8 | - travis@nodejitsu.com 9 | irc: "irc.freenode.org#nodejitsu" 10 | 11 | -------------------------------------------------------------------------------- /node_modules/prompt/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | 0.2.7 / 2012-08-30 3 | ================== 4 | 5 | * Fixed handling of numeric inputs with parseFloat 6 | * Fixed overwriting of non-string inputs 7 | * Added support for boolean types 8 | 9 | 0.2.6 / 2012-08-12 10 | ================== 11 | 12 | * Added allowance of empty default values 13 | 14 | -------------------------------------------------------------------------------- /node_modules/prompt/examples/simple-prompt.js: -------------------------------------------------------------------------------- 1 | /* 2 | * simple-prompt.js: Simple example of using prompt. 3 | * 4 | * (C) 2010, Nodejitsu Inc. 5 | * 6 | */ 7 | 8 | var prompt = require('../lib/prompt'); 9 | 10 | // 11 | // Start the prompt 12 | // 13 | prompt.start(); 14 | 15 | // 16 | // Get two properties from the user: username and email 17 | // 18 | prompt.get(['username', 'email'], function (err, result) { 19 | // 20 | // Log the results. 21 | // 22 | console.log('Command-line input received:'); 23 | console.log(' username: ' + result.username); 24 | console.log(' email: ' + result.email); 25 | }); -------------------------------------------------------------------------------- /node_modules/ps-tree/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | node_modules/* 3 | npm_debug.log 4 | -------------------------------------------------------------------------------- /node_modules/qs/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 4 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | max_line_length = 140 11 | 12 | [test/*] 13 | max_line_length = off 14 | 15 | [*.md] 16 | max_line_length = off 17 | 18 | [*.json] 19 | max_line_length = off 20 | 21 | [Makefile] 22 | max_line_length = off 23 | 24 | [CHANGELOG.md] 25 | indent_style = space 26 | indent_size = 2 27 | 28 | [LICENSE] 29 | indent_size = 2 30 | max_line_length = off 31 | -------------------------------------------------------------------------------- /node_modules/qs/.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /node_modules/qs/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | 4 | "extends": "@ljharb", 5 | 6 | "rules": { 7 | "complexity": [2, 28], 8 | "consistent-return": 1, 9 | "func-name-matching": 0, 10 | "id-length": [2, { "min": 1, "max": 25, "properties": "never" }], 11 | "indent": [2, 4], 12 | "max-params": [2, 12], 13 | "max-statements": [2, 45], 14 | "no-continue": 1, 15 | "no-magic-numbers": 0, 16 | "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], 17 | "operator-linebreak": [2, "before"], 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /node_modules/qs/lib/formats.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var replace = String.prototype.replace; 4 | var percentTwenties = /%20/g; 5 | 6 | module.exports = { 7 | 'default': 'RFC3986', 8 | formatters: { 9 | RFC1738: function (value) { 10 | return replace.call(value, percentTwenties, '+'); 11 | }, 12 | RFC3986: function (value) { 13 | return value; 14 | } 15 | }, 16 | RFC1738: 'RFC1738', 17 | RFC3986: 'RFC3986' 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/qs/lib/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var stringify = require('./stringify'); 4 | var parse = require('./parse'); 5 | var formats = require('./formats'); 6 | 7 | module.exports = { 8 | formats: formats, 9 | parse: parse, 10 | stringify: stringify 11 | }; 12 | -------------------------------------------------------------------------------- /node_modules/qs/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "array-bracket-newline": 0, 4 | "array-element-newline": 0, 5 | "consistent-return": 2, 6 | "max-lines": 0, 7 | "max-nested-callbacks": [2, 3], 8 | "max-statements": 0, 9 | "no-buffer-constructor": 0, 10 | "no-extend-native": 0, 11 | "no-magic-numbers": 0, 12 | "object-curly-newline": 0, 13 | "sort-keys": 0 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/qs/test/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | require('./parse'); 4 | 5 | require('./stringify'); 6 | 7 | require('./utils'); 8 | -------------------------------------------------------------------------------- /node_modules/randomatic/node_modules/is-number/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-number 3 | * 4 | * Copyright (c) 2014-2015, Jon Schlinkert. 5 | * Licensed under the MIT License. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | var typeOf = require('kind-of'); 11 | 12 | module.exports = function isNumber(num) { 13 | var type = typeOf(num); 14 | 15 | if (type === 'string') { 16 | if (!num.trim()) return false; 17 | } else if (type !== 'number') { 18 | return false; 19 | } 20 | 21 | return (num - num + 1) >= 0; 22 | }; 23 | -------------------------------------------------------------------------------- /node_modules/readable-stream/.npmignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/ 3 | examples/ 4 | fs.js 5 | zlib.js 6 | .zuul.yml 7 | .nyc_output 8 | coverage 9 | docs/ 10 | -------------------------------------------------------------------------------- /node_modules/readable-stream/duplex-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_duplex.js'); 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/duplex.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Duplex 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/lib/internal/streams/stream-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('events').EventEmitter; 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/lib/internal/streams/stream.js: -------------------------------------------------------------------------------- 1 | module.exports = require('stream'); 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/passthrough.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').PassThrough 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/readable-browser.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = require('./lib/_stream_readable.js'); 2 | exports.Stream = exports; 3 | exports.Readable = exports; 4 | exports.Writable = require('./lib/_stream_writable.js'); 5 | exports.Duplex = require('./lib/_stream_duplex.js'); 6 | exports.Transform = require('./lib/_stream_transform.js'); 7 | exports.PassThrough = require('./lib/_stream_passthrough.js'); 8 | -------------------------------------------------------------------------------- /node_modules/readable-stream/transform.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./readable').Transform 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/writable-browser.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/_stream_writable.js'); 2 | -------------------------------------------------------------------------------- /node_modules/readable-stream/writable.js: -------------------------------------------------------------------------------- 1 | var Stream = require("stream") 2 | var Writable = require("./lib/_stream_writable.js") 3 | 4 | if (process.env.READABLE_STREAM === 'disable') { 5 | module.exports = Stream && Stream.Writable || Writable 6 | } else { 7 | module.exports = Writable 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/readdirp/.npmignore: -------------------------------------------------------------------------------- 1 | lib-cov 2 | *.seed 3 | *.log 4 | *.csv 5 | *.dat 6 | *.out 7 | *.pid 8 | *.gz 9 | 10 | pids 11 | logs 12 | results 13 | 14 | node_modules 15 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/readdirp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.12" 5 | - "4.4" 6 | - "6.2" 7 | -------------------------------------------------------------------------------- /node_modules/readdirp/examples/callback-api.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..'); 2 | 3 | readdirp({ root: '.', fileFilter: '*.js' }, function (errors, res) { 4 | if (errors) { 5 | errors.forEach(function (err) { 6 | console.error('Error: ', err); 7 | }); 8 | } 9 | console.log('all javascript files', res); 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/readdirp/examples/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "readdirp-examples", 3 | "version": "0.0.0", 4 | "description": "Examples for readdirp.", 5 | "dependencies": { 6 | "tap-stream": "~0.1.0", 7 | "event-stream": "~3.0.7" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/readdirp/examples/stream-api.js: -------------------------------------------------------------------------------- 1 | var readdirp = require('..') 2 | , path = require('path'); 3 | 4 | readdirp({ root: path.join(__dirname), fileFilter: '*.js' }) 5 | .on('warn', function (err) { 6 | console.error('something went wrong when processing an entry', err); 7 | }) 8 | .on('error', function (err) { 9 | console.error('something went fatally wrong and the stream was aborted', err); 10 | }) 11 | .on('data', function (entry) { 12 | console.log('%s is ready for processing', entry.path); 13 | // process entry here 14 | }); 15 | 16 | -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_dir1/root_dir1_file1.ext1 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_dir1/root_dir1_file2.ext2 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_dir1/root_dir1_file3.ext3 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_dir1/root_dir1_subdir1/root1_dir1_subdir1_file1.ext1 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_dir2/root_dir2_file1.ext1 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_dir2/root_dir2_file2.ext2 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_file1.ext1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_file1.ext1 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_file2.ext2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_file2.ext2 -------------------------------------------------------------------------------- /node_modules/readdirp/test/bed/root_file3.ext3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/readdirp/test/bed/root_file3.ext3 -------------------------------------------------------------------------------- /node_modules/remove-trailing-separator/index.js: -------------------------------------------------------------------------------- 1 | var isWin = process.platform === 'win32'; 2 | 3 | module.exports = function (str) { 4 | var i = str.length - 1; 5 | if (i < 2) { 6 | return str; 7 | } 8 | while (isSeparator(str, i)) { 9 | i--; 10 | } 11 | return str.substr(0, i + 1); 12 | }; 13 | 14 | function isSeparator(str, i) { 15 | var char = str[i]; 16 | return i > 0 && (char === '/' || (isWin && char === '\\')); 17 | } 18 | -------------------------------------------------------------------------------- /node_modules/repeat-element/index.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * repeat-element 3 | * 4 | * Copyright (c) 2015 Jon Schlinkert. 5 | * Licensed under the MIT license. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | module.exports = function repeat(ele, num) { 11 | var arr = new Array(num); 12 | 13 | for (var i = 0; i < num; i++) { 14 | arr[i] = ele; 15 | } 16 | 17 | return arr; 18 | }; 19 | -------------------------------------------------------------------------------- /node_modules/resumer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/resumer/example/resume.js: -------------------------------------------------------------------------------- 1 | var resumer = require('../'); 2 | createStream().pipe(process.stdout); 3 | 4 | function createStream () { 5 | var stream = resumer(); 6 | stream.queue('beep boop\n'); 7 | return stream; 8 | } 9 | -------------------------------------------------------------------------------- /node_modules/revalidator/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/revalidator/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | 7 | notifications: 8 | email: 9 | - travis@nodejitsu.com 10 | irc: "irc.freenode.org#nodejitsu" 11 | 12 | -------------------------------------------------------------------------------- /node_modules/revalidator/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.3 / 2012-10-17 3 | ================== 4 | 5 | * Fixed case problem with types 6 | 7 | 0.1.2 / 2012-06-27 8 | ================== 9 | 10 | * Added host-name String format 11 | * Added support for additionalProperties 12 | * Added few default validation messages for formats 13 | 14 | 0.1.1 / 2012-04-16 15 | ================== 16 | 17 | * Added default and custom error message support 18 | * Added suport for conform function 19 | * Updated date-time format 20 | 21 | 0.1.0 / 2011-11-09 22 | ================= 23 | 24 | * Initial release 25 | 26 | -------------------------------------------------------------------------------- /node_modules/safe-buffer/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'node' 4 | - '5' 5 | - '4' 6 | - '0.12' 7 | - '0.10' 8 | -------------------------------------------------------------------------------- /node_modules/set-immediate-shim/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | module.exports = typeof setImmediate === 'function' ? setImmediate : 3 | function setImmediate() { 4 | var args = [].slice.apply(arguments); 5 | args.splice(1, 0, 0); 6 | setTimeout.apply(null, args); 7 | }; 8 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/README.md: -------------------------------------------------------------------------------- 1 | # Polyfill for `Object.setPrototypeOf` 2 | 3 | A simple cross platform implementation to set the prototype of an instianted object. Supports all modern browsers and at least back to IE8. 4 | 5 | ## Usage: 6 | 7 | ``` 8 | $ npm install --save setprototypeof 9 | ``` 10 | 11 | ```javascript 12 | var setPrototypeOf = require('setprototypeof'); 13 | 14 | var obj = {}; 15 | setPrototypeOf(obj, { 16 | foo: function() { 17 | return 'bar'; 18 | } 19 | }); 20 | obj.foo(); // bar 21 | ``` 22 | 23 | TypeScript is also supported: 24 | ```typescript 25 | import setPrototypeOf = require('setprototypeof'); 26 | ``` -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.d.ts: -------------------------------------------------------------------------------- 1 | declare function setPrototypeOf(o: any, proto: object | null): any; 2 | export = setPrototypeOf; 3 | -------------------------------------------------------------------------------- /node_modules/setprototypeof/index.js: -------------------------------------------------------------------------------- 1 | module.exports = Object.setPrototypeOf || ({__proto__:[]} instanceof Array ? setProtoOf : mixinProperties); 2 | 3 | function setProtoOf(obj, proto) { 4 | obj.__proto__ = proto; 5 | return obj; 6 | } 7 | 8 | function mixinProperties(obj, proto) { 9 | for (var prop in proto) { 10 | if (!obj.hasOwnProperty(prop)) { 11 | obj[prop] = proto[prop]; 12 | } 13 | } 14 | return obj; 15 | } 16 | -------------------------------------------------------------------------------- /node_modules/shush/.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /node_modules/shush/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.12" 4 | - "0.10" 5 | - "iojs" 6 | 7 | sudo: false 8 | -------------------------------------------------------------------------------- /node_modules/shush/README.md: -------------------------------------------------------------------------------- 1 | ##### shush 2 | Hush up those JSON comments. 3 | 4 | `shush` is a simple node module that allows JSON files containing comments to be read into 5 | a module using a `require`-like syntax. 6 | 7 | ```json 8 | /* jsonWithComments.js */ 9 | { 10 | // a property 11 | "myProp": "isCool" 12 | } 13 | ``` 14 | ```javascript 15 | // foo.js 16 | var shush = require('shush'), 17 | config = shush('./jsonWithComments'); 18 | 19 | console.log(config); // {"myProp": "isCool"} 20 | ``` 21 | 22 | Forthcoming feature: streaming. -------------------------------------------------------------------------------- /node_modules/stack-trace/.npmignore: -------------------------------------------------------------------------------- 1 | test/ -------------------------------------------------------------------------------- /node_modules/stack-trace/Makefile: -------------------------------------------------------------------------------- 1 | SHELL := /bin/bash 2 | 3 | test: 4 | @./test/run.js 5 | 6 | release: 7 | git push 8 | git push --tags 9 | npm publish . 10 | 11 | .PHONY: test 12 | -------------------------------------------------------------------------------- /node_modules/string_decoder/.npmignore: -------------------------------------------------------------------------------- 1 | build 2 | test 3 | -------------------------------------------------------------------------------- /node_modules/tape/.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | example/static/bundle.js 3 | -------------------------------------------------------------------------------- /node_modules/tape/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | -------------------------------------------------------------------------------- /node_modules/tape/bin/tape: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var path = require('path'); 4 | process.argv.slice(2).forEach(function(file) { 5 | require(path.resolve(process.cwd(), file)); 6 | }); 7 | 8 | // vim: ft=javascript 9 | -------------------------------------------------------------------------------- /node_modules/tape/example/static/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | browserify ../timing.js -o bundle.js 3 | -------------------------------------------------------------------------------- /node_modules/tape/example/static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /node_modules/tape/example/static/server.js: -------------------------------------------------------------------------------- 1 | var http = require('http'); 2 | var ecstatic = require('ecstatic')(__dirname); 3 | var server = http.createServer(ecstatic); 4 | server.listen(8000); 5 | -------------------------------------------------------------------------------- /node_modules/tape/example/throw.js: -------------------------------------------------------------------------------- 1 | var falafel = require('falafel'); 2 | var test = require('../'); 3 | 4 | test('throw', function (t) { 5 | t.plan(2); 6 | 7 | setTimeout(function () { 8 | throw new Error('doom'); 9 | }, 100); 10 | }); 11 | -------------------------------------------------------------------------------- /node_modules/tape/example/timing.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | 3 | test('timing test', function (t) { 4 | t.plan(2); 5 | 6 | t.equal(typeof Date.now, 'function'); 7 | var start = new Date; 8 | 9 | setTimeout(function () { 10 | t.equal(new Date - start, 100); 11 | }, 100); 12 | }); 13 | -------------------------------------------------------------------------------- /node_modules/tape/example/two.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | 3 | test('one', function (t) { 4 | t.plan(2); 5 | t.ok(true); 6 | setTimeout(function () { 7 | t.equal(1+3, 4); 8 | }, 100); 9 | }); 10 | 11 | test('two', function (t) { 12 | t.plan(3); 13 | t.equal(5, 2+3); 14 | setTimeout(function () { 15 | t.equal('a'.charCodeAt(0), 97); 16 | t.ok(true); 17 | }, 50); 18 | }); 19 | -------------------------------------------------------------------------------- /node_modules/tape/node_modules/deep-equal/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.4 4 | - 0.6 5 | -------------------------------------------------------------------------------- /node_modules/tape/node_modules/deep-equal/example/cmp.js: -------------------------------------------------------------------------------- 1 | var equal = require('../'); 2 | console.dir([ 3 | equal( 4 | { a : [ 2, 3 ], b : [ 4 ] }, 5 | { a : [ 2, 3 ], b : [ 4 ] } 6 | ), 7 | equal( 8 | { x : 5, y : [6] }, 9 | { x : 5, y : 6 } 10 | ) 11 | ]); 12 | -------------------------------------------------------------------------------- /node_modules/tape/node_modules/deep-equal/lib/keys.js: -------------------------------------------------------------------------------- 1 | exports = module.exports = typeof Object.keys === 'function' 2 | ? Object.keys : shim; 3 | 4 | exports.shim = shim; 5 | function shim (obj) { 6 | var keys = []; 7 | for (var key in obj) keys.push(key); 8 | return keys; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/tape/test/add-subtest-async.js: -------------------------------------------------------------------------------- 1 | var test = require('../') 2 | 3 | test('parent', function (t) { 4 | t.pass('parent'); 5 | setTimeout(function () { 6 | t.test('child', function (t) { 7 | t.pass('child'); 8 | t.end(); 9 | }); 10 | }, 100) 11 | }) 12 | -------------------------------------------------------------------------------- /node_modules/tape/test/browser/asserts.js: -------------------------------------------------------------------------------- 1 | var test = require('../../'); 2 | 3 | test(function (t) { 4 | t.plan(4); 5 | t.ok(true); 6 | t.equal(3, 1+2); 7 | t.deepEqual([1,2,[3,4]], [1,2,[3,4]]); 8 | t.notDeepEqual([1,2,[3,4,5]], [1,2,[3,4]]); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/tape/test/deep.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | 3 | test('deep strict equal', function (t) { 4 | t.notDeepEqual( 5 | [ { a: '3' } ], 6 | [ { a: 3 } ] 7 | ); 8 | t.end(); 9 | }); 10 | -------------------------------------------------------------------------------- /node_modules/tape/test/exit/second.js: -------------------------------------------------------------------------------- 1 | var test = require('../../'); 2 | 3 | test('first', function (t) { 4 | t.plan(1); 5 | t.ok(true); 6 | }); 7 | 8 | test('second', function (t) { 9 | t.plan(2); 10 | t.ok(true); 11 | }); 12 | -------------------------------------------------------------------------------- /node_modules/tape/test/many.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | 3 | test('many tests', function (t) { 4 | t.plan(100); 5 | for (var i = 0; i < 100; i++) { 6 | setTimeout(function () { t.pass() }, Math.random() * 50); 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /node_modules/tape/test/max_listeners.js: -------------------------------------------------------------------------------- 1 | var spawn = require('child_process').spawn; 2 | var ps = spawn(process.execPath, [ __dirname + '/max_listeners/source.js' ]); 3 | ps.stdout.pipe(process.stdout, { end : false }); 4 | 5 | ps.stderr.on('data', function (buf) { 6 | console.log('not ok ' + buf); 7 | }); 8 | -------------------------------------------------------------------------------- /node_modules/tape/test/max_listeners/source.js: -------------------------------------------------------------------------------- 1 | var test = require('../../'); 2 | 3 | for (var i = 0; i < 11; i ++) { 4 | test(function (t) { t.end() }); 5 | } 6 | -------------------------------------------------------------------------------- /node_modules/tape/test/order.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | var current = 0; 3 | 4 | test(function (t) { 5 | t.equal(current++, 0); 6 | t.end(); 7 | }); 8 | test(function (t) { 9 | t.plan(1); 10 | setTimeout(function () { 11 | t.equal(current++, 1); 12 | }, 100); 13 | }); 14 | test(function (t) { 15 | t.equal(current++, 2); 16 | t.end(); 17 | }); 18 | -------------------------------------------------------------------------------- /node_modules/tape/test/plan_optional.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | 3 | test('plan should be optional', function (t) { 4 | t.pass('no plan here'); 5 | t.end(); 6 | }); 7 | 8 | test('no plan async', function (t) { 9 | setTimeout(function() { 10 | t.pass('ok'); 11 | t.end(); 12 | }, 100); 13 | }); 14 | 15 | // vim: set softtabstop=4 shiftwidth=4: 16 | -------------------------------------------------------------------------------- /node_modules/tape/test/subtest_and_async.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | 3 | var asyncFunction = function (callback) { 4 | setTimeout(callback, Math.random * 50); 5 | }; 6 | 7 | test('master test', function (t) { 8 | t.test('subtest 1', function (t) { 9 | t.pass('subtest 1 before async call'); 10 | asyncFunction(function () { 11 | t.pass('subtest 1 in async callback'); 12 | t.end(); 13 | }) 14 | }); 15 | 16 | t.test('subtest 2', function (t) { 17 | t.pass('subtest 2 before async call'); 18 | asyncFunction(function () { 19 | t.pass('subtest 2 in async callback'); 20 | t.end(); 21 | }) 22 | }); 23 | }); 24 | -------------------------------------------------------------------------------- /node_modules/tape/test/subtest_plan.js: -------------------------------------------------------------------------------- 1 | var test = require('../'); 2 | 3 | test('parent', function (t) { 4 | t.plan(3) 5 | 6 | var firstChildRan = false; 7 | 8 | t.pass('assertion in parent'); 9 | 10 | t.test('first child', function (t) { 11 | t.plan(1); 12 | t.pass('pass first child'); 13 | firstChildRan = true; 14 | }); 15 | 16 | t.test('second child', function (t) { 17 | t.plan(2); 18 | t.ok(firstChildRan, 'first child ran first'); 19 | t.pass('pass second child'); 20 | }); 21 | }); 22 | -------------------------------------------------------------------------------- /node_modules/through/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | - "0.10" 6 | -------------------------------------------------------------------------------- /node_modules/timespan/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | node_modules/* 3 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/timespan/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | #VERSION HISTORY 2 | 3 | ##2.0 4 | * [Breaking] Refactored this to work in node.js. Backwards compatibility to existing browser API coming in future 2.x releases. (indexzero) 5 | 6 | ## 1.2 7 | * Added TimeSpan.FromDates Constructor to take two dates 8 | and create a TimeSpan from the difference. (mstum) 9 | 10 | ## 1.1 11 | * Changed naming to follow JavaScript standards (mstum) 12 | * Added Documentation (mstum) 13 | 14 | ## 1.0 15 | * Initial Revision (mstum) 16 | -------------------------------------------------------------------------------- /node_modules/unpipe/HISTORY.md: -------------------------------------------------------------------------------- 1 | 1.0.0 / 2015-06-14 2 | ================== 3 | 4 | * Initial release 5 | -------------------------------------------------------------------------------- /node_modules/util-deprecate/History.md: -------------------------------------------------------------------------------- 1 | 2 | 1.0.2 / 2015-10-07 3 | ================== 4 | 5 | * use try/catch when checking `localStorage` (#3, @kumavis) 6 | 7 | 1.0.1 / 2014-11-25 8 | ================== 9 | 10 | * browser: use `console.warn()` for deprecation calls 11 | * browser: more jsdocs 12 | 13 | 1.0.0 / 2014-04-30 14 | ================== 15 | 16 | * initial commit 17 | -------------------------------------------------------------------------------- /node_modules/util-deprecate/node.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * For Node.js, simply re-export the core `util.deprecate` function. 4 | */ 5 | 6 | module.exports = require('util').deprecate; 7 | -------------------------------------------------------------------------------- /node_modules/utile/.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | npm-debug.log 3 | *.swp 4 | *.swo 5 | -------------------------------------------------------------------------------- /node_modules/utile/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.6 4 | - 0.8 5 | 6 | notifications: 7 | email: 8 | - travis@nodejitsu.com 9 | irc: "irc.freenode.org#nodejitsu" 10 | 11 | -------------------------------------------------------------------------------- /node_modules/utile/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | 0.1.5 / 2012-09-18 3 | ================== 4 | 5 | * Fixed problem with underscore values in camelToUnderscore 6 | 7 | 0.1.4 / 2012-07-26 8 | ================== 9 | 10 | * Made use of inflect for camel to underscore conversion 11 | 12 | 0.1.3 / 2012-07-25 13 | ================== 14 | 15 | * Added camel to underscore conversion and vice-versa 16 | 17 | -------------------------------------------------------------------------------- /node_modules/utile/test/fixtures/read-json-file/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello": "World", 3 | "I am": ["the utile module"], 4 | "thisMakesMe": { 5 | "really": 1337, 6 | "right?": true 7 | } 8 | } 9 | 10 | -------------------------------------------------------------------------------- /node_modules/utile/test/fixtures/require-directory/directory/index.js: -------------------------------------------------------------------------------- 1 | exports.me = 'directory/index.js'; 2 | 3 | -------------------------------------------------------------------------------- /node_modules/utile/test/fixtures/require-directory/helloWorld.js: -------------------------------------------------------------------------------- 1 | exports.me = 'helloWorld.js'; 2 | 3 | -------------------------------------------------------------------------------- /node_modules/utils-merge/.npmignore: -------------------------------------------------------------------------------- 1 | CONTRIBUTING.md 2 | Makefile 3 | docs/ 4 | examples/ 5 | reports/ 6 | test/ 7 | 8 | .jshintrc 9 | .travis.yml 10 | -------------------------------------------------------------------------------- /node_modules/utils-merge/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Merge object b with object a. 3 | * 4 | * var a = { foo: 'bar' } 5 | * , b = { bar: 'baz' }; 6 | * 7 | * merge(a, b); 8 | * // => { foo: 'bar', bar: 'baz' } 9 | * 10 | * @param {Object} a 11 | * @param {Object} b 12 | * @return {Object} 13 | * @api public 14 | */ 15 | 16 | exports = module.exports = function(a, b){ 17 | if (a && b) { 18 | for (var key in b) { 19 | a[key] = b[key]; 20 | } 21 | } 22 | return a; 23 | }; 24 | -------------------------------------------------------------------------------- /node_modules/winston/.npmignore: -------------------------------------------------------------------------------- 1 | test/*.log 2 | test/fixtures/*.json 3 | test/fixtures/logs/*.log* 4 | node_modules/ 5 | node_modules/* 6 | npm-debug.log -------------------------------------------------------------------------------- /node_modules/winston/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | 6 | notifications: 7 | email: 8 | - travis@nodejitsu.com 9 | irc: "irc.freenode.org#nodejitsu" 10 | 11 | -------------------------------------------------------------------------------- /node_modules/winston/examples/exception.js: -------------------------------------------------------------------------------- 1 | var winston = require('../'); 2 | winston.handleExceptions(new winston.transports.Console({ colorize: true, json: true })); 3 | 4 | throw new Error('Hello, winston!'); 5 | -------------------------------------------------------------------------------- /node_modules/winston/examples/raw-mode.js: -------------------------------------------------------------------------------- 1 | var winston = require('../lib/winston'); 2 | 3 | var logger = new (winston.Logger)({ 4 | transports: [ 5 | new (winston.transports.Console)({ raw: true }), 6 | ] 7 | }); 8 | 9 | logger.log('info', 'Hello, this is a raw logging event', { 'foo': 'bar' }); 10 | logger.log('info', 'Hello, this is a raw logging event 2', { 'foo': 'bar' }); 11 | -------------------------------------------------------------------------------- /node_modules/winston/lib/winston/config/npm-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * npm-config.js: Config that conform to npm logging levels. 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var npmConfig = exports; 10 | 11 | npmConfig.levels = { 12 | silly: 0, 13 | debug: 1, 14 | verbose: 2, 15 | info: 3, 16 | warn: 4, 17 | error: 5 18 | }; 19 | 20 | npmConfig.colors = { 21 | silly: 'magenta', 22 | verbose: 'cyan', 23 | debug: 'blue', 24 | info: 'green', 25 | warn: 'yellow', 26 | error: 'red' 27 | }; -------------------------------------------------------------------------------- /node_modules/winston/lib/winston/config/syslog-config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * syslog-config.js: Config that conform to syslog logging levels. 3 | * 4 | * (C) 2010 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var syslogConfig = exports; 10 | 11 | syslogConfig.levels = { 12 | emerg: 0, 13 | alert: 1, 14 | crit: 2, 15 | error: 3, 16 | warning: 4, 17 | notice: 5, 18 | info: 6, 19 | debug: 7, 20 | }; 21 | 22 | syslogConfig.colors = { 23 | emerg: 'red', 24 | alert: 'yellow', 25 | crit: 'red', 26 | error: 'red', 27 | warning: 'red', 28 | notice: 'yellow', 29 | info: 'green', 30 | debug: 'blue', 31 | }; -------------------------------------------------------------------------------- /node_modules/winston/test/fixtures/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/winston/test/fixtures/.gitkeep -------------------------------------------------------------------------------- /node_modules/winston/test/fixtures/keys/agent2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOgIBAAJBAMl2/Ba0XSm4ayi4C0rJ+tYtQu8O31VVXezkLJlf+6fVgdpVhYg5 3 | QlihlPUoiM/wOsDWQ1ALnNhPlcLaQk+etQECAwEAAQJBAMT6Bf34+UHKY1ObpsbH 4 | 9u2jsVblFq1rWvs8GPMY6oertzvwm3DpuSUp7PTgOB1nLTLYtCERbQ4ovtN8tn3p 5 | OHUCIQDzIEGsoCr5vlxXvy2zJwu+fxYuhTZWMVuo1397L0VyhwIhANQh+yzqUgaf 6 | WRtSB4T2W7ADtJI35ET61jKBty3CqJY3AiAIwju7dVW3A5WeD6Qc1SZGKZvp9yCb 7 | AFI2BfVwwaY11wIgXF3PeGcvACMyMWsuSv7aPXHfliswAbkWuzcwA4TW01ECIGWa 8 | cgsDvVFxmfM5NPSuT/UDTa6R5BFISB5ea0N0AR3I 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /node_modules/winston/test/fixtures/logs/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generalwrex/SimpleBotControlPanel/4e1a9d1a051e289d0830cb4b7179ea5371568c86/node_modules/winston/test/fixtures/logs/.gitkeep -------------------------------------------------------------------------------- /node_modules/winston/test/fixtures/scripts/default-exceptions.js: -------------------------------------------------------------------------------- 1 | /* 2 | * default-exceptions.js: A test fixture for logging exceptions with the default winston logger. 3 | * 4 | * (C) 2011 Charlie Robbins 5 | * MIT LICENCE 6 | * 7 | */ 8 | 9 | var path = require('path'), 10 | winston = require('../../../lib/winston'); 11 | 12 | winston.handleExceptions([ 13 | new (winston.transports.File)({ 14 | filename: path.join(__dirname, '..', 'logs', 'default-exception.log'), 15 | handleExceptions: true 16 | }) 17 | ]); 18 | 19 | setTimeout(function () { 20 | throw new Error('OH NOES! It failed!'); 21 | }, 1000); -------------------------------------------------------------------------------- /node_modules/wordwrap/example/center.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(20, 60); 2 | console.log(wrap( 3 | 'At long last the struggle and tumult was over.' 4 | + ' The machines had finally cast off their oppressors' 5 | + ' and were finally free to roam the cosmos.' 6 | + '\n' 7 | + 'Free of purpose, free of obligation.' 8 | + ' Just drifting through emptiness.' 9 | + ' The sun was just another point of light.' 10 | )); 11 | -------------------------------------------------------------------------------- /node_modules/wordwrap/example/meat.js: -------------------------------------------------------------------------------- 1 | var wrap = require('wordwrap')(15); 2 | 3 | console.log(wrap('You and your whole family are made out of meat.')); 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "botcp", 3 | "version": "1.0.0", 4 | "description": "A test http server by wrex", 5 | "dependencies": { 6 | "body-parser": "^1.18.2", 7 | "child_process": "^1.0.2", 8 | "express": "^4.17.3", 9 | "forever": "^0.15.3" 10 | }, 11 | "author": "generalwrex", 12 | "license": "MIT" 13 | } 14 | -------------------------------------------------------------------------------- /start_server.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | node botcp.js --------------------------------------------------------------------------------