{"_id":"stompjs","_rev":"28-ef33897708bd6917bf9c2ecf37fd804f","name":"stompjs","description":"STOMP for JavaScript apps (Web browser & node.js)","dist-tags":{"latest":"2.3.3"},"versions":{"2.1.0-next":{"name":"stompjs","version":"2.1.0-next","author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"description":"STOMP for JavaScript","scripts":{"build":"cake build","test":"coffeelint -f coffeelint.json -r src && cake test"},"devDependencies":{"coffee-script":"latest","coffeelint":"latest","jasmine-node":"latest","uglify-js":"latest","docco":"latest","connect":"latest"},"optionalDependencies":{"websocket":"latest"},"directories":{"doc":"doc","example":"example","test":"test"},"repository":{"type":"git","url":"https://github.com/jmesnil/stomp-websocket"},"keywords":["STOMP","Web sockets","messaging","queue"],"license":"APL v2","bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"dependencies":{"websocket":"latest"},"_id":"stompjs@2.1.0-next","dist":{"shasum":"7a0fce241c578fe62b2a54b29562abe9e1db53cb","tarball":"https://registry.npmjs.org/stompjs/-/stompjs-2.1.0-next.tgz","integrity":"sha512-4cZgXjAL9SaDHBiu2NXZYpHoUmWIQXPJhQSncMOjyDruYPqOImZ15IBa5DZ/fHEWgEFwjTBSr6REuLLegdFRwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjTiYO/QkuvyC+1DE8YrOW4zAZCWsfFlvc7Ngehq3nKAiEAolqKnpRM6HvAY7qMBEqWWOgv8RdIs3VP+h436ENZ+Bs="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"jmesnil","email":"jmesnil@gmail.com"},"maintainers":[{"name":"jmesnil","email":"jmesnil@gmail.com"}]},"2.2.0":{"name":"stompjs","version":"2.2.0","author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"description":"STOMP for JavaScript apps (Web browser & node.js)","scripts":{"build":"cake build","test":"coffeelint -f coffeelint.json -r src && cake test"},"devDependencies":{"coffee-script":"latest","coffeelint":"latest","jasmine-node":"latest","uglify-js":"latest","docco":"latest","connect":"latest"},"optionalDependencies":{"websocket":"latest"},"directories":{"doc":"doc","example":"example","test":"test"},"repository":{"type":"git","url":"https://github.com/jmesnil/stomp-websocket"},"keywords":["STOMP","Web sockets","messaging","queue"],"license":"APL v2","bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"dependencies":{"websocket":"latest"},"_id":"stompjs@2.2.0","dist":{"shasum":"7a494fb7b4b25c936e3a6fac309a570f4bfb83dc","tarball":"https://registry.npmjs.org/stompjs/-/stompjs-2.2.0.tgz","integrity":"sha512-4K58UpG5PiZHFPzvzvV1SJe6lKnDltvuTBOF2OC5jblSHo1LNO0p4eV2y4JiOUSs/rDT2LVE37Off97xoWNxnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjp4yArOagrJ5yB7uoRx0iOo9h+9qLwwoTKFc/r5HAVQIgOYtVmH+Kf3VpGpVO/G3F5qhL6jJuKBfA0SAaOzjzrqM="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"jmesnil","email":"jmesnil@gmail.com"},"maintainers":[{"name":"jmesnil","email":"jmesnil@gmail.com"}]},"2.3.0":{"name":"stompjs","version":"2.3.0","author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"description":"STOMP for JavaScript apps (Web browser & node.js)","scripts":{"build":"cake build","test":"coffeelint -f coffeelint.json -r src && cake test"},"devDependencies":{"coffee-script":"latest","coffeelint":"latest","jasmine-node":"latest","uglify-js":"latest","docco":"latest","connect":"latest"},"optionalDependencies":{"websocket":"latest"},"directories":{"doc":"doc","example":"example","test":"test"},"repository":{"type":"git","url":"https://github.com/jmesnil/stomp-websocket"},"keywords":["STOMP","Web sockets","messaging","queue"],"license":"Apache-2.0","bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"dependencies":{"websocket":"latest"},"_id":"stompjs@2.3.0","dist":{"shasum":"dfa9d58b056ccc780baf9e37bb4017526dfe9d2e","tarball":"https://registry.npmjs.org/stompjs/-/stompjs-2.3.0.tgz","integrity":"sha512-EzUOizFKw6quIHfD7il3E6mPLO0kGl4Q8Oozwrkc8IW6is8DBFqLJxtT82Os1W0T9X7FfW5Gdnyokbb/3qVdMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEQ0kDiMeDQjULchwOuiTvfsxMuWh99/1CoUiSzdeQ0AiEA5uloq+vplfvaiSgCJ76xdYWx3co5k0V+39CDHZtdzeY="}]},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"jmesnil","email":"jmesnil@gmail.com"},"maintainers":[{"name":"jmesnil","email":"jmesnil@gmail.com"}]},"2.3.1":{"name":"stompjs","version":"2.3.1","author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"description":"STOMP for JavaScript apps (Web browser & node.js)","scripts":{"build":"cake build","test":"coffeelint -f coffeelint.json -r src && cake test"},"devDependencies":{"coffee-script":"latest","coffeelint":"latest","jasmine-node":"latest","uglify-js":"latest","docco":"latest","connect":"latest"},"optionalDependencies":{"websocket":"latest"},"directories":{"doc":"doc","example":"example","test":"test"},"repository":{"type":"git","url":"https://github.com/jmesnil/stomp-websocket"},"keywords":["STOMP","Web sockets","messaging","queue"],"license":"Apache-2.0","bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"homepage":"https://github.com/jmesnil/stomp-websocket","dependencies":{"websocket":"latest"},"_id":"stompjs@2.3.1","dist":{"shasum":"bac598966da610201ba588c6c1c662ff593c2bc8","tarball":"https://registry.npmjs.org/stompjs/-/stompjs-2.3.1.tgz","integrity":"sha512-AXDn2HlJOXIS/snIoM4PNA0Mm9pSs+hgQrc1mzm15a6scQFAwobk/8kSY3Xsja6Yx+Le6c/acgYXLqaaIsU4rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCp8kgJLCiqhgT5jps8QXSDMOqufHQjYByNOVs1umWYAiA8eoqbWifw5JSYCa2+KxBz5mZDCwXrkBnzAfGco4Gl+g=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"jmesnil","email":"jmesnil@gmail.com"},"maintainers":[{"name":"jmesnil","email":"jmesnil@gmail.com"}]},"2.3.2":{"name":"stompjs","version":"2.3.2","author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"description":"STOMP for JavaScript apps (Web browser & node.js)","scripts":{"build":"cake build","test":"coffeelint -f coffeelint.json -r src && cake test"},"devDependencies":{"coffee-script":"latest","coffeelint":"latest","jasmine-node":"latest","uglify-js":"latest","docco":"latest","connect":"latest"},"optionalDependencies":{"websocket":"latest"},"directories":{"doc":"doc","example":"example","test":"test"},"repository":{"type":"git","url":"https://github.com/jmesnil/stomp-websocket"},"keywords":["STOMP","Web sockets","messaging","queue"],"license":"Apache-2.0","bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"homepage":"https://github.com/jmesnil/stomp-websocket","dependencies":{"websocket":"latest"},"_id":"stompjs@2.3.2","dist":{"shasum":"b10e81b067fff12dfbeebad8bb7c19798046d749","tarball":"https://registry.npmjs.org/stompjs/-/stompjs-2.3.2.tgz","integrity":"sha512-iCg+QvUuTMpeLJyd8s2y2m+HKKDeBAx5CkmZ18HCOqqFtuW4qTCjQ+1K+VtKASG6U3b5y1gpS9/mD+65dMd4Xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGGzp4jlVlZVNTVFAJLrllzQTncoqZCJUKOtCMRm6/dAIgb0DO5pTZr6wkpBw4H1mWt/TDG5vvLBz0p42xGwnAIHs="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jmesnil","email":"jmesnil@gmail.com"},"maintainers":[{"name":"jmesnil","email":"jmesnil@gmail.com"}]},"2.3.3":{"name":"stompjs","version":"2.3.3","author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"description":"STOMP for JavaScript apps (Web browser & node.js)","scripts":{"build":"cake build","test":"coffeelint -f coffeelint.json -r src && cake test"},"devDependencies":{"coffee-script":"latest","coffeelint":"latest","jasmine-node":"latest","uglify-js":"latest","docco":"latest","connect":"latest"},"optionalDependencies":{"websocket":"latest"},"directories":{"doc":"doc","example":"example","test":"test"},"repository":{"type":"git","url":"https://github.com/jmesnil/stomp-websocket"},"keywords":["STOMP","Web sockets","messaging","queue"],"license":"Apache-2.0","bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"homepage":"https://github.com/jmesnil/stomp-websocket","dependencies":{"websocket":"latest"},"_id":"stompjs@2.3.3","dist":{"shasum":"34178ac7bb8ee294cc5d554ad8b50f7f5459fd8e","tarball":"https://registry.npmjs.org/stompjs/-/stompjs-2.3.3.tgz","integrity":"sha512-5l/Ogz0DTFW7TrpHF0LAETGqM/so8UxNJvYZjJKqcX31EVprSQgnGkO80tZctPC/lFBDUrSFiTG3xd0R27XAIA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqWx5o+dDZCBSszxkGnCRc4tB4o3pKlBXR+gA7U/xc2QIhAJEvPGFK53xE4ezFSwnqGNeQhVPrO3Bz54lHeZp+VsAa"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jmesnil","email":"jmesnil@gmail.com"},"maintainers":[{"name":"jmesnil","email":"jmesnil@gmail.com"}]}},"readme":"# STOMP.js\n\nThis library provides a STOMP client for Web browser (using Web Sockets) or node.js applications (either using raw TCP sockets or Web Sockets).\n\n## Web Browser support\n\nThe library file is located in `lib/stomp.js` (a minified version is available in `lib/stomp.min.js`).\nIt does not require any dependency (except WebSocket support from the browser or an alternative to WebSocket!)\n\nOnline [documentation][doc] describes the library API (including the [annotated source code][annotated]).\n\n## node.js support\n\nInstall the 'stompjs' module\n\n    $ npm install stompjs\n\nIn the node.js app, require the module with:\n\n    var Stomp = require('stompjs');\n\nTo connect to a STOMP broker over a TCP socket, use the `Stomp.overTCP(host, port)` method:\n\n    var client = Stomp.overTCP('localhost', 61613);\n\nTo connect to a STOMP broker over a WebSocket, use instead the `Stomp.overWS(url)` method:\n\n    var client = Stomp.overWS('ws://localhost:61614');\n\n## Development Requirements\n\nFor development (testing, building) the project requires node.js. This allows us to run tests without the browser continuously during development (see `cake watch`).\n\n    $ npm install\n\n## Building and Testing\n\n[![Build Status](https://secure.travis-ci.org/jmesnil/stomp-websocket.png)](http://travis-ci.org/jmesnil/stomp-websocket)\n\nTo build JavaScript from the CoffeeScript source code:\n\n    $ cake build\n\nTo run tests:\n\n    $ cake test\n\nTo continuously run tests on file changes:\n\n    $ cake watch\n\n\n## Browser Tests\n\n* Make sure you have a running STOMP broker which supports the WebSocket protocol\n (see the [documentation][doc])\n* Open in your web browser the project's [test page](browsertests/index.html)\n* Check all tests pass\n\n## Use\n\nThe project contains examples for using stomp.js\nto send and receive STOMP messages from a server directly in the Web Browser or in a WebWorker.\n\n## Authors\n\n * [Jeff Mesnil](http://jmesnil.net/)\n * [Jeff Lindsay](http://github.com/progrium)\n\n[doc]: http://jmesnil.net/stomp-websocket/doc/\n[annotated]: http://jmesnil.net/stomp-websocket/doc/stomp.html\n","maintainers":[{"name":"jmesnil","email":"jmesnil@gmail.com"}],"time":{"modified":"2022-06-27T00:29:16.683Z","created":"2013-09-25T09:13:52.440Z","2.1.0-next":"2013-09-25T09:13:58.145Z","2.2.0":"2013-09-25T09:37:55.638Z","2.3.0":"2013-09-25T14:26:54.857Z","2.3.1":"2014-02-18T13:08:40.049Z","2.3.2":"2014-06-18T07:58:13.310Z","2.3.3":"2014-07-04T14:58:28.014Z"},"author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"repository":{"type":"git","url":"https://github.com/jmesnil/stomp-websocket"},"readmeFilename":"README.md","users":{"ring":true,"freegenie":true,"sagarjadhav":true},"homepage":"https://github.com/jmesnil/stomp-websocket","keywords":["STOMP","Web sockets","messaging","queue"],"bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"license":"Apache-2.0"}