{"_id":"mongoose-rattle-plugin","_rev":"40-130bdea67321cee0d7d8c6b713e9d53c","name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","dist-tags":{"latest":"0.4.2"},"versions":{"0.0.1":{"name":"mongoose-rattle-plugin","description":"Add social interactions to mongoose schema","version":"0.0.1","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.6.13","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","pow-mongoose-fixtures":"git://github.com/powmedia/mongoose-fixtures.git#08c18a87b83384030457c4c15b19fd4cdaccf311","coffee-script":"1.5.0","config":"0.4.25"},"keywords":["nodeJs","MongooseJs"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"_id":"mongoose-rattle-plugin@0.0.1","dist":{"shasum":"09a890cf5ebd5d7a6c0f317908a37c3f8a3280d5","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.0.1.tgz","integrity":"sha512-T2OHSon4xyymbqWasbqtBYCeP82IInhcyPpn6hzl/EkbL+o33tyeMBDWaePK1o5KwitJCTUHGIF+Ydpqs/mMUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUd5r/RilPof0t8Ffx8nrpZy0YCYE06yokgYMPPJ7k0QIhAMC4VzEbfImJmLmDtmmPj6RNj87A7/UThLUDY4z1KuBN"}]},"_from":".","_npmVersion":"1.2.30","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.0.2":{"name":"mongoose-rattle-plugin","description":"Add social interactions to mongoose schema","version":"0.0.2","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.6.13","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"_id":"mongoose-rattle-plugin@0.0.2","dist":{"shasum":"77a55831f26dbe5afa69a30836991fc1f282f137","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.0.2.tgz","integrity":"sha512-lgBK7pbP3Pl5hyW060CalXemHeYCtjy4YNox3cA6qrFI7jMv9c4PBnVpB1ooWBylLNTShv1VwpoVTBvwO5XFuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8zqx8ZillC/g9PSLdMIpMx7qfLI+OsVOMeviTF+aOhAiEAp2XzUD3jBkTV8+fVItvgIfO6T8GOQgk6Qps2TQ5zvbw="}]},"_from":"./","_npmVersion":"1.2.30","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.0.3":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.0.3","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"_id":"mongoose-rattle-plugin@0.0.3","dist":{"shasum":"7e2b943bbf0555fcdb76eaead1a8bd7a8dfe435c","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.0.3.tgz","integrity":"sha512-lk51fxWox5aSPxFdT2qGepSZ61jbdbelgEdy0mK709wOR5oMxT2briwawv3Vwz2REDIFpdcC6EJ0ngcM7epTDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIXl98glDMztEbvSoT6+bGWYezfDsumzj5FrCjQMeaNAIgGMCP9r4jMIIsqawgL2dWv57SRBcdn0/QkGaA93+N+Jg="}]},"_from":"./","_npmVersion":"1.2.30","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.0.4":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.0.4","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"_id":"mongoose-rattle-plugin@0.0.4","dist":{"shasum":"3e0bd215135e62f61dc592055a34dcced98e6f3f","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.0.4.tgz","integrity":"sha512-E5ztHzTxRuZExKjxL7oszoCbceqPdLaLOMY7Ssc86c+9Urkr8ioHinuWJP6/qfT4PMx+UeR3QvJPR3h7+GYNsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdMQLcBR6v5HT6a8U3NNhtr+a9IcMqcFLHUoPsPAtQagIgREGdYC4yjV2rD3W9NrEzsJvDFO7KaQl8/xph3VsIvR4="}]},"_from":"./","_npmVersion":"1.2.30","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.0.5":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.0.5","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"_id":"mongoose-rattle-plugin@0.0.5","dist":{"shasum":"533c73dec242b14c298f06a39423c73186c1f9ad","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.0.5.tgz","integrity":"sha512-rtRcxM8mGis/fw+MDrDNi3wOVkKNphSyp8pyHkY/ulw8D98BTfLknSTLJLN2b/kR5nyiLyAVPygXZDftIStbKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUgP8goVEQFjCaogBe6CA35NIG9jEuT3zOYPl8CxLd0gIgaQwTbKXRZsmnixq9sE5Ya4UL/tls9BPoRvT9uRtzwFI="}]},"_from":"./","_npmVersion":"1.2.30","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.0.6":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.0.6","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"homepage":"https://github.com/daemon1981/mongoose-rattle-plugin","_id":"mongoose-rattle-plugin@0.0.6","dist":{"shasum":"475e15e038572914b953f7cfd62d31e36992e8ca","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.0.6.tgz","integrity":"sha512-ZRlKvLOV0f+5Kjskvc/f157oA7g3CEEH+xmUdwD0qQQgmblT+SzERdheYqjxuBtAexgIVF+MAlPW3PlXXljIOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCafSiQDHFIWggM51XpsTek+BuQeOPvQGtZYQcBcMyQYQIhAONrSpKkYfPCXTL1oXa/JjxM4hdvt+Zq0OCNCmblwF6U"}]},"_from":"./","_npmVersion":"1.3.14","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.1.0":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.1.0","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"homepage":"https://github.com/daemon1981/mongoose-rattle-plugin","_id":"mongoose-rattle-plugin@0.1.0","dist":{"shasum":"2a01eee8c81b5ba17cf9960a06f58df4ba437afd","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.1.0.tgz","integrity":"sha512-/kPOeTi70f/jqqv/AUqRpJ0tR5MbULwRtqTm63FAYmLADmr5F3zWRJVfxNqHzIqiGtSzSjNFhJVA9br9pbmstQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZeXxRZBM2h5Se51pwTBdEpBj/8O8pyXowoJzEpFsvWAiEAzMCcYDd3HEXqk0UM9ClNjBKTAyMcRb3ST1IZDJtUSSw="}]},"_from":"./","_npmVersion":"1.3.14","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.2.0":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.2.0","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.1.0"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.8"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"./node_modules/.bin/coffee -c -o ./lib/ src/"},"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"_id":"mongoose-rattle-plugin@0.2.0","dist":{"shasum":"f7693a2dcc3d86a605438a593c1964a062bf58aa","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.2.0.tgz","integrity":"sha512-3h/Wl6//Y1NSYg0pM88I9feyepQ90CE0KH6OJqxSiAcxXmT8VD9R1UnzKTa1Ncr/jHIZs9aRCYGMiXomZeu0Pg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmbbb7ZrUv7Lp58+1shbGUfTSVUV4MAJQmk4ODZtu23QIhAJ3+12zFgmdmMJiAlBZuBA45/XQY+73Yjith8dwbpVSe"}]},"_from":"./","_npmVersion":"1.2.30","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}]},"0.3.0":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.3.0","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.8.3"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.10"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"coffee -c -o ./lib/ src/"},"gitHead":"47b6062718feb536e30036cae7f436df6128194a","bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"homepage":"https://github.com/daemon1981/mongoose-rattle-plugin","_id":"mongoose-rattle-plugin@0.3.0","_shasum":"cf0ddb2f6c75689839852f5057c59d0601caacc2","_from":"./","_npmVersion":"1.4.23","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}],"dist":{"shasum":"cf0ddb2f6c75689839852f5057c59d0601caacc2","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.3.0.tgz","integrity":"sha512-xBpfNKuMfvGyx4YdiNnuUXmdNcZPltp4ESwGPx4SKOpnFbLFaQNbfBZY27licR0Bbbe5vjLdqDoMzUYI29PwKw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG0tvRPr5L3+Rubncd/1NOShJIfFRM0ucdQ04RQt0w4hAiEAxFp+EhTPvSgo50pqxHa2Tpoua4woH2vNeSJXypYlUb4="}]}},"0.4.0":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.4.0","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.8.3"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.10"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"coffee -c -o ./lib/ src/"},"gitHead":"45d7ca72a9ae3c14fd755defaa99cf285851cfb3","bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"homepage":"https://github.com/daemon1981/mongoose-rattle-plugin","_id":"mongoose-rattle-plugin@0.4.0","_shasum":"0e71d97ea5d636f8fa0a0feba95bc70575068df3","_from":"./","_npmVersion":"1.4.21","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}],"dist":{"shasum":"0e71d97ea5d636f8fa0a0feba95bc70575068df3","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.4.0.tgz","integrity":"sha512-gZtEqkkK4GknmvrJWJ6tBYI4BrS0KKSDnldzOW+AnB8SGwwOs7Unh2B9n8mKGx3cWBgtlx9wTkb4yKN0CfGvIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB6Mvmpy/UKzSoytjhxIjPPyPXCiP+e4W8+aD9xmH81xAiADvQ7WzbCaEszNGVnHjmyNx5F6RBWr9JKessTsPCnCUQ=="}]}},"0.4.1":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.4.1","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.8.3"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.10"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"coffee -c -o ./lib/ src/"},"gitHead":"0bc2348777ee9ec26fa357cd0d5413c1eefbadd6","bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"homepage":"https://github.com/daemon1981/mongoose-rattle-plugin","_id":"mongoose-rattle-plugin@0.4.1","_shasum":"9b658a5e4321f1a3786bc5f6db5e5a67cd73a0d8","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}],"dist":{"shasum":"9b658a5e4321f1a3786bc5f6db5e5a67cd73a0d8","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.4.1.tgz","integrity":"sha512-m+LLkKvrL61FDL9CQ9WWMDke9UhQENCW9A1AB/e9wmoBAba+f916yfmdT0nYZaaCnzYD3lhKpt3Sn66KH1Mezw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzZdSEdnH2IctQDN0iF7G4IuIltSz5x01yA3gt94xo8gIhAK21mnFmHovux2yT3v2t7PsDtOu8qmqN1lbZBOrWeAXG"}]}},"0.4.2":{"name":"mongoose-rattle-plugin","description":"Add social interactions (messages and likes) to mongoose document","version":"0.4.2","author":{"name":"Damien Saillard"},"dependencies":{"mongoose":"3.8.x","moment":"2.8.3"},"devDependencies":{"should":"1.2.2","sinon":"v1.7.3","mocha":"1.12.1","async":"0.2.5","coffee-script":"1.5.0"},"keywords":["nodeJs","MongooseJs","plugin"],"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"engines":{"node":">0.10"},"main":"lib/index.js","scripts":{"test":"make test","prepublish":"coffee -c -o ./lib/ src/"},"gitHead":"422c29424d9e336b6a231bdc5aa9253e87f91114","bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"homepage":"https://github.com/daemon1981/mongoose-rattle-plugin","_id":"mongoose-rattle-plugin@0.4.2","_shasum":"2ab8da4706a1d464ee9517a5b718b8398e09e933","_from":"./","_npmVersion":"1.4.28","_npmUser":{"name":"daemon1981","email":"dam.saillard@gmail.com"},"maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}],"dist":{"shasum":"2ab8da4706a1d464ee9517a5b718b8398e09e933","tarball":"https://registry.npmjs.org/mongoose-rattle-plugin/-/mongoose-rattle-plugin-0.4.2.tgz","integrity":"sha512-weB0XdeXVlOjiHYDuvZHcWlQ+yMUHmE7s7HV4z6Ifar1GRCY2djenBEI/ZMJccFmKZxl5lIrifwsayh1X3P2sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA/VmrYEPU0S/69L9V03EZuV5lmH9gn+rPyySST+34buAiEA695d8PIqNuidE9SwyA442Le53JPl8ljQ7Lmob41X2hk="}]}}},"readme":"# mongoose-rattle-plugin [![Build Status](https://secure.travis-ci.org/daemon1981/mongoose-rattle-plugin.png)](https://travis-ci.org/daemon1981/mongoose-rattle-plugin)\n\n## Prerequisite\n\nYour project must be with mongoose 3.8.x. Otherwise you'll have conflicts and it will not work.\n\n## Description\n\nAdd social interactions (messages and likes) to mongoose document.\n\nYou can :\n - like/unlike the document\n - add/remove comments to the document\n - add/remove replies to a comment\n - like/unlike a comment or a reply\n\n## Installation\n\n```bash\n$ npm install mongoose-rattle-plugin\n```\n\n## Overview\n\n### Add the plugin to a schema\n\n```javascript\nvar mongoose           = require('mongoose');\nvar MongooseRattlePlugin = require('mongoose-rattle-plugin');\n\nvar MySchema = new mongoose.Schema();\n\nMySchema.plugin(MongooseRattlePlugin);\n\nMySchema.add({\n  'myPersonalField': String\n});\n\nvar MyModel = mongoose.model(\"MyModel\", MySchema);\n\nmodule.exports = MyModel;\n```\n\n### Specifications\n\nPlease see the [specifications here](https://github.com/daemon1981/mongoose-rattle-plugin/blob/master/test-unit.md)\n\n## Schema architecture choice\n\n### [Embedding All Comments](http://docs.mongodb.org/ecosystem/use-cases/storing-comments/)\n\n### No recursive embedded (threaded) comments\n\nRecursive comments is not so interesting for user experience and brings development much more difficult when requiring performance.\n\nI think threaded discussions are difficult to follow and doesn't reflect real discussion (or civilized discussion).\nIn real life when a group of people discuss about a subject in civilized society, they stay together in circle and keep talking one after another.\nWhile threaded comments should results to a group of people having a discussion confused in different circles where every could participate. That could be interesting but this a mess.\n\nBut if you want to develop recursive comments here are interesting links:\n[http://stackoverflow.com/questions/7992185/mongoose-recursive-embedded-document-in-coffeescript](http://stackoverflow.com/questions/7992185/mongoose-recursive-embedded-document-in-coffeescript)\n[http://stackoverflow.com/questions/17416924/create-embedded-docs-with-mongoose-and-express](http://stackoverflow.com/questions/17416924/create-embedded-docs-with-mongoose-and-express)\n\n## Contribution prerequisite\n\n```bash\n$ npm install -g mocha coffee-script\n$ npm install\n$ make test\n```","maintainers":[{"name":"daemon1981","email":"dam.saillard@gmail.com"}],"time":{"modified":"2022-06-20T07:39:29.211Z","created":"2014-01-27T16:36:49.046Z","0.0.1":"2014-01-27T16:36:49.872Z","0.0.2":"2014-02-13T17:10:41.831Z","0.0.3":"2014-02-14T11:03:00.392Z","0.0.4":"2014-02-18T14:55:05.881Z","0.0.5":"2014-02-18T16:49:29.090Z","0.0.6":"2014-03-26T15:03:39.442Z","0.1.0":"2014-04-02T12:18:17.653Z","0.2.0":"2014-04-18T14:58:51.911Z","0.3.0":"2014-09-16T13:12:49.856Z","0.4.0":"2014-10-16T08:04:21.504Z","0.4.1":"2014-11-09T18:30:10.389Z","0.4.2":"2014-11-20T12:54:16.963Z"},"readmeFilename":"README.md","author":{"name":"Damien Saillard"},"repository":{"type":"git","url":"git@github.com:daemon1981/mongoose-rattle-plugin.git"},"users":{"daemon1981":true,"r4ph":true,"madvas":true},"keywords":["nodeJs","MongooseJs","plugin"],"bugs":{"url":"https://github.com/daemon1981/mongoose-rattle-plugin/issues"},"homepage":"https://github.com/daemon1981/mongoose-rattle-plugin"}