{"_id":"nis-model","_rev":"41-6d6120fe0e6df37d90839e9d3a97b3e3","name":"nis-model","description":"Advanced, database agnostic ODM","dist-tags":{"latest":"0.6.22"},"versions":{"0.6.0":{"name":"nis-model","preferGlobal":false,"version":"0.6.0","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced ","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":">=2.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"a2056586ffda0a8b7758906899ca7426b778d9df","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.0","scripts":{},"_shasum":"5c9564b709bdcd5db1572517bb090dc458f9e74c","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"5c9564b709bdcd5db1572517bb090dc458f9e74c","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.0.tgz","integrity":"sha512-Ns2wySZ7q0TicRnr+DtuFk6gL93eLYYeDYx/fbbJU63vhbw4reKAmGuoi+K3xSjI/+y0GKO06tHHqhnJmODLqQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/bSW2Qmo8VacshKGt2sJYX4eWeRLXbMpZ3zB3JV6gzQIgNMs4jBhVpeY7wDmnwJJDK1qd7ILJ6YdeUljiGbqYeAc="}]}},"0.6.1":{"name":"nis-model","preferGlobal":false,"version":"0.6.1","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":">=2.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"62ee02327cd861c44f1a3434e55a1d99a1692a3c","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.1","scripts":{},"_shasum":"039909f06bd0b862a9a09dd760bee68384967746","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"039909f06bd0b862a9a09dd760bee68384967746","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.1.tgz","integrity":"sha512-J3UfePOmrQp58SYEmDDkOttUAWwSTHCGkztnRtz5l38l0ZdVFafkkZwc1HEuTk5oryiGeQrQARlxSmS1G49dMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1Kmfxmh/I7I62vmOhRqkT87VnaXwuR8M4oFGEmvVm7AiAMt+JtKksBkEIDE78v0IuzMozXA+LE+FwHkfsiJRxiGQ=="}]}},"0.6.2":{"name":"nis-model","preferGlobal":false,"version":"0.6.2","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":">=2.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"4da75f58677d0bc935995507b0b3d6bb3ff2ef58","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.2","scripts":{},"_shasum":"c46228c56d4fe4559c87343a67b1773574ed6133","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"c46228c56d4fe4559c87343a67b1773574ed6133","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.2.tgz","integrity":"sha512-vlL0ZLpohot34ektcWCNTWlAXP4s8eq9iaZUQzIEGw4BppZ+4sYeWa72Q53IDOz1z9HNDKTZIC8poVdNqUM1fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFy8s1eCt+DJNbKRw0aHjWuGTEyaS65Cv47b6y9BknC7AiB1T8finDBmGbsoT/dr9MqCb8XRVK7robXHcgtN7I/rFg=="}]}},"0.6.3":{"name":"nis-model","preferGlobal":false,"version":"0.6.3","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"4a086430a828dd75f2bf2714bc6e3f4fcd809f72","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.3","scripts":{},"_shasum":"7b83a4e6d0b519c3ea61b790ad8436b6fb810274","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"7b83a4e6d0b519c3ea61b790ad8436b6fb810274","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.3.tgz","integrity":"sha512-SAiUdI7SjXijnpZ8G4NKv/LiNAqPipCJWLpuQ10024n8Xarh2GSSjjJxI6fzXZjrS9pQOtRixyZ8yCqYSLITcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD24bclszflvNGuvrrAnJGay+Q0iniXeeF/771TfWZg2QIgcvU9MaOUQMyzHH7yGUzjwtWQQmMSIGQhZGHpBpAqOLk="}]}},"0.6.4":{"name":"nis-model","preferGlobal":false,"version":"0.6.4","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"1f58d5f940e0a2524b15e30385888bfff986406a","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.4","scripts":{},"_shasum":"5ea54c7bc0ee927935f7e68bba32838a2fb8e566","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"5ea54c7bc0ee927935f7e68bba32838a2fb8e566","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.4.tgz","integrity":"sha512-Lf1Gz99U0KBXTaTJ3bQzWw85gpwiyLqz/q6/v4dKFAP1xpym/qMgnLybzcN5t0hL3tUlEpZLYDfT8lZXnamtMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4JniKDebJK5HqHX6KEuV+gN9kG3ZJQCub/2XbF6G/xgIhANQyWSf+UGfIPpYqr4JPwhohq9mGfMxe49v7u27mJJMQ"}]}},"0.6.5":{"name":"nis-model","preferGlobal":false,"version":"0.6.5","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"32957b655712879438ded84285deb0cd83bf31c5","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.5","scripts":{},"_shasum":"3536e10e349e92b155c48aaf3b9b6397f9c6565f","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"3536e10e349e92b155c48aaf3b9b6397f9c6565f","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.5.tgz","integrity":"sha512-ByaxLjC73KPepftJ4rj+LU9cyNlKikDUwytZ/tPREqJdu13YEb8jGaPOpRJR2wSHfGzm3mfVVRQwI5+6vG5TNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEjDPbzSgUGwXQJXTq59UFbiLppb9mkCeGaE4CeNpLQ2AiAL0HEpfzHHZvBRRfKAoJi8UDdxK3aZpsMbcwDHggGkGQ=="}]}},"0.6.6":{"name":"nis-model","preferGlobal":false,"version":"0.6.6","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"2eb638b52f2fe5a7c7dbcad336f50c1be80fc306","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.6","scripts":{},"_shasum":"1746ae57e390812851af38c5b4106d06b829bba8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"1746ae57e390812851af38c5b4106d06b829bba8","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.6.tgz","integrity":"sha512-ucERoRIbl2ZAmREy2ET2TufyQ1iD93UWb8hiycxr6cHFxvE6Cb4a4QpiAPtG61hDZPYlR0Bts/K5OsHIeaPq0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGt+et2miYl3NMnmLlxZ5rHWdH8RPSe9XfR91/a5UlswIgYxdrkkKi577qHCnFktynIP8YvX3OilidSMPY0seJVUY="}]}},"0.6.7":{"name":"nis-model","preferGlobal":false,"version":"0.6.7","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"7152c280c1e8d853f246e94d2cd5818a2b0db2b1","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.7","scripts":{},"_shasum":"7c9017f523d6bef1fc52bacc4003d269c292ec9b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"7c9017f523d6bef1fc52bacc4003d269c292ec9b","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.7.tgz","integrity":"sha512-KqW6sZkfp5SIUQmU2IfVeIObFdhx0mSHffUK5E7UaLfyQSPcSS99ZMjSOOqjNuWtvUuO7JNA5xnzyr7uKpfCPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGTiYWcvADXs2yt5+TcVwBx/UFnw9NrMnAvsZKXloEKDAiEA4Gy9cgtuva0ku6nDCve9gKmldvFDK5+2uwws9pHPCoo="}]}},"0.6.8":{"name":"nis-model","preferGlobal":false,"version":"0.6.8","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"ceec2b786e2a08ce2745a604e186c0b789dd622f","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.8","scripts":{},"_shasum":"50586b44fec94c632ed6d743640eab13bb3e88de","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"50586b44fec94c632ed6d743640eab13bb3e88de","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.8.tgz","integrity":"sha512-UMPsXcFtgzbMRor97uzx2NL9EdDLFtz3Kv8z5ykQOikrTo71hm+fxCo2HK7pYTVx3SBxYjGNl2G8SnvIL/1kHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE2UwHe9sgMVvvoezO0Ux3tWSQ1SfRvF4526TUbX0oJQAiARnWbObbBtUeZ1BisojFL3ULcE/oQM9SGKRgIoIbKDGg=="}]}},"0.6.9":{"name":"nis-model","preferGlobal":false,"version":"0.6.9","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"6ce967fd142722e8028bf2f1c09671264576e344","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.9","scripts":{},"_shasum":"a3b5c90c002c9469df400a2b8e8d67046ca161eb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"a3b5c90c002c9469df400a2b8e8d67046ca161eb","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.9.tgz","integrity":"sha512-UL27hObWX3uXBpz65SWSf7PAjqapYwD5cyMBAqhi+FjPQN+9CGpxLqjYA0wgGX937vxvzPQnstHMuOz30UtWSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERjV7zYrqLJRJ67YDapyF6OL0AflJ4QQseW58oHMC8jAiBks3COtm4tINWHV0zmJIvebBdiVnx32Fskfdf0ADFTYA=="}]}},"0.6.10":{"name":"nis-model","preferGlobal":false,"version":"0.6.10","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"020e90381ce2d4acb9d33a2f0eb3a1b701af4965","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.10","scripts":{},"_shasum":"715d80cb3304181e9459f00ea844d45e327a7b80","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"715d80cb3304181e9459f00ea844d45e327a7b80","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.10.tgz","integrity":"sha512-fSaE2va6JFse5T+fCXMIASz8+eLtMFdbu1EzGpmyXYNXXEA1PnvkKuqDQaEyLH+MznwHzQXgXuV1pKnbYDOFLg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHFdU0dR/WzYBC6nCzyr2uQd+AuNSzuOp63a0XSVqP/BAiEAsvXG6oYzMhpRemhtP46xcXAnRo3QEGREf5hbQWU2Tc0="}]}},"0.6.11":{"name":"nis-model","preferGlobal":false,"version":"0.6.11","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"f91e5829f321decd9e6051d5109709ccc82202b8","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.11","scripts":{},"_shasum":"0272467e82f7be4e6d5127f45efa6787194e45eb","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"0272467e82f7be4e6d5127f45efa6787194e45eb","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.11.tgz","integrity":"sha512-UOFB0qzgrWSryNKmn6P/+k5XKanXuEehCiWgHfvE6BTdBh+WBgIng5FAi4f5JsFWq/lDfQAF1XXFhkSdf0x8ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWsqYQX179gTetRakM3WYSk3G/GvmyZmaaPmWQnH8HFAiAYzBvDN5XhejxGyaGqrPbazoMKIpSSKSLAwMe7CalzAQ=="}]}},"0.6.12":{"name":"nis-model","preferGlobal":false,"version":"0.6.12","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"e5f23a695f0df834e45ae823145f6fb2c94ae98c","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.12","scripts":{},"_shasum":"9cf3e5c4458f0326da65b0af91d71765778affca","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"9cf3e5c4458f0326da65b0af91d71765778affca","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.12.tgz","integrity":"sha512-vDR1wq6yPgvHpfhQSPNkj8NvhHLkn1VVjFVyXbKxczagfUOj0d8vSua3yw2OrdZoiqFWUCmp+LzhKedUIPC4tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxuyUae8LLxfZQcb/9TTCUAfiw8Q0fW+B9t0rtJd6oIQIhAKjfc23luzQzAfMGH8ZzSzDlW0q4sG3jEbGDpXgYioJY"}]}},"0.6.13":{"name":"nis-model","preferGlobal":false,"version":"0.6.13","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"*"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"f6b75116bed2c6436e5f1c44b26f6f82936f5403","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.13","scripts":{},"_shasum":"06fb6e2e21c705df4d857a771e9c0de54186bcfd","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"06fb6e2e21c705df4d857a771e9c0de54186bcfd","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.13.tgz","integrity":"sha512-k1XKOgHvVFmNx3GN5EzWu9iLlJp7Ml1/gNAzDLLCHymfa6SMYOHzS3H/FjbZwJibYcoGmOUb3ilaFyKT1JW5Bg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUbYE0sHJMroqicPI6joNXZIso1lFf4VQGX92sQKsfvAiA0QQjQdx3UNALpfFdU9HQXoOHkSfDoZzHTLSmG3ArA9A=="}]}},"0.6.14":{"name":"nis-model","preferGlobal":false,"version":"0.6.14","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"13df2d12a86071560faa307df0b9647b1fe4a319","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.14","scripts":{},"_shasum":"27ccd131c83866b9583b66577bcfa6afece8a3a1","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"27ccd131c83866b9583b66577bcfa6afece8a3a1","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.14.tgz","integrity":"sha512-Y4FgcT4AfsAGhhVejvvXPIpVOJI0aqIr7/zY0rvUOWrxcBNL/x7SVWOAIDCEGyJtzPxSvC4dp0f5lrHXWQYp9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9AfCRcOywnRzU1MIYs5bSyu1wlqRAYwzJ79TB8MKh5AiBGN2wkYanLcJ0XMsuvZN/06jGBYaNP33M/5TANtDTqMg=="}]}},"0.6.15":{"name":"nis-model","preferGlobal":false,"version":"0.6.15","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"1c86eefc8e13d53494a832d30b0f7568042796da","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.15","scripts":{},"_shasum":"99e94a1422a2bc1c2fc5d079dcb2b8a02ca4fc7c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"99e94a1422a2bc1c2fc5d079dcb2b8a02ca4fc7c","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.15.tgz","integrity":"sha512-Cvm7XGzi1Fhi+GP/f8mqnHUA2hgId/wp+gaRTdaTigy3JWsc3x36iI3i6/8ZzEBi343/ZdOU5RrK33ADO/bwrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAJPchWpZmmB6+d/ISsArGl94nDZYOKfy2S1ZmV9LHvgAiAOhEG79IMxtJQPofHdGKdSzM7e47N/iMMIS4gcnHHWlw=="}]}},"0.6.16":{"name":"nis-model","preferGlobal":false,"version":"0.6.16","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"27fa5f3797e49b2bc783c4d6220e659ba5c12921","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.16","scripts":{},"_shasum":"ebc87b868984bc93e189175f246734edb221f2fc","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"ebc87b868984bc93e189175f246734edb221f2fc","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.16.tgz","integrity":"sha512-V1ek/bSJeBcMBBWbezisCoMr77Fdq058ktoshyniOtsk/oVPY/tIpvSOVgYwvIG2LzW2+76sKKuFx+Wd0kMrjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCn224UG8mRoPWD4w0czG1sTozkp0R+QbFlX+FX/z1P0QIgSWWjVLDOe6KcYAArHa2UkZk1qHO25vaq0BWzwRAgOqc="}]}},"0.6.17":{"name":"nis-model","preferGlobal":false,"version":"0.6.17","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"2fc8660b970e0e087b9ec429bb6b96dbaa0d3db1","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.17","scripts":{},"_shasum":"e61b515555575d5ec4fdbd2a7cf10ba7bf6d8aed","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"e61b515555575d5ec4fdbd2a7cf10ba7bf6d8aed","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.17.tgz","integrity":"sha512-GP/mSndX4ORyPbk4FJpxSK7KtIaAjC0VNbfD/vWD1JuM3AogKd2y7+N+8mUCrHpL8zcwz0JDZEHZW3KC8qoFaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBp7x5OCv+Gl4tuapGVNgyGON+PyUkMm3E73ky1G0m+AIgOY0CxeUTINl5QVrUGgORLLL3JUcdxTYPgyl/HsiLhM8="}]}},"0.6.18":{"name":"nis-model","preferGlobal":false,"version":"0.6.18","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"41f9b7c13677fae485e5609c43b9aef68c9712fa","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.18","scripts":{},"_shasum":"9488707fb90d88b56cc8790bcb3ed0485e5dfd4d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"9488707fb90d88b56cc8790bcb3ed0485e5dfd4d","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.18.tgz","integrity":"sha512-edaUNhjIm4TAoOGfA8EDeNkjsvjpLERsL8a5hLUrOcdHVCv16aotih8+jIyFUWOwxtfxQYIEGgqJOE9YyC84LA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHrrh+hft0CBuJwoRh/AcpXCHq2PS7rz8fYxjW3Gw1ZqAiEA+NmPqfKo7OZxBVeWC6c2fVlLy9geAlGV0ZtU19Elw/s="}]}},"0.6.19":{"name":"nis-model","preferGlobal":false,"version":"0.6.19","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"393820458965b8a250b0533e851ec3f2aa92d04b","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.19","scripts":{},"_shasum":"32e6b930e901338979317666c9100a38f7ccfc14","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"32e6b930e901338979317666c9100a38f7ccfc14","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.19.tgz","integrity":"sha512-kdtKRlewMRMtNIv8N8U01UCWHILheyj4cKMAewUMmaPNbEeqQYg6SKaru8qWYwHiutPYxSNVdTEJn9WSDpIKng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUi2FzGieziPyDsJugMk2YCaJRjdAzujd+Xken4GNv1wIgMsnOgvIWPGeRr2qUzL+wmn7T5CP6jM/+dWbefS70hmo="}]}},"0.6.20":{"name":"nis-model","preferGlobal":false,"version":"0.6.20","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"dedbd3f24698453bec821ef42cdad74b91c6d79d","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.20","scripts":{},"_shasum":"0e8ae58ebaeaeae5e83df4051e9c116828b38653","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"0e8ae58ebaeaeae5e83df4051e9c116828b38653","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.20.tgz","integrity":"sha512-eWSKk79F56eYnFoP6TBRBRgYeXVbrsnqCU0YJWzevkj5WYP1FwTPV4a1/86dzLwqRQuxMsa+0PWUJcjizFMOGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC++pjrebil2sRp5Wxe1AymxV+6tvR7qnKP8KKVCcCFBwIhAK2+KeXkQeXANLm1J1LK0wHlygWHlQB+rbc7hOrXN4XH"}]}},"0.6.21":{"name":"nis-model","preferGlobal":false,"version":"0.6.21","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"4bbc27d5399887ca7b12c22fb50b8e4ad5aa5166","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.21","scripts":{},"_shasum":"119366323e66191a013ee49489e0a1cdc2086000","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"119366323e66191a013ee49489e0a1cdc2086000","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.21.tgz","integrity":"sha512-vwp/yk6Cu2aO4EOz9Zw8bbkI87uwWsJkyiP6P9boafaQaV938eEPWVM2OPAHCV2ndoRDTqkNYEN5oiOX+HNJsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC17sSUL4Z43Y+YxR7fm+KJu9j3VudR5WDAh1XlfXGhkwIhAMBj5GB/yBBieiWnB+z5B3xTaVeQc/O2qsHaz7/TACC0"}]}},"0.6.22":{"name":"nis-model","preferGlobal":false,"version":"0.6.22","author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"description":"Advanced, database agnostic ODM","main":"./index.js","repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"dependencies":{"nis-utils":"*","mongodb":"^1.4.0"},"analyze":false,"devDependencies":{},"license":"MIT","engines":{"node":">=0.10"},"gitHead":"111d857fd04ceee1d0cf0e7c6624a3f86e85e3cf","bugs":{"url":"https://github.com/nowitssimple/model/issues"},"homepage":"https://github.com/nowitssimple/model","bundleDependencies":[],"_id":"nis-model@0.6.22","scripts":{},"_shasum":"0b3a5064e36a39a7c1bc312734eb5c7de374e9be","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"nowitssimple","email":"hello@nowitssimple.com"},"maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"dist":{"shasum":"0b3a5064e36a39a7c1bc312734eb5c7de374e9be","tarball":"https://registry.npmjs.org/nis-model/-/nis-model-0.6.22.tgz","integrity":"sha512-kyA3I9Zqhym3fZvvPO7klIFA18daBcplOOHEzIRsHNcbqyjzGQGqE+LNssRw0Ttx3G5KMy9+rpGyCFFHsfa9gg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEutoH33J59dqjBke+vTXJ0hKOFTBBeDO2MalwzGGQqDAiAcZpdQ8Uo8nRKncDUgMSpeJxGZJxJ2VBAw0ejxNgml2w=="}]}}},"readme":"# Advanced, database agnostic ODM\r\n\r\nSometimes your application is not a simple to-do list and you need to write complex business logic.\r\nRather than strictly predefined CRUD methods and hooks, nis-model is a set of tools which you can use to write your own logic, data sources and reusable behaviours.\r\n* Scheme (inheritable, with nested models)\r\n* Validations (extendable validations and sanitizers)\r\n* Defaults (inheritable default settings)\r\n* Methods (inheritable instance and constructor methods)\r\n* Queries (inheritable, extendable and cacheable query builder methods)\r\n* Hooks (inheritable and extendable)\r\n* Relations with integrity maintaining hooks\r\n* Data sources with optimistic locks (Memory, Json file, Mongo, Rest, Elastic search)\r\n* Caching (synchronize workers' cache across nodejs cluster)\r\n* Behaviours (Orderable, Tree)\r\n\r\n## Installation\r\n```\r\nnpm install nis-model\r\n```\r\n\r\n## Usage\r\n\r\n```javascript\r\nvar Model = require('nis-model');\r\n\r\n/*\r\n * create employee model, which:\r\n * 1. is stored in mongo database\r\n * 2. is in tree structure\r\n * 3. is orderable\r\n * 4. can handle process of changing job - it is not just a simple update,\r\n * it has to be confirmed by HR department\r\n */\r\nvar Employee = Model.define('Employee', [ 'MongoDataSource', 'Orderable', 'Tree' ], {\r\n    name:{ isString:true },\r\n    surname:{ isString:true },\r\n    salary:{ isNumber:true, round:2 },\r\n    job:{ isIn:[ 'project_manager', 'sales', 'support'] },\r\n    jobConfirmed:{ isBool:true },\r\n    // address as submodel\r\n    address: { model: Model('Address') },\r\n    // or array of submodels\r\n    addresses: { arrayOf: Model('Address') }\r\n});\r\n\r\n// define connection details by extending inherited defaults\r\nEmployee.extendDefaults({\r\n    connection:{\r\n        host: 'localhost',\r\n        port: 27017,\r\n        database:'myapp',\r\n        collection:'employees'\r\n    }\r\n});\r\n\r\n// now, add hookable method\r\nEmployee.prototype.changeJob = Employee.wrapHooks('changeJob', function(newJob, cb){\r\n    var employee = this;\r\n    employee.job = newJob;\r\n    employee.jobConfirmed = false;\r\n    employee.update(cb);\r\n});\r\n\r\n// register \"beforeChangeJob\" listener\r\nEmployee.on('beforeChangeJob', function(next){\r\n    // notify HR department\r\n    next();\r\n});\r\n\r\n// init model, this will ensure indexes or do some work to init datastore\r\nEmployee.init();\r\n\r\n// now we can get employee and change his job\r\nEmployee.collection().find({ name:'Chuck', surname:'Norris' }).one(function(err, employee){\r\n    employee.changeJob('super_agent', function(err){\r\n        // job changed, and HR department was notified\r\n        // (but I am sure they can't change Chuck's job - nobody can :)\r\n    });\r\n});\r\n\r\n// if you need to define a new type of employee, just inherit it from Employee.\r\n// It will inherit all methods including registered events like \"beforeJobChange\".\r\nvar SuperEmployee = Model.define('SuperEmployee', ['Employee']);\r\n```","maintainers":[{"name":"nowitssimple","email":"hello@nowitssimple.com"}],"time":{"modified":"2022-06-21T10:05:24.901Z","created":"2014-11-30T19:40:52.438Z","0.6.0":"2014-11-30T19:40:52.438Z","0.6.1":"2014-12-19T13:08:10.136Z","0.6.2":"2014-12-29T00:21:48.405Z","0.6.3":"2014-12-29T10:50:30.444Z","0.6.4":"2015-01-30T23:30:41.891Z","0.6.5":"2015-02-12T16:26:42.494Z","0.6.6":"2015-02-13T16:12:22.485Z","0.6.7":"2015-03-05T14:03:27.356Z","0.6.8":"2015-03-12T17:09:01.471Z","0.6.9":"2015-03-13T16:33:26.572Z","0.6.10":"2015-03-18T12:03:08.742Z","0.6.11":"2015-03-18T16:20:01.099Z","0.6.12":"2015-03-20T17:45:20.708Z","0.6.13":"2015-03-23T15:37:29.373Z","0.6.14":"2015-03-23T17:01:40.980Z","0.6.15":"2015-03-25T15:01:45.297Z","0.6.16":"2015-03-31T17:49:17.561Z","0.6.17":"2015-04-02T09:11:01.864Z","0.6.18":"2015-04-02T14:21:34.336Z","0.6.19":"2015-04-04T21:08:42.829Z","0.6.20":"2015-04-06T18:00:38.430Z","0.6.21":"2015-04-13T17:32:45.185Z","0.6.22":"2015-04-21T09:01:15.974Z"},"homepage":"https://github.com/nowitssimple/model","keywords":["mvc","model","orm","odm","database","datasource","mongodb"],"repository":{"type":"git","url":"https://github.com/nowitssimple/model"},"author":{"name":"NIS - Matus Szabo","email":"hello@nowitssimple.com"},"bugs":{"url":"https://github.com/nowitssimple/model/issues"},"license":"MIT","readmeFilename":"README.md","users":{"henryorrin":true}}