{"_id":"basic-resource","_rev":"52-0fc49615029dd18c78c7c00c25d45c47","name":"basic-resource","description":"module to register basic resources (RESTful route paths and controller methods)","dist-tags":{"latest":"1.2.2"},"versions":{"0.1.0":{"name":"basic-resource","version":"0.1.0","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"1d0441dcbed62b2fbed1ba8e2285702fdc72ca7a","_id":"basic-resource@0.1.0","scripts":{},"_shasum":"9f4bbf507166c431f8816c72a72b9e642307abab","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"9f4bbf507166c431f8816c72a72b9e642307abab","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.1.0.tgz","integrity":"sha512-sU6ok1Q4BTPYBwvHLaQurmoV+3+Q2R71fCfZVVDTC1sMUqMjrs1sUyKoFRuQ0zrKdIdIEXKMX/0NdHIbZGqVVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8GddVEe71SxkLUeq+UrFngPBxZGrnXGdgalJeEn+TdAiEA7SJ2CxZUmpjSQEcAUG92SnCMLxKHtdjhf6i9qOfa5f4="}]}},"0.1.1":{"name":"basic-resource","version":"0.1.1","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"6208f85b66ef00de2f1168e9fb084082205f1732","_id":"basic-resource@0.1.1","scripts":{},"_shasum":"c3f77fca5d03247ffa3eab6d0621333e415d751c","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"c3f77fca5d03247ffa3eab6d0621333e415d751c","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.1.1.tgz","integrity":"sha512-V+eEdoTBAp7lCaIbM2dvd59LLzF9XbucVlC1EPUWCBma+AwTLA5f4dnWVQpULOF6tJfxLzNgL/qtffU4IhlIXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX9o9LLHvM1fcMf7dMkvMoxwRm+AKWjdglbjYBPaY8CgIhAIzcOg/MBs+L8KEc1GHMurdjxz34mmGW91dgvFxelhXL"}]}},"0.1.2":{"name":"basic-resource","version":"0.1.2","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"6208f85b66ef00de2f1168e9fb084082205f1732","_id":"basic-resource@0.1.2","scripts":{},"_shasum":"2872968edf7030abc6e4c5f134e8c92d660102d1","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"2872968edf7030abc6e4c5f134e8c92d660102d1","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.1.2.tgz","integrity":"sha512-a3lhv9KBCrpeEQ+8UfTBptaSmt4jd+UdVx847R7qwWbpQeenk0PT4uJoAC9H/w9YcvAzmCbG2gyQO6MZvJXfkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCarjkUmrDND/fCAuDMJECTW1oeHZwnzLct5dmwX0D4AwIgCMgtMEXPrWudds8atrdbawBXUDproCm7YoD/AGYGQhQ="}]}},"0.1.3":{"name":"basic-resource","version":"0.1.3","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"f3609a954e53cab228fee248c7c3961d2c278e09","_id":"basic-resource@0.1.3","scripts":{},"_shasum":"04c16a7d3f2674570ec392c204ec9654bb08b1f6","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"04c16a7d3f2674570ec392c204ec9654bb08b1f6","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.1.3.tgz","integrity":"sha512-FqMl1r4z635KgOErQdKEBmDUeaL7BnEABjajY1dy4kCeRkJ1pm1gURXK8QO5s9+d5FBqdInb6og9YN6XzWew7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJQDmI35OYVDqRD/t2kzZU+bCA8b+FbGXrsnO0LSR0wAIhAOucoTJMBg6T7aN4XTtdPvpvjYE/r1uqgHDxHw9B0Had"}]}},"0.1.4":{"name":"basic-resource","version":"0.1.4","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"3cf2026d6dd1408d26d8763ae6d61c7d9def3f02","_id":"basic-resource@0.1.4","scripts":{},"_shasum":"a66d7aabea711616fd9fe3369c6ce4463c48514a","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"a66d7aabea711616fd9fe3369c6ce4463c48514a","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.1.4.tgz","integrity":"sha512-/vyB5EOeRrSn0GDnXH4TJRDQwx9IRXBPNXTWrvDGL1y3fbfay1Pm4T464irBe2gAQWb7/O1h8Zd6JacpfH11Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLzHhmX05wbNLhIhnP3OMmr30Ayr29I/9jgVeWKKDMXAiEA6bxclmPnIv/NJhwPi1Bl0beMTdkOJa/fXF0+EdZCVYI="}]}},"0.1.5":{"name":"basic-resource","version":"0.1.5","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"08eb4ed703a2c4d26cedf89f75cab7682779aad8","_id":"basic-resource@0.1.5","scripts":{},"_shasum":"1ee075eb14728cba4c7137943e1fe07b5363d09e","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"1ee075eb14728cba4c7137943e1fe07b5363d09e","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.1.5.tgz","integrity":"sha512-rsnL7iK5+zuTw42M3Y1z7Xmm6wOAjzR5jHPoMVOV41MEGgmRLKmw3qSI+Y739lsPh6oJXFjBjPnhhDqQ5j89Fw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHoINZGlErCXx7y2Co+WAY67uDByZyzHmxRJ6geMM2ljAiBaLMUgBTEvslEAo1xxEm88ksTkmONyznsjIUyp845dqQ=="}]}},"0.2.0":{"name":"basic-resource","version":"0.2.0","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"12e98bca1ac9351644270fb35320bb23d17aa780","_id":"basic-resource@0.2.0","scripts":{},"_shasum":"8cc678d1a29ec6e9088a56afe5c5742ee3a60078","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"8cc678d1a29ec6e9088a56afe5c5742ee3a60078","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.2.0.tgz","integrity":"sha512-qSvhoxqtGc4kIAFKMKFqW1MB9/SXDlDD64bfvE0zb8/vpnHQiXir3QapzFMjZpUQvPPBTNgrqvpOcuJOc8Y7/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFnzIG+AypX7kQJFdW54uUO9vLrFEfGg8+P9aw3og2KRAiBb/Rla69H30Ct2/wCnfB53A8R28/3N9KqYpAo3CS4DvQ=="}]}},"0.2.2":{"name":"basic-resource","version":"0.2.2","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"7aef3b5885c2ac1ebd81802cef714c0decb8d7b5","_id":"basic-resource@0.2.2","scripts":{},"_shasum":"096f9f060fe0d4620dcd1654d5120622ba88ff09","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"096f9f060fe0d4620dcd1654d5120622ba88ff09","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.2.2.tgz","integrity":"sha512-CCrV0vTO1o+UTijUf3iO4ZMP1r8IQjSSJ1ekdA0gD/ZNrWKXZMbxd51Z49LxerajNNQ12ozlI2ySHTmNijIDtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICq28tgrFTmWO/C0xOwQ8ch1KX/lViZgtfXoIjzQF9xtAiAyZH2J5dqOI15xOEYquYexm0sf2AkmZc6ZTi2IKjGCQw=="}]}},"0.2.4":{"name":"basic-resource","version":"0.2.4","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"8476c284029bc6e48af31ae641c8c16eaffc3fc3","_id":"basic-resource@0.2.4","scripts":{},"_shasum":"afa274c5d223769ed50da1a09f56f0a43562b212","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"afa274c5d223769ed50da1a09f56f0a43562b212","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.2.4.tgz","integrity":"sha512-hHANVqkB1zl7T8Co8KuXNuEUFdQ/s9+sZTnt03Mkx25Bvj94NP8I6bZxZSOB2ZPzYUyHNp37EkP8UvEh5KKvXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGoWDXR/HK7H9y18d0KyTYuGr45DuRPjdWtkPHWC99vIAiBVR3uzyumtdQEW0HE9O3N57vdgzWM4iliWCI3t/AWcQg=="}]}},"0.2.5":{"name":"basic-resource","version":"0.2.5","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"300b5de97cdbcb21d97f66830b0fc86e1b155445","_id":"basic-resource@0.2.5","scripts":{},"_shasum":"b4f09b9400829fad96e5718f8c6e59b7d7a6fc8b","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"b4f09b9400829fad96e5718f8c6e59b7d7a6fc8b","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.2.5.tgz","integrity":"sha512-EsDshI3d0WEsMUHAYoUvTLd59tidaRid8ahixWcGDJJUDoe5wcrWVcoWUGQnot06VmtSvTPxt5GVDwnFhVQ50Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDm8lyd+zQFt+Yhxh12v+OlGT64efy0Sh4DHgXXCykSrAIgJbFvMsBxMh98GwIdrmycPWL/cN/uVRkx7hItGLX3RSY="}]}},"0.2.6":{"name":"basic-resource","version":"0.2.6","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"94d64ef51f1693a373d0b74f96da7210589988bc","_id":"basic-resource@0.2.6","scripts":{},"_shasum":"0c75bbcf18ede5a149180bc1e64d5dd505be0ed2","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"0c75bbcf18ede5a149180bc1e64d5dd505be0ed2","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.2.6.tgz","integrity":"sha512-u/aKo+NW0dKOk1ilHU0Ndr7m5qrsCRAbM7RF6CHAxOSOzSE47uu/Lt+qSa38QD5n3g7h+XBLjfTJY7mSsjPi6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGYibDAdTT8AYCTUCcFePdhfPX6SToF5aXGYBOmhiWFAiBuaEV7tyGwG0HXkLTR1+6VtN+/P2bGJuEqHz2s9o2bcA=="}]}},"0.2.9":{"name":"basic-resource","version":"0.2.9","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"15524cf711a0a9158a2855825490e703b01ae2e1","_id":"basic-resource@0.2.9","scripts":{},"_shasum":"a76569332769654a8ad3593b77143e29308860c9","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"a76569332769654a8ad3593b77143e29308860c9","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.2.9.tgz","integrity":"sha512-LwbaswOFQFGYerVu7gaDSBQ/LDSIgSqQfL9Qlcu/Arj96/1Z4svubJ6X+0/2FQwWCj4ts5F4yRcgOfmLZkO5Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHRSW+/l0zAlvj0ANxU4jG5Kk7B3blPYmeBOu35h4fyvAiBZ2lYrw9RX2WnGXbIWFWYHa+Ie4xEu8XGXmMP4UYp5gQ=="}]}},"0.2.10":{"name":"basic-resource","version":"0.2.10","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"f3ee359043aab1dde507f8b8f0da2e87d7285012","_id":"basic-resource@0.2.10","scripts":{},"_shasum":"db376395f9db7cc2440abf90ab9a30a18979b040","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"db376395f9db7cc2440abf90ab9a30a18979b040","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.2.10.tgz","integrity":"sha512-lvUT7LFdj/q88kxdvdFMX1L2IIVmN/9poNp/fZ5/U7uaHT5eAaWZBYWT823IFqTEyO6vtFAmglDB6My267HQWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD0MH59bANlubXja+02dpt00fUZWt1AqXYSpW3TGEpfwIgEaLcvkV7zglqPTFv3RAP6MUCUszPCTaPQYdrm+NAQsk="}]}},"0.3.0":{"name":"basic-resource","version":"0.3.0","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0"},"gitHead":"70263296d9af11b3e9e60fae5486e36b7fe07f57","_id":"basic-resource@0.3.0","scripts":{},"_shasum":"bcd93d001c5488676fbe7ca9f608efcaa0db92c6","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"bcd93d001c5488676fbe7ca9f608efcaa0db92c6","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-0.3.0.tgz","integrity":"sha512-UAsltCTXD/QA21lehcq1F0ZwB4GqCsRG+Z1bLVYj686gZPqlCep9IoKUU/pqjHEfOKcmEmx1UGNZHEsBV4ne4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAyM1vgjTMLSEdCXVzEHtsluD/u53NlOjcmy/DeU0jUUAiAy57naH+FQs+eBku+iAAQr9UVA0XVOrwEPU1CqGDc3dQ=="}]}},"1.0.0":{"name":"basic-resource","version":"1.0.0","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2"},"gitHead":"86aabbfed894b9c24dcda8eb6a82b8e9eaf6d964","_id":"basic-resource@1.0.0","scripts":{},"_shasum":"e686e9b9eae6a7d701fddb70d03ef9926c3a9b02","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"e686e9b9eae6a7d701fddb70d03ef9926c3a9b02","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.0.0.tgz","integrity":"sha512-QDXkrVcdETFnPVoPQhZ0OrT5uv8gMe/bdlEMsJz3yNFVmjofTdzLQkY7jNmd70opjCTrDy+lRQvqH7lq+vXf6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChEO17UoSvdrF19iVbCPhPF24xZOlgSgV4MzWRgDJIOwIgfwaDplUXqqq4A6kUDtaz2Z1FqQNXGvtTafQTuOq905c="}]}},"1.0.1":{"name":"basic-resource","version":"1.0.1","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2"},"gitHead":"4ebda2be4685315f2a50e978f69c245ba20a2c9a","_id":"basic-resource@1.0.1","scripts":{},"_shasum":"0b416166832405ee45c1223168e7620f5ce14153","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"0b416166832405ee45c1223168e7620f5ce14153","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.0.1.tgz","integrity":"sha512-EcwSilCWbYvhgLxeuzTPSXKF+sqKTC9QMjucO9i0Qge70XlH93tWLKpM4jiZjiuS36MrzTjyhc96Sm2Av0Hl4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFqC7IyUTfrjHIgdxG/IqfeePDKvmHV6pCEU0xMnrhCAiAiT/mXCMly3K8D93UQoQXeftPvaV24CLs2hqvBU88Syw=="}]}},"1.1.1":{"name":"basic-resource","version":"1.1.1","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2"},"gitHead":"0d814d75b0c84549ef045a17ff6bf643dcec79bd","_id":"basic-resource@1.1.1","scripts":{},"_shasum":"51fc30218de667f5de8694a49ec6209f085546fd","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"51fc30218de667f5de8694a49ec6209f085546fd","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.1.1.tgz","integrity":"sha512-/POsfkKz3F22mVhOX0gvTSacl5uZpWD0mwzaKSJ5DnC1oISOaU9ldKVpwbjhCNFAHgHYjNAV3kBdbc9Hxi69rg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDcMqA79sJpHODCyE0YhpzvGeiOF6ZmUyEFFdSvbhKVAwIgMs2lvv1/vkELs3905UOUkqCaPab18popVTz+78LVS0U="}]}},"1.1.2":{"name":"basic-resource","version":"1.1.2","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2"},"gitHead":"8921472e6c04f1ae4da64b8fd501f8be795b8557","_id":"basic-resource@1.1.2","scripts":{},"_shasum":"061ec28f6432b1d4a96e9cc0c3bab53075b91936","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"061ec28f6432b1d4a96e9cc0c3bab53075b91936","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.1.2.tgz","integrity":"sha512-sAe1h3Rl3gPH7SFqFywhBijAHpBzLVTPPCGLozxx2k/wpUL/pvIq3M969ZoMW/qpbqfy2oZHTrBsifALlv1vMQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEdm9J3AO4zMZPcYehBxE82U88RIp4AQeOzmIT8Dp/dWAiA2sokJwMTHFHEiKxJqj37mMAtSHp52XTHQ6yo5Ufs+Kw=="}]}},"1.1.3":{"name":"basic-resource","version":"1.1.3","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2"},"gitHead":"07b6af73a341667965d09213657aa6790d7a379a","_id":"basic-resource@1.1.3","scripts":{},"_shasum":"4eafa2a8dcb5e80068569a22f46f4e4479be3e3d","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"4eafa2a8dcb5e80068569a22f46f4e4479be3e3d","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.1.3.tgz","integrity":"sha512-QkNV7EoA23V2CZQ08q9IwKNd5dvYbuHmQ9Iw38CH45hzLOhVY0B9unepM90yjZaWFMo/SNRaM9A2bwi2zOCgDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGvjqHPe9Xg5XGwPFiMe8Rp0ceBS0c1IK5rv0bIk1fbAiAEmTqgIs36UdvLnKlF5UyxbPwRrIxuxHGZJIrchFZ+ew=="}]}},"1.1.4":{"name":"basic-resource","version":"1.1.4","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2"},"gitHead":"e061e265382d34c5dddff724a994c2df69e3d7f7","_id":"basic-resource@1.1.4","scripts":{},"_shasum":"c4e20647ef5acce740a961e305a20e4f21fe760f","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"c4e20647ef5acce740a961e305a20e4f21fe760f","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.1.4.tgz","integrity":"sha512-i/y+uZbjmNnqaGqTufGdsGRf2nd/6v2vpXwDNh9TlGnFJGknvURlWwfn6CxDfZTg0lOh/EeRdLoFvlnWWFjCQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDtV97YVNfWEgkwHucc3CWXbTLq+Ckr+B9jf7jX4xyFhAiEAzQfHAtFUIK0Ya2PHYFA245acLxCPDmqOYX1LlabsX20="}]}},"1.1.5":{"name":"basic-resource","version":"1.1.5","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2"},"gitHead":"dad15f255eea14ed0488519948c2bd842da959a5","_id":"basic-resource@1.1.5","scripts":{},"_shasum":"06dfd2be7350106522e4f53e9582b668cea88294","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"06dfd2be7350106522e4f53e9582b668cea88294","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.1.5.tgz","integrity":"sha512-hS3vYBS99m9D/ztyLMjv8MbNBeGkXAwdcjkpW3ZJBejuf4Oh/3ZYAlITOI7ZnBMwlSZHNSLlqvsMq2X39p7ybw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZh7E6+Nsg8UneALTdyvKkPAfkk1xS1dLtu23Woh7DrAIhANT1jsAuzOUe44EVFQLr85syig8IdiIzt85w/IaQ5i3T"}]}},"1.1.7":{"name":"basic-resource","version":"1.1.7","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2","prettyjson":"^1.0.0"},"gitHead":"2b243a3368ce4357cbbf3c396088d9696d42a1c8","_id":"basic-resource@1.1.7","scripts":{},"_shasum":"67397fea96d1c3b25ad782f6eac692569d4db8cd","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"67397fea96d1c3b25ad782f6eac692569d4db8cd","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.1.7.tgz","integrity":"sha512-F/f/sFUbcWpVEG9XuOBSBkTewA6AuhF77FQGvSl3sLK9L+Oqh9NUv9MtDfiry1ho1jrnltBvJGot5NxHEdJzaw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPT4ARaWPXr1G7wvOe+Z3nc9Vpna/d2GuuvvZdAuvYAgIgUbKBisauNsYhSqG70OdlULEkYyBIlIAGorRTCFBh5rk="}]}},"1.1.8":{"name":"basic-resource","version":"1.1.8","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2","prettyjson":"^1.0.0"},"gitHead":"41e9572e15cc40d24bdab96ac2070c7d228bb555","_id":"basic-resource@1.1.8","scripts":{},"_shasum":"8dd8d4763bda60a9833b76541a18d683d7c8dcf8","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"8dd8d4763bda60a9833b76541a18d683d7c8dcf8","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.1.8.tgz","integrity":"sha512-pnAw4tTDakokkTYfHS3TOQSdbVS7OPfjj3Q1iqI5FE6jHRTeQZxBoaoj6NU7eT9OlORBPkiNwty+JjmKrxVjXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiZuMUJJeY8OJ7+YRWZ+samH6lPQS6KIWRWMPFME0w6wIgZXZYY0RB/dHh+egf74sZz6Or0HNhej8f7xSHPLIN4hk="}]}},"1.2.0":{"name":"basic-resource","version":"1.2.0","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2","prettyjson":"^1.0.0"},"gitHead":"4e686c921e6f44e5d2447fff5d0c56a22f05b607","_id":"basic-resource@1.2.0","scripts":{},"_shasum":"1fc335c376cf8fad657e6d31ccd7b84303da21e6","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"1fc335c376cf8fad657e6d31ccd7b84303da21e6","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.2.0.tgz","integrity":"sha512-9sGg8Gd8eG6TVWdle4i9jz8x0M76E1v1tgkeRGhVPh8N0hYk1YdoYr7b5KJx+b5SfkQ88fQvDtSqbXHn/18hlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEU5yFjZ3cdpSV8gMd6+LT563aqL42jHArDhekvgsf8gIhAPolS3SdcorxoEaOoUN3tk/OegTiKTKvL3CIMnjJtlyD"}]}},"1.2.2":{"name":"basic-resource","version":"1.2.2","description":"module to register basic resources (RESTful route paths and controller methods)","keywords":["resource","REST","express","connect","mongoose"],"main":"./index.js","engines":{"node":">=0.10.0"},"dependencies":{"express":"^4.0.0","mongodb":"^1.4.0","mongoose":"^3.8.0","underscore":"^1.7.0","q":"^1.1.2","prettyjson":"^1.0.0"},"gitHead":"96d256c6c5327e17b8c0553a4df82e6d5a09a122","_id":"basic-resource@1.2.2","scripts":{},"_shasum":"10166f94850f81574213e681de56402b5adcb961","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.25","_npmUser":{"name":"sophos","email":"miqpro@yandex.ru"},"maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"dist":{"shasum":"10166f94850f81574213e681de56402b5adcb961","tarball":"https://registry.npmjs.org/basic-resource/-/basic-resource-1.2.2.tgz","integrity":"sha512-wacwmAHz3EFMTq9HJOIrNkO3Xc2fOEhel/BFSd0EfoxaFhho0fBwkgJ11c5hzUdOHckFGldEGgO4v0kOL0pA3A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjtpoFthVzNbaSz8x8QDhrJjdjMdqhrYPts/3pKLEp/AiEAsCFQqtnqTU+7rrxUXIpPaMS4+RYcGtyqtYnTFa8jnpY="}]}}},"readme":"# basic-resource\n\n> Register basic resources\n\nEasy registration on basic REST resources on your Express/mongo node application.\n\n## install\n\nInstall by command line:\n\n```sh\n$ npm install basic-resource\n```\n\nOr add to your package.json:\n\n```json\n{\n    \"basic-resource\": \"^0.2.0\"\n}\n```\n\nIn your resource source add:\n\n```js\nvar mongoose = require('mongoose');\nvar ClientSchema = mongoose.Schema({\n    name: { type: String, required: true },\n    city: { type: String, required: true },\n    phone: { type: String, required: true },\n    created: { type: Date, default: Date.now }\n} );\nvar Client = mongoose.model(\"Client\", ClientSchema);\nreturn require(\"basic-resource\")(app, Client, {name: \"clients\", context: \"/api\"});\n```\n\nBasic urls to be register:\n\n[http://your-app-host/clients]() - `GET` to get all clients (controller method \"index\")\n\n[http://your-app-host/clients]() - `POST` for client creation (controller method \"create\")\n\n[http://your-app-host/clients/:clientId]() - `GET` to get one client (controller method \"one\")\n\n[http://your-app-host/clients/:clientId]() - `PUT` to update user (controller method \"update\")\n\n[http://your-app-host/clients/:clientId]() - `DELETE` - to delete user (controller method \"remove\")\n\nYou can pass additional query params:\n\nParameter `fields` will limit fields in result documents to specified. For example you can get `/clients?fields=_id,create` to only get `_id` and `create` fields of all clients\n\nParameter `start` will skip first N records of result. For example you can get `/clients?start=10` to get clients from 10'th (can be combined with `length` for pagination)\n\nParameter `length` will limit result length to N. For example you can get `/clients?length=10` to get only 10 clients (can be combined with `start` for pagination)\n\n\n## Modify controller default methods\n\nTo replace methods use:\n\n```js\nvar controller = {}; // create controller to \ncontroller.create = function(req, res) {\n    res.statusCode = 406;\n    return res.json({\n      message: \"you currently can't create new users\"\n    });\n}\nreturn require(\"basic-resource\")(app, Client, {name: \"clients\", context: \"/api\", controller: controller});\n```\n\n## Configure generated controller\n\nYou can pass options to controller generator:\n\n```js\nvar resource = require(\"basic-resource\")(app, Client, {\n    name: \"clients\", \n    context: \"/api\",\n    validate: function(data) {\n        return data.match(/[0-9A-F]+/i);\n    },\n    format: function(data) {\n        if(data.index > 10) {\n            return {index: \"more then 10\"};\n        }\n        return null;\n    }\n});\n```\n\n\n","maintainers":[{"name":"sophos","email":"miqpro@yandex.ru"}],"time":{"modified":"2022-06-13T04:22:37.864Z","created":"2014-12-25T11:50:48.529Z","0.1.0":"2014-12-25T11:50:48.529Z","0.1.1":"2014-12-25T12:58:38.666Z","0.1.2":"2014-12-25T13:13:09.731Z","0.1.3":"2014-12-25T13:31:41.176Z","0.1.4":"2014-12-25T14:08:59.809Z","0.1.5":"2014-12-25T15:03:51.689Z","0.2.0":"2014-12-29T12:11:27.729Z","0.2.2":"2014-12-29T12:51:37.188Z","0.2.4":"2014-12-29T14:18:03.735Z","0.2.5":"2014-12-29T14:30:48.425Z","0.2.6":"2014-12-29T14:52:39.092Z","0.2.9":"2014-12-30T13:52:04.603Z","0.2.10":"2014-12-30T14:24:42.681Z","0.3.0":"2014-12-31T11:59:35.688Z","1.0.0":"2015-01-05T13:44:10.177Z","1.0.1":"2015-01-05T15:21:10.751Z","1.1.1":"2015-01-06T13:18:11.969Z","1.1.2":"2015-01-06T14:17:19.402Z","1.1.3":"2015-01-06T14:33:13.420Z","1.1.4":"2015-01-06T14:45:12.485Z","1.1.5":"2015-01-06T15:08:22.838Z","1.1.7":"2015-01-08T08:51:06.016Z","1.1.8":"2015-01-08T08:56:53.939Z","1.2.0":"2015-01-08T12:20:58.616Z","1.2.2":"2015-01-08T12:52:17.766Z"},"keywords":["resource","REST","express","connect","mongoose"],"readmeFilename":"README.md"}