Skip to content

Instantly share code, notes, and snippets.

@gpulier
Created March 18, 2013 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gpulier/5185226 to your computer and use it in GitHub Desktop.
Save gpulier/5185226 to your computer and use it in GitHub Desktop.
npm info it worked if it ends with ok
npm verb cli [ 'node', '/usr/local/bin/npm', '-ddd', 'install', 'socket.io' ]
npm info using npm@1.2.14
npm info using node@v0.10.0
npm verb read json /root/package.json
npm verb read json /root/node_modules/express/package.json
npm verb read json /root/node_modules/mocha/package.json
npm verb read json /root/node_modules/redis/package.json
npm verb read json /root/node_modules/socket.io/package.json
npm verb read json /root/package.json
npm verb cache add [ 'socket.io', null ]
npm verb cache add name=undefined spec="socket.io" args=["socket.io",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'socket.io',
npm verb parsed url path: 'socket.io',
npm verb parsed url href: 'socket.io' }
npm sill lockFile 71475bfd-socket-io socket.io
npm verb lock socket.io /root/.npm/71475bfd-socket-io.lock
npm sill lockFile 71475bfd-socket-io socket.io
npm sill lockFile 71475bfd-socket-io socket.io
npm verb addNamed [ 'socket.io', '' ]
npm verb addNamed [ null, '' ]
npm sill lockFile c03de861-socket-io socket.io@
npm verb lock socket.io@ /root/.npm/c03de861-socket-io.lock
npm sill addNameRange { name: 'socket.io', range: '', hasData: false }
npm verb url raw socket.io
npm verb url resolving [ 'https://registry.npmjs.org/', './socket.io' ]
npm verb url resolved https://registry.npmjs.org/socket.io
npm info trying registry request attempt 1 at 05:13:53
npm verb etag "6MB8AO3KFLQKDMYZGEZXDBAJ5"
npm http GET https://registry.npmjs.org/socket.io
npm http 304 https://registry.npmjs.org/socket.io
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"6MB8AO3KFLQKDMYZGEZXDBAJ5"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:54 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag socket.io from cache
npm sill addNameRange number 2 { name: 'socket.io', range: '', hasData: true }
npm sill addNameRange versions [ 'socket.io',
npm sill addNameRange [ '0.3.8',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.5.1',
npm sill addNameRange '0.5.3',
npm sill addNameRange '0.6.0',
npm sill addNameRange '0.6.1',
npm sill addNameRange '0.6.3',
npm sill addNameRange '0.6.4',
npm sill addNameRange '0.6.5',
npm sill addNameRange '0.6.6',
npm sill addNameRange '0.6.7',
npm sill addNameRange '0.6.8',
npm sill addNameRange '0.6.9',
npm sill addNameRange '0.6.10',
npm sill addNameRange '0.6.11',
npm sill addNameRange '0.6.12',
npm sill addNameRange '0.6.14',
npm sill addNameRange '0.6.15',
npm sill addNameRange '0.6.16',
npm sill addNameRange '0.6.17',
npm sill addNameRange '0.6.18',
npm sill addNameRange '0.7.0',
npm sill addNameRange '0.7.1',
npm sill addNameRange '0.7.2',
npm sill addNameRange '0.7.3',
npm sill addNameRange '0.7.4',
npm sill addNameRange '0.7.5',
npm sill addNameRange '0.7.6',
npm sill addNameRange '0.7.7',
npm sill addNameRange '0.7.8',
npm sill addNameRange '0.7.9',
npm sill addNameRange '0.7.10',
npm sill addNameRange '0.7.11',
npm sill addNameRange '0.8.0',
npm sill addNameRange '0.8.1',
npm sill addNameRange '0.8.2',
npm sill addNameRange '0.8.3',
npm sill addNameRange '0.8.4',
npm sill addNameRange '0.8.5',
npm sill addNameRange '0.8.6',
npm sill addNameRange '0.8.7',
npm sill addNameRange '0.9.0',
npm sill addNameRange '0.9.1',
npm sill addNameRange '0.9.1-1',
npm sill addNameRange '0.9.2',
npm sill addNameRange '0.9.3',
npm sill addNameRange '0.9.4',
npm sill addNameRange '0.9.5',
npm sill addNameRange '0.9.6',
npm sill addNameRange '0.9.7',
npm sill addNameRange '0.9.8',
npm sill addNameRange '0.9.9',
npm sill addNameRange '0.9.10',
npm sill addNameRange '0.9.11',
npm sill addNameRange '0.9.12',
npm sill addNameRange '0.9.13' ] ]
npm verb addNamed [ 'socket.io', '0.9.13' ]
npm verb addNamed [ '0.9.13', '0.9.13' ]
npm sill lockFile 8f36e462-socket-io-0-9-13 socket.io@0.9.13
npm verb lock socket.io@0.9.13 /root/.npm/8f36e462-socket-io-0-9-13.lock
npm verb read json /root/.npm/socket.io/0.9.13/package/package.json
npm sill lockFile 8f36e462-socket-io-0-9-13 socket.io@0.9.13
npm sill lockFile 8f36e462-socket-io-0-9-13 socket.io@0.9.13
npm sill lockFile c03de861-socket-io socket.io@
npm sill lockFile c03de861-socket-io socket.io@
npm sill resolved [ { name: 'socket.io',
npm sill resolved version: '0.9.13',
npm sill resolved description: 'Real-time apps made cross-browser & easy with a WebSocket-like API',
npm sill resolved homepage: 'http://socket.io',
npm sill resolved keywords: [ 'websocket', 'socket', 'realtime', 'socket.io', 'comet', 'ajax' ],
npm sill resolved author: { name: 'Guillermo Rauch', email: 'guillermo@learnboost.com' },
npm sill resolved contributors: [ [Object], [Object], [Object], [Object] ],
npm sill resolved repository:
npm sill resolved { type: 'git',
npm sill resolved url: 'https://github.com/LearnBoost/socket.io.git' },
npm sill resolved dependencies:
npm sill resolved { 'socket.io-client': '0.9.11',
npm sill resolved policyfile: '0.0.4',
npm sill resolved base64id: '0.1.0',
npm sill resolved redis: '0.7.3' },
npm sill resolved devDependencies:
npm sill resolved { expresso: '0.9.2',
npm sill resolved should: '*',
npm sill resolved benchmark: '0.2.2',
npm sill resolved microtime: '0.1.3-1',
npm sill resolved colors: '0.5.1' },
npm sill resolved optionalDependencies: { redis: '0.7.3' },
npm sill resolved main: 'index',
npm sill resolved engines: { node: '>= 0.4.0' },
npm sill resolved scripts: { test: 'make test' },
npm sill resolved readme: '# Socket.IO\n\nSocket.IO is a Node.JS project that makes WebSockets and realtime possible in\nall browsers. It also enhances WebSockets by providing built-in multiplexing,\nhorizontal scalability, automatic JSON encoding/decoding, and more.\n\n## How to Install\n\n```bash\nnpm install socket.io\n```\n\n## How to use\n\nFirst, require `socket.io`:\n\n```js\nvar io = require(\'socket.io\');\n```\n\nNext, attach it to a HTTP/HTTPS server. If you\'re using the fantastic `express`\nweb framework:\n\n#### Express 3.x\n\n```js\nvar app = express()\n , server = require(\'http\').createServer(app)\n , io = io.listen(server);\n\nserver.listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.emit(\'news\', { hello: \'world\' });\n socket.on(\'my other event\', function (data) {\n console.log(data);\n });\n});\n```\n\n#### Express 2.x\n\n```js\nvar app = express.createServer()\n , io = io.listen(app);\n\napp.listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.emit(\'news\', { hello: \'world\' });\n socket.on(\'my other event\', function (data) {\n console.log(data);\n });\n});\n```\n\nFinally, load it from the client side code:\n\n```html\n<script src="/socket.io/socket.io.js"></script>\n<script>\n var socket = io.connect(\'http://localhost\');\n socket.on(\'news\', function (data) {\n console.log(data);\n socket.emit(\'my other event\', { my: \'data\' });\n });\n</script>\n```\n\nFor more thorough examples, look at the `examples/` directory.\n\n## Short recipes\n\n### Sending and receiving events.\n\nSocket.IO allows you to emit and receive custom events.\nBesides `connect`, `message` and `disconnect`, you can emit custom events:\n\n```js\n// note, io.listen(<port>) will create a http server for you\nvar io = require(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n io.sockets.emit(\'this\', { will: \'be received by everyone\' });\n\n socket.on(\'private message\', function (from, msg) {\n console.log(\'I received a private message by \', from, \' saying \', msg);\n });\n\n socket.on(\'disconnect\', function () {\n io.sockets.emit(\'user disconnected\');\n });\n});\n```\n\n### Storing data associated to a client\n\nSometimes it\'s necessary to store data associated with a client that\'s\nnecessary for the duration of the session.\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.on(\'set nickname\', function (name) {\n socket.set(\'nickname\', name, function () { socket.emit(\'ready\'); });\n });\n\n socket.on(\'msg\', function () {\n socket.get(\'nickname\', function (err, name) {\n console.log(\'Chat message by \', name);\n });\n });\n});\n```\n\n#### Client side\n\n```html\n<script>\n var socket = io.connect(\'http://localhost\');\n\n socket.on(\'connect\', function () {\n socket.emit(\'set nickname\', prompt(\'What is your nickname?\'));\n socket.on(\'ready\', function () {\n console.log(\'Connected !\');\n socket.emit(\'msg\', prompt(\'What is your message?\'));\n });\n });\n</script>\n```\n\n### Restricting yourself to a namespace\n\nIf you have control over all the messages and events emitted for a particular\napplication, using the default `/` namespace works.\n\nIf you want to leverage 3rd-party code, or produce code to share with others,\nsocket.io provides a way of namespacing a `socket`.\n\nThis has the benefit of `multiplexing` a single connection. Instead of\nsocket.io using two `WebSocket` connections, it\'ll use one.\n\nThe following example defines a socket that listens on \'/chat\' and one for\n\'/news\':\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nvar chat = io\n .of(\'/chat\')\n .on(\'connection\', function (socket) {\n socket.emit(\'a message\', { that: \'only\', \'/chat\': \'will get\' });\n chat.emit(\'a message\', { everyone: \'in\', \'/chat\': \'will get\' });\n });\n\nvar news = io\n .of(\'/news\');\n .on(\'connection\', function (socket) {\n socket.emit(\'item\', { news: \'item\' });\n });\n```\n\n#### Client side:\n\n```html\n<script>\n var chat = io.connect(\'http://localhost/chat\')\n , news = io.connect(\'http://localhost/news\');\n\n chat.on(\'connect\', function () {\n chat.emit(\'hi!\');\n });\n\n news.on(\'news\', function () {\n news.emit(\'woot\');\n });\n</script>\n```\n\n### Sending volatile messages.\n\nSometimes certain messages can be dropped. Let\'s say you have an app that\nshows realtime tweets for the keyword `bieber`. \n\nIf a certain client is not ready to receive messages (because of network slowness\nor other issues, or because he\'s connected through long polling and is in the\nmiddle of a request-response cycle), if he doesn\'t receive ALL the tweets related\nto bieber your application won\'t suffer.\n\nIn that case, you might want to send those messages as volatile messages.\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n var tweets = setInterval(function () {\n getBieberTweet(function (tweet) {\n socket.volatile.emit(\'bieber tweet\', tweet);\n });\n }, 100);\n\n socket.on(\'disconnect\', function () {\n clearInterval(tweets);\n });\n});\n```\n\n#### Client side\n\nIn the client side, messages are received the same way whether they\'re volatile\nor not.\n\n### Getting acknowledgements\n\nSometimes, you might want to get a callback when the client confirmed the message\nreception.\n\nTo do this, simply pass a function as the last parameter of `.send` or `.emit`.\nWhat\'s more, when you use `.emit`, the acknowledgement is done by you, which\nmeans you can also pass data along:\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.on(\'ferret\', function (name, fn) {\n fn(\'woot\');\n });\n});\n```\n\n#### Client side\n\n```html\n<script>\n var socket = io.connect(); // TIP: .connect with no args does auto-discovery\n socket.on(\'connect\', function () { // TIP: you can avoid listening on `connect` and listen on events directly too!\n socket.emit(\'ferret\', \'tobi\', function (data) {\n console.log(data); // data will be \'woot\'\n });\n });\n</script>\n```\n\n### Broadcasting messages\n\nTo broadcast, simply add a `broadcast` flag to `emit` and `send` method calls.\nBroadcasting means sending a message to everyone else except for the socket\nthat starts it.\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.broadcast.emit(\'user connected\');\n socket.broadcast.json.send({ a: \'message\' });\n});\n```\n\n### Rooms\n\nSometimes you want to put certain sockets in the same room, so that it\'s easy\nto broadcast to all of them together.\n\nThink of this as built-in channels for sockets. Sockets `join` and `leave`\nrooms in each socket.\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.join(\'justin bieber fans\');\n socket.broadcast.to(\'justin bieber fans\').emit(\'new fan\');\n io.sockets.in(\'rammstein fans\').emit(\'new non-fan\');\n});\n```\n\n### Using it just as a cross-browser WebSocket\n\nIf you just want the WebSocket semantics, you can do that too.\nSimply leverage `send` and listen on the `message` event:\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nio.sockets.on(\'connection\', function (socket) {\n socket.on(\'message\', function () { });\n socket.on(\'disconnect\', function () { });\n});\n```\n\n#### Client side\n\n```html\n<script>\n var socket = io.connect(\'http://localhost/\');\n socket.on(\'connect\', function () {\n socket.send(\'hi\');\n\n socket.on(\'message\', function (msg) {\n // my msg\n });\n });\n</script>\n```\n\n### Changing configuration\n\nConfiguration in socket.io is TJ-style:\n\n#### Server side\n\n```js\nvar io = require(\'socket.io\').listen(80);\n\nio.configure(function () {\n io.set(\'transports\', [\'websocket\', \'flashsocket\', \'xhr-polling\']);\n});\n\nio.configure(\'development\', function () {\n io.set(\'transports\', [\'websocket\', \'xhr-polling\']);\n io.enable(\'log\');\n});\n```\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 Guillermo Rauch &lt;guillermo@learnboost.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
npm sill resolved readmeFilename: 'Readme.md',
npm sill resolved _id: 'socket.io@0.9.13',
npm sill resolved _from: 'socket.io@' } ]
npm info install socket.io@0.9.13 into /root
npm info installOne socket.io@0.9.13
npm verb from cache /root/.npm/socket.io/0.9.13/package/package.json
npm info /root/node_modules/socket.io unbuild
npm verb from cache /root/node_modules/socket.io/package.json
npm info preuninstall socket.io@0.9.13
npm info uninstall socket.io@0.9.13
npm verb true,/root/node_modules,/root/node_modules unbuild socket.io@0.9.13
npm info postuninstall socket.io@0.9.13
npm verb tar unpack /root/.npm/socket.io/0.9.13/package.tgz
npm sill lockFile b5755966-root-node-modules-socket-io /root/node_modules/socket.io
npm verb lock /root/node_modules/socket.io /root/.npm/b5755966-root-node-modules-socket-io.lock
npm sill lockFile f5432bf5-npm-socket-io-0-9-13-package-tgz /root/.npm/socket.io/0.9.13/package.tgz
npm verb lock /root/.npm/socket.io/0.9.13/package.tgz /root/.npm/f5432bf5-npm-socket-io-0-9-13-package-tgz.lock
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry LICENSE
npm sill gunzTarPerm extractEntry index.js
npm sill gunzTarPerm extractEntry .travis.yml
npm sill gunzTarPerm extractEntry History.md
npm sill gunzTarPerm extractEntry Makefile
npm sill gunzTarPerm extractEntry Readme.md
npm sill gunzTarPerm extractEntry benchmarks/decode.bench.js
npm sill gunzTarPerm extractEntry benchmarks/encode.bench.js
npm sill gunzTarPerm extractEntry benchmarks/runner.js
npm sill gunzTarPerm extractEntry lib/index.js
npm sill gunzTarPerm extractEntry lib/manager.js
npm sill gunzTarPerm extractEntry lib/namespace.js
npm sill gunzTarPerm extractEntry lib/parser.js
npm sill gunzTarPerm extractEntry lib/socket.io.js
npm sill gunzTarPerm extractEntry lib/logger.js
npm sill gunzTarPerm extractEntry lib/static.js
npm sill gunzTarPerm extractEntry lib/store.js
npm sill gunzTarPerm extractEntry lib/transport.js
npm sill gunzTarPerm extractEntry lib/util.js
npm sill gunzTarPerm extractEntry lib/socket.js
npm sill gunzTarPerm extractEntry lib/stores/memory.js
npm sill gunzTarPerm extractEntry lib/stores/redis.js
npm sill gunzTarPerm extractEntry lib/transports/flashsocket.js
npm sill gunzTarPerm extractEntry lib/transports/htmlfile.js
npm sill gunzTarPerm extractEntry lib/transports/http-polling.js
npm sill gunzTarPerm extractEntry lib/transports/http.js
npm sill gunzTarPerm extractEntry lib/transports/index.js
npm sill gunzTarPerm extractEntry lib/transports/jsonp-polling.js
npm sill gunzTarPerm extractEntry lib/transports/websocket.js
npm sill gunzTarPerm extractEntry lib/transports/xhr-polling.js
npm sill gunzTarPerm extractEntry lib/transports/websocket/default.js
npm sill gunzTarPerm extractEntry lib/transports/websocket/hybi-07-12.js
npm sill gunzTarPerm extractEntry lib/transports/websocket/hybi-16.js
npm sill gunzTarPerm extractEntry lib/transports/websocket/index.js
npm verb read json /root/node_modules/socket.io/package.json
npm sill lockFile b5755966-root-node-modules-socket-io /root/node_modules/socket.io
npm sill lockFile b5755966-root-node-modules-socket-io /root/node_modules/socket.io
npm sill lockFile f5432bf5-npm-socket-io-0-9-13-package-tgz /root/.npm/socket.io/0.9.13/package.tgz
npm sill lockFile f5432bf5-npm-socket-io-0-9-13-package-tgz /root/.npm/socket.io/0.9.13/package.tgz
npm info preinstall socket.io@0.9.13
npm verb from cache /root/node_modules/socket.io/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/package.json
npm verb readDependencies using package.json deps
npm verb cache add [ 'base64id@0.1.0', null ]
npm verb cache add name=undefined spec="base64id@0.1.0" args=["base64id@0.1.0",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'base64id@0.1.0',
npm verb parsed url path: 'base64id@0.1.0',
npm verb parsed url href: 'base64id@0.1.0' }
npm verb cache add name="base64id" spec="0.1.0" args=["base64id","0.1.0"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.1.0',
npm verb parsed url path: '0.1.0',
npm verb parsed url href: '0.1.0' }
npm verb addNamed [ 'base64id', '0.1.0' ]
npm verb addNamed [ '0.1.0', '0.1.0' ]
npm sill lockFile b2185bf4-base64id-0-1-0 base64id@0.1.0
npm verb lock base64id@0.1.0 /root/.npm/b2185bf4-base64id-0-1-0.lock
npm verb cache add [ 'redis@0.7.3', null ]
npm verb cache add name=undefined spec="redis@0.7.3" args=["redis@0.7.3",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'redis@0.7.3',
npm verb parsed url path: 'redis@0.7.3',
npm verb parsed url href: 'redis@0.7.3' }
npm verb cache add name="redis" spec="0.7.3" args=["redis","0.7.3"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.7.3',
npm verb parsed url path: '0.7.3',
npm verb parsed url href: '0.7.3' }
npm verb addNamed [ 'redis', '0.7.3' ]
npm verb addNamed [ '0.7.3', '0.7.3' ]
npm sill lockFile 10399cfa-redis-0-7-3 redis@0.7.3
npm verb lock redis@0.7.3 /root/.npm/10399cfa-redis-0-7-3.lock
npm verb cache add [ 'socket.io-client@0.9.11', null ]
npm verb cache add name=undefined spec="socket.io-client@0.9.11" args=["socket.io-client@0.9.11",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'socket.io-client@0.9.11',
npm verb parsed url path: 'socket.io-client@0.9.11',
npm verb parsed url href: 'socket.io-client@0.9.11' }
npm verb cache add name="socket.io-client" spec="0.9.11" args=["socket.io-client","0.9.11"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.9.11',
npm verb parsed url path: '0.9.11',
npm verb parsed url href: '0.9.11' }
npm verb addNamed [ 'socket.io-client', '0.9.11' ]
npm verb addNamed [ '0.9.11', '0.9.11' ]
npm sill lockFile 32416c18-socket-io-client-0-9-11 socket.io-client@0.9.11
npm verb lock socket.io-client@0.9.11 /root/.npm/32416c18-socket-io-client-0-9-11.lock
npm verb cache add [ 'policyfile@0.0.4', null ]
npm verb cache add name=undefined spec="policyfile@0.0.4" args=["policyfile@0.0.4",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'policyfile@0.0.4',
npm verb parsed url path: 'policyfile@0.0.4',
npm verb parsed url href: 'policyfile@0.0.4' }
npm verb cache add name="policyfile" spec="0.0.4" args=["policyfile","0.0.4"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.0.4',
npm verb parsed url path: '0.0.4',
npm verb parsed url href: '0.0.4' }
npm verb addNamed [ 'policyfile', '0.0.4' ]
npm verb addNamed [ '0.0.4', '0.0.4' ]
npm sill lockFile 8b99131a-policyfile-0-0-4 policyfile@0.0.4
npm verb lock policyfile@0.0.4 /root/.npm/8b99131a-policyfile-0-0-4.lock
npm verb url raw base64id/0.1.0
npm verb url resolving [ 'https://registry.npmjs.org/', './base64id/0.1.0' ]
npm verb url resolved https://registry.npmjs.org/base64id/0.1.0
npm info trying registry request attempt 1 at 05:13:54
npm verb etag "54G5ARBWMZRGO1QDSEBHD5SZ3"
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm verb url raw redis/0.7.3
npm verb url resolving [ 'https://registry.npmjs.org/', './redis/0.7.3' ]
npm verb url resolved https://registry.npmjs.org/redis/0.7.3
npm info trying registry request attempt 1 at 05:13:54
npm verb etag "AGCBOT7Z975TR6NQK0DWUULKZ"
npm http GET https://registry.npmjs.org/redis/0.7.3
npm verb url raw socket.io-client/0.9.11
npm verb url resolving [ 'https://registry.npmjs.org/', './socket.io-client/0.9.11' ]
npm verb url resolved https://registry.npmjs.org/socket.io-client/0.9.11
npm info trying registry request attempt 1 at 05:13:54
npm verb etag "8Q0JGPI1UPTT4JFR86SUL6A3O"
npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
npm verb url raw policyfile/0.0.4
npm verb url resolving [ 'https://registry.npmjs.org/', './policyfile/0.0.4' ]
npm verb url resolved https://registry.npmjs.org/policyfile/0.0.4
npm info trying registry request attempt 1 at 05:13:54
npm verb etag "A7BYPC9Z5OBR3LGDTTIC9ESNC"
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"AGCBOT7Z975TR6NQK0DWUULKZ"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:55 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag redis/0.7.3 from cache
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"8Q0JGPI1UPTT4JFR86SUL6A3O"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:55 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag socket.io-client/0.9.11 from cache
npm verb read json /root/.npm/redis/0.7.3/package/package.json
npm verb read json /root/.npm/socket.io-client/0.9.11/package/package.json
npm sill lockFile 10399cfa-redis-0-7-3 redis@0.7.3
npm sill lockFile 10399cfa-redis-0-7-3 redis@0.7.3
npm sill lockFile 32416c18-socket-io-client-0-9-11 socket.io-client@0.9.11
npm sill lockFile 32416c18-socket-io-client-0-9-11 socket.io-client@0.9.11
npm http 304 https://registry.npmjs.org/base64id/0.1.0
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"54G5ARBWMZRGO1QDSEBHD5SZ3"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:55 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag base64id/0.1.0 from cache
npm verb read json /root/.npm/base64id/0.1.0/package/package.json
npm sill lockFile b2185bf4-base64id-0-1-0 base64id@0.1.0
npm sill lockFile b2185bf4-base64id-0-1-0 base64id@0.1.0
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"A7BYPC9Z5OBR3LGDTTIC9ESNC"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:55 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag policyfile/0.0.4 from cache
npm verb read json /root/.npm/policyfile/0.0.4/package/package.json
npm sill lockFile 8b99131a-policyfile-0-0-4 policyfile@0.0.4
npm sill lockFile 8b99131a-policyfile-0-0-4 policyfile@0.0.4
npm sill resolved [ { name: 'redis',
npm sill resolved version: '0.7.3',
npm sill resolved description: 'Redis client library',
npm sill resolved author: { name: 'Matt Ranney', email: 'mjr@ranney.com' },
npm sill resolved maintainers: [ [Object] ],
npm sill resolved main: './index.js',
npm sill resolved scripts: { test: 'node ./test.js' },
npm sill resolved devDependencies: { metrics: '>=0.1.5' },
npm sill resolved repository: { type: 'git', url: 'git://github.com/mranney/node_redis.git' },
npm sill resolved readme: 'redis - a node.js redis client\n===========================\n\nThis is a complete Redis client for node.js. It supports all Redis commands, including many recently added commands like EVAL from\nexperimental Redis server branches.\n\n\nInstall with:\n\n npm install redis\n\nPieter Noordhuis has provided a binding to the official `hiredis` C library, which is non-blocking and fast. To use `hiredis`, do:\n\n npm install hiredis redis\n\nIf `hiredis` is installed, `node_redis` will use it by default. Otherwise, a pure JavaScript parser will be used.\n\nIf you use `hiredis`, be sure to rebuild it whenever you upgrade your version of node. There are mysterious failures that can\nhappen between node and native code modules after a node upgrade.\n\n\n## Usage\n\nSimple example, included as `examples/simple.js`:\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n // if you\'d like to select database 3, instead of 0 (default), call\n // client.select(3, function() { /* ... */ });\n\n client.on("error", function (err) {\n console.log("Error " + err);\n });\n\n client.set("string key", "string val", redis.print);\n client.hset("hash key", "hashtest 1", "some value", redis.print);\n client.hset(["hash key", "hashtest 2", "some other value"], redis.print);\n client.hkeys("hash key", function (err, replies) {\n console.log(replies.length + " replies:");\n replies.forEach(function (reply, i) {\n console.log(" " + i + ": " + reply);\n });\n client.quit();\n });\n```\n\nThis will display:\n\n mjr:~/work/node_redis (master)$ node example.js\n Reply: OK\n Reply: 0\n Reply: 0\n 2 replies:\n 0: hashtest 1\n 1: hashtest 2\n mjr:~/work/node_redis (master)$\n\n\n## Performance\n\nHere are typical results of `multi_bench.js` which is similar to `redis-benchmark` from the Redis distribution.\nIt uses 50 concurrent connections with no pipelining.\n\nJavaScript parser:\n\n PING: 20000 ops 42283.30 ops/sec 0/5/1.182\n SET: 20000 ops 32948.93 ops/sec 1/7/1.515\n GET: 20000 ops 28694.40 ops/sec 0/9/1.740\n INCR: 20000 ops 39370.08 ops/sec 0/8/1.269\n LPUSH: 20000 ops 36429.87 ops/sec 0/8/1.370\n LRANGE (10 elements): 20000 ops 9891.20 ops/sec 1/9/5.048\n LRANGE (100 elements): 20000 ops 1384.56 ops/sec 10/91/36.072\n\nhiredis parser:\n\n PING: 20000 ops 46189.38 ops/sec 1/4/1.082\n SET: 20000 ops 41237.11 ops/sec 0/6/1.210\n GET: 20000 ops 39682.54 ops/sec 1/7/1.257\n INCR: 20000 ops 40080.16 ops/sec 0/8/1.242\n LPUSH: 20000 ops 41152.26 ops/sec 0/3/1.212\n LRANGE (10 elements): 20000 ops 36563.07 ops/sec 1/8/1.363\n LRANGE (100 elements): 20000 ops 21834.06 ops/sec 0/9/2.287\n\nThe performance of `node_redis` improves dramatically with pipelining, which happens automatically in most normal programs.\n\n\n### Sending Commands\n\nEach Redis command is exposed as a function on the `client` object.\nAll functions take either an `args` Array plus optional `callback` Function or\na variable number of individual arguments followed by an optional callback.\nHere is an example of passing an array of arguments and a callback:\n\n client.mset(["test keys 1", "test val 1", "test keys 2", "test val 2"], function (err, res) {});\n\nHere is that same call in the second style:\n\n client.mset("test keys 1", "test val 1", "test keys 2", "test val 2", function (err, res) {});\n\nNote that in either form the `callback` is optional:\n\n client.set("some key", "some val");\n client.set(["some other key", "some val"]);\n\nIf the key is missing, reply will be null (probably):\n\n client.get("missingkey", function(err, reply) {\n // reply is null when the key is missing\n console.log(reply);\n });\n\nFor a list of Redis commands, see [Redis Command Reference](http://redis.io/commands)\n\nThe commands can be specified in uppercase or lowercase for convenience. `client.get()` is the same as `client.GET()`.\n\nMinimal parsing is done on the replies. Commands that return a single line reply return JavaScript Strings,\ninteger replies return JavaScript Numbers, "bulk" replies return node Buffers, and "multi bulk" replies return a\nJavaScript Array of node Buffers. `HGETALL` returns an Object with Buffers keyed by the hash keys.\n\n# API\n\n## Connection Events\n\n`client` will emit some events about the state of the connection to the Redis server.\n\n### "ready"\n\n`client` will emit `ready` a connection is established to the Redis server and the server reports\nthat it is ready to receive commands. Commands issued before the `ready` event are queued,\nthen replayed just before this event is emitted.\n\n### "connect"\n\n`client` will emit `connect` at the same time as it emits `ready` unless `client.options.no_ready_check`\nis set. If this options is set, `connect` will be emitted when the stream is connected, and then\nyou are free to try to send commands.\n\n### "error"\n\n`client` will emit `error` when encountering an error connecting to the Redis server.\n\nNote that "error" is a special event type in node. If there are no listeners for an\n"error" event, node will exit. This is usually what you want, but it can lead to some\ncryptic error messages like this:\n\n mjr:~/work/node_redis (master)$ node example.js\n\n node.js:50\n throw e;\n ^\n Error: ECONNREFUSED, Connection refused\n at IOWatcher.callback (net:870:22)\n at node.js:607:9\n\nNot very useful in diagnosing the problem, but if your program isn\'t ready to handle this,\nit is probably the right thing to just exit.\n\n`client` will also emit `error` if an exception is thrown inside of `node_redis` for whatever reason.\nIt would be nice to distinguish these two cases.\n\n### "end"\n\n`client` will emit `end` when an established Redis server connection has closed.\n\n### "drain"\n\n`client` will emit `drain` when the TCP connection to the Redis server has been buffering, but is now\nwritable. This event can be used to stream commands in to Redis and adapt to backpressure. Right now,\nyou need to check `client.command_queue.length` to decide when to reduce your send rate. Then you can\nresume sending when you get `drain`.\n\n### "idle"\n\n`client` will emit `idle` when there are no outstanding commands that are awaiting a response.\n\n## redis.createClient(port, host, options)\n\nCreate a new client connection. `port` defaults to `6379` and `host` defaults\nto `127.0.0.1`. If you have `redis-server` running on the same computer as node, then the defaults for\nport and host are probably fine. `options` in an object with the following possible properties:\n\n* `parser`: which Redis protocol reply parser to use. Defaults to `hiredis` if that module is installed.\nThis may also be set to `javascript`.\n* `return_buffers`: defaults to `false`. If set to `true`, then all replies will be sent to callbacks as node Buffer\nobjects instead of JavaScript Strings.\n* `detect_buffers`: default to `false`. If set to `true`, then replies will be sent to callbacks as node Buffer objects\nif any of the input arguments to the original command were Buffer objects.\nThis option lets you switch between Buffers and Strings on a per-command basis, whereas `return_buffers` applies to\nevery command on a client.\n* `socket_nodelay`: defaults to `true`. Whether to call setNoDelay() on the TCP stream, which disables the\nNagle algorithm on the underlying socket. Setting this option to `false` can result in additional throughput at the\ncost of more latency. Most applications will want this set to `true`.\n* `no_ready_check`: defaults to `false`. When a connection is established to the Redis server, the server might still\nbe loading the database from disk. While loading, the server not respond to any commands. To work around this,\n`node_redis` has a "ready check" which sends the `INFO` command to the server. The response from the `INFO` command\nindicates whether the server is ready for more commands. When ready, `node_redis` emits a `ready` event.\nSetting `no_ready_check` to `true` will inhibit this check.\n* `enable_offline_queue`: defaults to `true`. By default, if there is no active\nconnection to the redis server, commands are added to a queue and are executed\nonce the connection has been established. Setting `enable_offline_queue` to\n`false` will disable this feature and the callback will be execute immediately\nwith an error, or an error will be thrown if no callback is specified.\n\n```js\n var redis = require("redis"),\n client = redis.createClient(null, null, {detect_buffers: true});\n\n client.set("foo_rand000000000000", "OK");\n\n // This will return a JavaScript String\n client.get("foo_rand000000000000", function (err, reply) {\n console.log(reply.toString()); // Will print `OK`\n });\n\n // This will return a Buffer since original key is specified as a Buffer\n client.get(new Buffer("foo_rand000000000000"), function (err, reply) {\n console.log(reply.toString()); // Will print `<Buffer 4f 4b>`\n });\n client.end();\n```\n\n`createClient()` returns a `RedisClient` object that is named `client` in all of the examples here.\n\n## client.auth(password, callback)\n\nWhen connecting to Redis servers that require authentication, the `AUTH` command must be sent as the\nfirst command after connecting. This can be tricky to coordinate with reconnections, the ready check,\netc. To make this easier, `client.auth()` stashes `password` and will send it after each connection,\nincluding reconnections. `callback` is invoked only once, after the response to the very first\n`AUTH` command sent.\nNOTE: Your call to `client.auth()` should not be inside the ready handler. If\nyou are doing this wrong, `client` will emit an error that looks\nsomething like this `Error: Ready check failed: ERR operation not permitted`.\n\n## client.end()\n\nForcibly close the connection to the Redis server. Note that this does not wait until all replies have been parsed.\nIf you want to exit cleanly, call `client.quit()` to send the `QUIT` command after you have handled all replies.\n\nThis example closes the connection to the Redis server before the replies have been read. You probably don\'t\nwant to do this:\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n client.set("foo_rand000000000000", "some fantastic value");\n client.get("foo_rand000000000000", function (err, reply) {\n console.log(reply.toString());\n });\n client.end();\n```\n\n`client.end()` is useful for timeout cases where something is stuck or taking too long and you want\nto start over.\n\n## Friendlier hash commands\n\nMost Redis commands take a single String or an Array of Strings as arguments, and replies are sent back as a single String or an Array of Strings.\nWhen dealing with hash values, there are a couple of useful exceptions to this.\n\n### client.hgetall(hash)\n\nThe reply from an HGETALL command will be converted into a JavaScript Object by `node_redis`. That way you can interact\nwith the responses using JavaScript syntax.\n\nExample:\n\n client.hmset("hosts", "mjr", "1", "another", "23", "home", "1234");\n client.hgetall("hosts", function (err, obj) {\n console.dir(obj);\n });\n\nOutput:\n\n { mjr: \'1\', another: \'23\', home: \'1234\' }\n\n### client.hmset(hash, obj, [callback])\n\nMultiple values in a hash can be set by supplying an object:\n\n client.HMSET(key2, {\n "0123456789": "abcdefghij", // NOTE: the key and value must both be strings\n "some manner of key": "a type of value"\n });\n\nThe properties and values of this Object will be set as keys and values in the Redis hash.\n\n### client.hmset(hash, key1, val1, ... keyn, valn, [callback])\n\nMultiple values may also be set by supplying a list:\n\n client.HMSET(key1, "0123456789", "abcdefghij", "some manner of key", "a type of value");\n\n\n## Publish / Subscribe\n\nHere is a simple example of the API for publish / subscribe. This program opens two\nclient connections, subscribes to a channel on one of them, and publishes to that\nchannel on the other:\n\n```js\n var redis = require("redis"),\n client1 = redis.createClient(), client2 = redis.createClient(),\n msg_count = 0;\n\n client1.on("subscribe", function (channel, count) {\n client2.publish("a nice channel", "I am sending a message.");\n client2.publish("a nice channel", "I am sending a second message.");\n client2.publish("a nice channel", "I am sending my last message.");\n });\n\n client1.on("message", function (channel, message) {\n console.log("client1 channel " + channel + ": " + message);\n msg_count += 1;\n if (msg_count === 3) {\n client1.unsubscribe();\n client1.end();\n client2.end();\n }\n });\n\n client1.incr("did a thing");\n client1.subscribe("a nice channel");\n```\n\nWhen a client issues a `SUBSCRIBE` or `PSUBSCRIBE`, that connection is put into "pub/sub" mode.\nAt that point, only commands that modify the subscription set are valid. When the subscription\nset is empty, the connection is put back into regular mode.\n\nIf you need to send regular commands to Redis while in pub/sub mode, just open another connection.\n\n## Pub / Sub Events\n\nIf a client has subscriptions active, it may emit these events:\n\n### "message" (channel, message)\n\nClient will emit `message` for every message received that matches an active subscription.\nListeners are passed the channel name as `channel` and the message Buffer as `message`.\n\n### "pmessage" (pattern, channel, message)\n\nClient will emit `pmessage` for every message received that matches an active subscription pattern.\nListeners are passed the original pattern used with `PSUBSCRIBE` as `pattern`, the sending channel\nname as `channel`, and the message Buffer as `message`.\n\n### "subscribe" (channel, count)\n\nClient will emit `subscribe` in response to a `SUBSCRIBE` command. Listeners are passed the\nchannel name as `channel` and the new count of subscriptions for this client as `count`.\n\n### "psubscribe" (pattern, count)\n\nClient will emit `psubscribe` in response to a `PSUBSCRIBE` command. Listeners are passed the\noriginal pattern as `pattern`, and the new count of subscriptions for this client as `count`.\n\n### "unsubscribe" (channel, count)\n\nClient will emit `unsubscribe` in response to a `UNSUBSCRIBE` command. Listeners are passed the\nchannel name as `channel` and the new count of subscriptions for this client as `count`. When\n`count` is 0, this client has left pub/sub mode and no more pub/sub events will be emitted.\n\n### "punsubscribe" (pattern, count)\n\nClient will emit `punsubscribe` in response to a `PUNSUBSCRIBE` command. Listeners are passed the\nchannel name as `channel` and the new count of subscriptions for this client as `count`. When\n`count` is 0, this client has left pub/sub mode and no more pub/sub events will be emitted.\n\n## client.multi([commands])\n\n`MULTI` commands are queued up until an `EXEC` is issued, and then all commands are run atomically by\nRedis. The interface in `node_redis` is to return an individual `Multi` object by calling `client.multi()`.\n\n```js\n var redis = require("./index"),\n client = redis.createClient(), set_size = 20;\n\n client.sadd("bigset", "a member");\n client.sadd("bigset", "another member");\n\n while (set_size > 0) {\n client.sadd("bigset", "member " + set_size);\n set_size -= 1;\n }\n\n // multi chain with an individual callback\n client.multi()\n .scard("bigset")\n .smembers("bigset")\n .keys("*", function (err, replies) {\n // NOTE: code in this callback is NOT atomic\n // this only happens after the the .exec call finishes.\n client.mget(replies, redis.print);\n })\n .dbsize()\n .exec(function (err, replies) {\n console.log("MULTI got " + replies.length + " replies");\n replies.forEach(function (reply, index) {\n console.log("Reply " + index + ": " + reply.toString());\n });\n });\n```\n\n`client.multi()` is a constructor that returns a `Multi` object. `Multi` objects share all of the\nsame command methods as `client` objects do. Commands are queued up inside the `Multi` object\nuntil `Multi.exec()` is invoked.\n\nYou can either chain together `MULTI` commands as in the above example, or you can queue individual\ncommands while still sending regular client command as in this example:\n\n```js\n var redis = require("redis"),\n client = redis.createClient(), multi;\n\n // start a separate multi command queue\n multi = client.multi();\n multi.incr("incr thing", redis.print);\n multi.incr("incr other thing", redis.print);\n\n // runs immediately\n client.mset("incr thing", 100, "incr other thing", 1, redis.print);\n\n // drains multi queue and runs atomically\n multi.exec(function (err, replies) {\n console.log(replies); // 101, 2\n });\n\n // you can re-run the same transaction if you like\n multi.exec(function (err, replies) {\n console.log(replies); // 102, 3\n client.quit();\n });\n```\n\nIn addition to adding commands to the `MULTI` queue individually, you can also pass an array\nof commands and arguments to the constructor:\n\n```js\n var redis = require("redis"),\n client = redis.createClient(), multi;\n\n client.multi([\n ["mget", "multifoo", "multibar", redis.print],\n ["incr", "multifoo"],\n ["incr", "multibar"]\n ]).exec(function (err, replies) {\n console.log(replies);\n });\n```\n\n\n## Monitor mode\n\nRedis supports the `MONITOR` command, which lets you see all commands received by the Redis server\nacross all client connections, including from other client libraries and other computers.\n\nAfter you send the `MONITOR` command, no other commands are valid on that connection. `node_redis`\nwill emit a `monitor` event for every new monitor message that comes across. The callback for the\n`monitor` event takes a timestamp from the Redis server and an array of command arguments.\n\nHere is a simple example:\n\n```js\n var client = require("redis").createClient(),\n util = require("util");\n\n client.monitor(function (err, res) {\n console.log("Entering monitoring mode.");\n });\n\n client.on("monitor", function (time, args) {\n console.log(time + ": " + util.inspect(args));\n });\n```\n\n# Extras\n\nSome other things you might like to know about.\n\n## client.server_info\n\nAfter the ready probe completes, the results from the INFO command are saved in the `client.server_info`\nobject.\n\nThe `versions` key contains an array of the elements of the version string for easy comparison.\n\n > client.server_info.redis_version\n \'2.3.0\'\n > client.server_info.versions\n [ 2, 3, 0 ]\n\n## redis.print()\n\nA handy callback function for displaying return values when testing. Example:\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n client.on("connect", function () {\n client.set("foo_rand000000000000", "some fantastic value", redis.print);\n client.get("foo_rand000000000000", redis.print);\n });\n```\n\nThis will print:\n\n Reply: OK\n Reply: some fantastic value\n\nNote that this program will not exit cleanly because the client is still connected.\n\n## redis.debug_mode\n\nBoolean to enable debug mode and protocol tracing.\n\n```js\n var redis = require("redis"),\n client = redis.createClient();\n\n redis.debug_mode = true;\n\n client.on("connect", function () {\n client.set("foo_rand000000000000", "some fantastic value");\n });\n```\n\nThis will display:\n\n mjr:~/work/node_redis (master)$ node ~/example.js\n send command: *3\n $3\n SET\n $20\n foo_rand000000000000\n $20\n some fantastic value\n\n on_data: +OK\n\n`send command` is data sent into Redis and `on_data` is data received from Redis.\n\n## client.send_command(command_name, args, callback)\n\nUsed internally to send commands to Redis. For convenience, nearly all commands that are published on the Redis\nWiki have been added to the `client` object. However, if I missed any, or if new commands are introduced before\nthis library is updated, you can use `send_command()` to send arbitrary commands to Redis.\n\nAll commands are sent as multi-bulk commands. `args` can either be an Array of arguments, or omitted.\n\n## client.connected\n\nBoolean tracking the state of the connection to the Redis server.\n\n## client.command_queue.length\n\nThe number of commands that have been sent to the Redis server but not yet replied to. You can use this to\nenforce some kind of maximum queue depth for commands while connected.\n\nDon\'t mess with `client.command_queue` though unless you really know what you are doing.\n\n## client.offline_queue.length\n\nThe number of commands that have been queued up for a future connection. You can use this to enforce\nsome kind of maximum queue depth for pre-connection commands.\n\n## client.retry_delay\n\nCurrent delay in milliseconds before a connection retry will be attempted. This starts at `250`.\n\n## client.retry_backoff\n\nMultiplier for future retry timeouts. This should be larger than 1 to add more time between retries.\nDefaults to 1.7. The default initial connection retry is 250, so the second retry will be 425, followed by 723.5, etc.\n\n### Commands with Optional and Keyword arguments\n\nThis applies to anything that uses an optional `[WITHSCORES]` or `[LIMIT offset count]` in the [redis.io/commands](http://redis.io/commands) documentation.\n\nExample:\n```js\nvar args = [ \'myzset\', 1, \'one\', 2, \'two\', 3, \'three\', 99, \'ninety-nine\' ];\nclient.zadd(args, function (err, response) {\n if (err) throw err;\n console.log(\'added \'+response+\' items.\');\n\n // -Infinity and +Infinity also work\n var args1 = [ \'myzset\', \'+inf\', \'-inf\' ];\n client.zrevrangebyscore(args1, function (err, response) {\n if (err) throw err;\n console.log(\'example1\', response);\n // write your code here\n });\n\n var max = 3, min = 1, offset = 1, count = 2;\n var args2 = [ \'myzset\', max, min, \'WITHSCORES\', \'LIMIT\', offset, count ];\n client.zrevrangebyscore(args2, function (err, response) {\n if (err) throw err;\n console.log(\'example2\', response);\n // write your code here\n });\n});\n```\n\n## TODO\n\nBetter tests for auth, disconnect/reconnect, and all combinations thereof.\n\nStream large set/get values into and out of Redis. Otherwise the entire value must be in node\'s memory.\n\nPerformance can be better for very large values.\n\nI think there are more performance improvements left in there for smaller values, especially for large lists of small values.\n\n## How to Contribute\n- open a pull request and then wait for feedback (if\n [DTrejo](http://github.com/dtrejo) does not get back to you within 2 days,\n comment again with indignation!)\n\n## Contributors\nSome people have have added features and fixed bugs in `node_redis` other than me.\n\nOrdered by date of first contribution.\n[Auto-generated](http://github.com/dtrejo/node-authors) on Wed Jul 25 2012 19:14:59 GMT-0700 (PDT).\n\n- [Matt Ranney aka `mranney`](https://github.com/mranney)\n- [Tim-Smart aka `tim-smart`](https://github.com/tim-smart)\n- [Tj Holowaychuk aka `visionmedia`](https://github.com/visionmedia)\n- [rick aka `technoweenie`](https://github.com/technoweenie)\n- [Orion Henry aka `orionz`](https://github.com/orionz)\n- [Aivo Paas aka `aivopaas`](https://github.com/aivopaas)\n- [Hank Sims aka `hanksims`](https://github.com/hanksims)\n- [Paul Carey aka `paulcarey`](https://github.com/paulcarey)\n- [Pieter Noordhuis aka `pietern`](https://github.com/pietern)\n- [nithesh aka `nithesh`](https://github.com/nithesh)\n- [Andy Ray aka `andy2ray`](https://github.com/andy2ray)\n- [unknown aka `unknowdna`](https://github.com/unknowdna)\n- [Dave Hoover aka `redsquirrel`](https://github.com/redsquirrel)\n- [Vladimir Dronnikov aka `dvv`](https://github.com/dvv)\n- [Umair Siddique aka `umairsiddique`](https://github.com/umairsiddique)\n- [Louis-Philippe Perron aka `lp`](https://github.com/lp)\n- [Mark Dawson aka `markdaws`](https://github.com/markdaws)\n- [Ian Babrou aka `bobrik`](https://github.com/bobrik)\n- [Felix Geisendörfer aka `felixge`](https://github.com/felixge)\n- [Jean-Hugues Pinson aka `undefined`](https://github.com/undefined)\n- [Maksim Lin aka `maks`](https://github.com/maks)\n- [Owen Smith aka `orls`](https://github.com/orls)\n- [Zachary Scott aka `zzak`](https://github.com/zzak)\n- [TEHEK Firefox aka `TEHEK`](https://github.com/TEHEK)\n- [Isaac Z. Schlueter aka `isaacs`](https://github.com/isaacs)\n- [David Trejo aka `DTrejo`](https://github.com/DTrejo)\n- [Brian Noguchi aka `bnoguchi`](https://github.com/bnoguchi)\n- [Philip Tellis aka `bluesmoon`](https://github.com/bluesmoon)\n- [Marcus Westin aka `marcuswestin2`](https://github.com/marcuswestin2)\n- [Jed Schmidt aka `jed`](https://github.com/jed)\n- [Dave Peticolas aka `jdavisp3`](https://github.com/jdavisp3)\n- [Trae Robrock aka `trobrock`](https://github.com/trobrock)\n- [Shankar Karuppiah aka `shankar0306`](https://github.com/shankar0306)\n- [Ignacio Burgueño aka `ignacio`](https://github.com/ignacio)\n\nThanks.\n\n## LICENSE - "MIT License"\n\nCopyright (c) 2010 Matthew Ranney, http://ranney.com/\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the "Software"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n![spacer](http://ranney.com/1px.gif)\n',
npm sill resolved readmeFilename: 'README.md',
npm sill resolved _id: 'redis@0.7.3',
npm sill resolved _from: 'redis@0.7.3' },
npm sill resolved { name: 'socket.io-client',
npm sill resolved description: 'Socket.IO client for the browser and node.js',
npm sill resolved version: '0.9.11',
npm sill resolved main: './lib/io.js',
npm sill resolved browserify: './dist/socket.io.js',
npm sill resolved homepage: 'http://socket.io',
npm sill resolved keywords: [ 'websocket', 'socket', 'realtime', 'socket.io', 'comet', 'ajax' ],
npm sill resolved author: { name: 'Guillermo Rauch', email: 'guillermo@learnboost.com' },
npm sill resolved contributors: [ [Object], [Object], [Object], [Object] ],
npm sill resolved repository:
npm sill resolved { type: 'git',
npm sill resolved url: 'https://github.com/LearnBoost/socket.io-client.git' },
npm sill resolved dependencies:
npm sill resolved { 'uglify-js': '1.2.5',
npm sill resolved ws: '0.4.x',
npm sill resolved xmlhttprequest: '1.4.2',
npm sill resolved 'active-x-obfuscator': '0.0.1' },
npm sill resolved devDependencies:
npm sill resolved { expresso: '*',
npm sill resolved express: '2.5.x',
npm sill resolved jade: '*',
npm sill resolved stylus: '*',
npm sill resolved 'socket.io': '0.9.11',
npm sill resolved 'socket.io-client': '0.9.11',
npm sill resolved should: '*' },
npm sill resolved engines: { node: '>= 0.4.0' },
npm sill resolved readme: 'socket.io\n=========\n\n#### Sockets for the rest of us\n\nThe `socket.io` client is basically a simple HTTP Socket interface implementation.\nIt looks similar to WebSocket while providing additional features and\nleveraging other transports when WebSocket is not supported by the user\'s\nbrowser.\n\n```js\nvar socket = io.connect(\'http://domain.com\');\nsocket.on(\'connect\', function () {\n // socket connected\n});\nsocket.on(\'custom event\', function () {\n // server emitted a custom event\n});\nsocket.on(\'disconnect\', function () {\n // socket disconnected\n});\nsocket.send(\'hi there\');\n```\n\n### Recipes\n\n#### Utilizing namespaces (ie: multiple sockets)\n\nIf you want to namespace all the messages and events emitted to a particular\nendpoint, simply specify it as part of the `connect` uri:\n\n```js\nvar chat = io.connect(\'http://localhost/chat\');\nchat.on(\'connect\', function () {\n // chat socket connected\n});\n\nvar news = io.connect(\'/news\'); // io.connect auto-detects host\nnews.on(\'connect\', function () {\n // news socket connected\n});\n```\n\n#### Emitting custom events\n\nTo ease with the creation of applications, you can emit custom events outside\nof the global `message` event.\n\n```js\nvar socket = io.connect();\nsocket.emit(\'server custom event\', { my: \'data\' });\n```\n\n#### Forcing disconnection\n\n```js\nvar socket = io.connect();\nsocket.on(\'connect\', function () {\n socket.disconnect();\n});\n```\n\n### Documentation \n\n#### io#connect\n\n```js\nio.connect(uri, [options]);\n```\n\n##### Options:\n\n- *resource*\n\n socket.io\n\n The resource is what allows the `socket.io` server to identify incoming connections by `socket.io` clients. In other words, any HTTP server can implement socket.io and still serve other normal, non-realtime HTTP requests.\n\n- *transports*\n\n```js\n[\'websocket\', \'flashsocket\', \'htmlfile\', \'xhr-multipart\', \'xhr-polling\', \'jsonp-polling\']\n```\n\n A list of the transports to attempt to utilize (in order of preference).\n\n- *\'connect timeout\'*\n\n```js\n5000\n```\n\n The amount of milliseconds a transport has to create a connection before we consider it timed out.\n \n- *\'try multiple transports\'*\n\n```js\ntrue\n```\n\n A boolean indicating if we should try other transports when the connectTimeout occurs.\n \n- *reconnect*\n\n```js\ntrue\n```\n\n A boolean indicating if we should automatically reconnect if a connection is disconnected. \n \n- *\'reconnection delay\'*\n\n```js\n500\n```\n\n The amount of milliseconds before we try to connect to the server again. We are using a exponential back off algorithm for the following reconnections, on each reconnect attempt this value will get multiplied (500 > 1000 > 2000 > 4000 > 8000).\n \n\n- *\'max reconnection attempts\'*\n\n```js\n10\n```\n\n The amount of attempts should we make using the current transport to connect to the server? After this we will do one final attempt, and re-try with all enabled transport methods before we give up.\n\n##### Properties:\n\n- *options*\n\n The passed in options combined with the defaults.\n\n- *connected*\n\n Whether the socket is connected or not.\n \n- *connecting*\n\n Whether the socket is connecting or not.\n\n- *reconnecting*\n\n Whether we are reconnecting or not.\n \n- *transport* \n\n The transport instance.\n\n##### Methods:\n \n- *connect(λ)*\n\n Establishes a connection. If λ is supplied as argument, it will be called once the connection is established.\n \n- *send(message)*\n \n A string of data to send.\n \n- *disconnect*\n\n Closes the connection.\n \n- *on(event, λ)*\n\n Adds a listener for the event *event*.\n\n- *once(event, λ)*\n\n Adds a one time listener for the event *event*. The listener is removed after the first time the event is fired.\n \n- *removeListener(event, λ)*\n\n Removes the listener λ for the event *event*.\n \n##### Events:\n\n- *connect*\n\n Fired when the connection is established and the handshake successful.\n \n- *connecting(transport_type)*\n\n Fired when a connection is attempted, passing the transport name.\n \n- *connect_failed*\n\n Fired when the connection timeout occurs after the last connection attempt.\n This only fires if the `connectTimeout` option is set.\n If the `tryTransportsOnConnectTimeout` option is set, this only fires once all\n possible transports have been tried.\n \n- *message(message)*\n \n Fired when a message arrives from the server\n\n- *close*\n\n Fired when the connection is closed. Be careful with using this event, as some transports will fire it even under temporary, expected disconnections (such as XHR-Polling).\n \n- *disconnect*\n\n Fired when the connection is considered disconnected.\n \n- *reconnect(transport_type,reconnectionAttempts)*\n\n Fired when the connection has been re-established. This only fires if the `reconnect` option is set.\n\n- *reconnecting(reconnectionDelay,reconnectionAttempts)*\n\n Fired when a reconnection is attempted, passing the next delay for the next reconnection.\n\n- *reconnect_failed*\n\n Fired when all reconnection attempts have failed and we where unsuccessful in reconnecting to the server. \n\n### Contributors\n\nGuillermo Rauch &lt;guillermo@learnboost.com&gt;\n\nArnout Kazemier &lt;info@3rd-eden.com&gt;\n\n### License \n\n(The MIT License)\n\nCopyright (c) 2010 LearnBoost &lt;dev@learnboost.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
npm sill resolved readmeFilename: 'README.md',
npm sill resolved _id: 'socket.io-client@0.9.11',
npm sill resolved _from: 'socket.io-client@0.9.11' },
npm sill resolved { name: 'base64id',
npm sill resolved version: '0.1.0',
npm sill resolved description: 'Generates a base64 id',
npm sill resolved author:
npm sill resolved { name: 'Kristian Faeldt',
npm sill resolved email: 'faeldt_kristian@cyberagent.co.jp' },
npm sill resolved repository: { type: 'git', url: 'https://github.com/faeldt/base64id.git' },
npm sill resolved main: './lib/base64id.js',
npm sill resolved engines: { node: '>= 0.4.0' },
npm sill resolved readme: 'base64id\n========\n\nNode.js module that generates a base64 id.\n\nUses crypto.randomBytes when available, falls back to unsafe methods for node.js <= 0.4.\n\nTo increase performance, random bytes are buffered to minimize the number of synchronous calls to crypto.randomBytes.\n\n## Installation\n\n $ npm install mongoose\n\n## Usage\n\n var base64id = require(\'base64id\');\n\n var id = base64id.generateId();\n',
npm sill resolved readmeFilename: 'README.md',
npm sill resolved _id: 'base64id@0.1.0',
npm sill resolved _from: 'base64id@0.1.0' },
npm sill resolved { name: 'policyfile',
npm sill resolved version: '0.0.4',
npm sill resolved author: { name: 'Arnout Kazemier' },
npm sill resolved description: 'Flash Socket Policy File Server. A server to respond to Flash Socket Policy requests, both inline and through a dedicated server instance.',
npm sill resolved main: 'index',
npm sill resolved keywords:
npm sill resolved [ 'flash',
npm sill resolved 'socket',
npm sill resolved 'policy',
npm sill resolved 'file',
npm sill resolved 'server',
npm sill resolved 'Flash Socket Policy File Server',
npm sill resolved 'cross domain' ],
npm sill resolved directories: { lib: './lib' },
npm sill resolved maintainers: [ [Object] ],
npm sill resolved licenses: [ [Object] ],
npm sill resolved repositories: [ [Object] ],
npm sill resolved readme: '## LOL, WUT?\nIt basically allows you to allow or disallow Flash Player sockets from accessing your site.\n\n## Installation\n\n```bash\nnpm install policyfile\n```\n## Usage\n\nThe server is based on the regular and know `net` and `http` server patterns. So it you can just listen\nfor all the events that a `net` based server emits etc. But there is one extra event, the `connect_failed`\nevent. This event is triggered when we are unable to listen on the supplied port number.\n\n### createServer\nCreates a new server instance and accepts 2 optional arguments:\n\n- `options` **Object** Options to configure the server instance\n - `log` **Boolean** Enable logging to STDOUT and STDERR (defaults to true)\n- `origins` **Array** An Array of origins that are allowed by the server (defaults to *:*)\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer();\npf.listen();\n```\n\n#### server.listen\nStart listening on the server and it takes 3 optional arguments\n\n- `port` **Number** On which port number should we listen? (defaults to 843, which is the first port number the FlashPlayer checks)\n- `server` **Server** A http server, if we are unable to accept requests or run the server we can also answer the policy requests inline over the supplied HTTP server.\n- `callback` **Function** A callback function that is called when listening to the server was successful.\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer();\npf.listen(1337, function(){\n console.log(\':3 yay\')\n});\n```\n\nChanging port numbers can be handy if you do not want to run your server as root and have port 843 forward to a non root port number (aka a number above 1024).\n\n```js\nvar pf = require(\'policyfile\')\n , http = require(\'http\');\n\nserver = http.createServer(function(q,r){r.writeHead(200);r.end(\'hello world\')});\nserver.listen(80);\n\npf.createServer();\npf.listen(1337, server, function(){\n console.log(\':3 yay\')\n});\n```\n\nSupport for serving inline requests over a existing HTTP connection as the FlashPlayer will first check port 843, but if it\'s unable to get a response there it will send a policy file request over port 80, which is usually your http server.\n\n#### server.add\nAdds more origins to the policy file you can add as many arguments as you like.\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer([\'google.com:80\']);\npf.listen();\npf.add(\'blog.3rd-Eden.com:80\', \'blog.3rd-Eden.com:8080\'); // now has 3 origins\n```\n\n#### server.add\nAdds more origins to the policy file you can add as many arguments as you like.\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer([\'blog.3rd-Eden.com:80\', \'blog.3rd-Eden.com:8080\']);\npf.listen();\npf.remove(\'blog.3rd-Eden.com:8080\'); // only contains the :80 version now\n```\n\n#### server.close\nShuts down the server\n\n```js\nvar pf = require(\'policyfile\');\npf.createServer();\npf.listen();\npf.close(); // OH NVM.\n```\n\n## API\nhttp://3rd-eden.com/FlashPolicyFileServer/\n\n## Examples\nSee https://github.com/3rd-Eden/FlashPolicyFileServer/tree/master/examples for examples\n\n## Licence\n\nMIT see LICENSE file in the repository',
npm sill resolved readmeFilename: 'README.md',
npm sill resolved _id: 'policyfile@0.0.4',
npm sill resolved _from: 'policyfile@0.0.4' } ]
npm info install redis@0.7.3 into /root/node_modules/socket.io
npm info install socket.io-client@0.9.11 into /root/node_modules/socket.io
npm info install base64id@0.1.0 into /root/node_modules/socket.io
npm info install policyfile@0.0.4 into /root/node_modules/socket.io
npm info installOne redis@0.7.3
npm info installOne socket.io-client@0.9.11
npm info installOne base64id@0.1.0
npm info installOne policyfile@0.0.4
npm verb from cache /root/.npm/redis/0.7.3/package/package.json
npm info /root/node_modules/socket.io/node_modules/redis unbuild
npm verb read json /root/node_modules/socket.io/node_modules/redis/package.json
npm verb from cache /root/.npm/socket.io-client/0.9.11/package/package.json
npm info /root/node_modules/socket.io/node_modules/socket.io-client unbuild
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/package.json
npm verb from cache /root/.npm/base64id/0.1.0/package/package.json
npm info /root/node_modules/socket.io/node_modules/base64id unbuild
npm verb read json /root/node_modules/socket.io/node_modules/base64id/package.json
npm verb from cache /root/.npm/policyfile/0.0.4/package/package.json
npm info /root/node_modules/socket.io/node_modules/policyfile unbuild
npm verb read json /root/node_modules/socket.io/node_modules/policyfile/package.json
npm verb tar unpack /root/.npm/redis/0.7.3/package.tgz
npm sill lockFile d9eb13be-les-socket-io-node-modules-redis /root/node_modules/socket.io/node_modules/redis
npm verb lock /root/node_modules/socket.io/node_modules/redis /root/.npm/d9eb13be-les-socket-io-node-modules-redis.lock
npm sill lockFile d405cf6b-root-npm-redis-0-7-3-package-tgz /root/.npm/redis/0.7.3/package.tgz
npm verb lock /root/.npm/redis/0.7.3/package.tgz /root/.npm/d405cf6b-root-npm-redis-0-7-3-package-tgz.lock
npm verb tar unpack /root/.npm/socket.io-client/0.9.11/package.tgz
npm sill lockFile da47f9c1-io-node-modules-socket-io-client /root/node_modules/socket.io/node_modules/socket.io-client
npm verb lock /root/node_modules/socket.io/node_modules/socket.io-client /root/.npm/da47f9c1-io-node-modules-socket-io-client.lock
npm sill lockFile a2c9eba8-ket-io-client-0-9-11-package-tgz /root/.npm/socket.io-client/0.9.11/package.tgz
npm verb lock /root/.npm/socket.io-client/0.9.11/package.tgz /root/.npm/a2c9eba8-ket-io-client-0-9-11-package-tgz.lock
npm verb tar unpack /root/.npm/base64id/0.1.0/package.tgz
npm sill lockFile c65cd752--socket-io-node-modules-base64id /root/node_modules/socket.io/node_modules/base64id
npm verb lock /root/node_modules/socket.io/node_modules/base64id /root/.npm/c65cd752--socket-io-node-modules-base64id.lock
npm sill lockFile ceeee989-t-npm-base64id-0-1-0-package-tgz /root/.npm/base64id/0.1.0/package.tgz
npm verb lock /root/.npm/base64id/0.1.0/package.tgz /root/.npm/ceeee989-t-npm-base64id-0-1-0-package-tgz.lock
npm verb tar unpack /root/.npm/policyfile/0.0.4/package.tgz
npm sill lockFile a52bcf78-ocket-io-node-modules-policyfile /root/node_modules/socket.io/node_modules/policyfile
npm verb lock /root/node_modules/socket.io/node_modules/policyfile /root/.npm/a52bcf78-ocket-io-node-modules-policyfile.lock
npm sill lockFile 87855c03-npm-policyfile-0-0-4-package-tgz /root/.npm/policyfile/0.0.4/package.tgz
npm verb lock /root/.npm/policyfile/0.0.4/package.tgz /root/.npm/87855c03-npm-policyfile-0-0-4-package-tgz.lock
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry multi_bench.js
npm sill gunzTarPerm extractEntry lib/base64id.js
npm sill gunzTarPerm extractEntry LICENSE
npm sill gunzTarPerm extractEntry index.js
npm sill gunzTarPerm extractEntry History.md
npm sill gunzTarPerm extractEntry Makefile
npm sill gunzTarPerm extractEntry diff_multi_bench_output.js
npm sill gunzTarPerm extractEntry mem.js
npm sill gunzTarPerm extractEntry Makefile
npm sill gunzTarPerm extractEntry doc/index.html
npm sill gunzTarPerm extractEntry bin/builder.js
npm sill gunzTarPerm extractEntry dist/socket.io.js
npm sill gunzTarPerm extractEntry examples/basic.fallback.js
npm verb read json /root/node_modules/socket.io/node_modules/base64id/package.json
npm sill gunzTarPerm extractEntry dist/socket.io.min.js
npm sill gunzTarPerm extractEntry dist/WebSocketMain.swf
npm sill gunzTarPerm extractEntry examples/basic.js
npm sill gunzTarPerm extractEntry lib/server.js
npm sill lockFile c65cd752--socket-io-node-modules-base64id /root/node_modules/socket.io/node_modules/base64id
npm sill lockFile c65cd752--socket-io-node-modules-base64id /root/node_modules/socket.io/node_modules/base64id
npm sill lockFile ceeee989-t-npm-base64id-0-1-0-package-tgz /root/.npm/base64id/0.1.0/package.tgz
npm sill lockFile ceeee989-t-npm-base64id-0-1-0-package-tgz /root/.npm/base64id/0.1.0/package.tgz
npm sill gunzTarPerm extractEntry tests/unit.test.js
npm sill gunzTarPerm extractEntry tests/ssl/ssl.crt
npm info preinstall base64id@0.1.0
npm verb from cache /root/node_modules/socket.io/node_modules/base64id/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/base64id/package.json
npm verb readDependencies using package.json deps
npm sill resolved []
npm verb about to build /root/node_modules/socket.io/node_modules/base64id
npm info build /root/node_modules/socket.io/node_modules/base64id
npm verb from cache /root/node_modules/socket.io/node_modules/base64id/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules' ]
npm info linkStuff base64id@0.1.0
npm verb linkBins base64id@0.1.0
npm verb linkMans base64id@0.1.0
npm verb rebuildBundles base64id@0.1.0
npm sill gunzTarPerm extractEntry tests/ssl/ssl.private.key
npm info install base64id@0.1.0
npm info postinstall base64id@0.1.0
npm sill gunzTarPerm extractEntry dist/WebSocketMainInsecure.swf
npm sill gunzTarPerm extractEntry index.js
npm sill gunzTarPerm extractEntry test.js
npm sill gunzTarPerm extractEntry lib/events.js
npm sill gunzTarPerm extractEntry generate_commands.js
npm sill gunzTarPerm extractEntry lib/commands.js
npm sill gunzTarPerm extractEntry lib/queue.js
npm sill gunzTarPerm extractEntry lib/to_array.js
npm sill gunzTarPerm extractEntry lib/util.js
npm sill gunzTarPerm extractEntry lib/parser/hiredis.js
npm verb read json /root/node_modules/socket.io/node_modules/policyfile/package.json
npm sill lockFile a52bcf78-ocket-io-node-modules-policyfile /root/node_modules/socket.io/node_modules/policyfile
npm sill lockFile a52bcf78-ocket-io-node-modules-policyfile /root/node_modules/socket.io/node_modules/policyfile
npm sill gunzTarPerm extractEntry lib/parser/javascript.js
npm sill gunzTarPerm extractEntry examples/auth.js
npm sill lockFile 87855c03-npm-policyfile-0-0-4-package-tgz /root/.npm/policyfile/0.0.4/package.tgz
npm sill lockFile 87855c03-npm-policyfile-0-0-4-package-tgz /root/.npm/policyfile/0.0.4/package.tgz
npm info preinstall policyfile@0.0.4
npm verb from cache /root/node_modules/socket.io/node_modules/policyfile/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/policyfile/package.json
npm verb readDependencies using package.json deps
npm sill resolved []
npm verb about to build /root/node_modules/socket.io/node_modules/policyfile
npm info build /root/node_modules/socket.io/node_modules/policyfile
npm verb from cache /root/node_modules/socket.io/node_modules/policyfile/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules' ]
npm info linkStuff policyfile@0.0.4
npm verb linkBins policyfile@0.0.4
npm verb linkMans policyfile@0.0.4
npm verb rebuildBundles policyfile@0.0.4
npm info install policyfile@0.0.4
npm info postinstall policyfile@0.0.4
npm sill gunzTarPerm extractEntry lib/io.js
npm sill gunzTarPerm extractEntry lib/json.js
npm sill gunzTarPerm extractEntry examples/mget.js
npm sill gunzTarPerm extractEntry examples/monitor.js
npm sill gunzTarPerm extractEntry examples/multi.js
npm sill gunzTarPerm extractEntry examples/file.js
npm sill gunzTarPerm extractEntry examples/psubscribe.js
npm sill gunzTarPerm extractEntry examples/pub_sub.js
npm sill gunzTarPerm extractEntry examples/simple.js
npm sill gunzTarPerm extractEntry examples/sort.js
npm sill gunzTarPerm extractEntry examples/subqueries.js
npm sill gunzTarPerm extractEntry examples/extend.js
npm sill gunzTarPerm extractEntry examples/subquery.js
npm sill gunzTarPerm extractEntry examples/eval.js
npm sill gunzTarPerm extractEntry examples/unix_socket.js
npm sill gunzTarPerm extractEntry examples/backpressure_drain.js
npm sill gunzTarPerm extractEntry lib/namespace.js
npm sill gunzTarPerm extractEntry lib/parser.js
npm sill gunzTarPerm extractEntry examples/web_server.js
npm sill gunzTarPerm extractEntry examples/multi2.js
npm sill gunzTarPerm extractEntry changelog.md
npm sill gunzTarPerm extractEntry benches/buffer_bench.js
npm sill gunzTarPerm extractEntry benches/hiredis_parser.js
npm sill gunzTarPerm extractEntry benches/re_sub_test.js
npm sill gunzTarPerm extractEntry benches/reconnect_test.js
npm sill gunzTarPerm extractEntry benches/sub_quit_test.js
npm sill gunzTarPerm extractEntry benches/stress/codec.js
npm sill gunzTarPerm extractEntry benches/stress/pubsub/pub.js
npm sill gunzTarPerm extractEntry benches/stress/pubsub/server.js
npm sill gunzTarPerm extractEntry benches/stress/pubsub/run
npm sill gunzTarPerm extractEntry benches/stress/rpushblpop/pub.js
npm sill gunzTarPerm extractEntry benches/stress/rpushblpop/server.js
npm sill gunzTarPerm extractEntry benches/stress/rpushblpop/run
npm sill gunzTarPerm extractEntry benches/stress/speed/speed.js
npm sill gunzTarPerm extractEntry benches/stress/speed/00
npm sill gunzTarPerm extractEntry benches/stress/speed/plot
npm sill gunzTarPerm extractEntry benches/stress/speed/size-rate.png
npm verb read json /root/node_modules/socket.io/node_modules/redis/package.json
npm sill lockFile d9eb13be-les-socket-io-node-modules-redis /root/node_modules/socket.io/node_modules/redis
npm sill lockFile d9eb13be-les-socket-io-node-modules-redis /root/node_modules/socket.io/node_modules/redis
npm sill lockFile d405cf6b-root-npm-redis-0-7-3-package-tgz /root/.npm/redis/0.7.3/package.tgz
npm sill lockFile d405cf6b-root-npm-redis-0-7-3-package-tgz /root/.npm/redis/0.7.3/package.tgz
npm info preinstall redis@0.7.3
npm verb from cache /root/node_modules/socket.io/node_modules/redis/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/redis/package.json
npm verb readDependencies using package.json deps
npm sill resolved []
npm verb about to build /root/node_modules/socket.io/node_modules/redis
npm info build /root/node_modules/socket.io/node_modules/redis
npm verb from cache /root/node_modules/socket.io/node_modules/redis/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules' ]
npm info linkStuff redis@0.7.3
npm verb linkBins redis@0.7.3
npm verb linkMans redis@0.7.3
npm verb rebuildBundles redis@0.7.3
npm info install redis@0.7.3
npm info postinstall redis@0.7.3
npm sill gunzTarPerm extractEntry lib/socket.js
npm sill gunzTarPerm extractEntry lib/transport.js
npm sill gunzTarPerm extractEntry lib/util.js
npm sill gunzTarPerm extractEntry lib/transports/flashsocket.js
npm sill gunzTarPerm extractEntry lib/transports/htmlfile.js
npm sill gunzTarPerm extractEntry lib/transports/jsonp-polling.js
npm sill gunzTarPerm extractEntry lib/transports/websocket.js
npm sill gunzTarPerm extractEntry lib/transports/xhr-polling.js
npm sill gunzTarPerm extractEntry lib/transports/xhr.js
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/.npmignore
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/README.md
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/swfobject.js
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/web_socket.js
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/WebSocketMain.swf
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/WebSocketMainInsecure.zip
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/IWebSocketLogger.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/WebSocket.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/WebSocketEvent.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/WebSocketMain.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/WebSocketMainInsecure.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/build.sh
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/adobe/net/proxies/RFC2817Socket.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/gsolo/encryption/MD5.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/Crypto.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/MozillaRootCertificates.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509Certificate.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/cert/X509CertificateCollection.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/HMAC.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHMAC.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/IHash.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MAC.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD2.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/MD5.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA1.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA224.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHA256.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/hash/SHABase.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/ARC4.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/IPRNG.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/Random.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/prng/TLSPRF.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/rsa/RSAKey.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ISymmetricKey.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/AESKey.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CBCMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFB8Mode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CFBMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/CTRMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/DESKey.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ECBMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/ICipher.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IPad.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IStreamCipher.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/BlowFishKey.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/IVMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/NullPad.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/OFBMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/PKCS5.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SSLPad.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/SimpleIVMode.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TLSPad.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/TripleDESKey.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/XTeaKey.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/aeskey.pl
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/symmetric/dump.txt
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ITestHarness.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/AESKeyTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BigIntegerTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/BlowFishKeyTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CBCModeTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFB8ModeTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CFBModeTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/CTRModeTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/DESKeyTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ECBModeTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/HMACTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/ARC4Test.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD2Test.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/MD5Test.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/OFBModeTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/RSAKeyTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA1Test.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA224Test.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/SHA256Test.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TLSPRFTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TestCase.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/TripleDESKeyTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tests/XTeaKeyTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConfig.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/BulkCiphers.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/IConnectionState.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/ISecurityParameters.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/MACs.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLConnectionState.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLSecurityParameters.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/CipherSuites.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSConnectionState.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEngine.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSecurityParameters.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocket.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSTest.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/BarrettReduction.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/BigInteger.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/ClassicReduction.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/IReduction.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/MontgomeryReduction.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/NullReduction.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/math/bi_internal.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/ArrayUtil.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/Base64.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/Hex.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/Memory.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PEM.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ByteString.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/IAsn1Type.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Integer.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/OID.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/ObjectIdentifier.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/DER.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/PrintableString.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Sequence.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Set.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/Type.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/flash-src/com/hurlant/util/der/UTCTime.as
npm sill gunzTarPerm extractEntry lib/vendor/web-socket-js/sample.html
npm sill gunzTarPerm extractEntry test/events.test.js
npm sill gunzTarPerm extractEntry test/io.test.js
npm sill gunzTarPerm extractEntry test/parser.test.js
npm sill gunzTarPerm extractEntry test/socket.test.js
npm sill gunzTarPerm extractEntry test/util.test.js
npm sill gunzTarPerm extractEntry test/worker.js
npm sill gunzTarPerm extractEntry test/node/builder.common.js
npm sill gunzTarPerm extractEntry test/node/builder.test.js
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/package.json
npm sill lockFile da47f9c1-io-node-modules-socket-io-client /root/node_modules/socket.io/node_modules/socket.io-client
npm sill lockFile da47f9c1-io-node-modules-socket-io-client /root/node_modules/socket.io/node_modules/socket.io-client
npm sill lockFile a2c9eba8-ket-io-client-0-9-11-package-tgz /root/.npm/socket.io-client/0.9.11/package.tgz
npm sill lockFile a2c9eba8-ket-io-client-0-9-11-package-tgz /root/.npm/socket.io-client/0.9.11/package.tgz
npm info preinstall socket.io-client@0.9.11
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/package.json
npm verb readDependencies using package.json deps
npm verb cache add [ 'uglify-js@1.2.5', null ]
npm verb cache add name=undefined spec="uglify-js@1.2.5" args=["uglify-js@1.2.5",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'uglify-js@1.2.5',
npm verb parsed url path: 'uglify-js@1.2.5',
npm verb parsed url href: 'uglify-js@1.2.5' }
npm verb cache add name="uglify-js" spec="1.2.5" args=["uglify-js","1.2.5"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '1.2.5',
npm verb parsed url path: '1.2.5',
npm verb parsed url href: '1.2.5' }
npm verb addNamed [ 'uglify-js', '1.2.5' ]
npm verb addNamed [ '1.2.5', '1.2.5' ]
npm sill lockFile 7bec4d6c-uglify-js-1-2-5 uglify-js@1.2.5
npm verb lock uglify-js@1.2.5 /root/.npm/7bec4d6c-uglify-js-1-2-5.lock
npm verb cache add [ 'ws@0.4.x', null ]
npm verb cache add name=undefined spec="ws@0.4.x" args=["ws@0.4.x",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'ws@0.4.x',
npm verb parsed url path: 'ws@0.4.x',
npm verb parsed url href: 'ws@0.4.x' }
npm verb cache add name="ws" spec="0.4.x" args=["ws","0.4.x"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.4.x',
npm verb parsed url path: '0.4.x',
npm verb parsed url href: '0.4.x' }
npm verb addNamed [ 'ws', '0.4.x' ]
npm verb addNamed [ null, '>=0.4.0- <0.5.0-' ]
npm sill lockFile 5d9e9ce0-ws-0-4-x ws@0.4.x
npm verb lock ws@0.4.x /root/.npm/5d9e9ce0-ws-0-4-x.lock
npm verb cache add [ 'xmlhttprequest@1.4.2', null ]
npm verb cache add name=undefined spec="xmlhttprequest@1.4.2" args=["xmlhttprequest@1.4.2",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'xmlhttprequest@1.4.2',
npm verb parsed url path: 'xmlhttprequest@1.4.2',
npm verb parsed url href: 'xmlhttprequest@1.4.2' }
npm verb cache add name="xmlhttprequest" spec="1.4.2" args=["xmlhttprequest","1.4.2"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '1.4.2',
npm verb parsed url path: '1.4.2',
npm verb parsed url href: '1.4.2' }
npm verb addNamed [ 'xmlhttprequest', '1.4.2' ]
npm verb addNamed [ '1.4.2', '1.4.2' ]
npm sill lockFile 55d2242a-xmlhttprequest-1-4-2 xmlhttprequest@1.4.2
npm verb lock xmlhttprequest@1.4.2 /root/.npm/55d2242a-xmlhttprequest-1-4-2.lock
npm verb cache add [ 'active-x-obfuscator@0.0.1', null ]
npm verb cache add name=undefined spec="active-x-obfuscator@0.0.1" args=["active-x-obfuscator@0.0.1",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'active-x-obfuscator@0.0.1',
npm verb parsed url path: 'active-x-obfuscator@0.0.1',
npm verb parsed url href: 'active-x-obfuscator@0.0.1' }
npm verb cache add name="active-x-obfuscator" spec="0.0.1" args=["active-x-obfuscator","0.0.1"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.0.1',
npm verb parsed url path: '0.0.1',
npm verb parsed url href: '0.0.1' }
npm verb addNamed [ 'active-x-obfuscator', '0.0.1' ]
npm verb addNamed [ '0.0.1', '0.0.1' ]
npm sill lockFile 8a542afc-active-x-obfuscator-0-0-1 active-x-obfuscator@0.0.1
npm verb lock active-x-obfuscator@0.0.1 /root/.npm/8a542afc-active-x-obfuscator-0-0-1.lock
npm sill addNameRange { name: 'ws', range: '>=0.4.0- <0.5.0-', hasData: false }
npm verb url raw uglify-js/1.2.5
npm verb url resolving [ 'https://registry.npmjs.org/', './uglify-js/1.2.5' ]
npm verb url resolved https://registry.npmjs.org/uglify-js/1.2.5
npm info trying registry request attempt 1 at 05:13:56
npm verb etag "8JONIH8LDZOVH1GBB3VJZZLL6"
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm verb url raw ws
npm verb url resolving [ 'https://registry.npmjs.org/', './ws' ]
npm verb url resolved https://registry.npmjs.org/ws
npm info trying registry request attempt 1 at 05:13:56
npm verb etag "1MBB9PJCESVAT5W0WBOV1C1W7"
npm http GET https://registry.npmjs.org/ws
npm verb url raw xmlhttprequest/1.4.2
npm verb url resolving [ 'https://registry.npmjs.org/', './xmlhttprequest/1.4.2' ]
npm verb url resolved https://registry.npmjs.org/xmlhttprequest/1.4.2
npm info trying registry request attempt 1 at 05:13:56
npm verb etag "H397HZVQQP2R6OR2ZGXLXAKW"
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm verb url raw active-x-obfuscator/0.0.1
npm verb url resolving [ 'https://registry.npmjs.org/', './active-x-obfuscator/0.0.1' ]
npm verb url resolved https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm info trying registry request attempt 1 at 05:13:56
npm verb etag "6SR7SDVTD9ICEOHJQ7IV170FA"
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"8JONIH8LDZOVH1GBB3VJZZLL6"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:56 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag uglify-js/1.2.5 from cache
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"6SR7SDVTD9ICEOHJQ7IV170FA"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:56 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag active-x-obfuscator/0.0.1 from cache
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"H397HZVQQP2R6OR2ZGXLXAKW"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:56 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag xmlhttprequest/1.4.2 from cache
npm verb read json /root/.npm/uglify-js/1.2.5/package/package.json
npm verb read json /root/.npm/active-x-obfuscator/0.0.1/package/package.json
npm verb read json /root/.npm/xmlhttprequest/1.4.2/package/package.json
npm http 304 https://registry.npmjs.org/ws
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"1MBB9PJCESVAT5W0WBOV1C1W7"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:56 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag ws from cache
npm sill addNameRange number 2 { name: 'ws', range: '>=0.4.0- <0.5.0-', hasData: true }
npm sill addNameRange versions [ 'ws',
npm sill addNameRange [ '0.2.6',
npm sill addNameRange '0.2.8',
npm sill addNameRange '0.2.9',
npm sill addNameRange '0.3.0',
npm sill addNameRange '0.3.1',
npm sill addNameRange '0.3.2',
npm sill addNameRange '0.3.3',
npm sill addNameRange '0.3.4',
npm sill addNameRange '0.3.4-2',
npm sill addNameRange '0.3.5',
npm sill addNameRange '0.3.5-2',
npm sill addNameRange '0.3.5-3',
npm sill addNameRange '0.3.5-4',
npm sill addNameRange '0.3.6',
npm sill addNameRange '0.3.7',
npm sill addNameRange '0.3.8',
npm sill addNameRange '0.3.9',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.4.2',
npm sill addNameRange '0.4.3',
npm sill addNameRange '0.4.5',
npm sill addNameRange '0.4.6',
npm sill addNameRange '0.4.7',
npm sill addNameRange '0.4.8',
npm sill addNameRange '0.4.9',
npm sill addNameRange '0.4.10',
npm sill addNameRange '0.4.11',
npm sill addNameRange '0.4.12',
npm sill addNameRange '0.4.13',
npm sill addNameRange '0.4.14',
npm sill addNameRange '0.4.15',
npm sill addNameRange '0.4.16',
npm sill addNameRange '0.4.17',
npm sill addNameRange '0.4.18',
npm sill addNameRange '0.4.19',
npm sill addNameRange '0.4.20',
npm sill addNameRange '0.4.21',
npm sill addNameRange '0.4.22',
npm sill addNameRange '0.4.23',
npm sill addNameRange '0.4.24',
npm sill addNameRange '0.4.25' ] ]
npm verb addNamed [ 'ws', '0.4.25' ]
npm verb addNamed [ '0.4.25', '0.4.25' ]
npm sill lockFile b0877b26-ws-0-4-25 ws@0.4.25
npm verb lock ws@0.4.25 /root/.npm/b0877b26-ws-0-4-25.lock
npm sill lockFile 7bec4d6c-uglify-js-1-2-5 uglify-js@1.2.5
npm sill lockFile 7bec4d6c-uglify-js-1-2-5 uglify-js@1.2.5
npm verb read json /root/.npm/ws/0.4.25/package/package.json
npm sill lockFile 8a542afc-active-x-obfuscator-0-0-1 active-x-obfuscator@0.0.1
npm sill lockFile 8a542afc-active-x-obfuscator-0-0-1 active-x-obfuscator@0.0.1
npm sill lockFile 55d2242a-xmlhttprequest-1-4-2 xmlhttprequest@1.4.2
npm sill lockFile 55d2242a-xmlhttprequest-1-4-2 xmlhttprequest@1.4.2
npm sill lockFile b0877b26-ws-0-4-25 ws@0.4.25
npm sill lockFile b0877b26-ws-0-4-25 ws@0.4.25
npm sill lockFile 5d9e9ce0-ws-0-4-x ws@0.4.x
npm sill lockFile 5d9e9ce0-ws-0-4-x ws@0.4.x
npm sill resolved [ { name: 'uglify-js',
npm sill resolved description: 'JavaScript parser and compressor/beautifier toolkit',
npm sill resolved author:
npm sill resolved { name: 'Mihai Bazon',
npm sill resolved email: 'mihai.bazon@gmail.com',
npm sill resolved url: 'http://mihai.bazon.net/blog' },
npm sill resolved version: '1.2.5',
npm sill resolved main: './uglify-js.js',
npm sill resolved bin: { uglifyjs: './bin/uglifyjs' },
npm sill resolved repository: { type: 'git', url: 'git@github.com:mishoo/UglifyJS.git' },
npm sill resolved readme: '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml"\nlang="en" xml:lang="en">\n<head>\n<title>UglifyJS &ndash; a JavaScript parser/compressor/beautifier</title>\n<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>\n<meta name="generator" content="Org-mode"/>\n<meta name="generated" content="2011-12-09 14:59:08 EET"/>\n<meta name="author" content="Mihai Bazon"/>\n<meta name="description" content="a JavaScript parser/compressor/beautifier in JavaScript"/>\n<meta name="keywords" content="javascript, js, parser, compiler, compressor, mangle, minify, minifier"/>\n<style type="text/css">\n <!--/*--><![CDATA[/*><!--*/\n html { font-family: Times, serif; font-size: 12pt; }\n .title { text-align: center; }\n .todo { color: red; }\n .done { color: green; }\n .tag { background-color: #add8e6; font-weight:normal }\n .target { }\n .timestamp { color: #bebebe; }\n .timestamp-kwd { color: #5f9ea0; }\n .right {margin-left:auto; margin-right:0px; text-align:right;}\n .left {margin-left:0px; margin-right:auto; text-align:left;}\n .center {margin-left:auto; margin-right:auto; text-align:center;}\n p.verse { margin-left: 3% }\n pre {\n\tborder: 1pt solid #AEBDCC;\n\tbackground-color: #F3F5F7;\n\tpadding: 5pt;\n\tfont-family: courier, monospace;\n font-size: 90%;\n overflow:auto;\n }\n table { border-collapse: collapse; }\n td, th { vertical-align: top; }\n th.right { text-align:center; }\n th.left { text-align:center; }\n th.center { text-align:center; }\n td.right { text-align:right; }\n td.left { text-align:left; }\n td.center { text-align:center; }\n dt { font-weight: bold; }\n div.figure { padding: 0.5em; }\n div.figure p { text-align: center; }\n div.inlinetask {\n padding:10px;\n border:2px solid gray;\n margin:10px;\n background: #ffffcc;\n }\n textarea { overflow-x: auto; }\n .linenr { font-size:smaller }\n .code-highlighted {background-color:#ffff00;}\n .org-info-js_info-navigation { border-style:none; }\n #org-info-js_console-label { font-size:10px; font-weight:bold;\n white-space:nowrap; }\n .org-info-js_search-highlight {background-color:#ffff00; color:#000000;\n font-weight:bold; }\n /*]]>*/-->\n</style>\n<link rel="stylesheet" type="text/css" href="docstyle.css" />\n<script type="text/javascript">\n<!--/*--><![CDATA[/*><!--*/\n function CodeHighlightOn(elem, id)\n {\n var target = document.getElementById(id);\n if(null != target) {\n elem.cacheClassElem = elem.className;\n elem.cacheClassTarget = target.className;\n target.className = "code-highlighted";\n elem.className = "code-highlighted";\n }\n }\n function CodeHighlightOff(elem, id)\n {\n var target = document.getElementById(id);\n if(elem.cacheClassElem)\n elem.className = elem.cacheClassElem;\n if(elem.cacheClassTarget)\n target.className = elem.cacheClassTarget;\n }\n/*]]>*///-->\n</script>\n\n</head>\n<body>\n\n<div id="preamble">\n\n</div>\n\n<div id="content">\n<h1 class="title">UglifyJS &ndash; a JavaScript parser/compressor/beautifier</h1>\n\n\n<div id="table-of-contents">\n<h2>Table of Contents</h2>\n<div id="text-table-of-contents">\n<ul>\n<li><a href="#sec-1">1 UglifyJS &mdash; a JavaScript parser/compressor/beautifier </a>\n<ul>\n<li><a href="#sec-1-1">1.1 Unsafe transformations </a>\n<ul>\n<li><a href="#sec-1-1-1">1.1.1 Calls involving the global Array constructor </a></li>\n<li><a href="#sec-1-1-2">1.1.2 <code>obj.toString()</code> ==&gt; <code>obj+“”</code> </a></li>\n</ul>\n</li>\n<li><a href="#sec-1-2">1.2 Install (NPM) </a></li>\n<li><a href="#sec-1-3">1.3 Install latest code from GitHub </a></li>\n<li><a href="#sec-1-4">1.4 Usage </a>\n<ul>\n<li><a href="#sec-1-4-1">1.4.1 API </a></li>\n<li><a href="#sec-1-4-2">1.4.2 Beautifier shortcoming &ndash; no more comments </a></li>\n<li><a href="#sec-1-4-3">1.4.3 Use as a code pre-processor </a></li>\n</ul>\n</li>\n<li><a href="#sec-1-5">1.5 Compression &ndash; how good is it? </a></li>\n<li><a href="#sec-1-6">1.6 Bugs? </a></li>\n<li><a href="#sec-1-7">1.7 Links </a></li>\n<li><a href="#sec-1-8">1.8 License </a></li>\n</ul>\n</li>\n</ul>\n</div>\n</div>\n\n<div id="outline-container-1" class="outline-2">\n<h2 id="sec-1"><span class="section-number-2">1</span> UglifyJS &mdash; a JavaScript parser/compressor/beautifier </h2>\n<div class="outline-text-2" id="text-1">\n\n\n<p>\nThis package implements a general-purpose JavaScript\nparser/compressor/beautifier toolkit. It is developed on <a href="http://nodejs.org/">NodeJS</a>, but it\nshould work on any JavaScript platform supporting the CommonJS module system\n(and if your platform of choice doesn\'t support CommonJS, you can easily\nimplement it, or discard the <code>exports.*</code> lines from UglifyJS sources).\n</p>\n<p>\nThe tokenizer/parser generates an abstract syntax tree from JS code. You\ncan then traverse the AST to learn more about the code, or do various\nmanipulations on it. This part is implemented in <a href="../lib/parse-js.js">parse-js.js</a> and it\'s a\nport to JavaScript of the excellent <a href="http://marijn.haverbeke.nl/parse-js/">parse-js</a> Common Lisp library from <a href="http://marijn.haverbeke.nl/">Marijn Haverbeke</a>.\n</p>\n<p>\n( See <a href="http://github.com/mishoo/cl-uglify-js">cl-uglify-js</a> if you\'re looking for the Common Lisp version of\nUglifyJS. )\n</p>\n<p>\nThe second part of this package, implemented in <a href="../lib/process.js">process.js</a>, inspects and\nmanipulates the AST generated by the parser to provide the following:\n</p>\n<ul>\n<li>ability to re-generate JavaScript code from the AST. Optionally\n indented&mdash;you can use this if you want to “beautify” a program that has\n been compressed, so that you can inspect the source. But you can also run\n our code generator to print out an AST without any whitespace, so you\n achieve compression as well.\n\n</li>\n<li>shorten variable names (usually to single characters). Our mangler will\n analyze the code and generate proper variable names, depending on scope\n and usage, and is smart enough to deal with globals defined elsewhere, or\n with <code>eval()</code> calls or <code>with{}</code> statements. In short, if <code>eval()</code> or\n <code>with{}</code> are used in some scope, then all variables in that scope and any\n variables in the parent scopes will remain unmangled, and any references\n to such variables remain unmangled as well.\n\n</li>\n<li>various small optimizations that may lead to faster code but certainly\n lead to smaller code. Where possible, we do the following:\n\n<ul>\n<li>foo["bar"] ==&gt; foo.bar\n\n</li>\n<li>remove block brackets <code>{}</code>\n\n</li>\n<li>join consecutive var declarations:\n var a = 10; var b = 20; ==&gt; var a=10,b=20;\n\n</li>\n<li>resolve simple constant expressions: 1 +2 * 3 ==&gt; 7. We only do the\n replacement if the result occupies less bytes; for example 1/3 would\n translate to 0.333333333333, so in this case we don\'t replace it.\n\n</li>\n<li>consecutive statements in blocks are merged into a sequence; in many\n cases, this leaves blocks with a single statement, so then we can remove\n the block brackets.\n\n</li>\n<li>various optimizations for IF statements:\n\n<ul>\n<li>if (foo) bar(); else baz(); ==&gt; foo?bar():baz();\n</li>\n<li>if (!foo) bar(); else baz(); ==&gt; foo?baz():bar();\n</li>\n<li>if (foo) bar(); ==&gt; foo&amp;&amp;bar();\n</li>\n<li>if (!foo) bar(); ==&gt; foo||bar();\n</li>\n<li>if (foo) return bar(); else return baz(); ==&gt; return foo?bar():baz();\n</li>\n<li>if (foo) return bar(); else something(); ==&gt; {if(foo)return bar();something()}\n\n</li>\n</ul>\n\n</li>\n<li>remove some unreachable code and warn about it (code that follows a\n <code>return</code>, <code>throw</code>, <code>break</code> or <code>continue</code> statement, except\n function/variable declarations).\n\n</li>\n<li>act a limited version of a pre-processor (c.f. the pre-processor of\n C/C++) to allow you to safely replace selected global symbols with\n specified values. When combined with the optimisations above this can\n make UglifyJS operate slightly more like a compilation process, in\n that when certain symbols are replaced by constant values, entire code\n blocks may be optimised away as unreachable.\n</li>\n</ul>\n\n</li>\n</ul>\n\n\n\n</div>\n\n<div id="outline-container-1-1" class="outline-3">\n<h3 id="sec-1-1"><span class="section-number-3">1.1</span> <span class="target">Unsafe transformations</span> </h3>\n<div class="outline-text-3" id="text-1-1">\n\n\n<p>\nThe following transformations can in theory break code, although they\'re\nprobably safe in most practical cases. To enable them you need to pass the\n<code>--unsafe</code> flag.\n</p>\n\n</div>\n\n<div id="outline-container-1-1-1" class="outline-4">\n<h4 id="sec-1-1-1"><span class="section-number-4">1.1.1</span> Calls involving the global Array constructor </h4>\n<div class="outline-text-4" id="text-1-1-1">\n\n\n<p>\nThe following transformations occur:\n</p>\n\n\n\n<pre class="src src-js"><span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3, 4) =&gt; [1,2,3,4]\nArray(a, b, c) =&gt; [a,b,c]\n<span class="org-keyword">new</span> <span class="org-type">Array</span>(5) =&gt; Array(5)\n<span class="org-keyword">new</span> <span class="org-type">Array</span>(a) =&gt; Array(a)\n</pre>\n\n\n<p>\nThese are all safe if the Array name isn\'t redefined. JavaScript does allow\none to globally redefine Array (and pretty much everything, in fact) but I\npersonally don\'t see why would anyone do that.\n</p>\n<p>\nUglifyJS does handle the case where Array is redefined locally, or even\nglobally but with a <code>function</code> or <code>var</code> declaration. Therefore, in the\nfollowing cases UglifyJS <b>doesn\'t touch</b> calls or instantiations of Array:\n</p>\n\n\n\n<pre class="src src-js"><span class="org-comment-delimiter">// </span><span class="org-comment">case 1. globally declared variable</span>\n <span class="org-keyword">var</span> <span class="org-variable-name">Array</span>;\n <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n Array(a, b);\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or (can be declared later)</span>\n <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n <span class="org-keyword">var</span> <span class="org-variable-name">Array</span>;\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or (can be a function)</span>\n <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n <span class="org-keyword">function</span> <span class="org-function-name">Array</span>() { ... }\n\n<span class="org-comment-delimiter">// </span><span class="org-comment">case 2. declared in a function</span>\n (<span class="org-keyword">function</span>(){\n a = <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3);\n b = Array(5, 6);\n <span class="org-keyword">var</span> <span class="org-variable-name">Array</span>;\n })();\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or</span>\n (<span class="org-keyword">function</span>(<span class="org-variable-name">Array</span>){\n <span class="org-keyword">return</span> Array(5, 6, 7);\n })();\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">or</span>\n (<span class="org-keyword">function</span>(){\n <span class="org-keyword">return</span> <span class="org-keyword">new</span> <span class="org-type">Array</span>(1, 2, 3, 4);\n <span class="org-keyword">function</span> <span class="org-function-name">Array</span>() { ... }\n })();\n\n <span class="org-comment-delimiter">// </span><span class="org-comment">etc.</span>\n</pre>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-1-2" class="outline-4">\n<h4 id="sec-1-1-2"><span class="section-number-4">1.1.2</span> <code>obj.toString()</code> ==&gt; <code>obj+“”</code> </h4>\n<div class="outline-text-4" id="text-1-1-2">\n\n\n</div>\n</div>\n\n</div>\n\n<div id="outline-container-1-2" class="outline-3">\n<h3 id="sec-1-2"><span class="section-number-3">1.2</span> Install (NPM) </h3>\n<div class="outline-text-3" id="text-1-2">\n\n\n<p>\nUglifyJS is now available through NPM &mdash; <code>npm install uglify-js</code> should do\nthe job.\n</p>\n</div>\n\n</div>\n\n<div id="outline-container-1-3" class="outline-3">\n<h3 id="sec-1-3"><span class="section-number-3">1.3</span> Install latest code from GitHub </h3>\n<div class="outline-text-3" id="text-1-3">\n\n\n\n\n\n<pre class="src src-sh"><span class="org-comment-delimiter">## </span><span class="org-comment">clone the repository</span>\nmkdir -p /where/you/wanna/put/it\n<span class="org-builtin">cd</span> /where/you/wanna/put/it\ngit clone git://github.com/mishoo/UglifyJS.git\n\n<span class="org-comment-delimiter">## </span><span class="org-comment">make the module available to Node</span>\nmkdir -p ~/.node_libraries/\n<span class="org-builtin">cd</span> ~/.node_libraries/\nln -s /where/you/wanna/put/it/UglifyJS/uglify-js.js\n\n<span class="org-comment-delimiter">## </span><span class="org-comment">and if you want the CLI script too:</span>\nmkdir -p ~/bin\n<span class="org-builtin">cd</span> ~/bin\nln -s /where/you/wanna/put/it/UglifyJS/bin/uglifyjs\n <span class="org-comment-delimiter"># </span><span class="org-comment">(then add ~/bin to your $PATH if it\'s not there already)</span>\n</pre>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-4" class="outline-3">\n<h3 id="sec-1-4"><span class="section-number-3">1.4</span> Usage </h3>\n<div class="outline-text-3" id="text-1-4">\n\n\n<p>\nThere is a command-line tool that exposes the functionality of this library\nfor your shell-scripting needs:\n</p>\n\n\n\n<pre class="src src-sh">uglifyjs [ options... ] [ filename ]\n</pre>\n\n\n<p>\n<code>filename</code> should be the last argument and should name the file from which\nto read the JavaScript code. If you don\'t specify it, it will read code\nfrom STDIN.\n</p>\n<p>\nSupported options:\n</p>\n<ul>\n<li><code>-b</code> or <code>--beautify</code> &mdash; output indented code; when passed, additional\n options control the beautifier:\n\n<ul>\n<li><code>-i N</code> or <code>--indent N</code> &mdash; indentation level (number of spaces)\n\n</li>\n<li><code>-q</code> or <code>--quote-keys</code> &mdash; quote keys in literal objects (by default,\n only keys that cannot be identifier names will be quotes).\n\n</li>\n</ul>\n\n</li>\n<li><code>--ascii</code> &mdash; pass this argument to encode non-ASCII characters as\n <code>\\uXXXX</code> sequences. By default UglifyJS won\'t bother to do it and will\n output Unicode characters instead. (the output is always encoded in UTF8,\n but if you pass this option you\'ll only get ASCII).\n\n</li>\n<li><code>-nm</code> or <code>--no-mangle</code> &mdash; don\'t mangle names.\n\n</li>\n<li><code>-nmf</code> or <code>--no-mangle-functions</code> &ndash; in case you want to mangle variable\n names, but not touch function names.\n\n</li>\n<li><code>-ns</code> or <code>--no-squeeze</code> &mdash; don\'t call <code>ast_squeeze()</code> (which does various\n optimizations that result in smaller, less readable code).\n\n</li>\n<li><code>-mt</code> or <code>--mangle-toplevel</code> &mdash; mangle names in the toplevel scope too\n (by default we don\'t do this).\n\n</li>\n<li><code>--no-seqs</code> &mdash; when <code>ast_squeeze()</code> is called (thus, unless you pass\n <code>--no-squeeze</code>) it will reduce consecutive statements in blocks into a\n sequence. For example, "a = 10; b = 20; foo();" will be written as\n "a=10,b=20,foo();". In various occasions, this allows us to discard the\n block brackets (since the block becomes a single statement). This is ON\n by default because it seems safe and saves a few hundred bytes on some\n libs that I tested it on, but pass <code>--no-seqs</code> to disable it.\n\n</li>\n<li><code>--no-dead-code</code> &mdash; by default, UglifyJS will remove code that is\n obviously unreachable (code that follows a <code>return</code>, <code>throw</code>, <code>break</code> or\n <code>continue</code> statement and is not a function/variable declaration). Pass\n this option to disable this optimization.\n\n</li>\n<li><code>-nc</code> or <code>--no-copyright</code> &mdash; by default, <code>uglifyjs</code> will keep the initial\n comment tokens in the generated code (assumed to be copyright information\n etc.). If you pass this it will discard it.\n\n</li>\n<li><code>-o filename</code> or <code>--output filename</code> &mdash; put the result in <code>filename</code>. If\n this isn\'t given, the result goes to standard output (or see next one).\n\n</li>\n<li><code>--overwrite</code> &mdash; if the code is read from a file (not from STDIN) and you\n pass <code>--overwrite</code> then the output will be written in the same file.\n\n</li>\n<li><code>--ast</code> &mdash; pass this if you want to get the Abstract Syntax Tree instead\n of JavaScript as output. Useful for debugging or learning more about the\n internals.\n\n</li>\n<li><code>-v</code> or <code>--verbose</code> &mdash; output some notes on STDERR (for now just how long\n each operation takes).\n\n</li>\n<li><code>-d SYMBOL[=VALUE]</code> or <code>--define SYMBOL[=VALUE]</code> &mdash; will replace\n all instances of the specified symbol where used as an identifier\n (except where symbol has properly declared by a var declaration or\n use as function parameter or similar) with the specified value. This\n argument may be specified multiple times to define multiple\n symbols - if no value is specified the symbol will be replaced with\n the value <code>true</code>, or you can specify a numeric value (such as\n <code>1024</code>), a quoted string value (such as ="object"= or\n =\'https://github.com\'<code>), or the name of another symbol or keyword (such as =null</code> or <code>document</code>).\n This allows you, for example, to assign meaningful names to key\n constant values but discard the symbolic names in the uglified\n version for brevity/efficiency, or when used wth care, allows\n UglifyJS to operate as a form of <b>conditional compilation</b>\n whereby defining appropriate values may, by dint of the constant\n folding and dead code removal features above, remove entire\n superfluous code blocks (e.g. completely remove instrumentation or\n trace code for production use).\n Where string values are being defined, the handling of quotes are\n likely to be subject to the specifics of your command shell\n environment, so you may need to experiment with quoting styles\n depending on your platform, or you may find the option\n <code>--define-from-module</code> more suitable for use.\n\n</li>\n<li><code>-define-from-module SOMEMODULE</code> &mdash; will load the named module (as\n per the NodeJS <code>require()</code> function) and iterate all the exported\n properties of the module defining them as symbol names to be defined\n (as if by the <code>--define</code> option) per the name of each property\n (i.e. without the module name prefix) and given the value of the\n property. This is a much easier way to handle and document groups of\n symbols to be defined rather than a large number of <code>--define</code>\n options.\n\n</li>\n<li><code>--unsafe</code> &mdash; enable other additional optimizations that are known to be\n unsafe in some contrived situations, but could still be generally useful.\n For now only these:\n\n<ul>\n<li>foo.toString() ==&gt; foo+""\n</li>\n<li>new Array(x,&hellip;) ==&gt; [x,&hellip;]\n</li>\n<li>new Array(x) ==&gt; Array(x)\n\n</li>\n</ul>\n\n</li>\n<li><code>--max-line-len</code> (default 32K characters) &mdash; add a newline after around\n 32K characters. I\'ve seen both FF and Chrome croak when all the code was\n on a single line of around 670K. Pass &ndash;max-line-len 0 to disable this\n safety feature.\n\n</li>\n<li><code>--reserved-names</code> &mdash; some libraries rely on certain names to be used, as\n pointed out in issue #92 and #81, so this option allow you to exclude such\n names from the mangler. For example, to keep names <code>require</code> and <code>$super</code>\n intact you\'d specify &ndash;reserved-names "require,$super".\n\n</li>\n<li><code>--inline-script</code> &ndash; when you want to include the output literally in an\n HTML <code>&lt;script&gt;</code> tag you can use this option to prevent <code>&lt;/script</code> from\n showing up in the output.\n\n</li>\n<li><code>--lift-vars</code> &ndash; when you pass this, UglifyJS will apply the following\n transformations (see the notes in API, <code>ast_lift_variables</code>):\n\n<ul>\n<li>put all <code>var</code> declarations at the start of the scope\n</li>\n<li>make sure a variable is declared only once\n</li>\n<li>discard unused function arguments\n</li>\n<li>discard unused inner (named) functions\n</li>\n<li>finally, try to merge assignments into that one <code>var</code> declaration, if\n possible.\n</li>\n</ul>\n\n</li>\n</ul>\n\n\n\n</div>\n\n<div id="outline-container-1-4-1" class="outline-4">\n<h4 id="sec-1-4-1"><span class="section-number-4">1.4.1</span> API </h4>\n<div class="outline-text-4" id="text-1-4-1">\n\n\n<p>\nTo use the library from JavaScript, you\'d do the following (example for\nNodeJS):\n</p>\n\n\n\n<pre class="src src-js"><span class="org-keyword">var</span> <span class="org-variable-name">jsp</span> = require(<span class="org-string">"uglify-js"</span>).parser;\n<span class="org-keyword">var</span> <span class="org-variable-name">pro</span> = require(<span class="org-string">"uglify-js"</span>).uglify;\n\n<span class="org-keyword">var</span> <span class="org-variable-name">orig_code</span> = <span class="org-string">"... JS code here"</span>;\n<span class="org-keyword">var</span> <span class="org-variable-name">ast</span> = jsp.parse(orig_code); <span class="org-comment-delimiter">// </span><span class="org-comment">parse code and get the initial AST</span>\nast = pro.ast_mangle(ast); <span class="org-comment-delimiter">// </span><span class="org-comment">get a new AST with mangled names</span>\nast = pro.ast_squeeze(ast); <span class="org-comment-delimiter">// </span><span class="org-comment">get an AST with compression optimizations</span>\n<span class="org-keyword">var</span> <span class="org-variable-name">final_code</span> = pro.gen_code(ast); <span class="org-comment-delimiter">// </span><span class="org-comment">compressed code here</span>\n</pre>\n\n\n<p>\nThe above performs the full compression that is possible right now. As you\ncan see, there are a sequence of steps which you can apply. For example if\nyou want compressed output but for some reason you don\'t want to mangle\nvariable names, you would simply skip the line that calls\n<code>pro.ast_mangle(ast)</code>.\n</p>\n<p>\nSome of these functions take optional arguments. Here\'s a description:\n</p>\n<ul>\n<li><code>jsp.parse(code, strict_semicolons)</code> &ndash; parses JS code and returns an AST.\n <code>strict_semicolons</code> is optional and defaults to <code>false</code>. If you pass\n <code>true</code> then the parser will throw an error when it expects a semicolon and\n it doesn\'t find it. For most JS code you don\'t want that, but it\'s useful\n if you want to strictly sanitize your code.\n\n</li>\n<li><code>pro.ast_lift_variables(ast)</code> &ndash; merge and move <code>var</code> declarations to the\n scop of the scope; discard unused function arguments or variables; discard\n unused (named) inner functions. It also tries to merge assignments\n following the <code>var</code> declaration into it.\n\n<p>\n If your code is very hand-optimized concerning <code>var</code> declarations, this\n lifting variable declarations might actually increase size. For me it\n helps out. On jQuery it adds 865 bytes (243 after gzip). YMMV. Also\n note that (since it\'s not enabled by default) this operation isn\'t yet\n heavily tested (please report if you find issues!).\n</p>\n<p>\n Note that although it might increase the image size (on jQuery it gains\n 865 bytes, 243 after gzip) it\'s technically more correct: in certain\n situations, dead code removal might drop variable declarations, which\n would not happen if the variables are lifted in advance.\n</p>\n<p>\n Here\'s an example of what it does:\n</p></li>\n</ul>\n\n\n\n\n\n<pre class="src src-js"><span class="org-keyword">function</span> <span class="org-function-name">f</span>(<span class="org-variable-name">a</span>, <span class="org-variable-name">b</span>, <span class="org-variable-name">c</span>, <span class="org-variable-name">d</span>, <span class="org-variable-name">e</span>) {\n <span class="org-keyword">var</span> <span class="org-variable-name">q</span>;\n <span class="org-keyword">var</span> <span class="org-variable-name">w</span>;\n w = 10;\n q = 20;\n <span class="org-keyword">for</span> (<span class="org-keyword">var</span> <span class="org-variable-name">i</span> = 1; i &lt; 10; ++i) {\n <span class="org-keyword">var</span> <span class="org-variable-name">boo</span> = foo(a);\n }\n <span class="org-keyword">for</span> (<span class="org-keyword">var</span> <span class="org-variable-name">i</span> = 0; i &lt; 1; ++i) {\n <span class="org-keyword">var</span> <span class="org-variable-name">boo</span> = bar(c);\n }\n <span class="org-keyword">function</span> <span class="org-function-name">foo</span>(){ ... }\n <span class="org-keyword">function</span> <span class="org-function-name">bar</span>(){ ... }\n <span class="org-keyword">function</span> <span class="org-function-name">baz</span>(){ ... }\n}\n\n<span class="org-comment-delimiter">// </span><span class="org-comment">transforms into ==&gt;</span>\n\n<span class="org-keyword">function</span> <span class="org-function-name">f</span>(<span class="org-variable-name">a</span>, <span class="org-variable-name">b</span>, <span class="org-variable-name">c</span>) {\n <span class="org-keyword">var</span> <span class="org-variable-name">i</span>, <span class="org-variable-name">boo</span>, <span class="org-variable-name">w</span> = 10, <span class="org-variable-name">q</span> = 20;\n <span class="org-keyword">for</span> (i = 1; i &lt; 10; ++i) {\n boo = foo(a);\n }\n <span class="org-keyword">for</span> (i = 0; i &lt; 1; ++i) {\n boo = bar(c);\n }\n <span class="org-keyword">function</span> <span class="org-function-name">foo</span>() { ... }\n <span class="org-keyword">function</span> <span class="org-function-name">bar</span>() { ... }\n}\n</pre>\n\n\n<ul>\n<li><code>pro.ast_mangle(ast, options)</code> &ndash; generates a new AST containing mangled\n (compressed) variable and function names. It supports the following\n options:\n\n<ul>\n<li><code>toplevel</code> &ndash; mangle toplevel names (by default we don\'t touch them).\n</li>\n<li><code>except</code> &ndash; an array of names to exclude from compression.\n</li>\n<li><code>defines</code> &ndash; an object with properties named after symbols to\n replace (see the <code>--define</code> option for the script) and the values\n representing the AST replacement value.\n\n</li>\n</ul>\n\n</li>\n<li><code>pro.ast_squeeze(ast, options)</code> &ndash; employs further optimizations designed\n to reduce the size of the code that <code>gen_code</code> would generate from the\n AST. Returns a new AST. <code>options</code> can be a hash; the supported options\n are:\n\n<ul>\n<li><code>make_seqs</code> (default true) which will cause consecutive statements in a\n block to be merged using the "sequence" (comma) operator\n\n</li>\n<li><code>dead_code</code> (default true) which will remove unreachable code.\n\n</li>\n</ul>\n\n</li>\n<li><code>pro.gen_code(ast, options)</code> &ndash; generates JS code from the AST. By\n default it\'s minified, but using the <code>options</code> argument you can get nicely\n formatted output. <code>options</code> is, well, optional :-) and if you pass it it\n must be an object and supports the following properties (below you can see\n the default values):\n\n<ul>\n<li><code>beautify: false</code> &ndash; pass <code>true</code> if you want indented output\n</li>\n<li><code>indent_start: 0</code> (only applies when <code>beautify</code> is <code>true</code>) &ndash; initial\n indentation in spaces\n</li>\n<li><code>indent_level: 4</code> (only applies when <code>beautify</code> is <code>true</code>) --\n indentation level, in spaces (pass an even number)\n</li>\n<li><code>quote_keys: false</code> &ndash; if you pass <code>true</code> it will quote all keys in\n literal objects\n</li>\n<li><code>space_colon: false</code> (only applies when <code>beautify</code> is <code>true</code>) &ndash; wether\n to put a space before the colon in object literals\n</li>\n<li><code>ascii_only: false</code> &ndash; pass <code>true</code> if you want to encode non-ASCII\n characters as <code>\\uXXXX</code>.\n</li>\n<li><code>inline_script: false</code> &ndash; pass <code>true</code> to escape occurrences of\n <code>&lt;/script</code> in strings\n</li>\n</ul>\n\n</li>\n</ul>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-4-2" class="outline-4">\n<h4 id="sec-1-4-2"><span class="section-number-4">1.4.2</span> Beautifier shortcoming &ndash; no more comments </h4>\n<div class="outline-text-4" id="text-1-4-2">\n\n\n<p>\nThe beautifier can be used as a general purpose indentation tool. It\'s\nuseful when you want to make a minified file readable. One limitation,\nthough, is that it discards all comments, so you don\'t really want to use it\nto reformat your code, unless you don\'t have, or don\'t care about, comments.\n</p>\n<p>\nIn fact it\'s not the beautifier who discards comments &mdash; they are dumped at\nthe parsing stage, when we build the initial AST. Comments don\'t really\nmake sense in the AST, and while we could add nodes for them, it would be\ninconvenient because we\'d have to add special rules to ignore them at all\nthe processing stages.\n</p>\n</div>\n\n</div>\n\n<div id="outline-container-1-4-3" class="outline-4">\n<h4 id="sec-1-4-3"><span class="section-number-4">1.4.3</span> Use as a code pre-processor </h4>\n<div class="outline-text-4" id="text-1-4-3">\n\n\n<p>\nThe <code>--define</code> option can be used, particularly when combined with the\nconstant folding logic, as a form of pre-processor to enable or remove\nparticular constructions, such as might be used for instrumenting\ndevelopment code, or to produce variations aimed at a specific\nplatform.\n</p>\n<p>\nThe code below illustrates the way this can be done, and how the\nsymbol replacement is performed.\n</p>\n\n\n\n<pre class="src src-js">CLAUSE1: <span class="org-keyword">if</span> (<span class="org-keyword">typeof</span> DEVMODE === <span class="org-string">\'undefined\'</span>) {\n DEVMODE = <span class="org-constant">true</span>;\n}\n\n<span class="org-function-name">CLAUSE2</span>: <span class="org-keyword">function</span> init() {\n <span class="org-keyword">if</span> (DEVMODE) {\n console.log(<span class="org-string">"init() called"</span>);\n }\n ....\n DEVMODE &amp;amp;&amp;amp; console.log(<span class="org-string">"init() complete"</span>);\n}\n\n<span class="org-function-name">CLAUSE3</span>: <span class="org-keyword">function</span> reportDeviceStatus(<span class="org-variable-name">device</span>) {\n <span class="org-keyword">var</span> <span class="org-variable-name">DEVMODE</span> = device.mode, <span class="org-variable-name">DEVNAME</span> = device.name;\n <span class="org-keyword">if</span> (DEVMODE === <span class="org-string">\'open\'</span>) {\n ....\n }\n}\n</pre>\n\n\n<p>\nWhen the above code is normally executed, the undeclared global\nvariable <code>DEVMODE</code> will be assigned the value <b>true</b> (see <code>CLAUSE1</code>)\nand so the <code>init()</code> function (<code>CLAUSE2</code>) will write messages to the\nconsole log when executed, but in <code>CLAUSE3</code> a locally declared\nvariable will mask access to the <code>DEVMODE</code> global symbol.\n</p>\n<p>\nIf the above code is processed by UglifyJS with an argument of\n<code>--define DEVMODE=false</code> then UglifyJS will replace <code>DEVMODE</code> with the\nboolean constant value <b>false</b> within <code>CLAUSE1</code> and <code>CLAUSE2</code>, but it\nwill leave <code>CLAUSE3</code> as it stands because there <code>DEVMODE</code> resolves to\na validly declared variable.\n</p>\n<p>\nAnd more so, the constant-folding features of UglifyJS will recognise\nthat the <code>if</code> condition of <code>CLAUSE1</code> is thus always false, and so will\nremove the test and body of <code>CLAUSE1</code> altogether (including the\notherwise slightly problematical statement <code>false = true;</code> which it\nwill have formed by replacing <code>DEVMODE</code> in the body). Similarly,\nwithin <code>CLAUSE2</code> both calls to <code>console.log()</code> will be removed\naltogether.\n</p>\n<p>\nIn this way you can mimic, to a limited degree, the functionality of\nthe C/C++ pre-processor to enable or completely remove blocks\ndepending on how certain symbols are defined - perhaps using UglifyJS\nto generate different versions of source aimed at different\nenvironments\n</p>\n<p>\nIt is recommmended (but not made mandatory) that symbols designed for\nthis purpose are given names consisting of <code>UPPER_CASE_LETTERS</code> to\ndistinguish them from other (normal) symbols and avoid the sort of\nclash that <code>CLAUSE3</code> above illustrates.\n</p>\n</div>\n</div>\n\n</div>\n\n<div id="outline-container-1-5" class="outline-3">\n<h3 id="sec-1-5"><span class="section-number-3">1.5</span> Compression &ndash; how good is it? </h3>\n<div class="outline-text-3" id="text-1-5">\n\n\n<p>\nHere are updated statistics. (I also updated my Google Closure and YUI\ninstallations).\n</p>\n<p>\nWe\'re still a lot better than YUI in terms of compression, though slightly\nslower. We\'re still a lot faster than Closure, and compression after gzip\nis comparable.\n</p>\n<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">\n<caption></caption>\n<colgroup><col class="left" /><col class="left" /><col class="right" /><col class="left" /><col class="right" /><col class="left" /><col class="right" />\n</colgroup>\n<thead>\n<tr><th scope="col" class="left">File</th><th scope="col" class="left">UglifyJS</th><th scope="col" class="right">UglifyJS+gzip</th><th scope="col" class="left">Closure</th><th scope="col" class="right">Closure+gzip</th><th scope="col" class="left">YUI</th><th scope="col" class="right">YUI+gzip</th></tr>\n</thead>\n<tbody>\n<tr><td class="left">jquery-1.6.2.js</td><td class="left">91001 (0:01.59)</td><td class="right">31896</td><td class="left">90678 (0:07.40)</td><td class="right">31979</td><td class="left">101527 (0:01.82)</td><td class="right">34646</td></tr>\n<tr><td class="left">paper.js</td><td class="left">142023 (0:01.65)</td><td class="right">43334</td><td class="left">134301 (0:07.42)</td><td class="right">42495</td><td class="left">173383 (0:01.58)</td><td class="right">48785</td></tr>\n<tr><td class="left">prototype.js</td><td class="left">88544 (0:01.09)</td><td class="right">26680</td><td class="left">86955 (0:06.97)</td><td class="right">26326</td><td class="left">92130 (0:00.79)</td><td class="right">28624</td></tr>\n<tr><td class="left">thelib-full.js (DynarchLIB)</td><td class="left">251939 (0:02.55)</td><td class="right">72535</td><td class="left">249911 (0:09.05)</td><td class="right">72696</td><td class="left">258869 (0:01.94)</td><td class="right">76584</td></tr>\n</tbody>\n</table>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-6" class="outline-3">\n<h3 id="sec-1-6"><span class="section-number-3">1.6</span> Bugs? </h3>\n<div class="outline-text-3" id="text-1-6">\n\n\n<p>\nUnfortunately, for the time being there is no automated test suite. But I\nran the compressor manually on non-trivial code, and then I tested that the\ngenerated code works as expected. A few hundred times.\n</p>\n<p>\nDynarchLIB was started in times when there was no good JS minifier.\nTherefore I was quite religious about trying to write short code manually,\nand as such DL contains a lot of syntactic hacks<sup><a class="footref" name="fnr.1" href="#fn.1">1</a></sup> such as “foo == bar ? a\n= 10 : b = 20”, though the more readable version would clearly be to use\n“if/else”.\n</p>\n<p>\nSince the parser/compressor runs fine on DL and jQuery, I\'m quite confident\nthat it\'s solid enough for production use. If you can identify any bugs,\nI\'d love to hear about them (<a href="http://groups.google.com/group/uglifyjs">use the Google Group</a> or email me directly).\n</p>\n</div>\n\n</div>\n\n<div id="outline-container-1-7" class="outline-3">\n<h3 id="sec-1-7"><span class="section-number-3">1.7</span> Links </h3>\n<div class="outline-text-3" id="text-1-7">\n\n\n<ul>\n<li>Twitter: <a href="http://twitter.com/UglifyJS">@UglifyJS</a>\n</li>\n<li>Project at GitHub: <a href="http://github.com/mishoo/UglifyJS">http://github.com/mishoo/UglifyJS</a>\n</li>\n<li>Google Group: <a href="http://groups.google.com/group/uglifyjs">http://groups.google.com/group/uglifyjs</a>\n</li>\n<li>Common Lisp JS parser: <a href="http://marijn.haverbeke.nl/parse-js/">http://marijn.haverbeke.nl/parse-js/</a>\n</li>\n<li>JS-to-Lisp compiler: <a href="http://github.com/marijnh/js">http://github.com/marijnh/js</a>\n</li>\n<li>Common Lisp JS uglifier: <a href="http://github.com/mishoo/cl-uglify-js">http://github.com/mishoo/cl-uglify-js</a>\n</li>\n</ul>\n\n\n</div>\n\n</div>\n\n<div id="outline-container-1-8" class="outline-3">\n<h3 id="sec-1-8"><span class="section-number-3">1.8</span> License </h3>\n<div class="outline-text-3" id="text-1-8">\n\n\n<p>\nUglifyJS is released under the BSD license:\n</p>\n\n\n\n<pre class="example">Copyright 2010 (c) Mihai Bazon &lt;mihai.bazon@gmail.com&gt;\nBased on parse-js (http://marijn.haverbeke.nl/parse-js/).\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n\n * Redistributions of source code must retain the above\n copyright notice, this list of conditions and the following\n disclaimer.\n\n * Redistributions in binary form must reproduce the above\n copyright notice, this list of conditions and the following\n disclaimer in the documentation and/or other materials\n provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\nOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\nTORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF\nTHE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n</pre>\n\n\n<div id="footnotes">\n<h2 class="footnotes">Footnotes: </h2>\n<div id="text-footnotes">\n<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a></sup> I even reported a few bugs and suggested some fixes in the original\n <a href="http://marijn.haverbeke.nl/parse-js/">parse-js</a> library, and Marijn pushed fixes literally in minutes.\n</p></div>\n</div>\n</div>\n\n</div>\n</div>\n</div>\n\n<div id="postamble">\n<p class="date">Date: 2011-12-09 14:59:08 EET</p>\n<p class="author">Author: Mihai Bazon</p>\n<p class="creator">Org version 7.7 with Emacs version 23</p>\n<a href="http://validator.w3.org/check?uri=referer">Validate XHTML 1.0</a>\n\n</div>\n</body>\n</html>\n',
npm sill resolved readmeFilename: 'README.html',
npm sill resolved _id: 'uglify-js@1.2.5',
npm sill resolved _from: 'uglify-js@1.2.5' },
npm sill resolved { author:
npm sill resolved { name: 'Felix Geisendörfer',
npm sill resolved email: 'felix@debuggable.com',
npm sill resolved url: 'http://debuggable.com/' },
npm sill resolved name: 'active-x-obfuscator',
npm sill resolved description: 'A module to (safely) obfuscate all occurrences of the string \'ActiveX\' inside any JavaScript code.',
npm sill resolved version: '0.0.1',
npm sill resolved homepage: 'https://github.com/felixge/node-active-x-obfuscator',
npm sill resolved repository:
npm sill resolved { type: 'git',
npm sill resolved url: 'git://github.com/felixge/node-active-x-obfuscator.git' },
npm sill resolved main: './index',
npm sill resolved scripts: { test: 'node test.js' },
npm sill resolved engines: { node: '*' },
npm sill resolved dependencies: { zeparser: '0.0.5' },
npm sill resolved devDependencies: {},
npm sill resolved optionalDependencies: {},
npm sill resolved readme: '# active-x-obfuscator\n\nA module to (safely) obfuscate all occurrences of the string \'ActiveX\' inside\nany JavaScript code.\n\n## Why?\n\nSome corporate firewalls /proxies such as Blue Coat block JavaScript files to be\ndownloaded if they contain the word `\'ActiveX\'`. That of course is very annoying\nfor libraries such as [socket.io][] that need to use `ActiveXObject` for\nsupporting IE8 and older.\n\n## Install\n\n```\nnpm install active-x-obfuscator\n```\n\n## Usage\n\n```js\nvar activeXObfuscator = require(\'active-x-obfuscator\');\nvar code = \'foo(new ActiveXObject());\';\n\nvar obfuscated = activeXObfuscator(code);\n// -> foo(new window[([\'Active\'].concat(\'Object\').join(\'X\'))])\n```\n\n## License\n\nLicensed under the MIT license.\n\n[socket.io]: http://socket.io/\n',
npm sill resolved readmeFilename: 'Readme.md',
npm sill resolved _id: 'active-x-obfuscator@0.0.1',
npm sill resolved _from: 'active-x-obfuscator@0.0.1' },
npm sill resolved { name: 'xmlhttprequest',
npm sill resolved description: 'XMLHttpRequest for Node',
npm sill resolved version: '1.4.2',
npm sill resolved author: { name: 'Dan DeFelippi', url: 'http://driverdan.com' },
npm sill resolved keywords: [ 'xhr', 'ajax' ],
npm sill resolved licenses: [ [Object] ],
npm sill resolved repository:
npm sill resolved { type: 'git',
npm sill resolved url: 'git://github.com/driverdan/node-XMLHttpRequest.git' },
npm sill resolved bugs: 'http://github.com/driverdan/node-XMLHttpRequest/issues',
npm sill resolved engines: { node: '>=0.4.0' },
npm sill resolved directories: { lib: './lib', example: './example' },
npm sill resolved main: './lib/XMLHttpRequest.js',
npm sill resolved readme: '# node-XMLHttpRequest #\n\nnode-XMLHttpRequest is a wrapper for the built-in http client to emulate the\nbrowser XMLHttpRequest object.\n\nThis can be used with JS designed for browsers to improve reuse of code and\nallow the use of existing libraries.\n\nNote: This library currently conforms to [XMLHttpRequest 1](http://www.w3.org/TR/XMLHttpRequest/). Version 2.0 will target [XMLHttpRequest Level 2](http://www.w3.org/TR/XMLHttpRequest2/).\n\n## Usage ##\n\nHere\'s how to include the module in your project and use as the browser-based\nXHR object.\n\n\tvar XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;\n\tvar xhr = new XMLHttpRequest();\n\nNote: use the lowercase string "xmlhttprequest" in your require(). On\ncase-sensitive systems (eg Linux) using uppercase letters won\'t work.\n\n## Versions ##\n\nPrior to 1.4.0 version numbers were arbitrary. From 1.4.0 on they conform to\nthe standard major.minor.bugfix. 1.x shouldn\'t necessarily be considered\nstable just because it\'s above 0.x.\n\nSince the XMLHttpRequest API is stable this library\'s API is stable as\nwell. Major version numbers indicate significant core code changes.\nMinor versions indicate minor core code changes or better conformity to\nthe W3C spec.\n\n## Supports ##\n\n* Async and synchronous requests\n* GET, POST, PUT, and DELETE requests\n* All spec methods (open, send, abort, getRequestHeader,\n getAllRequestHeaders, event methods)\n* Requests to all domains\n\n## Known Issues / Missing Features ##\n\nFor a list of open issues or to report your own visit the [github issues\npage](https://github.com/driverdan/node-XMLHttpRequest/issues).\n\n* Local file access may have unexpected results for non-UTF8 files\n* Synchronous requests don\'t set headers properly\n* Synchronous requests freeze node while waiting for response (But that\'s what you want, right? Stick with async!).\n* Some events are missing, such as abort\n* getRequestHeader is case-sensitive\n* Cookies aren\'t persisted between requests\n* Missing XML support\n* Missing basic auth\n',
npm sill resolved readmeFilename: 'README.md',
npm sill resolved _id: 'xmlhttprequest@1.4.2',
npm sill resolved _from: 'xmlhttprequest@1.4.2' },
npm sill resolved { author:
npm sill resolved { name: 'Einar Otto Stangvik',
npm sill resolved email: 'einaros@gmail.com',
npm sill resolved url: 'http://2x.io' },
npm sill resolved name: 'ws',
npm sill resolved description: 'simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455',
npm sill resolved version: '0.4.25',
npm sill resolved repository: { type: 'git', url: 'git://github.com/einaros/ws.git' },
npm sill resolved bin: { wscat: './bin/wscat' },
npm sill resolved scripts:
npm sill resolved { test: 'make test',
npm sill resolved install: '(node-gyp rebuild 2> builderror.log) || (exit 0)' },
npm sill resolved engines: { node: '>=0.4.0' },
npm sill resolved dependencies: { commander: '~0.6.1', tinycolor: '0.x', options: 'latest' },
npm sill resolved devDependencies:
npm sill resolved { mocha: '~1.2.1',
npm sill resolved should: '0.6.x',
npm sill resolved 'expect.js': '0.1.x',
npm sill resolved benchmark: '0.3.x',
npm sill resolved ansi: 'latest' },
npm sill resolved browser: { './index.js': './lib/browser.js' },
npm sill resolved readme: '[![Build Status](https://secure.travis-ci.org/einaros/ws.png)](http://travis-ci.org/einaros/ws)\n\n# ws: a node.js websocket library #\n\n`ws` is a simple to use websocket implementation, up-to-date against RFC-6455, and [probably the fastest WebSocket library for node.js](http://hobbycoding.posterous.com/the-fastest-websocket-module-for-nodejs).\n\nPasses the quite extensive Autobahn test suite. See http://einaros.github.com/ws for the full reports.\n\nComes with a command line utility, `wscat`, which can either act as a server (--listen), or client (--connect); Use it to debug simple websocket services.\n\n## Protocol support ##\n\n* **Hixie draft 76** (Old and deprecated, but still in use by Safari and Opera. Added to ws version 0.4.2, but server only. Can be disabled by setting the `disableHixie` option to true.)\n* **HyBi drafts 07-12** (Use the option `protocolVersion: 8`, or argument `-p 8` for wscat)\n* **HyBi drafts 13-17** (Current default, alternatively option `protocolVersion: 13`, or argument `-p 13` for wscat)\n\n_See the echo.websocket.org example below for how to use the `protocolVersion` option._\n\n## Usage ##\n\n### Installing ###\n\n`npm install ws`\n\n### Sending and receiving text data ###\n\n```js\nvar WebSocket = require(\'ws\');\nvar ws = new WebSocket(\'ws://www.host.com/path\');\nws.on(\'open\', function() {\n ws.send(\'something\');\n});\nws.on(\'message\', function(data, flags) {\n // flags.binary will be set if a binary data is received\n // flags.masked will be set if the data was masked\n});\n```\n\n### Sending binary data ###\n\n```js\nvar WebSocket = require(\'ws\');\nvar ws = new WebSocket(\'ws://www.host.com/path\');\nws.on(\'open\', function() {\n var array = new Float32Array(5);\n for (var i = 0; i < array.length; ++i) array[i] = i / 2;\n ws.send(array, {binary: true, mask: true});\n});\n```\n\nSetting `mask`, as done for the send options above, will cause the data to be masked according to the websocket protocol. The same option applies for text data.\n\n### Server example ###\n\n```js\nvar WebSocketServer = require(\'ws\').Server\n , wss = new WebSocketServer({port: 8080});\nwss.on(\'connection\', function(ws) {\n ws.on(\'message\', function(message) {\n console.log(\'received: %s\', message);\n });\n ws.send(\'something\');\n});\n```\n\n### Error handling best practices ###\n\n```js\n// If the WebSocket is closed before the following send is attempted\nws.send(\'something\');\n\n// Errors (both immediate and async write errors) can be detected in an optional callback.\n// The callback is also the only way of being notified that data has actually been sent.\nws.send(\'something\', function(error) {\n // if error is null, the send has been completed,\n // otherwise the error object will indicate what failed.\n});\n\n// Immediate errors can also be handled with try/catch-blocks, but **note**\n// that since sends are inherently asynchronous, socket write failures will *not*\n// be captured when this technique is used.\ntry {\n ws.send(\'something\');\n}\ncatch (e) {\n // handle error\n}\n```\n\n### echo.websocket.org demo ###\n\n```js\nvar WebSocket = require(\'ws\');\nvar ws = new WebSocket(\'ws://echo.websocket.org/\', {protocolVersion: 8, origin: \'http://websocket.org\'});\nws.on(\'open\', function() {\n console.log(\'connected\');\n ws.send(Date.now().toString(), {mask: true});\n});\nws.on(\'close\', function() {\n console.log(\'disconnected\');\n});\nws.on(\'message\', function(data, flags) {\n console.log(\'Roundtrip time: \' + (Date.now() - parseInt(data)) + \'ms\', flags);\n setTimeout(function() {\n ws.send(Date.now().toString(), {mask: true});\n }, 500);\n});\n```\n\n### wscat against echo.websocket.org ###\n\n $ npm install -g ws\n $ wscat -c ws://echo.websocket.org -p 8\n connected (press CTRL+C to quit)\n > hi there\n < hi there\n > are you a happy parrot?\n < are you a happy parrot?\n\n### Other examples ###\n\nFor a full example with a browser client communicating with a ws server, see the examples folder.\n\nNote that the usage together with Express 3.0 is quite different from Express 2.x. The difference is expressed in the two different serverstats-examples.\n\nOtherwise, see the test cases.\n\n### Running the tests ###\n\n`make test`\n\n## API Docs ##\n\nSee the doc/ directory for Node.js-like docs for the ws classes.\n\n## License ##\n\n(The MIT License)\n\nCopyright (c) 2011 Einar Otto Stangvik &lt;einaros@gmail.com&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n',
npm sill resolved readmeFilename: 'README.md',
npm sill resolved _id: 'ws@0.4.25',
npm sill resolved _from: 'ws@0.4.x' } ]
npm info install uglify-js@1.2.5 into /root/node_modules/socket.io/node_modules/socket.io-client
npm info install active-x-obfuscator@0.0.1 into /root/node_modules/socket.io/node_modules/socket.io-client
npm info install xmlhttprequest@1.4.2 into /root/node_modules/socket.io/node_modules/socket.io-client
npm info install ws@0.4.25 into /root/node_modules/socket.io/node_modules/socket.io-client
npm info installOne uglify-js@1.2.5
npm info installOne active-x-obfuscator@0.0.1
npm info installOne xmlhttprequest@1.4.2
npm info installOne ws@0.4.25
npm verb from cache /root/.npm/uglify-js/1.2.5/package/package.json
npm info /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js unbuild
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json
npm verb from cache /root/.npm/active-x-obfuscator/0.0.1/package/package.json
npm info /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator unbuild
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
npm verb from cache /root/.npm/xmlhttprequest/1.4.2/package/package.json
npm info /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest unbuild
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
npm verb from cache /root/.npm/ws/0.4.25/package/package.json
npm info /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws unbuild
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
npm verb tar unpack /root/.npm/uglify-js/1.2.5/package.tgz
npm sill lockFile 34e00c6d-io-client-node-modules-uglify-js /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js
npm verb lock /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js /root/.npm/34e00c6d-io-client-node-modules-uglify-js.lock
npm sill lockFile 85d8f08d--npm-uglify-js-1-2-5-package-tgz /root/.npm/uglify-js/1.2.5/package.tgz
npm verb lock /root/.npm/uglify-js/1.2.5/package.tgz /root/.npm/85d8f08d--npm-uglify-js-1-2-5-package-tgz.lock
npm verb tar unpack /root/.npm/active-x-obfuscator/0.0.1/package.tgz
npm sill lockFile eb01b25e-node-modules-active-x-obfuscator /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm verb lock /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator /root/.npm/eb01b25e-node-modules-active-x-obfuscator.lock
npm sill lockFile 424b0a46-e-x-obfuscator-0-0-1-package-tgz /root/.npm/active-x-obfuscator/0.0.1/package.tgz
npm verb lock /root/.npm/active-x-obfuscator/0.0.1/package.tgz /root/.npm/424b0a46-e-x-obfuscator-0-0-1-package-tgz.lock
npm verb tar unpack /root/.npm/xmlhttprequest/1.4.2/package.tgz
npm sill lockFile 2b706806-ient-node-modules-xmlhttprequest /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
npm verb lock /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest /root/.npm/2b706806-ient-node-modules-xmlhttprequest.lock
npm sill lockFile 6e3fb2e0-xmlhttprequest-1-4-2-package-tgz /root/.npm/xmlhttprequest/1.4.2/package.tgz
npm verb lock /root/.npm/xmlhttprequest/1.4.2/package.tgz /root/.npm/6e3fb2e0-xmlhttprequest-1-4-2-package-tgz.lock
npm verb tar unpack /root/.npm/ws/0.4.25/package.tgz
npm sill lockFile 38b70853-socket-io-client-node-modules-ws /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
npm verb lock /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws /root/.npm/38b70853-socket-io-client-node-modules-ws.lock
npm sill lockFile 76e878ae-root-npm-ws-0-4-25-package-tgz /root/.npm/ws/0.4.25/package.tgz
npm verb lock /root/.npm/ws/0.4.25/package.tgz /root/.npm/76e878ae-root-npm-ws-0-4-25-package-tgz.lock
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry uglify-js.js
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry index.js
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry autotest.watchr
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry bin/uglifyjs
npm sill gunzTarPerm extractEntry docstyle.css
npm sill gunzTarPerm extractEntry test.js
npm sill gunzTarPerm extractEntry Readme.md
npm sill gunzTarPerm extractEntry index.js
npm sill gunzTarPerm extractEntry test/BufferPool.test.js
npm sill gunzTarPerm extractEntry example/demo.js
npm sill gunzTarPerm extractEntry lib/XMLHttpRequest.js
npm sill gunzTarPerm extractEntry README.html
npm sill gunzTarPerm extractEntry README.org
npm sill gunzTarPerm extractEntry test/Sender.hixie.test.js
npm sill gunzTarPerm extractEntry test/Sender.test.js
npm sill gunzTarPerm extractEntry test/Validation.test.js
npm sill gunzTarPerm extractEntry test/Receiver.test.js
npm sill gunzTarPerm extractEntry test/Receiver.hixie.test.js
npm sill gunzTarPerm extractEntry test/WebSocketServer.test.js
npm sill gunzTarPerm extractEntry test/autobahn-server.js
npm sill gunzTarPerm extractEntry test/autobahn.js
npm sill gunzTarPerm extractEntry test/hybi-common.js
npm sill gunzTarPerm extractEntry test/WebSocket.integration.js
npm sill gunzTarPerm extractEntry test/testserver.js
npm sill gunzTarPerm extractEntry test/WebSocket.test.js
npm sill gunzTarPerm extractEntry test/fixtures/certificate.pem
npm sill gunzTarPerm extractEntry test/fixtures/key.pem
npm sill gunzTarPerm extractEntry test/fixtures/request.pem
npm sill gunzTarPerm extractEntry test/fixtures/textfile
npm sill gunzTarPerm extractEntry bench/parser.benchmark.js
npm sill gunzTarPerm extractEntry bench/sender.benchmark.js
npm sill gunzTarPerm extractEntry bench/speed.js
npm sill gunzTarPerm extractEntry bench/util.js
npm sill gunzTarPerm extractEntry bin/wscat
npm sill gunzTarPerm extractEntry .travis.yml
npm sill gunzTarPerm extractEntry doc/ws.md
npm sill gunzTarPerm extractEntry examples/fileapi/package.json
npm sill gunzTarPerm extractEntry examples/fileapi/.npmignore
npm sill gunzTarPerm extractEntry examples/fileapi/server.js
npm sill gunzTarPerm extractEntry examples/fileapi/public/app.js
npm sill gunzTarPerm extractEntry examples/fileapi/public/uploader.js
npm sill gunzTarPerm extractEntry examples/fileapi/public/index.html
npm sill gunzTarPerm extractEntry examples/serverstats/package.json
npm sill gunzTarPerm extractEntry examples/serverstats/server.js
npm sill gunzTarPerm extractEntry examples/serverstats/public/index.html
npm sill gunzTarPerm extractEntry examples/serverstats-express_3/package.json
npm sill gunzTarPerm extractEntry examples/serverstats-express_3/server.js
npm sill gunzTarPerm extractEntry examples/serverstats-express_3/public/index.html
npm sill gunzTarPerm extractEntry History.md
npm sill gunzTarPerm extractEntry lib/BufferPool.js
npm sill gunzTarPerm extractEntry lib/ErrorCodes.js
npm sill gunzTarPerm extractEntry lib/Receiver.hixie.js
npm sill gunzTarPerm extractEntry lib/Receiver.js
npm sill gunzTarPerm extractEntry lib/BufferUtil.js
npm sill gunzTarPerm extractEntry lib/Sender.js
npm sill gunzTarPerm extractEntry lib/Validation.fallback.js
npm sill gunzTarPerm extractEntry lib/Validation.js
npm sill gunzTarPerm extractEntry lib/WebSocket.js
npm sill gunzTarPerm extractEntry lib/WebSocketServer.js
npm sill gunzTarPerm extractEntry lib/BufferUtil.fallback.js
npm sill gunzTarPerm extractEntry lib/browser.js
npm sill gunzTarPerm extractEntry lib/Sender.hixie.js
npm sill gunzTarPerm extractEntry Makefile
npm sill gunzTarPerm extractEntry src/bufferutil.cc
npm sill gunzTarPerm extractEntry src/validation.cc
npm sill gunzTarPerm extractEntry binding.gyp
npm sill gunzTarPerm extractEntry tests/test-constants.js
npm sill gunzTarPerm extractEntry package.json~
npm sill gunzTarPerm extractEntry test/beautify.js
npm sill gunzTarPerm extractEntry tests/test-events.js
npm sill gunzTarPerm extractEntry tests/test-exceptions.js
npm sill gunzTarPerm extractEntry tests/test-headers.js
npm sill gunzTarPerm extractEntry tests/test-request-methods.js
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
npm sill lockFile eb01b25e-node-modules-active-x-obfuscator /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm sill lockFile eb01b25e-node-modules-active-x-obfuscator /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator
npm sill gunzTarPerm extractEntry test/testparser.js
npm sill gunzTarPerm extractEntry test/unit/scripts.js
npm sill lockFile 424b0a46-e-x-obfuscator-0-0-1-package-tgz /root/.npm/active-x-obfuscator/0.0.1/package.tgz
npm sill lockFile 424b0a46-e-x-obfuscator-0-0-1-package-tgz /root/.npm/active-x-obfuscator/0.0.1/package.tgz
npm info preinstall active-x-obfuscator@0.0.1
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/active-x-obfuscator/package.json
npm verb readDependencies using package.json deps
npm sill gunzTarPerm extractEntry test/unit/compress/expected/array1.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue17.js
npm verb cache add [ 'zeparser@0.0.5', null ]
npm verb cache add name=undefined spec="zeparser@0.0.5" args=["zeparser@0.0.5",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'zeparser@0.0.5',
npm verb parsed url path: 'zeparser@0.0.5',
npm verb parsed url href: 'zeparser@0.0.5' }
npm verb cache add name="zeparser" spec="0.0.5" args=["zeparser","0.0.5"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.0.5',
npm verb parsed url path: '0.0.5',
npm verb parsed url href: '0.0.5' }
npm verb addNamed [ 'zeparser', '0.0.5' ]
npm verb addNamed [ '0.0.5', '0.0.5' ]
npm sill lockFile eb150454-zeparser-0-0-5 zeparser@0.0.5
npm verb lock zeparser@0.0.5 /root/.npm/eb150454-zeparser-0-0-5.lock
npm sill gunzTarPerm extractEntry tests/test-request-protocols.js
npm sill gunzTarPerm extractEntry tests/testdata.txt
npm verb url raw zeparser/0.0.5
npm verb url resolving [ 'https://registry.npmjs.org/', './zeparser/0.0.5' ]
npm verb url resolved https://registry.npmjs.org/zeparser/0.0.5
npm info trying registry request attempt 1 at 05:13:57
npm verb etag "47F8SOSIXTQE9MZS4WWJFMZL4"
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
npm sill lockFile 2b706806-ient-node-modules-xmlhttprequest /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
npm sill lockFile 2b706806-ient-node-modules-xmlhttprequest /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
npm sill lockFile 6e3fb2e0-xmlhttprequest-1-4-2-package-tgz /root/.npm/xmlhttprequest/1.4.2/package.tgz
npm sill lockFile 6e3fb2e0-xmlhttprequest-1-4-2-package-tgz /root/.npm/xmlhttprequest/1.4.2/package.tgz
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue20.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue21.js
npm info preinstall xmlhttprequest@1.4.2
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
npm verb readDependencies using package.json deps
npm sill resolved []
npm verb about to build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
npm info build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/xmlhttprequest/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules/socket.io-client/node_modules' ]
npm info linkStuff xmlhttprequest@1.4.2
npm verb linkBins xmlhttprequest@1.4.2
npm verb linkMans xmlhttprequest@1.4.2
npm verb rebuildBundles xmlhttprequest@1.4.2
npm info install xmlhttprequest@1.4.2
npm info postinstall xmlhttprequest@1.4.2
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue16.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue27.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue278.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue28.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue29.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue30.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue14.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue34.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue13.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue4.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue11.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue48.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue10.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue50.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/ifreturn2.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue53.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/ifreturn.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue54.1.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/if.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue68.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/forstatement.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue69.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/empty-blocks.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue9.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/const.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/mangle.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/concatstring.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/null_string.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/assignment.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/strict-equals.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/array4.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/var.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/array3.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/whitespace.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/array2.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/with.js
npm sill gunzTarPerm extractEntry test/unit/compress/expected/issue25.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/array1.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue17.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue20.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue21.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue16.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue27.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue278.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue28.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue29.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue30.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue14.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue34.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue13.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue4.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue11.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue48.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue10.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue50.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/ifreturn2.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue53.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/ifreturn.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue54.1.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/if.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue68.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/forstatement.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue69.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/empty-blocks.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue9.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/const.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/mangle.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/concatstring.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/null_string.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/assignment.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/strict-equals.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/array4.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/var.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/array3.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/whitespace.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/array2.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/with.js
npm sill gunzTarPerm extractEntry test/unit/compress/test/issue25.js
npm sill gunzTarPerm extractEntry tmp/269.js
npm sill gunzTarPerm extractEntry tmp/embed-tokens.js
npm sill gunzTarPerm extractEntry tmp/goto.js
npm sill gunzTarPerm extractEntry tmp/goto2.js
npm sill gunzTarPerm extractEntry tmp/hoist.js
npm sill gunzTarPerm extractEntry tmp/app.js
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"47F8SOSIXTQE9MZS4WWJFMZL4"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:57 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag zeparser/0.0.5 from cache
npm sill gunzTarPerm extractEntry tmp/instrument2.js
npm sill gunzTarPerm extractEntry tmp/liftvars.js
npm sill gunzTarPerm extractEntry tmp/test.js
npm sill lockFile 4061607b--org-zeparser-zeparser-0-0-5-tgz https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz
npm verb lock https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz /root/.npm/4061607b--org-zeparser-zeparser-0-0-5-tgz.lock
npm verb addRemoteTarball [ 'https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz',
npm verb addRemoteTarball '03726561bc268f2e5444f54c665b7fd4a8c029e2' ]
npm info retry fetch attempt 1 at 05:13:57
npm verb fetch to= /root/tmp/npm-9721/1363583637519-0.8122563562355936/tmp.tgz
npm sill gunzTarPerm extractEntry tmp/uglify-hangs.js
npm sill gunzTarPerm extractEntry tmp/uglify-hangs2.js
npm http GET https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz
npm sill gunzTarPerm extractEntry tmp/instrument.js
npm sill gunzTarPerm extractEntry lib/object-ast.js
npm sill gunzTarPerm extractEntry lib/parse-js.js
npm sill gunzTarPerm extractEntry lib/process.js
npm sill gunzTarPerm extractEntry lib/squeeze-more.js
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
npm sill lockFile 38b70853-socket-io-client-node-modules-ws /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
npm sill lockFile 38b70853-socket-io-client-node-modules-ws /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
npm sill lockFile 76e878ae-root-npm-ws-0-4-25-package-tgz /root/.npm/ws/0.4.25/package.tgz
npm sill lockFile 76e878ae-root-npm-ws-0-4-25-package-tgz /root/.npm/ws/0.4.25/package.tgz
npm info preinstall ws@0.4.25
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
npm verb readDependencies using package.json deps
npm verb cache add [ 'commander@~0.6.1', null ]
npm verb cache add name=undefined spec="commander@~0.6.1" args=["commander@~0.6.1",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'commander@~0.6.1',
npm verb parsed url path: 'commander@~0.6.1',
npm verb parsed url href: 'commander@~0.6.1' }
npm verb cache add name="commander" spec="~0.6.1" args=["commander","~0.6.1"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '~0.6.1',
npm verb parsed url path: '~0.6.1',
npm verb parsed url href: '~0.6.1' }
npm verb addNamed [ 'commander', '~0.6.1' ]
npm verb addNamed [ null, '>=0.6.1- <0.7.0-' ]
npm sill lockFile 5c53196d-commander-0-6-1 commander@~0.6.1
npm verb lock commander@~0.6.1 /root/.npm/5c53196d-commander-0-6-1.lock
npm verb cache add [ 'tinycolor@0.x', null ]
npm verb cache add name=undefined spec="tinycolor@0.x" args=["tinycolor@0.x",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'tinycolor@0.x',
npm verb parsed url path: 'tinycolor@0.x',
npm verb parsed url href: 'tinycolor@0.x' }
npm verb cache add name="tinycolor" spec="0.x" args=["tinycolor","0.x"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: '0.x',
npm verb parsed url path: '0.x',
npm verb parsed url href: '0.x' }
npm verb addNamed [ 'tinycolor', '0.x' ]
npm verb addNamed [ null, '>=0.0.0- <1.0.0-' ]
npm sill lockFile 8f23180d-tinycolor-0-x tinycolor@0.x
npm verb lock tinycolor@0.x /root/.npm/8f23180d-tinycolor-0-x.lock
npm sill addNameRange { name: 'commander', range: '>=0.6.1- <0.7.0-', hasData: false }
npm sill addNameRange { name: 'tinycolor', range: '>=0.0.0- <1.0.0-', hasData: false }
npm verb cache add [ 'options@latest', null ]
npm verb cache add name=undefined spec="options@latest" args=["options@latest",null]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'options@latest',
npm verb parsed url path: 'options@latest',
npm verb parsed url href: 'options@latest' }
npm verb cache add name="options" spec="latest" args=["options","latest"]
npm verb parsed url { protocol: null,
npm verb parsed url slashes: null,
npm verb parsed url auth: null,
npm verb parsed url host: null,
npm verb parsed url port: null,
npm verb parsed url hostname: null,
npm verb parsed url hash: null,
npm verb parsed url search: null,
npm verb parsed url query: null,
npm verb parsed url pathname: 'latest',
npm verb parsed url path: 'latest',
npm verb parsed url href: 'latest' }
npm verb addNamed [ 'options', 'latest' ]
npm verb addNamed [ null, null ]
npm sill lockFile 479efb46-options-latest options@latest
npm verb lock options@latest /root/.npm/479efb46-options-latest.lock
npm info addNameTag [ 'options', 'latest' ]
npm verb url raw commander
npm verb url resolving [ 'https://registry.npmjs.org/', './commander' ]
npm verb url resolved https://registry.npmjs.org/commander
npm info trying registry request attempt 1 at 05:13:57
npm verb etag "92B26UK3KU9CS5A9L6F08O5SN"
npm http GET https://registry.npmjs.org/commander
npm verb url raw tinycolor
npm verb url resolving [ 'https://registry.npmjs.org/', './tinycolor' ]
npm verb url resolved https://registry.npmjs.org/tinycolor
npm info trying registry request attempt 1 at 05:13:57
npm verb etag "276J6G2PTXSBOA0DHI7E6RI4X"
npm http GET https://registry.npmjs.org/tinycolor
npm verb url raw options
npm verb url resolving [ 'https://registry.npmjs.org/', './options' ]
npm verb url resolved https://registry.npmjs.org/options
npm info trying registry request attempt 1 at 05:13:57
npm verb etag "472CE52MUZXEJ3GMR1S7ZRH16"
npm http GET https://registry.npmjs.org/options
npm http 200 https://registry.npmjs.org/zeparser/-/zeparser-0.0.5.tgz
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json
npm sill lockFile 34e00c6d-io-client-node-modules-uglify-js /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js
npm sill lockFile 34e00c6d-io-client-node-modules-uglify-js /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js
npm sill lockFile 85d8f08d--npm-uglify-js-1-2-5-package-tgz /root/.npm/uglify-js/1.2.5/package.tgz
npm sill lockFile 85d8f08d--npm-uglify-js-1-2-5-package-tgz /root/.npm/uglify-js/1.2.5/package.tgz
npm info preinstall uglify-js@1.2.5
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json
npm verb readDependencies using package.json deps
npm sill resolved []
npm verb about to build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js
npm info build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules/socket.io-client/node_modules' ]
npm info linkStuff uglify-js@1.2.5
npm verb linkBins uglify-js@1.2.5
npm verb link bins [ { uglifyjs: './bin/uglifyjs' },
npm verb link bins '/root/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin',
npm verb link bins false ]
npm verb linkMans uglify-js@1.2.5
npm verb rebuildBundles uglify-js@1.2.5
npm info install uglify-js@1.2.5
npm info postinstall uglify-js@1.2.5
npm http 304 https://registry.npmjs.org/tinycolor
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"276J6G2PTXSBOA0DHI7E6RI4X"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:58 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag tinycolor from cache
npm http 304 https://registry.npmjs.org/options
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"472CE52MUZXEJ3GMR1S7ZRH16"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:58 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag options from cache
npm http 304 https://registry.npmjs.org/commander
npm sill registry.get cb [ 304,
npm sill registry.get { server: 'CouchDB/1.2.1 (Erlang OTP/R15B03)',
npm sill registry.get etag: '"92B26UK3KU9CS5A9L6F08O5SN"',
npm sill registry.get date: 'Mon, 18 Mar 2013 05:13:58 GMT',
npm sill registry.get 'content-length': '0' } ]
npm verb etag commander from cache
npm sill addNameRange number 2 { name: 'tinycolor', range: '>=0.0.0- <1.0.0-', hasData: true }
npm sill addNameRange versions [ 'tinycolor', [ '0.0.1' ] ]
npm verb addNamed [ 'tinycolor', '0.0.1' ]
npm verb addNamed [ '0.0.1', '0.0.1' ]
npm sill lockFile 8ace0652-tinycolor-0-0-1 tinycolor@0.0.1
npm verb lock tinycolor@0.0.1 /root/.npm/8ace0652-tinycolor-0-0-1.lock
npm verb addNamed [ 'options', '0.0.3' ]
npm verb addNamed [ '0.0.3', '0.0.3' ]
npm sill lockFile 82d09623-options-0-0-3 options@0.0.3
npm verb lock options@0.0.3 /root/.npm/82d09623-options-0-0-3.lock
npm verb read json /root/.npm/tinycolor/0.0.1/package/package.json
npm verb read json /root/.npm/options/0.0.3/package/package.json
npm sill lockFile 8ace0652-tinycolor-0-0-1 tinycolor@0.0.1
npm sill lockFile 8ace0652-tinycolor-0-0-1 tinycolor@0.0.1
npm sill lockFile 82d09623-options-0-0-3 options@0.0.3
npm sill lockFile 82d09623-options-0-0-3 options@0.0.3
npm sill lockFile 8f23180d-tinycolor-0-x tinycolor@0.x
npm sill lockFile 8f23180d-tinycolor-0-x tinycolor@0.x
npm sill lockFile 479efb46-options-latest options@latest
npm sill lockFile 479efb46-options-latest options@latest
npm sill addNameRange number 2 { name: 'commander', range: '>=0.6.1- <0.7.0-', hasData: true }
npm sill addNameRange versions [ 'commander',
npm sill addNameRange [ '0.0.1',
npm sill addNameRange '0.0.3',
npm sill addNameRange '0.0.4',
npm sill addNameRange '0.0.5',
npm sill addNameRange '0.1.0',
npm sill addNameRange '0.2.0',
npm sill addNameRange '0.2.1',
npm sill addNameRange '0.3.0',
npm sill addNameRange '0.3.1',
npm sill addNameRange '0.3.2',
npm sill addNameRange '0.3.3',
npm sill addNameRange '0.4.0',
npm sill addNameRange '0.4.1',
npm sill addNameRange '0.4.2',
npm sill addNameRange '0.4.3',
npm sill addNameRange '0.5.0',
npm sill addNameRange '0.5.1',
npm sill addNameRange '0.6.0',
npm sill addNameRange '0.6.1',
npm sill addNameRange '0.5.2',
npm sill addNameRange '1.0.0',
npm sill addNameRange '1.0.1',
npm sill addNameRange '1.0.2',
npm sill addNameRange '1.0.3',
npm sill addNameRange '1.0.4',
npm sill addNameRange '1.0.5',
npm sill addNameRange '1.1.0',
npm sill addNameRange '1.1.1' ] ]
npm verb addNamed [ 'commander', '0.6.1' ]
npm verb addNamed [ '0.6.1', '0.6.1' ]
npm sill lockFile fa16a2ce-commander-0-6-1 commander@0.6.1
npm verb lock commander@0.6.1 /root/.npm/fa16a2ce-commander-0-6-1.lock
npm verb read json /root/.npm/commander/0.6.1/package/package.json
npm sill lockFile fa16a2ce-commander-0-6-1 commander@0.6.1
npm sill lockFile fa16a2ce-commander-0-6-1 commander@0.6.1
npm sill lockFile 5c53196d-commander-0-6-1 commander@~0.6.1
npm sill lockFile 5c53196d-commander-0-6-1 commander@~0.6.1
npm sill resolved [ { author:
npm sill resolved { name: 'Einar Otto Stangvik',
npm sill resolved email: 'einaros@gmail.com',
npm sill resolved url: 'http://2x.io' },
npm sill resolved name: 'tinycolor',
npm sill resolved description: 'a to-the-point color module for node',
npm sill resolved version: '0.0.1',
npm sill resolved repository: { type: 'git', url: 'git://github.com/einaros/tinycolor.git' },
npm sill resolved engines: { node: '>=0.4.0' },
npm sill resolved dependencies: {},
npm sill resolved devDependencies: {},
npm sill resolved main: 'tinycolor',
npm sill resolved readme: '# tinycolor #\n\nThis is a no-fuzz, barebone, zero muppetry color module for node.js.',
npm sill resolved readmeFilename: 'README.md',
npm sill resolved _id: 'tinycolor@0.0.1',
npm sill resolved _from: 'tinycolor@0.x' },
npm sill resolved { name: 'commander',
npm sill resolved version: '0.6.1',
npm sill resolved description: 'the complete solution for node.js command-line programs',
npm sill resolved keywords: [ 'command', 'option', 'parser', 'prompt', 'stdin' ],
npm sill resolved author: { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
npm sill resolved repository:
npm sill resolved { type: 'git',
npm sill resolved url: 'https://github.com/visionmedia/commander.js.git' },
npm sill resolved dependencies: {},
npm sill resolved devDependencies: { should: '>= 0.0.1' },
npm sill resolved scripts: { test: 'make test' },
npm sill resolved main: 'index',
npm sill resolved engines: { node: '>= 0.4.x' },
npm sill resolved readme: '# Commander.js\n\n The complete solution for [node.js](http://nodejs.org) command-line interfaces, inspired by Ruby\'s [commander](https://github.com/visionmedia/commander).\n\n [![Build Status](https://secure.travis-ci.org/visionmedia/commander.js.png)](http://travis-ci.org/visionmedia/commander.js)\n\n## Installation\n\n $ npm install commander\n\n## Option parsing\n\n Options with commander are defined with the `.option()` method, also serving as documentation for the options. The example below parses args and options from `process.argv`, leaving remaining args as the `program.args` array which were not consumed by options.\n\n```js\n#!/usr/bin/env node\n\n/**\n * Module dependencies.\n */\n\nvar program = require(\'commander\');\n\nprogram\n .version(\'0.0.1\')\n .option(\'-p, --peppers\', \'Add peppers\')\n .option(\'-P, --pineapple\', \'Add pineapple\')\n .option(\'-b, --bbq\', \'Add bbq sauce\')\n .option(\'-c, --cheese [type]\', \'Add the specified type of cheese [marble]\', \'marble\')\n .parse(process.argv);\n\nconsole.log(\'you ordered a pizza with:\');\nif (program.peppers) console.log(\' - peppers\');\nif (program.pineapple) console.log(\' - pineappe\');\nif (program.bbq) console.log(\' - bbq\');\nconsole.log(\' - %s cheese\', program.cheese);\n```\n\n Short flags may be passed as a single arg, for example `-abc` is equivalent to `-a -b -c`. Multi-word options such as "--template-engine" are camel-cased, becoming `program.templateEngine` etc.\n\n## Automated --help\n\n The help information is auto-generated based on the information commander already knows about your program, so the following `--help` info is for free:\n\n``` \n $ ./examples/pizza --help\n\n Usage: pizza [options]\n\n Options:\n\n -V, --version output the version number\n -p, --peppers Add peppers\n -P, --pineapple Add pineappe\n -b, --bbq Add bbq sauce\n -c, --cheese <type> Add the specified type of cheese [marble]\n -h, --help output usage information\n\n```\n\n## Coercion\n\n```js\nfunction range(val) {\n return val.split(\'..\').map(Number);\n}\n\nfunction list(val) {\n return val.split(\',\');\n}\n\nprogram\n .version(\'0.0.1\')\n .usage(\'[options] <file ...>\')\n .option(\'-i, --integer <n>\', \'An integer argument\', parseInt)\n .option(\'-f, --float <n>\', \'A float argument\', parseFloat)\n .option(\'-r, --range <a>..<b>\', \'A range\', range)\n .option(\'-l, --list <items>\', \'A list\', list)\n .option(\'-o, --optional [value]\', \'An optional value\')\n .parse(process.argv);\n\nconsole.log(\' int: %j\', program.integer);\nconsole.log(\' float: %j\', program.float);\nconsole.log(\' optional: %j\', program.optional);\nprogram.range = program.range || [];\nconsole.log(\' range: %j..%j\', program.range[0], program.range[1]);\nconsole.log(\' list: %j\', program.list);\nconsole.log(\' args: %j\', program.args);\n```\n\n## Custom help\n\n You can display arbitrary `-h, --help` information\n by listening for "--help". Commander will automatically\n exit once you are done so that the remainder of your program\n does not execute causing undesired behaviours, for example\n in the following executable "stuff" will not output when\n `--help` is used.\n\n```js\n#!/usr/bin/env node\n\n/**\n * Module dependencies.\n */\n\nvar program = require(\'../\');\n\nfunction list(val) {\n return val.split(\',\').map(Number);\n}\n\nprogram\n .version(\'0.0.1\')\n .option(\'-f, --foo\', \'enable some foo\')\n .option(\'-b, --bar\', \'enable some bar\')\n .option(\'-B, --baz\', \'enable some baz\');\n\n// must be before .parse() since\n// node\'s emit() is immediate\n\nprogram.on(\'--help\', function(){\n console.log(\' Examples:\');\n console.log(\'\');\n console.log(\' $ custom-help --help\');\n console.log(\' $ custom-help -h\');\n console.log(\'\');\n});\n\nprogram.parse(process.argv);\n\nconsole.log(\'stuff\');\n```\n\nyielding the following help output:\n\n```\n\nUsage: custom-help [options]\n\nOptions:\n\n -h, --help output usage information\n -V, --version output the version number\n -f, --foo enable some foo\n -b, --bar enable some bar\n -B, --baz enable some baz\n\nExamples:\n\n $ custom-help --help\n $ custom-help -h\n\n```\n\n## .prompt(msg, fn)\n\n Single-line prompt:\n\n```js\nprogram.prompt(\'name: \', function(name){\n console.log(\'hi %s\', name);\n});\n```\n\n Multi-line prompt:\n\n```js\nprogram.prompt(\'description:\', function(name){\n console.log(\'hi %s\', name);\n});\n```\n\n Coercion:\n\n```js\nprogram.prompt(\'Age: \', Number, function(age){\n console.log(\'age: %j\', age);\n});\n```\n\n```js\nprogram.prompt(\'Birthdate: \', Date, function(date){\n console.log(\'date: %s\', date);\n});\n```\n\n## .password(msg[, mask], fn)\n\nPrompt for password without echoing:\n\n```js\nprogram.password(\'Password: \', function(pass){\n console.log(\'got "%s"\', pass);\n process.stdin.destroy();\n});\n```\n\nPrompt for password with mask char "*":\n\n```js\nprogram.password(\'Password: \', \'*\', function(pass){\n console.log(\'got "%s"\', pass);\n process.stdin.destroy();\n});\n```\n\n## .confirm(msg, fn)\n\n Confirm with the given `msg`:\n\n```js\nprogram.confirm(\'continue? \', function(ok){\n console.log(\' got %j\', ok);\n});\n```\n\n## .choose(list, fn)\n\n Let the user choose from a `list`:\n\n```js\nvar list = [\'tobi\', \'loki\', \'jane\', \'manny\', \'luna\'];\n\nconsole.log(\'Choose the coolest pet:\');\nprogram.choose(list, function(i){\n console.log(\'you chose %d "%s"\', i, list[i]);\n});\n```\n\n## Links\n\n - [API documentation](http://visionmedia.github.com/commander.js/)\n - [ascii tables](https://github.com/LearnBoost/cli-table)\n - [progress bars](https://github.com/visionmedia/node-progress)\n - [more progress bars](https://github.com/substack/node-multimeter)\n - [examples](https://github.com/visionmedia/commander.js/tree/master/examples)\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 TJ Holowaychuk &lt;tj@vision-media.ca&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\'Software\'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \'AS IS\', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.',
npm sill resolved readmeFilename: 'Readme.md',
npm sill resolved _id: 'commander@0.6.1',
npm sill resolved _from: 'commander@~0.6.1' } ]
npm info install tinycolor@0.0.1 into /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
npm info install commander@0.6.1 into /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
npm info installOne tinycolor@0.0.1
npm info installOne commander@0.6.1
npm verb from cache /root/.npm/tinycolor/0.0.1/package/package.json
npm info /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor unbuild
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
npm verb from cache /root/.npm/commander/0.6.1/package/package.json
npm info /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander unbuild
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
npm verb tar unpack /root/.npm/tinycolor/0.0.1/package.tgz
npm sill lockFile e01eb909-odules-ws-node-modules-tinycolor /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
npm verb lock /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor /root/.npm/e01eb909-odules-ws-node-modules-tinycolor.lock
npm sill lockFile 1749e722--npm-tinycolor-0-0-1-package-tgz /root/.npm/tinycolor/0.0.1/package.tgz
npm verb lock /root/.npm/tinycolor/0.0.1/package.tgz /root/.npm/1749e722--npm-tinycolor-0-0-1-package-tgz.lock
npm verb tar unpack /root/.npm/commander/0.6.1/package.tgz
npm sill lockFile 01165892-odules-ws-node-modules-commander /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
npm verb lock /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander /root/.npm/01165892-odules-ws-node-modules-commander.lock
npm sill lockFile 2eb05114--npm-commander-0-6-1-package-tgz /root/.npm/commander/0.6.1/package.tgz
npm verb lock /root/.npm/commander/0.6.1/package.tgz /root/.npm/2eb05114--npm-commander-0-6-1-package-tgz.lock
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm modes [ '755', '644' ]
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry package.json
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry README.md
npm sill gunzTarPerm extractEntry .npmignore
npm sill gunzTarPerm extractEntry index.js
npm sill gunzTarPerm extractEntry example.js
npm sill gunzTarPerm extractEntry tinycolor.js
npm sill gunzTarPerm extractEntry .travis.yml
npm sill gunzTarPerm extractEntry History.md
npm sill gunzTarPerm extractEntry Makefile
npm sill gunzTarPerm extractEntry Readme.md
npm sill gunzTarPerm extractEntry lib/commander.js
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
npm sill lockFile e01eb909-odules-ws-node-modules-tinycolor /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
npm sill lockFile e01eb909-odules-ws-node-modules-tinycolor /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
npm sill lockFile 1749e722--npm-tinycolor-0-0-1-package-tgz /root/.npm/tinycolor/0.0.1/package.tgz
npm sill lockFile 1749e722--npm-tinycolor-0-0-1-package-tgz /root/.npm/tinycolor/0.0.1/package.tgz
npm info preinstall tinycolor@0.0.1
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
npm verb readDependencies using package.json deps
npm sill resolved []
npm verb about to build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
npm info build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/tinycolor/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules' ]
npm info linkStuff tinycolor@0.0.1
npm verb linkBins tinycolor@0.0.1
npm verb linkMans tinycolor@0.0.1
npm verb rebuildBundles tinycolor@0.0.1
npm info install tinycolor@0.0.1
npm info postinstall tinycolor@0.0.1
npm verb read json /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
npm sill lockFile 01165892-odules-ws-node-modules-commander /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
npm sill lockFile 01165892-odules-ws-node-modules-commander /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
npm sill lockFile 2eb05114--npm-commander-0-6-1-package-tgz /root/.npm/commander/0.6.1/package.tgz
npm sill lockFile 2eb05114--npm-commander-0-6-1-package-tgz /root/.npm/commander/0.6.1/package.tgz
npm info preinstall commander@0.6.1
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
npm verb readDependencies using package.json deps
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
npm verb readDependencies using package.json deps
npm sill resolved []
npm verb about to build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
npm info build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules/commander/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/node_modules' ]
npm info linkStuff commander@0.6.1
npm verb linkBins commander@0.6.1
npm verb linkMans commander@0.6.1
npm verb rebuildBundles commander@0.6.1
npm info install commander@0.6.1
npm info postinstall commander@0.6.1
npm verb about to build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
npm info build /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
npm verb from cache /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/package.json
npm verb linkStuff [ false,
npm verb linkStuff false,
npm verb linkStuff false,
npm verb linkStuff '/root/node_modules/socket.io/node_modules/socket.io-client/node_modules' ]
npm info linkStuff ws@0.4.25
npm verb linkBins ws@0.4.25
npm verb link bins [ { wscat: './bin/wscat' },
npm verb link bins '/root/node_modules/socket.io/node_modules/socket.io-client/node_modules/.bin',
npm verb link bins false ]
npm verb linkMans ws@0.4.25
npm verb rebuildBundles ws@0.4.25
npm verb rebuildBundles [ 'commander', 'tinycolor' ]
npm info install ws@0.4.25
npm verb unsafe-perm in lifecycle false
> ws@0.4.25 install /root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
npm sill exec sh "-c" "(node-gyp rebuild 2> builderror.log) || (exit 0)"
npm sill sh,-c,(node-gyp rebuild 2> builderror.log) || (exit 0),/root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws spawning
make: Entering directory `/root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/0.10.0/src -I/root/.node-gyp/0.10.0/deps/uv/include -I/root/.node-gyp/0.10.0/deps/v8/include -Wall -Wextra -Wno-unused-parameter -pthread -m32 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF ./Release/.deps/Release/obj.target/bufferutil/src/bufferutil.o.d.raw -c -o Release/obj.target/bufferutil/src/bufferutil.o ../src/bufferutil.cc
flock ./Release/linker.lock g++ -shared -pthread -rdynamic -m32 -Wl,-soname=bufferutil.node -o Release/obj.target/bufferutil.node -Wl,--start-group Release/obj.target/bufferutil/src/bufferutil.o -Wl,--end-group
SOLINK_MODULE(target) Release/obj.target/bufferutil.node: Finished
ln -f "Release/obj.target/bufferutil.node" "Release/bufferutil.node" 2>/dev/null || (rm -rf "Release/bufferutil.node" && cp -af "Release/obj.target/bufferutil.node" "Release/bufferutil.node")
g++ '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-DBUILDING_NODE_EXTENSION' -I/root/.node-gyp/0.10.0/src -I/root/.node-gyp/0.10.0/deps/uv/include -I/root/.node-gyp/0.10.0/deps/v8/include -Wall -Wextra -Wno-unused-parameter -pthread -m32 -O2 -fno-strict-aliasing -fno-tree-vrp -fno-tree-sink -fno-rtti -fno-exceptions -MMD -MF ./Release/.deps/Release/obj.target/validation/src/validation.o.d.raw -c -o Release/obj.target/validation/src/validation.o ../src/validation.cc
flock ./Release/linker.lock g++ -shared -pthread -rdynamic -m32 -Wl,-soname=validation.node -o Release/obj.target/validation.node -Wl,--start-group Release/obj.target/validation/src/validation.o -Wl,--end-group
SOLINK_MODULE(target) Release/obj.target/validation.node: Finished
ln -f "Release/obj.target/validation.node" "Release/validation.node" 2>/dev/null || (rm -rf "Release/validation.node" && cp -af "Release/obj.target/validation.node" "Release/validation.node")
make: Leaving directory `/root/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws/build'
npm info postinstall ws@0.4.25
npm ERR! cb() never called!
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment