{"_id":"mongoose-profanity","_rev":"60-75e9a950d532ebc985717aea286c1efb","name":"mongoose-profanity","description":"> A plugin to auto-moderate profanity in your content.","dist-tags":{"latest":"0.2.1"},"versions":{"0.0.0":{"name":"mongoose-profanity","version":"0.0.0","description":"A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"_id":"mongoose-profanity@0.0.0","dist":{"shasum":"1a2793b59a6a51c9c002dc58d4206c5c0a09659f","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.0.0.tgz","integrity":"sha512-C5aXMKIi5Di/ai66Bw9I2nqq5my1ehtyS9mC3DXhd507e1FBxahVjg/n9VACFhKWkRzlZ8N/rO3XGKpV8/xcUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEqxFuYXKCxoOa2ZZIBol1HX7nhTgE0LUR9dPhQqnJh7AiB/1L02yH3/vkP3MUTYmnJLwDtMFZJAZX/JxJ8TRr6osg=="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}]},"0.0.1":{"name":"mongoose-profanity","version":"0.0.1","description":"A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"_id":"mongoose-profanity@0.0.1","dist":{"shasum":"83ee95ae2911f8bd93c05f3452f0028c984528c8","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.0.1.tgz","integrity":"sha512-aoY5J4fjLY3sroJ/zfF6H8wfobxPRmV1EMpDiGhOVPZSDD396d84R+MICE637PT/U+gUu7bzyAiBfv9pg4tg+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxq304+8ZcdIodekC1gTYuf7HIALlfRSfQmmIY1OV4ewIgLBht3NfRapN1sP+cgYfbAuh2n6Nk9iJUEOEMImwZfnc="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}]},"0.0.2":{"name":"mongoose-profanity","version":"0.0.2","description":"A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"_id":"mongoose-profanity@0.0.2","dist":{"shasum":"257e0cf9026d94f77072c0595e38728043fc39d2","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.0.2.tgz","integrity":"sha512-pOXcg/9zuXcY2KHkoqiEzR81dt5oQs6RTRyxYlnQvR01vdQZpR76ntzoKn/1O29i4zFlVe86FDuO8Z4bQfZAow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD99i3RO/3d519URmofrdsxWoM/JJNPoLSmPQ1vPqLHwgIhANUzkNMoCGlPGeCrzvxfq6vMGPoHEt/tJxdhdHT7qg8z"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}]},"0.0.5":{"name":"mongoose-profanity","version":"0.0.5","description":"A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"_id":"mongoose-profanity@0.0.5","dist":{"shasum":"5d621d5608a10ca808fae0708972ec5efd4cd52e","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.0.5.tgz","integrity":"sha512-cvwIAJfcwXlTERWb7wurIMukZJo3Usc5ohmDxy9W21rM27E04gMnLn7n26dEm3IA22pow04pTCxkE8p3iq4yLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPhUpB/GHNQGANrezeAS2Pl3fJIOPY1VdZ9JTxkuo30wIhAIUwn6sIJvcNNpxmPofJQj0fxU0eSD+J2tZhnLbEmah/"}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}]},"0.0.6":{"name":"mongoose-profanity","version":"0.0.6","description":"A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"_id":"mongoose-profanity@0.0.6","dist":{"shasum":"9ccecb7563a6953afbdcc0c51a150ee7132e745e","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.0.6.tgz","integrity":"sha512-KradyqP4QcF2vNkxNuiBYPtmHAPQF1IEYikwmPd6Nvx4/ZmchUrstKdCVNOs+e799F3mkx/0pJrJc9E9XRwBsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWOL6lRARWreiKxmun/D2U5FjJ1+kW9pgSkShuiCw/mAiEA1IwuOGb8CONXek7U5VqfRKE5XARom4sz3bFKXo0zAuo="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}]},"0.0.7":{"name":"mongoose-profanity","version":"0.0.7","description":"A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"_id":"mongoose-profanity@0.0.7","dist":{"shasum":"b32eb533eb93fe5debbea8122137074df3813ea7","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.0.7.tgz","integrity":"sha512-ujUF+Tw9ccRqacv5M2k82qLmWUGcDF9AjmZ+ioQX+hiV3nGeEOYEhm4d0tjShAdttghCFjvkRXoegmssCJVNxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeWNq+P/laFphVXFwJS0WjL+7F+CNlVA8QTzP2HCp+twIgbYHNfzY1opDI0vKoc/tHTiPRqty4A3hSQjGkFEeHHps="}]},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}]},"0.0.9":{"name":"mongoose-profanity","version":"0.0.9","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x","profanity-util":"~0.0.1"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity","_id":"mongoose-profanity@0.0.9","_shasum":"961f563f21d2d65dd07194ca17162c872fea70f4","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"dist":{"shasum":"961f563f21d2d65dd07194ca17162c872fea70f4","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.0.9.tgz","integrity":"sha512-3IM46T7qHB8xEqMZLxhW6VB18IIwyDSuqEsgZi7kXnrtQ7Ht6pBYnBUemkbN7Oqifdx6CgeGp5Q9emJiG8rJVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICgxbIaNBh8mySKlqQM6KJMBDgC2gPfkUxBjV9w1BjheAiBeYaCDXO5rq2UDKYaqQmEI3EuG5iOGOqFLz8UnX/HREg=="}]}},"0.1.0":{"name":"mongoose-profanity","version":"0.1.0","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x","profanity-util":"~0.0.2"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity","_id":"mongoose-profanity@0.1.0","_shasum":"13baa5bfaf855e64d56337282665369a90f82407","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"dist":{"shasum":"13baa5bfaf855e64d56337282665369a90f82407","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.1.0.tgz","integrity":"sha512-ggCLGNOof51cGNsXb9FDCJ3nNdgw+gGLHMfdrIA+78EKCNDZLv/2YHTakyVdaCaQXFnTrbNNBLRpA+23oOnfjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTzQj9KqU+3HRQ8wl+ER7eYqWCzuY3dpJ86/Sd5GcEhAIhAKgKmn+bIirT7vuQUynnOdORNIUOrclJyIClARVA3mSk"}]}},"0.1.1":{"name":"mongoose-profanity","version":"0.1.1","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x","profanity-util":"~0.0.3"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity","_id":"mongoose-profanity@0.1.1","_shasum":"c7480963171abf49bd5160469461059bd8169c9f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"dist":{"shasum":"c7480963171abf49bd5160469461059bd8169c9f","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.1.1.tgz","integrity":"sha512-/mDSC71QdBteDrT8FEwl50iLowI7Ne6tzF/2T8BSClbX4KXjApChzd2+QlXxqjEV+yR1GP7t1YICvtSrKcpT5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDue3QTFTvVWCjhmI0m0OU5dQAhn4odHFIqAK17Mk0U9QIgVkTvCW/IYh0Xh8RGjeQ7nnRL4p+ilmljUVgYxcZNb/E="}]}},"0.1.2":{"name":"mongoose-profanity","version":"0.1.2","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x","profanity-util":"~0.0.4"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"gitHead":"ad84c73caa85a5bf00a91f81e2898a54d3c79c27","bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity","_id":"mongoose-profanity@0.1.2","_shasum":"7468339001cdc0d493b92a11116be01b5e25eaad","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"dist":{"shasum":"7468339001cdc0d493b92a11116be01b5e25eaad","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.1.2.tgz","integrity":"sha512-BQtPIivPadki9Gf9ICFMB2YdBH5EXUwWBzYZJsvbis/Mi61dkjLigHZeXoLxrCK7nvrkjeu4gXbgtT15EAmgLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfC7F+LmIXxtF/CbgF+Lp+pmInq0bs46ZP5bE47y3zogIhAOrSqRLUAC09y3m2fXODqnR/im90AlJA2qfESPUz1WKP"}]}},"0.1.3":{"name":"mongoose-profanity","version":"0.1.3","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"https://github.com/KanoComputing/mongoose-profanity"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x","profanity-util":"~0.0.5"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"gitHead":"fdb35fdac667c17d12030eecfb2b25355fccaeda","bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity","_id":"mongoose-profanity@0.1.3","_shasum":"7429a39cabeda8c189a4300be077fddeca15d36c","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.2.0","_npmUser":{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"},"maintainers":[{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"dist":{"shasum":"7429a39cabeda8c189a4300be077fddeca15d36c","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.1.3.tgz","integrity":"sha512-2zCemHKUGkC8d3XeivqU9zvKCgYZxtjq9GQ4rFxEzS7FHPWylcXP5skWZxwiym7FnjGBje0LsYn28DzmP3KaMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDz4GqcRF037i7FGqGc2fFC2sR9wHBW1GZUSs3e199K9gIhAI5BBuYNdqmJ3DsBKzh1LGBSKD0hAnvL3SdpEkLwvTXX"}]}},"0.1.4":{"name":"mongoose-profanity","version":"0.1.4","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/KanoComputing/mongoose-profanity.git"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"~3.x.x","profanity-util":"~0.1.0"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"gitHead":"03d8c0caa8715b922fd66e9efe364496cb3da9ab","bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity#readme","_id":"mongoose-profanity@0.1.4","_shasum":"c36847ea1b7e36e06a696ea99d9220c05f5750e4","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"rpazdera","email":"me@radek.io"},"dist":{"shasum":"c36847ea1b7e36e06a696ea99d9220c05f5750e4","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.1.4.tgz","integrity":"sha512-LidCCjMPQKZjV9C6GGenaRARMj2s3a/5vs7uOb7kNBdXQ9h3XuCANvf09/aKnvhHPtJM3nn8v9UxxmhGAGFUOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDW2MEZrDcHnLICNDfnAbCESu6IDKsWfyEpqzK+5UYLegIhAJIdhly/pz0eUpZZe1eOcOquy152XmoHZC3BrQnmUl0i"}]},"maintainers":[{"name":"rpazdera","email":"me@radek.io"},{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-profanity-0.1.4.tgz_1483721075235_0.16509888879954815"}},"0.1.5":{"name":"mongoose-profanity","version":"0.1.5","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/KanoComputing/mongoose-profanity.git"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"^4.x.x","profanity-util":"~0.1.0"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"gitHead":"e0dd1da8526785c62d91710d4bcdafeb1e16a093","bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity#readme","_id":"mongoose-profanity@0.1.5","_shasum":"49a1dd5bccf6b1a7f248f260fe62619dc74dc31e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"rpazdera","email":"me@radek.io"},"dist":{"shasum":"49a1dd5bccf6b1a7f248f260fe62619dc74dc31e","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.1.5.tgz","integrity":"sha512-XO301uc2wdukwVhWDBpmvqB9AM1tMEnOrcImIPXfG0s9LJH2DmPoicwI0UoAAMiAqn7pAfe9vi0DZJLUqXBrcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAzzwaZtXS/LML7Zef8d9HaX3PbVKkrh+4CWkfWmSd6+AiA+3/OXE21qwvf7N9M5ycB9v4bj3o8auR720nO/Za/FyQ=="}]},"maintainers":[{"name":"rpazdera","email":"me@radek.io"},{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/mongoose-profanity-0.1.5.tgz_1484215102833_0.5154883281793445"}},"0.1.6":{"name":"mongoose-profanity","version":"0.1.6","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/KanoComputing/mongoose-profanity.git"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"~2.4.1","mongoose":"^3.x.x","profanity-util":"~0.1.0"},"devDependencies":{"mocha":"~1.20.x","should":"~3.3.x"},"gitHead":"e0dd1da8526785c62d91710d4bcdafeb1e16a093","bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity#readme","_id":"mongoose-profanity@0.1.6","_shasum":"f590cd80617151d09b2d18fda919163de08c0edc","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"rpazdera","email":"me@radek.io"},"dist":{"shasum":"f590cd80617151d09b2d18fda919163de08c0edc","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.1.6.tgz","integrity":"sha512-XrJp+y4+SFcydvYi1p/QyUY9iqeb0QNRR+ENxwjcud1p4JydhjhwcKsbuQn0nk5IslKp0QDuwEGadtHGarGpxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1r/Krp7Qfe8IqaKbaR428oQ4tWsLpb1SkJGr2ie2WEAiEAzpgpYGT5buVFG5GlDs79N2KVXdCd0PymmsvFSmos80c="}]},"maintainers":[{"name":"rpazdera","email":"me@radek.io"},{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-profanity-0.1.6.tgz_1484219573285_0.6816819598898292"}},"0.2.0":{"name":"mongoose-profanity","version":"0.2.0","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/KanoComputing/mongoose-profanity.git"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"^4.17.4","mongoose":"^4.x.x","profanity-util":"^0.1.0"},"devDependencies":{"mocha":"^3.2.0","should":"^11.1.2"},"gitHead":"0bde080ef775a5f4bf11f1f088a4b283cba142f3","bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity#readme","_id":"mongoose-profanity@0.2.0","_shasum":"68882ebf09dea14ab9ab3d97411c7aa62671ef24","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"rpazdera","email":"me@radek.io"},"dist":{"shasum":"68882ebf09dea14ab9ab3d97411c7aa62671ef24","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.2.0.tgz","integrity":"sha512-c/h6e9ncKMaFAvj+3G9eKXA+pRgrmFEvwch2Sw5boRgjXh+FZlcNjQTcXUqr/W1GDpDSrRZECIumx/hW2IlbnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp9zfviC+eOrusH3d+g7tH7bCM5x+USLaM64EOrIbCOwIhAOzdM+pSuCb36+5a/Gin1Z7ZS9S/arFFn9lKLLzISl22"}]},"maintainers":[{"name":"rpazdera","email":"me@radek.io"},{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-profanity-0.2.0.tgz_1484231220820_0.7071848874911666"}},"0.2.1":{"name":"mongoose-profanity","version":"0.2.1","description":"> A plugin to auto-moderate profanity in your content.","main":"lib/plugin.js","scripts":{"test":"mocha test"},"repository":{"type":"git","url":"git+https://github.com/KanoComputing/mongoose-profanity.git"},"author":{"name":"Tancredi Trugenberger"},"license":"MIT","dependencies":{"lodash":"^4.17.4","mongoose":"^4.x.x","profanity-util":"^0.1.0"},"devDependencies":{"mocha":"^3.2.0","should":"^11.1.2"},"gitHead":"c656fe13130a25bfef5e87e2e210a288f074b45c","bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity#readme","_id":"mongoose-profanity@0.2.1","_shasum":"f7c7f0212a6856556af82cf3b6421b80b9630f8f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"rpazdera","email":"me@radek.io"},"dist":{"shasum":"f7c7f0212a6856556af82cf3b6421b80b9630f8f","tarball":"https://registry.npmjs.org/mongoose-profanity/-/mongoose-profanity-0.2.1.tgz","integrity":"sha512-4I9+OOsXrnWazaHSyY/Np6mIStUanyUnwlrAvla0OGCt6dfs8ZWvFuItJYFF83My8+zKNu/bZe60wNZLr6Zwiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLK5JiYoXXQkKptX533ybgFQp69jRPh+1xHpjY6PFHoAIgaUsb/ff0IHTrQO/o11Ae8B0rPABSXTjB/+Zgz51lXio="}]},"maintainers":[{"name":"rpazdera","email":"me@radek.io"},{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/mongoose-profanity-0.2.1.tgz_1484234894846_0.9464984906371683"}}},"readme":"## Mongoose Profanity Plugin\n\n> A plugin to auto-moderate profanity in your content.\n\nThis plugin will add a pre-save hook to your model to run a profanity check in your content, perform a chosen behaviour (Obscuring forbidden words by default), add `flags` to your entry and turning a `blackListed` field to `true` when the length of the field `flags` on your entry reaches a limit.\n\nWith default options it will obscure forbidden words in the following format: 'a*****b'.\n\nIn replace mode it will replace forbidden words with random inoffensive replacement words on save.\n\nThe plugin adds the following fields to your schema:\n\nTo find out more about the list of swearwords check to module used by this plugin: [profanity-util](https://github.com/KanoComputing/nodejs-profanity-util)\n\n> Moved to mongoose 4.x since version 0.2.0, for mongoose 3.x please use version 0.1.6\n\n### Install\n\nTo install, run:\n\n`npm install mongoose-profanity`\n\n### Simple usage\n\nSetup a 'self-moderating' model:\n\n```javascript\nvar mongoose = require('mongoose'),\n    Schema = mongoose.Schema,\n    profanityPlugin = require('mongoose-profanity');\n\nvar TestSchema = new Schema({\n    message: String\n});\n\nTestSchema.plugin(profanityPlugin);\n\nvar Test = mongoose.model('Test', TestSchema);\n\nvar test = new Test({\n    message: 'What a bloody damn horrible weather, crap!'\n}).save(function (err, entry) {\n    console.log(entry.message, entry.flags, entry.blackListed);\n    // 'What a b****y d**n horrible day, c**p!', [ .. ], true\n});\n```\n\nOnly query entries which have not been blacklisted:\n\n```javascript\nTest.find({ blackListed: false }, function (err, entries) {\n\tconsole.log(entries.length);\n\t// 0\n})\n```\n\n### Advanced examples\n\n```javascript\n// Obscure a custom list of forbidden words with a given symbol, blacklist if 1 more are found\n\nvar mongoose = require('mongoose'),\n    Schema = mongoose.Schema,\n    profanityPlugin = require('mongoose-profanity');\n\nvar TestSchema = new Schema({\n    message: String,\n    uncheckedMessage: String\n});\n\nTestSchema.plugin(profanityPlugin, {\n    maxFlags: 1,\n    forbiddenList: [ 'politics', 'business' ],\n    obscureSymbol: '%',\n    fields: [ 'message' ]\n});\n\nvar Test = mongoose.model('Test', TestSchema);\n\nvar test = new Test({\n    message: 'We are not allowed to talk politics or business',\n    uncheckedMessage: 'We can totally talk business here'\n}).save(function (err, entry) {\n    console.log(entry.message, entry.flags, entry.blackListed);\n    // 'We are not allowed to talk p%%%%%%s or b%%%%%%s', [ .. ], true\n\n\tconsole.log(uncheckedMessage);\n\t// We can totally talk business here\n});\n```\n\n### Advanced examples\n\n```javascript\n// Replace a custom list of forbidden words with a custom list of replacement words, never blacklist\n\nvar mongoose = require('mongoose'),\n    Schema = mongoose.Schema,\n    profanityPlugin = require('mongoose-profanity');\n\nvar TestSchema = new Schema({\n    message: String\n});\n\nTestSchema.plugin(profanityPlugin, {\n    maxFlags: 0,\n    forbiddenList: [ 'google', 'bing' ],\n    replacementsList: [ 'some search engine' ],\n    fields: [ 'message' ]\n});\n\nvar Test = mongoose.model('Test', TestSchema);\n\nvar test = new Test({\n    message: \"I'd rather use Google instead of Bing\"\n}).save(function (err, entry) {\n    console.log(entry.message, entry.flags, entry.blackListed);\n    // 'I'd rather use some search engine instead than some search engine', [ .. ], true\n});\n```\n\n### Plugin options\n\n* `fields` - Array of schema fields to be checked by the plugin\n* `forbiddenList` - Array of forbidden terms to replace or obscure\n* `replacementsList` - Array of replacement words (To pick randomly from)\n* `maxFlags` - Max flags before blacklisting (Prevents addition of custom fields, flagging and blacklisting if falsy)\n* `replace`- If set to true it will replace forbidden words with innocuous replacement words\n* `obscureSymbol` - Symbol used to obscure words if `obscured` is set to true\n\n### Added schema fields\n\n* `flags`: `FlagSchema` - Flag object used by the library, open to different uses for integration (See Flag Schema)\n* `blackListed`: `Boolean` - Turns to true when the length of `flags` is greater than configured limit (3 by default)\n\n### Flag Schema\n\nThe flag schema can be used for different purposes, in order to make the best out of the blacklist feature in your application.\n\nThe fields in the schema are the following:\n\n* `author`: Mixed object, type and content left to the discretion of the user\n* `reason`: String containing reason for the flagging. (E.g. 'Inappropriate language')\n\n### Test\n\nRun unit-tests with `npm test`. Make sure a local mongo server is running in order for the tests to run.\n\n### Contribute\n\nAll contributions are welcome as long as tests are written.\n\n### Licence\n\nCopyright (C) 2014, 2017 Kano Computing Ltd. Released under the MIT licence.\n","maintainers":[{"name":"alanbridger","email":"alan@builtbybadger.com"},{"name":"nectarsoft","email":"russell@nectarsoft.io"},{"name":"rpazdera","email":"me@radek.io"},{"name":"tancredi","email":"tancredi.trugenberger@gmail.com"}],"time":{"modified":"2022-06-20T07:37:14.161Z","created":"2014-05-29T14:39:57.135Z","0.0.0":"2014-05-29T14:39:59.645Z","0.0.1":"2014-05-29T14:43:30.402Z","0.0.2":"2014-05-29T15:27:03.144Z","0.0.3":"2014-05-29T15:30:44.566Z","0.0.4":"2014-05-29T15:43:07.790Z","0.0.5":"2014-05-29T16:00:35.813Z","0.0.6":"2014-05-29T17:01:07.762Z","0.0.7":"2014-05-29T17:16:31.473Z","0.0.9":"2014-06-06T10:19:42.516Z","0.1.0":"2014-10-21T10:55:58.026Z","0.1.1":"2015-08-14T16:24:51.695Z","0.1.2":"2015-09-15T15:44:11.036Z","0.1.3":"2015-09-15T15:51:47.757Z","0.1.4":"2017-01-06T16:44:37.523Z","0.1.5":"2017-01-12T09:58:23.524Z","0.1.6":"2017-01-12T11:12:55.138Z","0.2.0":"2017-01-12T14:27:02.986Z","0.2.1":"2017-01-12T15:28:16.948Z"},"readmeFilename":"README.md","author":{"name":"Tancredi Trugenberger"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/KanoComputing/mongoose-profanity.git"},"bugs":{"url":"https://github.com/KanoComputing/mongoose-profanity/issues"},"homepage":"https://github.com/KanoComputing/mongoose-profanity#readme"}