{"_id":"@bryzos/product-search","_rev":"11-0c24ffa977ec4423a149bddfa9850c66","name":"@bryzos/product-search","dist-tags":{"latest":"1.0.10"},"versions":{"1.0.1":{"name":"@bryzos/product-search","version":"1.0.1","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.1","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"2997498330697d5ccaf1263ac34d5b66d65297f2","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.1.tgz","fileCount":6,"integrity":"sha512-70Z+xWgM8YbqIAfKUYiT4c8U0dSThGslbLgfo4tROcZtdX6gH5tozAS9yFWsp4b4loYueE/wjQp/ir5w3kuIgg==","signatures":[{"sig":"MEUCIQDVr7UosPVsstoxaCYucWdWyA1gMZpVJFO9ZEvMHBA4yQIgOFynQJ2WyZr4CXzM3Hp+r4KSK4vQcXXVNy8mRM51xYU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56441},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"11196d46e2aa2054a6f475241475b7f3710b5449","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","publish":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"18.16.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.1_1745847828057_0.1406199032506814","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bryzos/product-search","version":"1.0.2","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.2","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"bb32bef836434ea903916491607892082201ee84","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.2.tgz","fileCount":6,"integrity":"sha512-+ZNep0rUZqLS4NjhPhNiLLdDHxN2y4guDEWhKZeOrgtJ/35xyuf9+qEcyp1orcjFWxSWLuAi+EJV7Cl5pB1NnQ==","signatures":[{"sig":"MEQCIEBCnXMEMhgHG5FVXF7/pGLgZ68CKFn2O0kfO4lpYgMCAiAoTs43pHLnc07AhO6kg4cqREjdVL4F0yiZ0OB2ub7odQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90048},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"c8cb91dfb0ab48ef6f0957c51ca7ca3f8527cf69","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","publish":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.2_1746544644848_0.7199421500995105","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bryzos/product-search","version":"1.0.3","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.3","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"1f019f93a19c5c8b91dc88bf3718f5ee28b72844","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.3.tgz","fileCount":6,"integrity":"sha512-j2YrfSS/rd2Z1n1icIMQAAHTcBhkeCx3pv6AShNCMS57dknvdsojta5sbN2FTOOS8911Ni5OTAKAyBfrZCxbWQ==","signatures":[{"sig":"MEYCIQCNSiAqhHoSvjDoAU2zv+29adcNKwUF2hQzZQj4MXBNLwIhAKIKxIyht2eHxYnX8ysU7Oo/1suNc2W1qJel1bbU9gOx","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":90048},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"28a0547998a123e4fc54cc21444ab6fa6525341a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","publish":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.3_1746545969422_0.9302931702048138","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@bryzos/product-search","version":"1.0.4","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.4","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"a8cb934b9f90935b51e5fbee84d961940894899c","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.4.tgz","fileCount":4,"integrity":"sha512-CwH7eaE9Sb4tQF0isQBLv0Eg+Bevsvpi0wZFvpQ4yZ5ioY1kV0spRM3gsf/sl5RMSZ2PgkXK4jxfQ3HmD1DYMg==","signatures":[{"sig":"MEUCIQCb4rcwWBsvLYaiJpydg8JoqDfRrNUxIEGyZc2/PACUJgIgSVqScoYNzZhhDTlfRG/e+yMoGeIr0HEFiBk0a1482yM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":156752},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"62f5c38c7aca909881ed32941c7d470fbf018393","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","release":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.4_1748270754780_0.381339107179971","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@bryzos/product-search","version":"1.0.5","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.5","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"25bf4fa3f064a8c99c1255929254b226653e3b1c","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.5.tgz","fileCount":4,"integrity":"sha512-7ENb26EXLm41D8G4LXadii3dYoKs/PJspRSUVSwdaG05XGf2PAVRHwm+UbBnOrk6yAY5+z6d9WVvmTdtQds+oA==","signatures":[{"sig":"MEQCIHlEcSF+vDt+OtmVZ8QpNfysTTwwG4u9shZS8qHA3YoyAiBTa+I86biMBOlQZMRjdFDCC2C6q8vp3VBr5JnxGSMt6Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":156880},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"62f5c38c7aca909881ed32941c7d470fbf018393","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","release":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.5_1748271263503_0.7493733514212795","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@bryzos/product-search","version":"1.0.6","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.6","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"b41a579a545335570f20dfc7bdf0b99d42727ea1","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.6.tgz","fileCount":4,"integrity":"sha512-pU9s4fVQ77vt/fDdefGUpslZTTeujR7/KCIDYRVTccHjIJyQApoXfmgHPwHhq39HukcGIumUlV3ZbLLT8dA23A==","signatures":[{"sig":"MEYCIQDXx5QUpLRWpBRdnrEJu0RCh/mHYRqVMbyqRomFBsWuPAIhAK2pdEvFAOL8x7BvKICSQ+x0YHuN7D8fr1ltrkgL/xSK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":156752},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"62f5c38c7aca909881ed32941c7d470fbf018393","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","release":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.6_1748271729167_0.7115640705698161","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@bryzos/product-search","version":"1.0.7","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.7","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"4626ff2d32aa267f3af8c7d3072930f2cadaab09","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.7.tgz","fileCount":4,"integrity":"sha512-ZkBklR4t7pPs7iTMfq4OI9aK0DAwm6ZixcPDw6ReVqiuHDetbRMkI2FL1gtCBI+cK7tX7vrt8Osbm4XkalG0AQ==","signatures":[{"sig":"MEUCIQDrdhNVrRv338Y6P7NFswfw04uANjbJ1d49BdFLXlKGIAIgEr4TzEJFEfEeF6XezVz5wZtG/PL+uMz5uoTZQmUFhRs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":154707},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"f38df28c8bd967d0cf456298cf8848b372b69535","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","publish":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.7_1748874938236_0.8551510681884149","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@bryzos/product-search","version":"1.0.8","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.8","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"aa5c35f0d4367c52dd76789c4a5678405bc96f94","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.8.tgz","fileCount":4,"integrity":"sha512-YH1tbgBFk3cZm7UKTHq2EwybRXU+TKu4aVwK3nxT11J4CeZdP3ls6aTs1bB52xBEhu5Tw5JzwEMF0F2W37Kz8A==","signatures":[{"sig":"MEQCIFKFQtI/XwRJv0su2L4UAcN5qEXWkEt5N/HnjkcYckRDAiAhaCZxCnRUYleqLOwbPlQiEAS2PeXq5o3DTo6OOclY+Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155067},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"c693542040b3665cab07b924affa07079b48370f","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","publish":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"10.9.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.8_1749129800446_0.19181143720185312","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@bryzos/product-search","version":"1.0.9","author":{"name":"Simplable"},"license":"ISC","_id":"@bryzos/product-search@1.0.9","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"dist":{"shasum":"b2ed58fcae49b62f0469578964f2abbadb1bd34f","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.9.tgz","fileCount":4,"integrity":"sha512-srqN3hgy7VbVZ07A9fhiT5cmWP+HzdpGM9jztHfYk6RAl69HqtQ+CJ/qzn1G2tRPDP6yKHNVjuwoaUf6+MBEnA==","signatures":[{"sig":"MEUCIAfhw9cGMH9Y4Sugm44rdL0tD3EhJsoLbHfjAtksD7mcAiEA6PlsBXZAUhfk0CWHxChPMcWkSiDmNfB7FM2YkJCZaB8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":155927},"main":"dist/index.cjs","type":"module","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"c693542040b3665cab07b924affa07079b48370f","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","publish":"npm publish"},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"_npmVersion":"9.7.2","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","directories":{},"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rollup":"4.40.1"},"_npmOperationalInternal":{"tmp":"tmp/product-search_1.0.9_1749130112267_0.29655134377621284","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@bryzos/product-search","version":"1.0.10","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","type":"module","main":"dist/index.cjs","module":"dist/index.js","browser":"dist/index.umd.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs","default":"./dist/index.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rollup -c","publish":"npm publish"},"author":{"name":"Simplable"},"license":"ISC","devDependencies":{"rollup":"4.40.1"},"_id":"@bryzos/product-search@1.0.10","gitHead":"4293d70b17d258a015a831df3e101d1535ee94d2","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-sy9ZpxMkp3rK1lJmUUleS9rRnmexRMOw2ejvz1dfID1nFmkp3ZTB0v+NIb9S6tObvcJFi/xQFKW+v3b84IhXfw==","shasum":"6594ed01aa525217cde7f3c3ca93152271e28bb8","tarball":"https://registry.npmjs.org/@bryzos/product-search/-/product-search-1.0.10.tgz","fileCount":4,"unpackedSize":164002,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIQDIE/F3CcF8n4fJ3Fyf/aqrqobUH0aw6nP4VeKorPxh+QIfMGsMysOOQftqxr8s51PRfZYg0gnNjNn1Xc5YmeQUIA=="}]},"_npmUser":{"name":"bryzos","email":"prathamesh@simplable.com"},"directories":{},"maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/product-search_1.0.10_1749627982970_0.09620049023619437"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-28T13:43:48.056Z","modified":"2025-06-11T07:46:23.301Z","1.0.1":"2025-04-28T13:43:48.239Z","1.0.2":"2025-05-06T15:17:25.074Z","1.0.3":"2025-05-06T15:39:29.637Z","1.0.4":"2025-05-26T14:45:54.966Z","1.0.5":"2025-05-26T14:54:23.696Z","1.0.6":"2025-05-26T15:02:09.365Z","1.0.7":"2025-06-02T14:35:38.433Z","1.0.8":"2025-06-05T13:23:20.621Z","1.0.9":"2025-06-05T13:28:32.434Z","1.0.10":"2025-06-11T07:46:23.137Z"},"author":{"name":"Simplable"},"license":"ISC","description":"A JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.","maintainers":[{"name":"bryzos","email":"prathamesh@simplable.com"}],"readme":"# Product Search Library\n\nA JavaScript library for product search functionality, designed to help with filtering and finding products in e-commerce applications.\n\n## Installation\n\n```bash\nnpm install product-search-lib\n```\n\n## Usage\n\n```javascript\nconst productSearch = require('product-search-lib');\n\n// Search for products\nconst searchResults = productSearch.search('laptop', { \n  limit: 5, \n  caseSensitive: false \n});\nconsole.log(searchResults);\n\n// Get a product by ID\nconst product = productSearch.getProductById(123);\nconsole.log(product);\n\n// Filter products by criteria\nconst filteredProducts = productSearch.filterProducts({\n  category: 'Electronics',\n  minPrice: 500,\n  maxPrice: 1500\n});\nconsole.log(filteredProducts);\n```\n\n## API\n\n### search(query, options)\n\nSearch for products based on a text query.\n\n- `query` (string): The search term\n- `options` (object): Optional configuration\n  - `limit` (number): Maximum number of results (default: 10)\n  - `caseSensitive` (boolean): Whether search should be case sensitive (default: false)\n\nReturns an array of matching products.\n\n### getProductById(id)\n\nGet product details by ID.\n\n- `id` (number): The product ID\n\nReturns a product object or null if not found.\n\n### filterProducts(criteria)\n\nFilter products based on specified criteria.\n\n- `criteria` (object): Filter parameters\n  - `category` (string): Product category\n  - `minPrice` (number): Minimum price\n  - `maxPrice` (number): Maximum price\n\nReturns an array of filtered products.\n\n## License\n\nMIT ","readmeFilename":"README.md"}