{"_id":"@appbaseio/react-searchbox-mongodb","_rev":"8-9c1459a931799c6d6ca75c4fb44e3760","name":"@appbaseio/react-searchbox-mongodb","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@appbaseio/react-searchbox-mongodb","version":"0.0.1","description":"React library kit based on ReactiveSearch's DataSearch","license":"MIT","repository":{"type":"git","url":"git+https://github.com/appbaseio/react-searchbox.git"},"author":{"name":"Anuj Shah","email":"anujshah584@gmail.com"},"bugs":{"url":"https://github.com/appbaseio/react-searchbox/issues"},"homepage":"https://github.com/appbaseio/react-searchbox#readme","main":"dist/index.js","module":"dist/index.es.js","engines":{"node":">=8","npm":">=5"},"scripts":{"build":"rollup -c","start":"rollup -c -w","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build","prepare":"yarn run build","postpublish":"node ./update-searchbox.js"},"peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0","hotkeys-js":"^3.8.7"},"dependencies":{"@appbaseio/searchbase-mongodb":"0.0.1","@emotion/core":"^10.0.17","@emotion/styled":"^10.0.17","downshift":"^3.3.1"},"devDependencies":{"@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@svgr/rollup":"^2.4.1","babel-eslint":"10.x","babel-plugin-emotion":"^10.0.19","concurrently":"^5.0.0","cross-env":"^5.1.4","eslint":"6.x","eslint-config-prettier":"^6.3.0","eslint-config-react-app":"^5.0.2","eslint-plugin-flowtype":"3.x","eslint-plugin-import":"2.x","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-node":"^7.0.1","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-react":"7.x","eslint-plugin-react-hooks":"1.x","eslint-plugin-standard":"^3.1.0","gh-pages":"^1.2.0","rollup":"^0.64.1","rollup-plugin-babel":"^4.0.1","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-peer-deps-external":"^2.2.0","rollup-plugin-postcss":"^1.6.2","rollup-plugin-replace":"^2.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-url":"^1.4.0","rollup-plugin-visualizer":"^2.6.0"},"_id":"@appbaseio/react-searchbox-mongodb@0.0.1","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-zachTwvomY8sib40lMfnRM/tIj7y6K2NfjgXbWUGlmqAWxiyphC9KuNY82EHg85QNjJBESI8wb91oAkxEis0zA==","shasum":"3e14eff11ebc26de4ef43c413e2cc0fe81b34ac0","tarball":"https://registry.npmjs.org/@appbaseio/react-searchbox-mongodb/-/react-searchbox-mongodb-0.0.1.tgz","fileCount":6,"unpackedSize":639785,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhO7MJCRA9TVsSAnZWagAAjGwQAJiArY3MSaUO6XS5X2Vm\nzuvMbIw6u/bQ4jV5alRP7q6Jz9AA/YNeMqP0KEHKsP7xcgso2ykNeo30HOPq\nNCFVAP1garPSAyJeN1WS4Jw9vAJ9LwzO8L8tAz+W+K5oTdy+Eg9xyh2j0zBF\niP8TB/ygT0CwQ58jBAcutoptjUytBdz1dsUl6AaKINIluHNCtr1F2CmZSqOF\n4qEUzOuoJNFm14DykDrnUOoeYEkzDS/okaWskplqbtIAN7st1NeTRDjw/ilS\nJW8zrELJ0pfujcJxLnbpMnBrOseip+JMMrcHrOQYrPvtz8Xft1VgCjOaEFvm\ny/Xc2i8l6sXH4rPSecb7rl/ccCzodL/ANrid2QMy0oHPDL/VQRxTi///xk+4\nKHNQIxQUoZM+ZR+85Xdk/x5fCk4mc2tLpy8wsCXv39I9jH7WYucGGxMrigkd\nuri6XZJrJ4x2NjcvCiXTb9nsSoW5ooVZJD0NgDNao3t6SNOIcxFidTRCIYvY\nOLTuZLO53ZPN4kh/fc8yOAw/iZtlFWoLzgRKr/d8XFXOW1zUaf2Mql2f/CTp\nHDYp+am7/tHbV1A7eYRQVIhLuzcx57MwNodzrqnmr3/Opa1gG99XPNvyxpsl\n59RLr5vb2BjSWKu7Dr6eugqQBlQiJv6QluCsP3FF6TjUbu3kdfzpMBMmK0or\n67vF\r\n=l+b+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJu4CTokdJ0ZQT/smgyVVHGou0SKRdzdPxbqYOqSzPPAiEA/KuTsPsEPMobxjEJzo+/EI4WO0m36ugOJ9xt6kIuPEw="}]},"_npmUser":{"name":"appbaseio","email":"info@appbase.io"},"directories":{},"maintainers":[{"name":"appbaseio","email":"info@appbase.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-searchbox-mongodb_0.0.1_1631302409614_0.39498177877813845"},"_hasShrinkwrap":false},"0.0.2":{"name":"@appbaseio/react-searchbox-mongodb","version":"0.0.2","description":"React library kit based on ReactiveSearch's DataSearch","license":"MIT","repository":{"type":"git","url":"git+https://github.com/appbaseio/react-searchbox.git"},"author":{"name":"Anuj Shah","email":"anujshah584@gmail.com"},"bugs":{"url":"https://github.com/appbaseio/react-searchbox/issues"},"homepage":"https://github.com/appbaseio/react-searchbox#readme","main":"dist/index.js","module":"dist/index.es.js","engines":{"node":">=8","npm":">=5"},"scripts":{"build":"rollup -c","start":"rollup -c -w","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build","prepare":"yarn run build","postpublish":"node ./update-searchbox.js"},"peerDependencies":{"prop-types":"^15.5.4","react":"^15.0.0 || ^16.0.0","react-dom":"^15.0.0 || ^16.0.0","hotkeys-js":"^3.8.7"},"dependencies":{"@appbaseio/searchbase-mongodb":"0.0.2","@emotion/core":"^10.0.17","@emotion/styled":"^10.0.17","downshift":"^3.3.1"},"devDependencies":{"@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-react":"^7.0.0","@svgr/rollup":"^2.4.1","babel-eslint":"10.x","babel-plugin-emotion":"^10.0.19","concurrently":"^5.0.0","cross-env":"^5.1.4","eslint":"6.x","eslint-config-prettier":"^6.3.0","eslint-config-react-app":"^5.0.2","eslint-plugin-flowtype":"3.x","eslint-plugin-import":"2.x","eslint-plugin-jsx-a11y":"6.x","eslint-plugin-node":"^7.0.1","eslint-plugin-prettier":"^3.1.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-react":"7.x","eslint-plugin-react-hooks":"1.x","eslint-plugin-standard":"^3.1.0","gh-pages":"^1.2.0","rollup":"^0.64.1","rollup-plugin-babel":"^4.0.1","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-peer-deps-external":"^2.2.0","rollup-plugin-postcss":"^1.6.2","rollup-plugin-replace":"^2.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-url":"^1.4.0","rollup-plugin-visualizer":"^2.6.0"},"_id":"@appbaseio/react-searchbox-mongodb@0.0.2","_nodeVersion":"14.17.1","_npmVersion":"6.14.13","dist":{"integrity":"sha512-aVqfPyVJenTLoMIrdN/aARJAEX9ME1igHbBP8uT4Usw9EDKfyj4RCMKEANKF6mYGPLh3LP/qqF291GXPwqmDog==","shasum":"14214edd7fa911feeb1b9707dbc8de39ee15bbcb","tarball":"https://registry.npmjs.org/@appbaseio/react-searchbox-mongodb/-/react-searchbox-mongodb-0.0.2.tgz","fileCount":6,"unpackedSize":641543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh11uhCRA9TVsSAnZWagAAp7UP/1rlf5EzjlpISAcC9pyF\n5ggNZu6tIloawVES7bEhtFnlf08gSQXhQ+EMmf8S5Hwtq3DbrT5scqag5iGy\nEswv2KhJtmfVm8lo8NDY8w4H6AOLLFvfl8o2DUhcAM2ChMv3cM0vpXrfTiUT\nbXVZLrGQbmWXhwBYbUiSpNoReMhnTKafuAENgXkLsoIZ9gpu3eADiuLm74tZ\nHnHcOYOz8ShmqDjLLTiGp8eA3rXqnU5ygCQYPmWWS25P39+U/vFQ+d+ZsOVH\nWvZmh3Y5NGEVdn+sgfPwqDItqjOA2OrSG62vFsPD3stT9mXGTZAyUhlY85U0\nzrxFG2/OZ/s7BegcecjUiA9VQJON01FOcEZZSZ2BkpoSwbW51XL3grG360Ik\nDCzUVIr+5gpFD8xzT0aaMYj2OFmgBs4mIG0xQGmYj5iD8K6gpB/maZXqAhHv\n1X9FwTsSOorVamd1u8viyBW/01dKFH8d7jTglJHdujIKH+im8VhxYzOC3AKR\nEuwWcZ4Jp17Uqvv/q4zOfye/1rNuwLz0tbSxZbHy4uCJrXAY7i5hI9pjqheN\nblNtsk4+81aOGNNf83z3TWOHioM73gpalhf5ZB6k995ELVIvahrijnwUpcpD\no1dIMRkj4Gi16FV8wY/GFdtgtiQOoFxM8W4ghQsmlM3bUJzJmnwf+OXpNizv\nkRzP\r\n=MlHQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfbbi3s1hHkfFeZi5sOPT/6B8KdPGLqEuwWBrvLa/RvgIgPEI7ceZT0gHzyw0l/umTk8E7Fw1PdztxCouiK/caRlg="}]},"_npmUser":{"name":"appbaseio","email":"info@appbase.io"},"directories":{},"maintainers":[{"name":"appbaseio","email":"info@appbase.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-searchbox-mongodb_0.0.2_1631645760163_0.3462745345717222"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-10T19:33:29.433Z","0.0.1":"2021-09-10T19:33:29.828Z","modified":"2023-04-19T07:30:22.948Z","0.0.2":"2021-09-14T18:56:00.312Z"},"maintainers":[{"email":"shubhamshahrising@gmail.com","name":"savvyshah"},{"email":"siddharth@appbase.io","name":"siddharthlatest"},{"email":"kuldepsaxena155@gmail.com","name":"anjuma"},{"email":"mohdashraf010897@gmail.com","name":"mohdashraf010897"},{"email":"info@appbase.io","name":"reactivesearch"}],"description":"React library kit based on ReactiveSearch's DataSearch","homepage":"https://github.com/appbaseio/react-searchbox#readme","repository":{"type":"git","url":"git+https://github.com/appbaseio/react-searchbox.git"},"author":{"name":"Anuj Shah","email":"anujshah584@gmail.com"},"bugs":{"url":"https://github.com/appbaseio/react-searchbox/issues"},"license":"MIT","readme":"<h2 align=\"center\">\n  <img src=\"https://i.imgur.com/iiR9wAs.png\" alt=\"searchbase\" title=\"searchbase\" width=\"200\" />\n  <br />\n  React Searchbox\n  <br />\n</h2>\n<p align=\"center\" style=\"font-size: 1.2rem\">A lightweight react search library with some common utilities.</p>\n<hr />\n\n## TOC\n\n1. **[Intro](#1-intro)**\n2. **[Features](#2-features)**\n3. **[Usage](#3-usage)**\n4. **[Installation](#4-installation)**\n5. **[Docs Manual](#5-docs-manual)**\n6. **[Contributing](#6-contributing)**\n7. **[Other Projects You Might Like](#7-other-projects-you-might-like)**\n\n<br />\n\n## 1. Intro\n\n`React SearchBox` offers a lightweight (~30KB: Minified + Gzipped) and performance focused searchbox UI component to query and display results from your ElasticSearch app (aka index) using declarative props. It is an alternative to using the [DataSearch component](https://docs.appbase.io/docs/reactivesearch/v3/search/datasearch/) from ReactiveSearch.\n\n[⬆ Back to Top](#toc)\n\n## 2. Features\n\n- Design search experiences with best practices\n- Customize your components at will\n- Follow React principles\n\n[⬆ Back to Top](#toc)\n\n## 3. Usage\n\n### Basic Usage\n\n```js\n<SearchBox\n  app=\"good-books-ds\"\n  credentials=\"nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d\"\n  dataField={['original_title', 'original_title.search']}\n/>\n```\n\n### Usage With All Props\n\n```js\n<SearchBox\n  app=\"good-books-ds\"\n  credentials=\"nY6NNTZZ6:27b76b9f-18ea-456c-bc5e-3a5263ebc63d\"\n  dataField={[\n    { field: 'original_title', weight: 1 },\n    { field: 'original_title.search', weight: 3 }\n  ]}\n  title=\"Search\"\n  defaultValue=\"Songwriting\"\n  placeholder=\"Search for books\"\n  autosuggest={true}\n  defaultSuggestions={[\n    { label: 'Songwriting', value: 'Songwriting' },\n    { label: 'Musicians', value: 'Musicians' }\n  ]}\n  highlight={true}\n  highlightField=\"group_city\"\n  queryFormat=\"or\"\n  fuzziness=\"AUTO\"\n  showClear\n  showVoiceSearch\n/>\n```\n\n[⬆ Back to Top](#toc)\n\n## 4. Installation\n\n```bash\nnpm install @appbaseio/react-searchbox-mongodb\n# or\nyarn add @appbaseio/react-searchbox-mongodb\n```\n\n[⬆ Back to Top](#toc)\n\n## 5. Docs Manual\n\nThe official docs for the library are at [docs/react-searchbox](https://docs.appbase.io/docs/reactivesearch/react-searchbox/quickstart/)\n\n[⬆ Back to Top](#toc)\n\n## 6. Contributing\n\nPlease check the [contribution guide](./CONTRIBUTING.md)\n\n[⬆ Back to Top](#toc)\n\n## 7. Other Projects You Might Like\n\n- [**reactivesearch**](https://github.com/appbaseio/reactivesearch) React, React Native and Vue UI components for building data-driven apps with Elasticsearch.\n\n- [**arc**](https://github.com/appbaseio/arc) API Gateway for ElasticSearch (Out of the box Security, Rate Limit Features, Record Analytics and Request Logs).\n\n- **searchbox** Similar to `react-searchbox` we offer a lightweight and performance focused searchbox UI libraries for Vanilla and Vue.\n\n  - [**Vanilla**](https://github.com/appbaseio/searchbox) - (~16kB Minified + Gzipped)\n  - [**Vue**](https://github.com/appbaseio/vue-searchbox) - (~22kB Minified + Gzipped)\n\n* [**dejavu**](https://github.com/appbaseio/dejavu) allows viewing raw data within an appbase.io (or Elasticsearch) app. **Soon to be released feature:** An ability to import custom data from CSV and JSON files, along with a guided walkthrough on applying data mappings.\n\n* [**mirage**](https://github.com/appbaseio/mirage) ReactiveSearch components can be extended using custom Elasticsearch queries. For those new to Elasticsearch, Mirage provides an intuitive GUI for composing queries.\n\n* [**ReactiveMaps**](https://github.com/appbaseio/reactivesearch/tree/next/packages/maps) is a similar project to Reactive Search that allows building realtime maps easily.\n\n* [**appbase-js**](https://github.com/appbaseio/appbase-js) While building search UIs is dandy with Reactive Search, you might also need to add some input forms. **appbase-js** comes in handy there.\n\n[⬆ Back to Top](#toc)\n\n<a href=\"https://appbase.io/support/\"><img src=\"https://i.imgur.com/UL6B0uE.png\" width=\"100%\" /></a>\n","readmeFilename":"README.md"}