{"_id":"measure-scrollbar","_rev":"3-4529b672b40e2a0f764e7ee571b0138a","name":"measure-scrollbar","description":"Get the width of the browser scrollbar","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"measure-scrollbar","version":"0.1.0","description":"Get the width of the browser scrollbar","keywords":["scrollbar","width"],"license":"0BSD","repository":{"type":"git","url":"git+https://github.com/sonicdoe/measure-scrollbar.git"},"author":{"name":"Jakob Krigovsky","email":"jakob@krigovsky.com"},"files":["index.js"],"scripts":{"test":"standard"},"devDependencies":{"standard":"^10.0.2"},"gitHead":"034687d9135da28b221309090278e1c69ffec9c5","bugs":{"url":"https://github.com/sonicdoe/measure-scrollbar/issues"},"homepage":"https://github.com/sonicdoe/measure-scrollbar#readme","_id":"measure-scrollbar@0.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"sonicdoe","email":"jakob@krigovsky.com"},"dist":{"integrity":"sha512-8n7yR0PVrp/YmvWoRuiumlA0l6+joJg6PA5/uFb8frsd7ZV2It1tnNjqCrLNuMtU7yOPqJiYmm7+VwcWQwvqRQ==","shasum":"2bbfac6773bcbb98d814e6890554c0b92846fe6f","tarball":"https://registry.npmjs.org/measure-scrollbar/-/measure-scrollbar-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBMn0eotEYog67VhH4OFrqhgF4FsgrezI0ObJlyAGaBAiEA9CVzgeSruyi71wF7ZWXAayIB6jDheZ+sC9feSVcDork="}]},"maintainers":[{"name":"sonicdoe","email":"jakob@krigovsky.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/measure-scrollbar-0.1.0.tgz_1497978031948_0.9579370219726115"},"directories":{}},"1.0.0":{"name":"measure-scrollbar","version":"1.0.0","description":"Get the width of the browser scrollbar","keywords":["scrollbar","width"],"license":"0BSD","repository":{"type":"git","url":"git+https://github.com/sonicdoe/measure-scrollbar.git"},"author":{"name":"Jakob Krigovsky","email":"jakob@krigovsky.com"},"files":["index.js"],"scripts":{"example:build":"cd example && rollup --config","example:deploy":"npm run example:build && gh-pages -d example","test":"standard"},"devDependencies":{"babel-plugin-transform-es2015-arrow-functions":"^6.22.0","babel-plugin-transform-es2015-template-literals":"^6.22.0","gh-pages":"^1.0.0","rollup":"^0.45.2","rollup-plugin-babel":"^2.7.1","standard":"^10.0.2"},"gitHead":"491d737730a78c468bf743cca2183fc72f7f3076","bugs":{"url":"https://github.com/sonicdoe/measure-scrollbar/issues"},"homepage":"https://github.com/sonicdoe/measure-scrollbar#readme","_id":"measure-scrollbar@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"sonicdoe","email":"jakob@krigovsky.com"},"dist":{"integrity":"sha512-TBOm+XXqR0JZnfdpnwz90E1iQY94IHOmRTGtY/P0+fvpOKVI7A0SZdG3u5R3WNK3yB0YXMqwqpKQZjotxaTGxQ==","shasum":"a7b1019155671192c1a8587ea49669af4f75833d","tarball":"https://registry.npmjs.org/measure-scrollbar/-/measure-scrollbar-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDCgH90Nxy5MwfsfKGNQmBsDdLLFCF9clehpD2dZiROgIgB1CImrknQXrgbdtadwtEcAOLuJ/nQnip1LQlOEzjohU="}]},"maintainers":[{"name":"sonicdoe","email":"jakob@krigovsky.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/measure-scrollbar-1.0.0.tgz_1501012363593_0.5253032299224287"},"directories":{}},"1.1.0":{"name":"measure-scrollbar","version":"1.1.0","description":"Get the width of the browser scrollbar","keywords":["scrollbar","width"],"license":"0BSD","repository":{"type":"git","url":"git+https://github.com/sonicdoe/measure-scrollbar.git"},"author":{"name":"Jakob Krigovsky","email":"jakob@krigovsky.com"},"files":["commonjs.js","index.js"],"scripts":{"example:build":"cd example && rollup --config","example:deploy":"npm run example:build && gh-pages -d example","prepare":"rollup index.js --output commonjs.js --format cjs","test":"standard"},"devDependencies":{"babel-plugin-transform-es2015-arrow-functions":"^6.22.0","babel-plugin-transform-es2015-template-literals":"^6.22.0","gh-pages":"^1.0.0","rollup":"^0.45.2","rollup-plugin-babel":"^2.7.1","standard":"^10.0.2"},"gitHead":"a22c1e2763e23c3227d0255c0561bc81950c8664","bugs":{"url":"https://github.com/sonicdoe/measure-scrollbar/issues"},"homepage":"https://github.com/sonicdoe/measure-scrollbar#readme","_id":"measure-scrollbar@1.1.0","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"sonicdoe","email":"jakob@krigovsky.com"},"dist":{"integrity":"sha512-p87rd5MFHWpDt4SINbKRkRzvOi+8vpvoYeluI7aaLuYCp+c4WhW+5ARtU65s1XbYtQT5NOi5W347tDCmHp7Z5A==","shasum":"986890d22866255ec5b212480f097c55a82d1231","tarball":"https://registry.npmjs.org/measure-scrollbar/-/measure-scrollbar-1.1.0.tgz","fileCount":5,"unpackedSize":3895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbG8ixCRA9TVsSAnZWagAAg3sP+QHXkSJ7XWAJVvai1DX2\nXFLq0aReIs5zV/prYVUEj7KrJNXjbLFNe4uiXnzK0+XN9QmSlTzIIOZ/gh0U\nvaRk59u6WC8bySFmstVJ0WRT3zZik8grip5hIjePFyeLD5qTKeu8FjbuvoPB\n+qIEeO5Wdojdy9HwZGP6C+riLzdoykEzjXmsJklPFqacABX3d8+VoxOdTJbt\ntbVl+7AkOLoGau/qwygVodTpzSSGhpfSlaI7/tc1Vjmnaa2tUMM/QmYNq4t7\noptWVU0YEGN6eRBAQ7FumsPUNCqK0x2tGUzV8zXzYlDhqIEk/JlRm6VwBPbA\nYxDoMtNOZBOaWXWFrz3I4RqYlTptNoxFMIXf5ioZkpLWAWMzCOn2Pmu1EH8g\n7pbuX88NIRqXgwP6t0WhEAhWndFdYLtDbOGTTaIwgF4+PBa+VCWG1lCRrrcA\nmbZSp/Xu1VPzVHvx+dBC+HexMUesnQFA7+6U8qlOmsGcXWRljLql6NjOjdC0\nMgWAQp7Df6Dnvqix5Te8Ev2YKbyF/eOE4PAtioZB3BsTsj4P3+c8PyBVpX31\nbrwgX6YsghF5BxSEXpSEgEDZbdiPo6drwhtB/PisWcAB/5bGVfEVYqoB7cqm\nkrtC7QnSgQrbCI0FVYjSB5hS1wXTVBKcz37lJ8xo40ldKrrbloiOKoNtk18c\niJCr\r\n=ExCz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHMTHBlgPL0EdPlL3WeYcMztrKg6ILD4f8CknXNSJ5p/AiEAyNj7awtuXynO+ZeoZ96/aZ0ID+QdSAhWE3uLo+Wna1w="}]},"maintainers":[{"name":"sonicdoe","email":"jakob@krigovsky.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/measure-scrollbar_1.1.0_1528547504632_0.894481175233599"},"_hasShrinkwrap":false}},"readme":"# measure-scrollbar\n\n> Get the width of the browser scrollbar\n\n[Demo](https://sonicdoe.github.io/measure-scrollbar/)\n\n## Installation\n\n```\n$ npm install measure-scrollbar\n```\n\n## Usage\n\n```js\nimport measureScrollbar from 'measure-scrollbar'\n\nmeasureScrollbar()\n// => 15\n```\n\n`measureScrollbar()` returns the width of the browser scrollbar in pixels.\n\n### Module bundlers\n\nmeasure-scrollbar is primarily distributed as an ES module. Therefore, it works out of the box with [webpack](https://webpack.js.org), [Parcel](https://parceljs.org), and [Rollup](https://rollupjs.org) (even without [rollup-plugin-commonjs](https://github.com/rollup/rollup-plugin-commonjs)).\n\n[Browserify](http://browserify.org) does not support ES modules natively. To use measure-scrollbar with Browserify, you can require the CommonJS version using `require('measure-scrollbar/commonjs')`.\n\n## Browser support\n\nmeasure-scrollbar supports the latest releases of Chrome, Safari, Firefox, Microsoft Edge, and Opera.\n\nIf you require Internet Explorer support, use [Babel’s ES2015 arrow functions transform](https://babeljs.io/docs/plugins/transform-es2015-arrow-functions/).\n\n## Acknowledgments\n\nmeasure-scrollbar is based on David Walsh’s [Detect Scrollbar Width with JavaScript](https://davidwalsh.name/detect-scrollbar-width) article.\n\n## Changelog\n\nThis project follows [Semantic Versioning 2](http://semver.org/).\n\n- v1.1.0 (2018-06-09): Add CommonJS version\n- v1.0.0 (2017-07-25):\n  - Fully commit to Semantic Versioning\n  - Document official browser support\n- v0.1.0 (2017-06-20): Initial release\n","maintainers":[{"name":"sonicdoe","email":"jakob@krigovsky.com"}],"time":{"modified":"2022-05-09T02:02:51.431Z","created":"2017-06-20T17:00:32.889Z","0.1.0":"2017-06-20T17:00:32.889Z","1.0.0":"2017-07-25T19:52:44.461Z","1.1.0":"2018-06-09T12:31:44.705Z"},"homepage":"https://github.com/sonicdoe/measure-scrollbar#readme","keywords":["scrollbar","width"],"repository":{"type":"git","url":"git+https://github.com/sonicdoe/measure-scrollbar.git"},"author":{"name":"Jakob Krigovsky","email":"jakob@krigovsky.com"},"bugs":{"url":"https://github.com/sonicdoe/measure-scrollbar/issues"},"license":"0BSD","readmeFilename":"README.md"}