# scroll-bar-width **Repository Path**: mirrors_Jam3/scroll-bar-width ## Basic Information - **Project Name**: scroll-bar-width - **Description**: Detect browser scrollbar size - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # scroll-bar-width Detect browser scroll bar width (e.g. 15px on Mac, 25px on Windows etc) ## Example ```javascript var scrollBarWidth = require('scroll-bar-width'); // initialize it once in your code scrollBarWidth.init(); // get the width var width = scrollBarWidth.get(); console.log(width) // ----> 25px on Windows ``` ## Install ```sh npm install scroll-bar-width --save ``` ## Test ```sh npm t ``` NOTE: Test requires [beefy](http://didact.us/beefy/) to be installed globally. ## License MIT, see [LICENSE.md](http://github.com/Jam3/scroll-bar-width/blob/master/LICENSE) for details.