bugswarm-cfg
v0.4.3
Published
[Configuration] BUGswarm is platform that allows you to share and access your hardware sensor data easily and effortlessly.
Downloads
19
Readme
BUGswarm NodeJS library
This library has two main modules: participation and configuration. Use the the configuration module to set up your swarms, resources as well as to manage invitations and API keys. Use the participation module to send and receive messages and binary data.
This library is an implementation of BUGswarm API.
Features
- Manages swarms, resources, invitations and apikeys.
- Sends and receives private and public messages, as well as presence, between swarms and resources.
- Sends and receives binary files.
Installation
npm install bugswarm
Usage example
Producing data:
//TODO
Consuming:
//TODO
Take a look at the documentation for details about the library API and, for more comprehensive examples, at the examples directory.
Fork it, improve it and send us pull requests.
git clone [email protected]:buglabs/bugswarm-api.git && cd bugswarm-api/nodejs
License
(The MIT License)
Copyright 2011 BugLabs. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.