{"_id":"@corbinu/agenda-persistence-mongoskin","_rev":"3-62fd1e878f90ffdb7583ed2211f43dfc","name":"@corbinu/agenda-persistence-mongoskin","description":"Mongoskin persistence for Agenda Light weight job scheduler","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@corbinu/agenda-persistence-mongoskin","version":"0.1.0","description":"Mongoskin persistence for Agenda Light weight job scheduler","main":"index.js","scripts":{"lab":"lab --coverage --threshold 80 --leaks","eslint":"eslint .","test":"npm run eslint && npm run lab"},"repository":{"type":"git","url":"git://github.com/corbinu/agenda-persistence-mongoskin.git"},"keywords":["agenda","persistence"],"author":{"name":"Corbin Uselton","email":"corbinu@decimal.io"},"license":"MIT","bugs":{"url":"https://github.com/corbinu/agenda-persistence-mongoskin"},"dependencies":{"mongoskin":"^1.4.1"},"devDependencies":{"eslint":"^0.19.0","lab":"^5.6.0","code":"^1.4.0"},"gitHead":"83586e61e1cf4fe78b8a24dfc44694af0dc122f5","homepage":"https://github.com/corbinu/agenda-persistence-mongoskin#readme","_id":"@corbinu/agenda-persistence-mongoskin@0.1.0","_shasum":"3c938d5fb3e594793ba4bd8076032176735fe886","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"corbinu","email":"corbinu@openswimsoftware.com"},"dist":{"shasum":"3c938d5fb3e594793ba4bd8076032176735fe886","tarball":"https://registry.npmjs.org/@corbinu/agenda-persistence-mongoskin/-/agenda-persistence-mongoskin-0.1.0.tgz","integrity":"sha512-vEZ09CnQuSgTFkHfK7vjatLj/ot8YzpnYFL/7sO/vAQWzmg3jZ2dBwMGhsFK6BTvaRd3m+SWsai3TASCP5A78A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYs81y1VNiNN02Zvj/7Y9fb6cFGRwRvr90u6OTFSIw3AIgMOD24k5sxV9I3DcUHEaSwwfvjCouBTPygYHuU5xQ43s="}]},"maintainers":[{"name":"corbinu","email":"corbinu@openswimsoftware.com"}]}},"readme":"# Agenda Persistence Mongoskin\n[Agenda](https://github.com/rschmukler/agenda) persistence layer using Mongoskin\n\n# Installation\n\nInstall via NPM\n\n    npm install agenda agenda-persistence-mongoskin\n\nYou will also need a working [mongo](http://www.mongodb.org/) database (2.4+) to point it to.\n\n# Example Usage\n\n```js\n\nvar Agenda = require('agenda');\n\nvar Persistence = require('agenda-persistence-mongoskin');\n\nvar agenda = new Agenda(new Persistence({ address: 'localhost:27017/agenda-example'}));\n\nagenda.define('delete old users', function(job, done) {\n  User.remove({lastLogIn: { $lt: twoDaysAgo }}, done);\n});\n\nagenda.every('3 minutes', 'delete old users');\n\n// Alternatively, you could also do:\n\nagenda.every('*/3 * * * *', 'delete old users');\n\nagenda.start();\n```\n\n# License\nMIT\n\nCopyright (c) 2015 Corbin Uselton\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the 'Software'), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"corbinu","email":"corbinu@openswimsoftware.com"}],"time":{"modified":"2022-06-12T16:41:54.858Z","created":"2015-06-12T20:26:58.012Z","0.1.0":"2015-06-12T20:26:58.012Z"},"homepage":"https://github.com/corbinu/agenda-persistence-mongoskin#readme","keywords":["agenda","persistence"],"repository":{"type":"git","url":"git://github.com/corbinu/agenda-persistence-mongoskin.git"},"author":{"name":"Corbin Uselton","email":"corbinu@decimal.io"},"bugs":{"url":"https://github.com/corbinu/agenda-persistence-mongoskin"},"license":"MIT","readmeFilename":"README.md"}