mirror of
https://github.com/amark/gun.git
synced 2026-02-25 21:02:32 +00:00
33 lines
1.3 KiB
JSON
33 lines
1.3 KiB
JSON
{
|
|
"name": "sockjs-client",
|
|
"author": {
|
|
"name": "Matthew Sackman"
|
|
},
|
|
"version": "0.1.3",
|
|
"keywords": [
|
|
"websockets",
|
|
"websocket"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/sockjs/sockjs-client-node.git"
|
|
},
|
|
"main": "index",
|
|
"description": "Client library for SockJS",
|
|
"dependencies": {
|
|
"node-uuid": "1.3.3"
|
|
},
|
|
"readme": "# SockJS Client Node\n\nNode client for [SockJS](https://github.com/sockjs). Currently, only\nthe XHR Streaming transport is supported.\n\n## Usage\n\n var sjsc = require('sockjs-client');\n var client = sjsc.create(\"http://localhost/sjsServer\");\n client.on('connection', function () { // connection is established });\n client.on('data', function (msg) { // received some data });\n client.on('error', function (e) { // something went wrong });\n client.write(\"Have some text you mighty SockJS server!\");\n",
|
|
"readmeFilename": "README.md",
|
|
"bugs": {
|
|
"url": "https://github.com/sockjs/sockjs-client-node/issues"
|
|
},
|
|
"homepage": "https://github.com/sockjs/sockjs-client-node",
|
|
"_id": "sockjs-client@0.1.3",
|
|
"dist": {
|
|
"shasum": "aaaf2f27bf4bf6f101e69f71008c8dbe6e810a81"
|
|
},
|
|
"_from": "sockjs-client@~>0.1.3",
|
|
"_resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-0.1.3.tgz"
|
|
}
|