{"_id":"@biodiversity/ssr-breakpoints","_rev":"7-a2857720b98c691cb7d6bc9081a51291","name":"@biodiversity/ssr-breakpoints","description":"Detect device and infer screen resolution on server or device and screen resolution breaks on client","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.2":{"name":"@biodiversity/ssr-breakpoints","version":"0.0.2","description":"Detect device and infer screen resolution on server or device and screen resolution breaks on client","license":"MIT","contributors":[{"name":"Convention on Biological Diversity","email":"it@cbd.int"}],"main":"lib/module.js","repository":{"type":"git","url":"https://github.com/https://github.com/scbd/biodiversity-nuxtjs.git"},"publishConfig":{"access":"public"},"scripts":{"lint":"eslint lib test","test":"npm run lint && jest","release":"standard-version && git push --follow-tags && npm publish"},"eslintIgnore":["lib/templates/*.*"],"files":["lib"],"jest":{"testEnvironment":"node","coverageDirectory":"./coverage/","collectCoverage":true,"collectCoverageFrom":["lib","test"]},"devDependencies":{"nuxt-module-builder":"latest"},"_id":"@biodiversity/ssr-breakpoints@0.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"},"dist":{"integrity":"sha512-VBTnCI8yAOZv5zZwe5ZGoN3IEn3TrAXjPDfuD66rALyXixx2i7BGI/05UFikj75z+S5cliRJDrMusSMqFpdlEg==","shasum":"25899bff3086b1b5e86b43aa91853aa05aa8e334","tarball":"https://registry.npmjs.org/@biodiversity/ssr-breakpoints/-/ssr-breakpoints-0.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKUJjlIZhIQSEdWXCcI+v2n2y7/8rHJSRgZYMdOb2aRwIhAKULzmB8WJYsGLSXs1G9iVtbdApXITS5qv5vW3d5yeoV"}]},"maintainers":[{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssr-breakpoints-0.0.2.tgz_1514751271753_0.2342788523528725"}},"0.0.4":{"name":"@biodiversity/ssr-breakpoints","version":"0.0.4","description":"Detect device and infer screen resolution on server or device and screen resolution breaks on client","license":"MIT","contributors":[{"name":"Convention on Biological Diversity","email":"it@cbd.int"}],"main":"module.js","repository":{"type":"git","url":"https://github.com/scbd/biodiversity-nuxtjs/ssr-breakpoints"},"publishConfig":{"access":"public"},"scripts":{"lint":"eslint lib src test","lint-fix":"eslint --fix lib src test","release":"npm publish"},"eslintIgnore":["lib/templates/*.*"],"files":["lib","src","dist"],"jest":{"testEnvironment":"node","coverageDirectory":"./coverage/","collectCoverage":true,"collectCoverageFrom":["lib","test"]},"devDependencies":{"nuxt-module-builder":"latest"},"_id":"@biodiversity/ssr-breakpoints@0.0.4","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"},"dist":{"integrity":"sha512-DCpc5AiErUlTNL9EfMDm/XtpVBD+qOox7RlSkVbPi9iT/ooDGMIuLnz9e1R3XpD7Gbln1OV37BospLloB50how==","shasum":"2170668305444108985a62fea3e41c53ea059606","tarball":"https://registry.npmjs.org/@biodiversity/ssr-breakpoints/-/ssr-breakpoints-0.0.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+2lq8OWU8jNmKWOPF3HO1oFFMWqYH8b39v8Yn8IkqgwIhAMTqQ1aLwd5lGChviyp90varDhb349/uwPiOadVTLgVF"}]},"maintainers":[{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssr-breakpoints-0.0.4.tgz_1514814477740_0.4509314587339759"}},"0.0.8":{"name":"@biodiversity/ssr-breakpoints","version":"0.0.8","description":"Detect device and infer screen resolution on server or device and screen resolution breaks on client","license":"MIT","contributors":[{"name":"Convention on Biological Diversity","email":"it@cbd.int"}],"main":"module.js","repository":{"type":"git","url":"https://github.com/scbd/biodiversity-nuxtjs/ssr-breakpoints"},"publishConfig":{"access":"public"},"scripts":{"lint":"eslint lib src test","lint-fix":"eslint --fix lib src test","release":"yarn version && git push --follow-tags && yarn publish"},"files":["module.js","plugin.js","style.css"],"devDependencies":{"nuxt-module-builder":"latest"},"licenseText":"MIT License\n\nCopyright (c) Convention on Biological Diversity <it@cbd.int>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@biodiversity/ssr-breakpoints@0.0.8","dist":{"shasum":"1868029a1988b62b2e5d440bd0ecee2c40172fdb","tarball":"https://registry.npmjs.org/@biodiversity/ssr-breakpoints/-/ssr-breakpoints-0.0.8.tgz","integrity":"sha512-/nwEZyEornrQHDd3P03A6BmmlW1UdN/8o26pZg2jsgFh7eOm8CHciXG7Idm9om5ZsQHe4spypiLaKT8Ndydwsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDACi4xpOVtGO94hJ6Hmluxww0baKxvDMBQ5SY9gKlwUAIgNC3clqwsZft2kz6wYltpClkuuZUDCj87/6PO4R36JWU="}]},"maintainers":[{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"}],"_npmUser":{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssr-breakpoints-0.0.8.tgz_1514830496401_0.34969536680728197"}},"0.0.9":{"name":"@biodiversity/ssr-breakpoints","version":"0.0.9","description":"Detect device and infer screen resolution on server or device and screen resolution breaks on client","license":"MIT","contributors":[{"name":"Convention on Biological Diversity","email":"it@cbd.int"}],"main":"module.js","repository":{"type":"git","url":"https://github.com/scbd/biodiversity-nuxtjs/ssr-breakpoints"},"publishConfig":{"access":"public"},"scripts":{"lint":"eslint lib src test","lint-fix":"eslint --fix lib src test","release":"yarn version && git push --follow-tags && yarn publish"},"files":["module.js","plugin.js","style.css"],"devDependencies":{"nuxt-module-builder":"latest"},"licenseText":"MIT License\n\nCopyright (c) Convention on Biological Diversity <it@cbd.int>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@biodiversity/ssr-breakpoints@0.0.9","dist":{"shasum":"f5b4457e12d4fa4413694769d37e4840daaf4a79","tarball":"https://registry.npmjs.org/@biodiversity/ssr-breakpoints/-/ssr-breakpoints-0.0.9.tgz","integrity":"sha512-AJyOuWpW+sp0LyNGEJOm5xHdpmOnbsO/Kv4iOYEi+fop8U9saYPmuvD/6tB9SL8J4ykjeaJAd4Z7s17sFDYCeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDEuWm1V3PodzaJR2E0WHKx0tDhzY7MFLCIjDpmSuwMAIga3o5XyumL2uBcb59V56JEfEj3tMiDx5i2q+fjT8VIPg="}]},"maintainers":[{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"}],"_npmUser":{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssr-breakpoints-0.0.9.tgz_1516979202736_0.9773158167954534"}},"0.1.0":{"name":"@biodiversity/ssr-breakpoints","version":"0.1.0","description":"Detect device and infer screen resolution on server or device and screen resolution breaks on client","license":"MIT","contributors":[{"name":"Convention on Biological Diversity","email":"it@cbd.int"}],"main":"module.js","repository":{"type":"git","url":"https://github.com/scbd/biodiversity-nuxtjs/ssr-breakpoints"},"publishConfig":{"access":"public"},"scripts":{"lint":"eslint lib src test","lint-fix":"eslint --fix lib src test","release":"yarn version && git push --follow-tags && yarn publish"},"files":["module.js","plugin.js","style.css"],"devDependencies":{"nuxt-module-builder":"latest"},"licenseText":"MIT License\n\nCopyright (c) Convention on Biological Diversity <it@cbd.int>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@biodiversity/ssr-breakpoints@0.1.0","dist":{"shasum":"4399a4bf3151ae0929881e8b625655b7eb60eb7f","tarball":"https://registry.npmjs.org/@biodiversity/ssr-breakpoints/-/ssr-breakpoints-0.1.0.tgz","integrity":"sha512-nm/1tSk2pjaAaVJExKg2R44jG05C8bA8qzWcUKl7S7bNkAVpZ6n+yXu0S4iN1sltbVa6Da4zQnwEKEjmFGnU8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/NyCK3btmjmu4RIw5PHEa6OJG9199LOtw4tig5j0BowIhAK3RFJbjBtzkYGRV4Hzj1Fw/WDxeSPve0k87yL0RBaPE"}]},"maintainers":[{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"}],"_npmUser":{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ssr-breakpoints-0.1.0.tgz_1517077227444_0.7009868072345853"}}},"readme":"# @biodiversity-nuxtjs/ssr-breakpoints\n[![npm (scoped with tag)](https://img.shields.io/npm/v/@biodiversity/ssr-breakpoints/latest.svg?style=flat-square)](https://npmjs.com/package/@biodiversity/ssr-breakpoints)\n[![npm](https://img.shields.io/npm/dt/@biodiversity/ssr-breakpoints.svg?style=flat-square)](https://npmjs.com/package/@biodiversity/ssr-breakpoints)\n[![CircleCI](https://img.shields.io/circleci/project/github/https://github.com/scbd/biodiversity-nuxtjs.git.svg?style=flat-square)](https://circleci.com/gh/https://github.com/scbd/biodiversity-nuxtjs.git)\n<!-- [![Codecov](https://img.shields.io/codecov/c/github/https://github.com/scbd/biodiversity-nuxtjs.git.svg?style=flat-square)](https://codecov.io/gh/https://github.com/scbd/biodiversity-nuxtjs.git) -->\n[![dependencies Status](https://david-dm.org/scbd/biodiversity-nuxtjs/status.svg?path=packages/ssr-breakpoints)](https://david-dm.org/scbd/biodiversity-nuxtjs?path=packages/ssr-breakpoints)\n[![js-standard-style](https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com)\n\n<img src=\"http://imgur.com/V4LtoII.png\" width=\"50px\"/> [Nuxt.js](https://github.com/nuxt/nuxt.js)\n\n> Detect device and infer screen resolution on server or device and screen resolution breaks on client.  \n\n[📖 **Release Notes**](./CHANGELOG.md)\n\n## Features\n\n1. get bulma breakpoints in js from server or client\n\n\n## Setup\n- Add `@biodiversity/ssr-breakpoints` dependency using yarn or npm to your project\n```bash\n  yarn add @biodiversity/ssr-breakpoints\n```\n```bash\n  npm install @biodiversity/ssr-breakpoints\n```\n\n- Add `@biodiversity/ssr-breakpoints` to `modules` section of `nuxt.config.js`\n\n```js\n{\n  modules: [\n    // Simple usage\n    '@biodiversity/ssr-breakpoints',\n\n    // With options\n    ['@biodiversity/ssr-breakpoints', { /* module options none yet*/ }],\n ]\n}\n```\n\n## Usage\n\n```html\n<template>\n\t<section>\n        <div v-if=\"$breakpoints.isDesktopHD\">\n          Desktop High Definition > 1408px\n        </div>\n\n        <div v-if=\"$breakpoints.isDesktopWS\">\n          Desktop Wide Screen 1216px from to 1407px\n        </div>\n\n        <div v-if=\"$breakpoints.isDesktop\">\n        \tDesktop 1024px and until 1215px\n        </div>\n\n        <div v-if=\"$breakpoints.isTouch\">\n          Touch < 1024px\n        </div>\n\n        <div v-if=\"$breakpoint.isTablet\">\n        \tTablet 769px from to  1023px\n        </div>\n\n        <div v-if=\"$breakpoint.isMobile\">\n        \tMobile < 768px\n        </div>\n\t</section>\n</template>\n```\n\n## Contribute\nSubmit a PR to the SCBD in https://github.com/scbd/biodiversity-nuxtjs/\n\n## TODO\n1. separate cookie logic that works on server and client into separate module\n\n\n## License\n\n[MIT License](./LICENSE)\n\nCopyright (c) Convention on Biological Diversity <it@cbd.int>\n","maintainers":[{"name":"randyhoulahan","email":"randy.houlahan@cbd.int"}],"time":{"modified":"2022-06-12T15:15:18.540Z","created":"2017-12-31T20:14:32.632Z","0.0.2":"2017-12-31T20:14:32.632Z","0.0.4":"2018-01-01T13:47:57.943Z","0.0.8":"2018-01-01T18:14:57.254Z","0.0.9":"2018-01-26T15:06:43.650Z","0.1.0":"2018-01-27T18:20:27.548Z"},"repository":{"type":"git","url":"https://github.com/scbd/biodiversity-nuxtjs/ssr-breakpoints"},"contributors":[{"name":"Convention on Biological Diversity","email":"it@cbd.int"}],"license":"MIT","readmeFilename":"README.md"}