{"_id":"@builtbygio/scrollbar-style","name":"@builtbygio/scrollbar-style","dist-tags":{"latest":"4.0.1"},"versions":{"4.0.1":{"main":"lib/binding.js","dependencies":{"event-kit":"^2.5.3","node-addon-api":"^1.1.0"},"scripts":{"test":"jasmine","install":"node-gyp rebuild"},"gypfile":true,"name":"@builtbygio/scrollbar-style","version":"4.0.1","author":"","license":"ISC","description":"This package detects the preferred scroller style for Atom on OS X using the `+preferredScrollerStyle` method on [`NSScroller`][ns-scroller]. For compatibility, this library always returns \"legacy\" on Windows and Linux.","devDependencies":{"jasmine":"^3.7.0"},"repository":{"type":"git","url":"git+https://github.com/builtbygio/scrollbar-style.git"},"engines":{"chevron":"*"},"_id":"@builtbygio/scrollbar-style@4.0.1","bugs":{"url":"https://github.com/builtbygio/scrollbar-style/issues"},"homepage":"https://github.com/builtbygio/scrollbar-style#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-oYyg+ozZSlfEGGrBLRlijmjYbNMYrO0emZH/wTF6AVUaOpdU5Y3QTQhzbypArZ6/n0M37uZS6y3qPwEI302Dmw==","shasum":"b63cbc042df79f49b176b5701cd331a398bf8822","tarball":"https://registry.npmjs.org/@builtbygio/scrollbar-style/-/scrollbar-style-4.0.1.tgz","fileCount":12,"unpackedSize":13976,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDgjuMXDQ+wbiZSpGH0ZmIZnmG5pOAHy62tWK52tfRQOQIgF9/iMuokCvIvx63WOlsn8oGihLOfEnQ8vfU4Vr0aUL0="}]},"_npmUser":{"name":"giobuilds","email":"giova19@proton.me"},"directories":{},"maintainers":[{"name":"giobuilds","email":"giova19@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/scrollbar-style_4.0.1_1787781664401_0.6986799323135702"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-26T22:01:04.221Z","4.0.1":"2026-08-26T22:01:04.576Z","modified":"2026-08-26T22:01:04.845Z"},"maintainers":[{"name":"giobuilds","email":"giova19@proton.me"}],"description":"This package detects the preferred scroller style for Atom on OS X using the `+preferredScrollerStyle` method on [`NSScroller`][ns-scroller]. For compatibility, this library always returns \"legacy\" on Windows and Linux.","homepage":"https://github.com/builtbygio/scrollbar-style#readme","repository":{"type":"git","url":"git+https://github.com/builtbygio/scrollbar-style.git"},"bugs":{"url":"https://github.com/builtbygio/scrollbar-style/issues"},"license":"ISC","readme":"# Scrollbar Style [![Build Status](https://travis-ci.org/atom/scrollbar-style.svg?branch=master)](https://travis-ci.org/atom/scrollbar-style)\n\nThis package detects the preferred scroller style for Atom on OS X using the\n`+preferredScrollerStyle` method on [`NSScroller`][ns-scroller]. For\ncompatibility, this library always returns \"legacy\" on Windows and Linux.\n\n```javascript\nconst scrollbarStyle = require('scrollbar-style')\n\nconst style = scrollbarStyle.getPreferredScrollbarStyle()\nconsole.log(style) // ==> 'legacy' or 'overlay'\n\nscrollbarStyle.onDidChangePreferredScrollbarStyle((newStyle) => {\n  console.log('style changed', newStyle)\n})\n```\n\n[ns-scroller]: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSScroller_Class/Reference/Reference.html\n","readmeFilename":"README.md","_rev":"1-f7c2c2657386baa3be4b98094451ef08"}