{ "_args": [ [ { "raw": "socket.io-client@~2.0.2", "scope": null, "escapedName": "socket.io-client", "name": "socket.io-client", "rawSpec": "~2.0.2", "spec": ">=2.0.2 <2.1.0", "type": "range" }, "/Users/fzy/project/3mang/node_modules/socket.io" ] ], "_from": "socket.io-client@>=2.0.2 <2.1.0", "_id": "socket.io-client@2.0.3", "_inCache": true, "_location": "/socket.io-client", "_nodeVersion": "6.9.4", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/socket.io-client-2.0.3.tgz_1497269241170_0.7307047063950449" }, "_npmUser": { "name": "darrachequesne", "email": "damien.arrachequesne@gmail.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "socket.io-client@~2.0.2", "scope": null, "escapedName": "socket.io-client", "name": "socket.io-client", "rawSpec": "~2.0.2", "spec": ">=2.0.2 <2.1.0", "type": "range" }, "_requiredBy": [ "/socket.io" ], "_resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.0.3.tgz", "_shasum": "6caf4aff9f85b19fd91b6ce13d69adb564f8873b", "_shrinkwrap": null, "_spec": "socket.io-client@~2.0.2", "_where": "/Users/fzy/project/3mang/node_modules/socket.io", "bugs": { "url": "https://github.com/Automattic/socket.io-client/issues" }, "contributors": [ { "name": "Guillermo Rauch", "email": "rauchg@gmail.com" }, { "name": "Arnout Kazemier", "email": "info@3rd-eden.com" }, { "name": "Vladimir Dronnikov", "email": "dronnikov@gmail.com" }, { "name": "Einar Otto Stangvik", "email": "einaros@gmail.com" } ], "dependencies": { "backo2": "1.0.2", "base64-arraybuffer": "0.1.5", "component-bind": "1.0.0", "component-emitter": "1.2.1", "debug": "~2.6.4", "engine.io-client": "~3.1.0", "has-cors": "1.1.0", "indexof": "0.0.1", "object-component": "0.0.3", "parseqs": "0.0.5", "parseuri": "0.0.5", "socket.io-parser": "~3.1.1", "to-array": "0.1.4" }, "description": "[](http://travis-ci.org/socketio/socket.io-client) [](https://david-dm.org/socketio/socket.io-client) [](https://david-dm.org/socketio/socket.io-client#info=devDependencies)   [](http://slack.socket.io)", "devDependencies": { "babel-core": "^6.24.1", "babel-eslint": "4.1.7", "babel-loader": "7.0.0", "babel-preset-es2015": "6.24.1", "concat-stream": "^1.6.0", "derequire": "^2.0.6", "eslint-config-standard": "4.4.0", "eslint-plugin-standard": "1.3.1", "expect.js": "0.3.1", "gulp": "^3.9.1", "gulp-eslint": "1.1.1", "gulp-file": "^0.3.0", "gulp-istanbul": "^1.1.1", "gulp-mocha": "^4.3.1", "gulp-task-listing": "1.0.1", "imports-loader": "^0.7.1", "istanbul": "^0.4.5", "mocha": "^3.3.0", "socket.io": "^2.0.2", "strip-loader": "0.1.2", "text-blob-builder": "0.0.1", "webpack-stream": "3.2.0", "zuul": "^3.11.1 ", "zuul-builder-webpack": "^1.2.0", "zuul-ngrok": "4.0.0" }, "directories": {}, "dist": { "shasum": "6caf4aff9f85b19fd91b6ce13d69adb564f8873b", "tarball": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.0.3.tgz" }, "files": [ "lib/", "dist/" ], "gitHead": "19f2b1990079f7bc206186490fffd8fda1a01e8c", "homepage": "https://github.com/Automattic/socket.io-client#readme", "keywords": [ "realtime", "framework", "websocket", "tcp", "events", "client" ], "license": "MIT", "main": "./lib/index", "maintainers": [ { "name": "darrachequesne", "email": "damien.arrachequesne@gmail.com" }, { "name": "rauchg", "email": "rauchg@gmail.com" } ], "name": "socket.io-client", "optionalDependencies": {}, "readme": "\n# socket.io-client\n\n[](http://travis-ci.org/socketio/socket.io-client)\n[](https://david-dm.org/socketio/socket.io-client)\n[](https://david-dm.org/socketio/socket.io-client#info=devDependencies)\n\n\n[](http://slack.socket.io)\n\n[](https://saucelabs.com/u/socket)\n\n## How to use\n\nA standalone build of `socket.io-client` is exposed automatically by the\nsocket.io server as `/socket.io/socket.io.js`. Alternatively you can\nserve the file `socket.io.js` found in the `dist` folder.\n\n```html\n<script src=\"/socket.io/socket.io.js\"></script>\n<script>\n var socket = io('http://localhost');\n socket.on('connect', function(){});\n socket.on('event', function(data){});\n socket.on('disconnect', function(){});\n</script>\n```\n\nA slim build (without `JSON3`, a JSON polyfill for IE6/IE7, and `debug`) is also available: `socket.io.slim.js`.\n\nSocket.IO is compatible with [browserify](http://browserify.org/).\n\n### Node.JS (server-side usage)\n\n Add `socket.io-client` to your `package.json` and then:\n\n ```js\n var socket = require('socket.io-client')('http://localhost');\n socket.on('connect', function(){});\n socket.on('event', function(data){});\n socket.on('disconnect', function(){});\n ```\n\n## API\n\nSee [API](/docs/API.md)\n\n## License\n\n[MIT](/LICENSE)\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/Automattic/socket.io-client.git" }, "scripts": { "test": "gulp test" }, "version": "2.0.3" }