{"_id":"@aansi/spool","_rev":"3-edf4db743931c4ff5ba743120cf24e54","name":"@aansi/spool","description":"Package to handle the undelivered message to the mqtt broker","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@aansi/spool","version":"1.0.0","description":"Package to handle the undelivered message to the mqtt broker","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/mahjnalisha/node-red-contrib-spool.git"},"keywords":["spool"],"node-red":{"nodes":{"spool":"spool/spool.js"}},"author":{"name":"alsaanishanita"},"license":"GPLv3","bugs":{"url":"https://github.com/mahjnalisha/node-red-contrib-spool/issues"},"homepage":"https://github.com/mahjnalisha/node-red-contrib-spool#readme","dependencies":{"sqlite3":"^3.1.8","@aansi/spool":"^1.0.0"},"gitHead":"149fbb4668b44548e5e9015c022f90eaee54bb66","_id":"@aansi/spool@1.0.0","_shasum":"cdf0edcacf0d88f107ecd34267101c7dccf8360b","_from":".","_npmVersion":"2.15.11","_nodeVersion":"6.10.1","_npmUser":{"name":"aansi","email":"aan.project2017@gmail.com"},"dist":{"shasum":"cdf0edcacf0d88f107ecd34267101c7dccf8360b","tarball":"https://registry.npmjs.org/@aansi/spool/-/spool-1.0.0.tgz","integrity":"sha512-+1Abvc50jEt3cOeZyS3u53MM38+pylL0/CWAKFCfjhs7HcEMXZkr5KBP6JbhZnWBa8Q8kHIFHnKfIxUni5FFfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWDS/GDd34xkQ2VP8XixMsWcIykatD7V0zrAX9GzxBFAIgJ2robaW1p/jmj1dddaVoil60iytaPVibDuUiJZWqtmQ="}]},"maintainers":[{"name":"aansi","email":"aan.project2017@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spool-1.0.0.tgz_1496287708101_0.24805983575060964"}},"1.0.1":{"name":"@aansi/spool","version":"1.0.1","description":"Package to handle the undelivered message to the mqtt broker","main":"index.js","directories":{"example":"examples"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/mahjnalisha/node-red-contrib-spool.git"},"keywords":["spool"],"node-red":{"nodes":{"spool":"spool/spool.js"}},"author":{"name":"alsaanishanita"},"license":"GPLv3","bugs":{"url":"https://github.com/mahjnalisha/node-red-contrib-spool/issues"},"homepage":"https://github.com/mahjnalisha/node-red-contrib-spool#readme","dependencies":{"sqlite3":"^3.1.8","@aansi/spool":"^1.0.1"},"gitHead":"1b230c58b836f943ce703e177f07f0bd384aa466","_id":"@aansi/spool@1.0.1","_shasum":"f9ebd5c30e55871123b3856bca7829f3a4b5d113","_from":".","_npmVersion":"2.15.11","_nodeVersion":"6.10.1","_npmUser":{"name":"aansi","email":"aan.project2017@gmail.com"},"dist":{"shasum":"f9ebd5c30e55871123b3856bca7829f3a4b5d113","tarball":"https://registry.npmjs.org/@aansi/spool/-/spool-1.0.1.tgz","integrity":"sha512-p4oqaXwVmi7J+P9wBLan/7ADtvzNKlvLEp2SpogIaHFbGYzfweTq0hNXL4XFQJfXTz2aNkR/uzjVjHvmOcr+5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKPJyNkrliHJ+1gi/B/iL3zLLObdqM+Hdxof4f+Zpm+gIhALMpHzp3NSTCkBo1b5elIdv1R8+ucCMzTtfxaOI18s/B"}]},"maintainers":[{"name":"aansi","email":"aan.project2017@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spool-1.0.1.tgz_1496289363287_0.22499408153817058"}}},"readme":"#\r\n# Welcome to Spool Node\r\n## node-red-contrib-spool\r\nA Node-RED node for storing and delivering the undelivered outbound messages from the serial devices to the broker.\r\n#### Overview\r\nThe main objective of this node is to prevent the loss of any outbound messages during the brokers' downtime by storing it in the sqlite database and re sending the messages to the broker once it is active or reconnected.\r\nIt is relatively easy to install on different operating system such as Linux, Windows and MacOS.\r\n\r\n#### Installation\r\nInstall node-red-contrib-spool by following the instructions \r\n\r\n```javascript\r\n> cd $HOME/.node-red\r\n\r\n> npm install @aansi/spool\r\n```\r\nOr\r\nYou can follow the adding nodes instructions from the [Node-RED Getting Started Documentation][1].\r\n\r\n#### Usage\r\nTo implement this node, start or restart the Node-RED (See the [Documentation][2] for getting started).\r\nThe example flow for the spool node is illustrated below. You can also re-create this flow by copying the given [Example][3] (json format) and importing it in your Node-RED. \r\n\r\n![alt Spool Flow](https://github.com/mahjnalisha/node-red-contrib-spool/raw/master/examples/node-red-contrib-spool-example-flow.png)\r\n\r\n#### TODO\r\nCreation of database based on user input\r\n\r\nImplementation of other messaging protocol such as UDP\r\n\r\n#### Licence\r\nCopyright (c) 2017 Alisha Maharjan, Anisha Shrestha and Nita Regmi\r\n\r\nLicenced under the terms of the GPLv3\r\nGPLv3\r\n\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r\n\r\n\r\n\r\n#### Contributors\r\nAlisha Maharjan\r\n\r\nAnisha Shrestha\r\n\r\nNita Regmi\r\n    \r\n#### Acknowledgements\r\nWe would like to acknowledge the contribution of Damien Clark who have guided us throughout this project.\r\n\r\n\r\n  [1]: http://nodered.org/docs/getting-started/adding-nodes\r\n\r\n  [2]: http://nodered.org/docs/getting-started/running.html\r\n  [3]: https://github.com/mahjnalisha/node-red-contrib-spool/blob/master/examples/node-red-contrib-spool-example-flow.json\r\n\r\n\r\n\r\n","maintainers":[{"name":"aansi","email":"aan.project2017@gmail.com"}],"time":{"modified":"2022-06-12T14:13:30.312Z","created":"2017-06-01T03:28:28.276Z","1.0.0":"2017-06-01T03:28:28.276Z","1.0.1":"2017-06-01T03:56:03.464Z"},"homepage":"https://github.com/mahjnalisha/node-red-contrib-spool#readme","keywords":["spool"],"repository":{"type":"git","url":"git+https://github.com/mahjnalisha/node-red-contrib-spool.git"},"author":{"name":"alsaanishanita"},"bugs":{"url":"https://github.com/mahjnalisha/node-red-contrib-spool/issues"},"license":"GPLv3","readmeFilename":"README.md"}