{"_id":"@coveops/x-of-y-results","_rev":"25-9e5586fe26deb2a3dc4341ab3036a9a0","name":"@coveops/x-of-y-results","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@coveops/x-of-y-results","version":"1.0.0","keywords":[],"author":"","license":"Apache-2.0","_id":"@coveops/x-of-y-results@1.0.0","maintainers":[{"name":"jantoun_coveo","email":"jantoun@coveo.com"},{"name":"ehsanshahneh","email":"eshahneh@coveo.com"},{"name":"dsisodraker","email":"dsisodraker@coveo.com"},{"name":"watallah","email":"watallah@coveo.com"},{"name":"coveoit","email":"itaccounts@coveo.com"},{"name":"gfoumbi","email":"gfoumbi@coveo.com"},{"name":"rvundavalli","email":"rvundavalli@coveo.com"},{"name":"jwolfe-coveo","email":"jwolfe@coveo.com"},{"name":"sfecteau","email":"sfecteau@coveo.com"},{"name":"mthusscoveo","email":"mthuss@coveo.com"},{"name":"jfleurent","email":"jfleurent@coveo.com"},{"name":"eqcoveo","email":"equinn@coveo.com"},{"name":"jmdro","email":"jmdrolet@coveo.com"},{"name":"davebouffard","email":"dbouffard@coveo.com"},{"name":"jfallaire","email":"jeanfrancois.allaire@gmail.com"},{"name":"achouan","email":"achouan@coveo.com"},{"name":"hsinghcoveo","email":"hsingh@coveo.com"},{"name":"wnijmeijer","email":"wnijmeijer@coveo.com"},{"name":"lgcarrierbedard","email":"lgcarrier@coveo.com"},{"name":"elafleur_coveo","email":"elafleur@coveo.com"},{"name":"plavigueur","email":"plavigueur@coveo.com"},{"name":"eaubin","email":"eaubin@coveo.com"},{"name":"lpblais-coveo","email":"lpblais@coveo.com"},{"name":"jpdery26","email":"jpdery@coveo.com"},{"name":"cricha","email":"cricha@coveo.com"}],"dist":{"shasum":"a4488c8df664087e7d890b83116ad7d490d9218a","tarball":"https://registry.npmjs.org/@coveops/x-of-y-results/-/x-of-y-results-1.0.0.tgz","fileCount":9,"integrity":"sha512-lmmD6Xu1//CC5ys3eDfyPMNWahXTkIEnWMXEMp/xXIJ984YMJCtEDgcXutd1oKMUzcgbpoRbiMBFzIH97GqAmA==","signatures":[{"sig":"MEYCIQCIYZb/o4DGbHuhbH13YYMrw88leJ8NopeNqZeHTkvhyQIhAI/9S8nMspUFbQJtoV3hOh9iQIC5bkAgsRQ0wShDgC9v","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwWlnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoA0w//W+38ZHMxmQFFIrcGJOO37tLk6fhg/QNtF2dC0RYtmBa+7CvK\r\nqTplFv11/hN5JU25QPp3nK5troatk/SWxGz9v7ykWDCjafbFbyIwlvErrfyS\r\nVRBRYR9TkHNTiWx6MIyJgS3o0s1UktcD2NMvuFJ7QhS0BqCQeJ9ASsLl+0Q9\r\n9KbOPhRUcDZM7gV8z537poGpPI0BUc3HtnJ6mhLxylO3FqzPGk2v7S5C0xLP\r\nkWyN5zXo/v7eYY86MPZz33Yx9yPXSN+t/NTiyeyLndE0vdR22cwSyntK2viE\r\n+S5CZjlyLt64KLHCGr1jF4SyD21BDEGkdVktuhd1td/KC49Iyy0E6gK5QNIL\r\nz5VQmv0hDGgm3sNZ1KW+EFPrEbrZcFUnS6gHh4R5zzKpuVzI9GZwST8GuNTl\r\nY2RuQyfP16UMQEMZrWrG/mb7C8FVuVo7n+wDBvxR0DC7E2/eyWekfSmEbA8U\r\njqgm+ipFAEiqXieJ7OJu1pC1piTWyMBBLanMmfVFoM89YzMDdyo0ghtLZgEj\r\nJKv6hlzo7loz3r49Ygcu3UuckDEPL3nR8MMFrhVWc0ZXQQQFVOELaJKmGptA\r\nBK2btcjwNztQwPvH5oY95PSEEJgmrVfYhIM5xUwX0OxTAXiFCsYaGctla46S\r\nSmTnFR4R/uwj4j70dqHd1VaMbnLWNEjBysk=\r\n=6Wfh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"coveops build XOfYResults --template typescript","serve":"coveops serve","watch":"coveops build XOfYResults --template typescript --watch","precompile":"npm run build"},"_npmUser":{"name":"cricha","email":"cricha@coveo.com"},"_npmVersion":"6.14.17","description":"Disclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.","directories":{},"_nodeVersion":"14.21.2","dependencies":{"coveo-search-ui":"^2.10104.0","@coveops/turbo-core":"^1.2.1","@coveops/localization-manager":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@coveops/cli":"^0.17.0"},"_npmOperationalInternal":{"tmp":"tmp/x-of-y-results_1.0.0_1673619814915_0.22522245832341614","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-01-13T14:23:34.809Z","modified":"2026-05-13T17:47:00.107Z","1.0.0":"2023-01-13T14:23:35.119Z"},"license":"Apache-2.0","keywords":[],"description":"Disclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.","maintainers":[{"email":"jfleurent@coveo.com","name":"jfleurent"},{"email":"jmdrolet@coveo.com","name":"jmdro"},{"email":"jeanfrancois.allaire@gmail.com","name":"jfallaire"},{"email":"achouan@coveo.com","name":"achouan"},{"email":"lpblais@coveo.com","name":"lpblais-coveo"},{"email":"watallah@coveo.com","name":"watallah"},{"email":"eshahneh@coveo.com","name":"ehsanshahneh"},{"email":"belbizri@coveo.com","name":"belbizri"},{"email":"jpurohit@coveo.com","name":"jpurohit_coveo"},{"email":"acherney2@coveo.com","name":"acherney2c"},{"email":"jcharron@coveo.com","name":"jcharron-coveo"},{"email":"oa-npmcoveops@oacvo.com","name":"oa-npmcoveops"}],"readme":"# XOfYResults\n\nDisclaimer: This component was built by the community at large and is not an official Coveo JSUI Component. Use this component at your own risk.\n\n## Getting Started\n\n1. Install the component into your project.\n\n```\nnpm i @coveops/x-of-y-results\n```\n\n2. Use the Component or extend it\n\nTypescript:\n\n```javascript\nimport { XOfYResults, IXOfYResultsOptions } from '@coveops/x-of-y-results';\n```\n\nJavascript\n\n```javascript\nconst XOfYResults = require('@coveops/x-of-y-results').XOfYResults;\n```\n\n3. You can also expose the component alongside other components being built in your project.\n\n```javascript\nexport * from '@coveops/x-of-y-results'\n```\n\n4. Or for quick testing, you can add the script from unpkg\n\n```html\n<script src=\"https://unpkg.com/@coveops/x-of-y-results@latest/dist/index.min.js\"></script>\n```\n\n> Disclaimer: Unpkg should be used for testing but not for production.\n\n5. Include the component in your template as follows:\n\nPlace the component in your markup:\n\n```html\n<div class=\"CoveoXOfYResults\"></div>\n```\n\n## Extending\n\nExtending the component can be done as follows:\n\n```javascript\nimport { XOfYResults, IXOfYResultsOptions } from \"@coveops/x-of-y-results\";\n\nexport interface IExtendedXOfYResultsOptions extends IXOfYResultsOptions {}\n\nexport class ExtendedXOfYResults extends XOfYResults {}\n```\n\n## Contribute\n\n1. Clone the project\n2. Copy `.env.dist` to `.env` and update the COVEO_ORG_ID and COVEO_TOKEN fields in the `.env` file to use your Coveo credentials and SERVER_PORT to configure the port of the sandbox - it will use 8080 by default.\n3. Build the code base: `npm run build`\n4. Serve the sandbox for live development `npm run serve`","readmeFilename":"README.md"}