{"_id":"stomp-websocket","_rev":"3-2fbb93ebea9e241ae160ce6ed48747c8","name":"stomp-websocket","dist-tags":{"latest":"2.3.4-next"},"versions":{"2.3.4-next":{"name":"stomp-websocket","version":"2.3.4-next","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":"git+https://github.com/jmesnil/stomp-websocket.git"},"keywords":["STOMP","Web sockets","messaging","queue"],"license":"Apache-2.0","bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"gitHead":"3b60a70bdb94ae34e7a2891e5ca8c50ed6e2b751","homepage":"https://github.com/jmesnil/stomp-websocket#readme","dependencies":{"websocket":"latest"},"_id":"stomp-websocket@2.3.4-next","_shasum":"253b6e5046a55e6c8e09aa60663ca7627531cb1b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.4","_npmUser":{"name":"charley_vince","email":"kondrashouelizar@gmail.com"},"dist":{"shasum":"253b6e5046a55e6c8e09aa60663ca7627531cb1b","tarball":"https://registry.npmjs.org/stomp-websocket/-/stomp-websocket-2.3.4-next.tgz","fileCount":52,"unpackedSize":667293,"integrity":"sha512-alu5aGmKqGSVqb3Vx5G/AgXldci6PC2H8GT/SG5FHHKHkVvIYcqCZuiKWaHnFYwpDIEX5yqZly7SFIhY5rwTjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGqILKG2U6OZHcrx8B43dfYpqyiRIEnrCN1ze1a1ax7GAiEA1tQDz09ka45iK0k6H7508AxMy3QCywcFUP0OdNL70xA="}]},"maintainers":[{"name":"charley_vince","email":"kondrashouelizar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stomp-websocket_2.3.4-next_1521127848400_0.36246924787213985"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-15T15:30:48.399Z","2.3.4-next":"2018-03-15T15:30:48.695Z","modified":"2022-06-27T00:29:14.712Z"},"maintainers":[{"name":"charley_vince","email":"kondrashouelizar@gmail.com"}],"description":"STOMP for JavaScript apps (Web browser & node.js)","homepage":"https://github.com/jmesnil/stomp-websocket#readme","keywords":["STOMP","Web sockets","messaging","queue"],"repository":{"type":"git","url":"git+https://github.com/jmesnil/stomp-websocket.git"},"author":{"name":"Jeff Mesnil","email":"jmesnil@gmail.com"},"bugs":{"url":"https://github.com/jmesnil/stomp-websocket/issues"},"license":"Apache-2.0","readme":"# STOMP.js\r\n\r\nThis library provides a STOMP client for Web browser (using Web Sockets) or node.js applications (either using raw TCP sockets or Web Sockets).\r\n\r\n# Project Status\r\n\r\n__This project is _no longer maintained_ ([some context about this decision](http://jmesnil.net/weblog/2015/09/04/stepping-out-from-personal-open-source-projects/)).__\r\n\r\n__If you encounter bugs with it or need enhancements, you can fork it and modify it as the project is under the Apache License 2.0.__\r\n\r\n## Web Browser support\r\n\r\nThe library file is located in `lib/stomp.js` (a minified version is available in `lib/stomp.min.js`).\r\nIt does not require any dependency (except WebSocket support from the browser or an alternative to WebSocket!)\r\n\r\nOnline [documentation][doc] describes the library API (including the [annotated source code][annotated]).\r\n\r\n## node.js support\r\n\r\nInstall the 'stompjs' module\r\n\r\n    $ npm install stompjs\r\n\r\nIn the node.js app, require the module with:\r\n\r\n    var Stomp = require('stompjs');\r\n\r\nTo connect to a STOMP broker over a TCP socket, use the `Stomp.overTCP(host, port)` method:\r\n\r\n    var client = Stomp.overTCP('localhost', 61613);\r\n\r\nTo connect to a STOMP broker over a WebSocket, use instead the `Stomp.overWS(url)` method:\r\n\r\n    var client = Stomp.overWS('ws://localhost:61614');\r\n\r\n## Development Requirements\r\n\r\nFor development (testing, building) the project requires node.js. This allows us to run tests without the browser continuously during development (see `cake watch`).\r\n\r\n    $ npm install\r\n\r\n## Building and Testing\r\n\r\n[![Build Status](https://secure.travis-ci.org/jmesnil/stomp-websocket.png)](http://travis-ci.org/jmesnil/stomp-websocket)\r\n\r\nTo build JavaScript from the CoffeeScript source code:\r\n\r\n    $ cake build\r\n\r\nTo run tests:\r\n\r\n    $ cake test\r\n\r\nTo continuously run tests on file changes:\r\n\r\n    $ cake watch\r\n\r\n\r\n## Browser Tests\r\n\r\n* Make sure you have a running STOMP broker which supports the WebSocket protocol\r\n (see the [documentation][doc])\r\n* Open in your web browser the project's [test page](browsertests/index.html)\r\n* Check all tests pass\r\n\r\n## Use\r\n\r\nThe project contains examples for using stomp.js\r\nto send and receive STOMP messages from a server directly in the Web Browser or in a WebWorker.\r\n\r\n## Authors\r\n\r\n * [Jeff Mesnil](http://jmesnil.net/)\r\n * [Jeff Lindsay](http://github.com/progrium)\r\n\r\n[doc]: http://jmesnil.net/stomp-websocket/doc/\r\n[annotated]: http://jmesnil.net/stomp-websocket/doc/stomp.html\r\n","readmeFilename":"README.md"}