{"_id":"o-query","_rev":"8-71c2cf901665f08d04a79678e2249e85","name":"o-query","description":"Ease way to get, set and find object property.","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"o-query","version":"1.0.0","description":"Ease way to get, set and find object property.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests/tests.js"},"repository":{"type":"git","url":"git+https://github.com/VashurkinAnton/object-query.git"},"keywords":["oQuery","get","wildcard","object"],"author":{"name":"Anton Vashurkin"},"license":"GNU/PGLv3","bugs":{"url":"https://github.com/VashurkinAnton/object-query/issues"},"homepage":"https://github.com/VashurkinAnton/object-query#readme","gitHead":"14e11465a45d0787d2fc7ba16614b1c415b15755","_id":"o-query@1.0.0","_shasum":"362f4c6d843beb8be0eb6241d851559dc6fc53c0","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.2.1","_npmUser":{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"},"dist":{"shasum":"362f4c6d843beb8be0eb6241d851559dc6fc53c0","tarball":"https://registry.npmjs.org/o-query/-/o-query-1.0.0.tgz","integrity":"sha512-hCnM451nhvHBNvuugavPw1bD/RFZK/y8IDR1i3JeRS93jPEyJZTHBcUizwVD+HFNVDXxJVdcNt6uucDiOeNrrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwe2aQQyM5tXdVtevpwETi3/NFiFvEcn4KkwHDm2LysQIhAIPvRn+x+Cd44ccITkZb3dzPCgu2rPwO3Ij/Yd6WtD/h"}]},"maintainers":[{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"}]},"1.0.1":{"name":"o-query","version":"1.0.1","description":"Ease way to get, set and find object property.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests/tests.js"},"repository":{"type":"git","url":"git+https://github.com/VashurkinAnton/object-query.git"},"keywords":["oQuery","get","wildcard","object"],"author":{"name":"Anton Vashurkin"},"license":"GNU/PGLv3","bugs":{"url":"https://github.com/VashurkinAnton/object-query/issues"},"homepage":"https://github.com/VashurkinAnton/object-query#readme","gitHead":"54af0e9a60c350c9c0e7457ec250d2f6e6954166","_id":"o-query@1.0.1","_shasum":"5002ef28e81a264b5f6d6c5c0292143b5320249b","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.2.1","_npmUser":{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"},"dist":{"shasum":"5002ef28e81a264b5f6d6c5c0292143b5320249b","tarball":"https://registry.npmjs.org/o-query/-/o-query-1.0.1.tgz","integrity":"sha512-oWhRTHWOZcVYEfvV5agT+NaRofV0gJGIs1ps28nFebjFJgPlGXX5sC97Mm6u1oQ4YuDi2xXHJzL1rdujRDEU9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQtbIo2U8BPi4vbElp0nLRXbIf5vRPiey5Ttk4EA+NiAiEAp5FYOWu1t36P2t7m4OjvHOMG+GOQO8+FY+x8aqeGltc="}]},"maintainers":[{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"}]},"1.0.2":{"name":"o-query","version":"1.0.2","description":"Ease way to get, set and find object property.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests/tests.js"},"repository":{"type":"git","url":"git+https://github.com/VashurkinAnton/object-query.git"},"keywords":["oQuery","get","wildcard","object"],"author":{"name":"Anton Vashurkin"},"license":"GNU/PGLv3","bugs":{"url":"https://github.com/VashurkinAnton/object-query/issues"},"homepage":"https://github.com/VashurkinAnton/object-query#readme","gitHead":"edc395fcfb3dbd289865d038fc4dd6403643c960","_id":"o-query@1.0.2","_shasum":"c1dfbaa3a661853732234a9d6c03e8a50c285c62","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"},"dist":{"shasum":"c1dfbaa3a661853732234a9d6c03e8a50c285c62","tarball":"https://registry.npmjs.org/o-query/-/o-query-1.0.2.tgz","integrity":"sha512-TeC0w1ryzjGM5aUIlSArKC8k4xUIjtsTbz+C/7EByCg5o2OKHW+dd4F8b7e+eUyljoyWl5zjOjns5s4T5zoNoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOH+fUT559lYE/djUL/pgvFmKsluqAr5wtvoz6GULaNAIgVdVx8LrsSWJlXrjNo6KlBQqo2qRSR/UMUACNmU9Bxpg="}]},"maintainers":[{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/o-query-1.0.2.tgz_1457627389691_0.687806042842567"}},"1.0.3":{"name":"o-query","version":"1.0.3","description":"Ease way to get, set and find object property.","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"node ./tests/tests.js"},"repository":{"type":"git","url":"git+https://github.com/VashurkinAnton/object-query.git"},"keywords":["oQuery","get","wildcard","object"],"author":{"name":"Anton Vashurkin"},"license":"GNU/PGLv3","bugs":{"url":"https://github.com/VashurkinAnton/object-query/issues"},"homepage":"https://github.com/VashurkinAnton/object-query#readme","gitHead":"bf57a6174a8907cc991dc45104aac860a8dd01bd","_id":"o-query@1.0.3","_shasum":"a8665266561738937a7b9d58c424c90f3cc546f7","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"},"dist":{"shasum":"a8665266561738937a7b9d58c424c90f3cc546f7","tarball":"https://registry.npmjs.org/o-query/-/o-query-1.0.3.tgz","integrity":"sha512-E6eMuQVte61qzreBXQ59V107s5eKj3jlSGf6FcoFFRyQUG17iTNxdadw2D8ePdFWCI8IItXuzVG1ZIY3WsLkug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHloAyYEnXYDDrd6qMiv+BsjG6osIo1zo66hWhLTn79mAiBMTI/a2oMXyQpCtwwJm5VkTKyfCoEe6inpR+GUl+13cg=="}]},"maintainers":[{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/o-query-1.0.3.tgz_1459958557385_0.606229240540415"}}},"readme":"# Object query\r\nEase way to get, set and find object property.\r\n\r\n## Instalation\r\n```\r\nnpm install o-query\r\n``` \r\n## Usage \r\n\r\nFor ES5\r\n```\r\nvar oQuery = require('o-query');\r\n```\r\nor for ES6\r\n```\r\nimport * as oQuery from 'o-query'\r\n```\r\n\r\n## Methods\r\n\r\nIn all demos uses this object\r\n```\r\nvar obj = {\r\n\ta: 'str',\r\n\tb: {\r\n\t\tnum: 123\r\n\t},\r\n\te: {\r\n\t\tf: {\r\n\t\t\tnum: 'string num'\r\n\t\t}\r\n\t},\r\n\tarr: [1,2,4, {num: 321}, {num: 'str num in arr'}]\r\n};\r\n```\r\n### oQuery.get(path, object);\r\nGet some property in object or array;\r\n\r\n```\r\nconsole.log(oQuery.get('/b/num', obj));\r\n\r\nconsole.log(oQuery.get('/arr/1', obj));\r\n```\r\n\r\n### oQuery.set(path, patch, object);\r\nSet some property in object or array;\r\n\r\n```\r\noQuery.set('/b/newProp', 'string', obj);\r\nconsole.log(oQuery.get('/b/newProp', obj));\r\n\r\noQuery.set('/arr/3', 123, obj);\r\nconsole.log(oQuery.get('/arr', obj));\r\n```\r\n\r\n### oQuery.remove(path, object);\r\nRemove some property in object or array;\r\n\r\n```\r\noQuery.remove('/arr/3', obj);\r\nconsole.log(oQuery.get('/arr', obj));\r\noQuery.remove('/a', obj);\r\nconsole.log(oQuery.get('/', obj));\r\n\r\n```\r\n\r\n### oQuery.wildcard(pattern, [findProps], object, filter);\r\nFind props by pattern and params\r\n\r\n```\r\nconsole.log(oQuery.wildcard('/**', ['num'], obj));\r\n```\r\n\r\n## Licese\r\n\r\nSee license in LICENSE.md","maintainers":[{"name":"anton-vashurkin","email":"cronosfera2@gmail.com"}],"time":{"modified":"2022-06-22T15:08:07.658Z","created":"2015-11-05T11:14:07.333Z","1.0.0":"2015-11-05T11:14:07.333Z","1.0.1":"2015-11-13T03:52:59.772Z","1.0.2":"2016-03-10T16:29:52.025Z","1.0.3":"2016-04-06T16:02:40.102Z"},"homepage":"https://github.com/VashurkinAnton/object-query#readme","keywords":["oQuery","get","wildcard","object"],"repository":{"type":"git","url":"git+https://github.com/VashurkinAnton/object-query.git"},"author":{"name":"Anton Vashurkin"},"bugs":{"url":"https://github.com/VashurkinAnton/object-query/issues"},"license":"GNU/PGLv3","readmeFilename":"readme.md","users":{}}