{"_id":"use-scroll-direction","_rev":"12-c79c0f7d9b125fe10237816dfbb566af","name":"use-scroll-direction","dist-tags":{"latest":"1.1.4"},"versions":{"0.1.0":{"version":"0.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why","publish":"npm publish --access=public"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"10 KB"},{"path":"dist/use-scroll-direction.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","husky":"^7.0.2","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.debounce":"^4.0.8","lodash.throttle":"^4.1.1"},"gitHead":"9ea1d740f2d977bd9499a5833b0c0a213d073ea8","description":"A simple, performant and versatile hook for handling scroll in your react app.","_id":"use-scroll-direction@0.1.0","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-Oj41HQwZStnnICHSTIcPkUSnEzEB+3kjQgXxdj1NqgOPrR68GHFiqgM7prATHuWcXWyPTOehTgRUb0VlNqhDtg==","shasum":"f02ff2ea22275cdceb5bea9ed6e689c0ec1241b2","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-0.1.0.tgz","fileCount":14,"unpackedSize":21915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMWWcIwtAhlx3bcJghb8Jn+2bBudl7Np4LNSnboF1txAiEAuP/VTgh1/AgViH6YQSO35hympG6tp+vuYsw0oApp7JM="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_0.1.0_1633879053202_0.9948155487403427"},"_hasShrinkwrap":false},"0.1.1":{"version":"0.1.1","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why","publish":"npm publish --access=public"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"10 KB"},{"path":"dist/use-scroll-direction.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","husky":"^7.0.2","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.debounce":"^4.0.8","lodash.throttle":"^4.1.1"},"gitHead":"494b68bf0786fd7ffd12cc26db7f8e1a442f310f","homepage":"https://github.com/AndrzejSala/use-scroll-direction#readme","_id":"use-scroll-direction@0.1.1","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-U5Nq467RoWBDLpj3yRycEZKyS3uX4wy/YSKvy0C2JTtZMGbrLjWMqK1mz4retpmoR7UOwzmyKBwPtH2DI1e/Gg==","shasum":"82bc4c14f0816e51817b0a6b7bfeffaf4542cdd2","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-0.1.1.tgz","fileCount":14,"unpackedSize":23525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1W3qvoH0/GvqMePT1UvTFfouEX5WBcZWuUH95xLDiQAiEAy9OLvs7UdUwujiiZaBYKN82xHluduOgXe0+0cFleHCQ="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_0.1.1_1634595326874_0.5355178545469372"},"_hasShrinkwrap":false},"0.1.2":{"version":"0.1.2","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"http://YOUR_GITHUB_USERNAME.github.io/REPO_NAME","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"start":"tsdx watch","storybook":"start-storybook -p 6006","build:package":"tsdx build","build:storybook":"build-storybook","publish:package":"npm run build:package && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"10 KB"},{"path":"dist/use-scroll-direction.esm.js","limit":"10 KB"}],"devDependencies":{"@babel/core":"^7.16.0","@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.3.12","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.3.12","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","babel-loader":"^8.2.3","gh-pages":"^3.2.3","husky":"^7.0.2","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.debounce":"^4.0.8","lodash.throttle":"^4.1.1"},"gitHead":"4d8e4b1aec2679cc4c9254a4f0cf9b95ce06acd9","_id":"use-scroll-direction@0.1.2","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-JKbMoyeXcMALVbjtOieHUuSh0yipq19hq2bN1Cp12wjdJlOVp31xEvUur3nBDHs/mEWeBGNtMvg5SV+jNwshJQ==","shasum":"465d28a65180366af28598d650c8093f66ad4d82","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-0.1.2.tgz","fileCount":14,"unpackedSize":24139,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHPIHqX9O2JQJ17fHyeRLWWRR5BfqEiLvFpT+Va4H9PAiEA/33YIzLx7ZF1vzcL7jg/l7d5+bqtpdMqFFRDQ7j7/mY="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_0.1.2_1635684535258_0.9102966889027655"},"_hasShrinkwrap":false},"0.1.3":{"version":"0.1.3","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"start":"tsdx watch","storybook":"start-storybook -p 6006","build:package":"tsdx build","build:storybook":"build-storybook","publish:package":"npm run build:package && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"10 KB"},{"path":"dist/use-scroll-direction.esm.js","limit":"10 KB"}],"devDependencies":{"@babel/core":"^7.16.0","@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.3.12","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.3.12","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","babel-loader":"^8.2.3","gh-pages":"^3.2.3","husky":"^7.0.2","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","tsdx":"^0.14.1","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.debounce":"^4.0.8","lodash.throttle":"^4.1.1"},"gitHead":"c956cfe8b81ae43f38bf2dd2613223def2017d4c","_id":"use-scroll-direction@0.1.3","_nodeVersion":"14.17.3","_npmVersion":"6.14.13","dist":{"integrity":"sha512-/FtdTmXq7hEOWtPH1ho57CUNFFuqRuz9fmuRLqzcrMUuwaPcIhIVT5L5QALb+c+E/XNnOREyn9nE7HJAF/XaVQ==","shasum":"db6295aa1dab0e381ceb304369fca187428224ec","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-0.1.3.tgz","fileCount":14,"unpackedSize":24142,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOalridBg9eUwnGhxyh/REXQttpWQaonX/YVsM5pI2FAIhALsOJApMg7Cb4oYeM7TKWWkKP5Zh9tj2pvduOSyvYWo9"}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_0.1.3_1635685537976_0.7776473018129453"},"_hasShrinkwrap":false},"0.2.0":{"version":"0.2.0","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:package && npm run publish:storybook","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.3.12","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.3.12","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.debounce":"^4.0.8","lodash.throttle":"^4.1.1"},"gitHead":"27519e1994e9b8dff4044c1a8f125d60c6c5c7ac","_id":"use-scroll-direction@0.2.0","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-TXk64aGkYkzmt7USLQewOXXSHQvN8w3ppCSqWZTTU201pDiT1lNC70hG+VSwRFfUuYmJIDbeTTX8wuSWJCG1Qg==","shasum":"241aaeff4b04d6a3ee18e579af6547a7183acfb8","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-0.2.0.tgz","fileCount":14,"unpackedSize":27662,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB5tTzknNp+msjH8qEYGQrXU1gnfqn/q0OSMw3TMGoE5AiAmxDo9tmQFCXJU34P0JvISxd5WAdCfG9PixoQH59/2sg=="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_0.2.0_1636036364536_0.6350366032347108"},"_hasShrinkwrap":false},"0.3.0":{"version":"0.3.0","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:package && npm run publish:storybook","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.3.12","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.3.12","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.throttle":"^4.1.1"},"gitHead":"06a2427a9225a88d5dede3c7c338c395b1df0e94","_id":"use-scroll-direction@0.3.0","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-kDFA+snG9ShmWwjvI4BFeVaygmoVHE9UTdZCw/KaG8UtKz89coNeQYR0HNHIb23INkwRMRVDwxUxxN241K1jPQ==","shasum":"e7e6ce539e4cebfb0d4b5fb649cb2820ebbec3bc","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-0.3.0.tgz","fileCount":22,"unpackedSize":43092,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhmoXNCRA9TVsSAnZWagAA0hoP/i+LDWY3rT9KEPAWJ45q\nylG823b00pn3DnqMpjed3FuwPZkS4cjejbM4a5vfs3lqutgwIcFNUUCfRkSJ\n5t+1t2TH8vaVKRIo+R3NbUGlj0hC/PWao+aMKH7Kn8JmWMtZkS/UQuXcu9t8\ndl92DuKA3EocL+zgw0+0pCBueVJc6INJtnd74GPlL+gAecE7FRfAnwOK8Xzq\nPMRlTUUoknuGcNp4JzyB3k26WrXJxZY+ZJPUCjL7lheLqq/mhyjSV4s2q/I6\na6re4JXsOsjWmhMamqii+r6cpeoU7gs3qoi8/uMvWFKvbPXR+ZL8vLlSBuAS\n8lFRwhitDAVNKs6Ad1H6XYwNUqVg2Yv7kiyh5mxn+Js1+lX5Vue+f5x7UbUb\n1fcOweIqKCw51cCY8l73NBoT+NHTveg+XFZWnNyR4wEunH/XE7RnThPySCLk\nt6DtLQsxrSTjm/m9jRcwb9sokxsJ0LU5nOIfWTD5edsLKeAJc31UtwPgn3xF\nQHIRRa/pVT8m9u6A1IdThWZ6rTFvd878hvAcaluqhgi9WMUUhjppenpdq8MG\nFtqsxC0wlknxPefyX+5qHN6zh1upKjOzboXVUnXwsoQ87WPKrLgJnWHLbJnk\nld+PEJj5P0JRybrCAmurpl9X56mBgtgKthNT6TA/+IO5s59wMAq73isQ0SJO\nFqeR\r\n=2out\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYUVVs0mIkVh9L9LFDRwKZhW8ncAgAw076qsz2qwMouAIgDJxJxZhHN1iK9uch2VnyuPx0gqnZOS5CHCHlRTPEauA="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_0.3.0_1637516749545_0.4259597794654484"},"_hasShrinkwrap":false},"1.0.0":{"version":"1.0.0","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend","custom scroll","performant scroll","scroll detection"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:package && npm run publish:storybook","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.3.12","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.3.12","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.throttle":"^4.1.1"},"gitHead":"c183ce7e1926bdb36c579aaf207c6b201863bb7f","_id":"use-scroll-direction@1.0.0","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-zWs8DoTF2EZFHBzJMA25lB56Y6KAQOK8adz4rF+d2jxjUFBcJ4J81IbnazUf1WcOeLFyZbDwbegfAusev7S2/g==","shasum":"7e7d1d83ab163e216962b2127fb63ee2042cda01","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-1.0.0.tgz","fileCount":22,"unpackedSize":43162,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnS9mCRA9TVsSAnZWagAA9f4P/2dNZdxZTqoOPKAtMRuo\nhMd76zP1/fgjRS1wTL+vKEpfxsG04BKkowQ2pDzNVJQ390y78030ik8EoMyC\nz+mLH566i/fqkOZJPanPMCm4+tlYW73JTl5bp/RchufGHHixiRb5cBFMgYAu\nXQD99VDDlp9SI2ho3OeRVa6a4Z0X5W5HeSGaKUXJ+8RMmNTPx0RnEKeGm2bT\nu1M7YQkJzq6u2SEUjF/4+Mudx9GEu5DTd1HXokg1eFFPl65r94nn3gZ7Q1/Q\nt3vuCtpGVdSpCVYyXq4kju2rcpuS8uNrJgvZUxIQQoMODj/DMLMApYPNyC0j\nREVLgUnni4Gp+egSx/Xim6UIYFAWPrMOxZ5hrD+L1O+YcwCCmEHTpyz4ILb4\nJVTnrACHi2dwXT4lf5YUYhRNFyj/5r/Iioyi6SV05cB9gcVlu5zZxo8sFzEg\nEvnAmvy9IxsfnXRZOt3nMaOBky8q1ah+dh6zSgDFP+Jj9EzhKMDd4/t0II5l\ncc2UKoUjACHmjEaeV9ew/4XTX/WBqw8li5knkjsGYOrTIyIsaxT1tdPk2hdK\n/BcIWsd3BO5BaXSHC18Pm0DhQMlzmQPCnwFUv3Ca4mJdAWM9lvOZ57P2/XAE\nV+UTmlb24rtS+ug+8GurpAPUCtD7VDJ0ncUBMAkUClZU/Iovc5fk0dfsR9Jn\nv6+/\r\n=3Rh3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbS3x1Mbnff0lR/Bflt3iKrU8zWEyo9Q3L4kOd6tChTQIgAaKeNQBjetitaHvgAxtw25zNZWt27LPBR/potK536jI="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_1.0.0_1637691238186_0.1817763035023534"},"_hasShrinkwrap":false},"1.1.0":{"version":"1.1.0","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend","custom scroll","performant scroll","scroll detection"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:storybook && npm run publish:package","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.4.9","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.4.9","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.throttle":"^4.1.1"},"gitHead":"76ef7d6aa9dd2bbcae376e246d50274582d3878c","_id":"use-scroll-direction@1.1.0","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-P2U7YTIiubAzEDQKnjpCZzjDOqn6E28sJMY541vGs5CBcnWVxzA7Al69Oovbza3wr4zX7YOLIpv8aU0BUWkykg==","shasum":"850edb07100bd6d42c5e8a518659b21858254ded","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-1.1.0.tgz","fileCount":22,"unpackedSize":56407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtOnqCRA9TVsSAnZWagAA9wMP/1+UJDjp06K0zchnUMgs\nW3qnGV+1DRalOaIyrtCsTWeBRUFgRb8Y7WUDhfFaLvAIg5zwd2oajylPO+6t\nnKYZYEbIuEBJbKrhQS+DA/xu3ipkkkbXVTvrLPxH1DPrzgJqdMMAWCPHYeeR\nu4+SnIFkGnpnWyAWz3EVlUuIPY9DDyeEDINVlyBGSuOle/eyUiKwPOjcPv+p\n28LRi7Xv/mQZDMTqGAJly06/1I2RF/OKiDrXNnOk5UEspeHnQKjXXZoP6Acx\nmMSnwRk+RM02sYqpBjsfglxbfPUybv2LUXccSq+gBvqZ1LsttsshU+qmtCdV\n1IUEalfj3DzIaicADRPTnlKDhZmLP0P7niCL1oU2GkdMBz+e/UzpHZCqOvk3\nguyufbDAibj0g6bUigYZUuobZGloFkPtVEiTuRgKt/LwkxF8A1a15W+VaPOE\n/BnsWCUR8WcXrbf8IBb7b2hSQUNnqpFGFuOIRfCl/Fw1qn8LSYD8sIPjmNyC\nV0qtz3wGyHgKI8ZS3OC5xRoAYa6IlTaNrpfnBM1oOHnOsXv4Rl9rMUfIHjxA\nMz25I8ozIUBZceTKijoNaPz14r7L9ldi41N+KyCfZP6Ab51w259L6u7CT+86\nbBYaLt5RfbUeMUGz7Wxd23e4HMj4hQpstB3e3kuy7VVWzgRDuCElxJ2nv6ZE\nKbgv\r\n=VjlU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN92zb9oEAW8PryU8QHpfYdPiTTsizd6P0tVRnAieELAIhAKPtv7dP1cBCHEg1IOKkQ0PLXgbR6tKvFuuCdI+mviUL"}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_1.1.0_1639246314234_0.8901818786075204"},"_hasShrinkwrap":false},"1.1.1":{"version":"1.1.1","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend","custom scroll","performant scroll","scroll detection"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:package && npm run publish:storybook","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.4.9","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.4.9","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.throttle":"^4.1.1"},"gitHead":"2b31f2f1841867844a758c938830bb5ed823fec8","_id":"use-scroll-direction@1.1.1","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-z3eJkUMlN5/QQEae1cgsPPDGQPgBC0IcjuBYSOLDLYoFU5PK6iTx70i0wyIXJTUgv9MFFyo0wW14avusRvsGBA==","shasum":"fced0e0b24a16aa658e2cd2cfd82aa2546099ddb","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-1.1.1.tgz","fileCount":22,"unpackedSize":56407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhtOyICRA9TVsSAnZWagAAJfQP/A9qmDCfnuQqfvZDTYC7\ngSICAcHE6y6Er8DBGwwdqKUrLGjnWaP+PFjv7O7Yq26j0/96HpAzHhqVqzOA\nB3liP47GkyuVDkcZiGjD0Cws6HPpnkEzBwZI8Cv1oTsZbGGA6RmezRainkCJ\naWhS1rSkk4zw8O/IMYvmi1HaIxpJYL/Vdf2WPnwX1Yyii+hFwwcARd1X98HL\nByMYEstUE3DZycLih8ikE2W73PZddt6MK5y4OMaSBw3TNH/cUzMLP57Gm9ZB\n/VRQp/FY2O+H5UMhuXw7m77yo3NNWkJZkL6oemX4Ikgm/dbXm8+aT064+xRN\nuUJ952RN13AQhPP0ejbV7Pc8G4K2vd0fcHdAHPC1skUjxNek2FwsF5OvL+La\n2DlPHjKGLcrsn1sANBa6n7+fNvL3eNKAqNsu5ONHkcKPPifZSyDeZxce29Wn\nd+as11WS3vR/hF6uZXve0rnwxiPySm+BHm2gVg6iFYEG7qG1z5Y7luAeezEg\nskQAjkcNA0Jj3Cb6m3zewhf/KYEZzTI3Um5x36p7f3zT9W4B6PQwzIpB0Gnb\nJnqlbT7Kvx+SXhZeT9AREHuYifdl7BNa5PFVNmhjwf9C7g0QBh40QOGUSu3y\nX5bAR/I8WwbMXJQ/flMXypxwpV/dXRJOk1poIKyPUmyRv+mh8bGqAIc8ywbM\nT3dO\r\n=HLel\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmD0mg/aOpyEsuli5VdGWBF3H3pu8sWbj09FRwnf9s7gIgHktnVz2/hT15b7NysMUKP4nqDYgU7/QuvICTBtrFveY="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_1.1.1_1639246984220_0.20705208081547832"},"_hasShrinkwrap":false},"1.1.2":{"version":"1.1.2","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend","custom scroll","performant scroll","scroll detection"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:package && npm run publish:storybook","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.4.9","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.4.9","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.throttle":"^4.1.1"},"gitHead":"8f575b57d76ccd10bec3e004224953ef436cb69b","_id":"use-scroll-direction@1.1.2","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-kYD9UiU/tNankkmkm1Qt4KJ1yp6B0a4ab+TOsXaMUZESI/B9JXuswfXK8gLT4EX+ODUHrRa2waxmBuXSUC1pyQ==","shasum":"335282404c0744ea14ce7ceae748ed3ff8eb67fa","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-1.1.2.tgz","fileCount":26,"unpackedSize":49035,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxiI1CRA9TVsSAnZWagAAZf8P/1JjkYGDphoOzHdFzjaR\n/FU7s0PhBEmucus/Xfue0uPXnXXmOvLEBo62X38HQfQL1wuzsIMD76irf/rq\nlRzI+ryb33704clW9NCTDQx1lJPIIc0hoPfPygnN6QwcFDMqScm+Lhz0UcrZ\nL1IdBuyzkY+l/dbZhdMP6RvUlvy81RNi+EZ4Zu60y94szWwDgSnISkg6ew35\nc+elOXg70w0IEfP1y0+cEdHpse/TclK7Q0OGRayH6rsIeVgBm2H7b7tuNad1\nOw/kHqpbHD3pO5v1gTOKj79HZFWP23OIwgrgZm96eDreh5LWHY56X4ghh5RJ\nDkuXZLiZsWUvPkzGvKqV3I+MIY7LmQja5wATTh9iRH2wgpe7C7+XP9hvDjZT\nVWCl2sTkS9q0mlJRFhwLESczGXfDWOoHPDwj5Fs4Tf5Mdt5BaoDZlAdkLqdj\nypHe5T32T3llkOQP5UXvrxLMVbnHamhsGRKJwfdmVj/7nycL6wFdbBY8UGau\nl+i7N4jM6mIgnuUv2p96v05l4DB7J3KSh6x2tlVGSmcgf9CueWJet/nynhA4\nw0aJY4ZdWb96EIV9SrTFKMP2O3h3TbE8PcZyswHT49VTOy8yXCYB2HK5tZmY\nncdjGNQbnQL47Q1AW91qqXvVb6AEXLosqwl5uJiHMN9g8CW8ynmKWX2admni\nsqcP\r\n=b+Sq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG2CjCFrcRX6TDx9x37je+tNXUTbrkXxineCbMeuQvP5AiAYnSWlgbmGYfHyy73MfWrG5rCaDCgTXXw7Kw1sDgfqcQ=="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_1.1.2_1640374837434_0.5111969591035459"},"_hasShrinkwrap":false},"1.1.3":{"version":"1.1.3","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend","custom scroll","performant scroll","scroll detection"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:package && npm run publish:storybook","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.4.9","@storybook/addon-info":"^5.3.21","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.4.9","@types/lodash.debounce":"^4.0.6","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.throttle":"^4.1.1"},"gitHead":"945c3c5144b2995442ebc1427dbf78ffd5fb0a47","_id":"use-scroll-direction@1.1.3","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-+qtPyKZEQmAYJVivhJMlKJdNc55RIMxvkH8VmduV7Q40KxLWQ0IzU0i/si/na7BWEx1j5t1Y3x8Or9uoLWahTw==","shasum":"18281cfe1503f75125ef8e718cc0e3e43d1d64ea","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-1.1.3.tgz","fileCount":26,"unpackedSize":49445,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxjh9CRA9TVsSAnZWagAArBUP/jn/OMkrmdWh/j5toyoW\n5C09N+cLmNnGwFEblp/wK3oJroE10hgjkO3bpRLs2pR0OzQz2vSEdm9+/Ph7\nxSLvW5utObaCVlRoskLxGIVFDoLxCp9HYMJOpSih6b+HIbykMzCEGY2SEVjt\nnJGJ6T0/qdoL2parnzssKf7zrnPPJQTC/IS/jNWbEcEY0qFsZ3QlQ+IUXc69\ndKu9E08Zp9rz6nwaSY8vPJYPIcK47PJGL6BPzwXz+UjYw54K5wGepVFNR5Bf\np2YsPtdCthOPi90BIj0Y6z/3Dht6yvKmN93Mxw/xcSnYf8NF/zVDphW0WtEv\npZV8XBWzbLoFumTsGuxT6YJoCyGwwE3vCY2LoI0m2HS5VC+e26rQYWdKCRVR\npBHehkBil+rGSBgFYbvzbKiNI1kovwhPr0doQd8DGTYOfV7BrVWbur4eIU8S\nEJ/WBLIYiFczAO1b3ZzHtm+88LMK0X0ggbAHcSpUnZJqqnwAJQAm2IwAr3Gm\nnwUSDg/01WGGsH+riBR78BYVAj6BxiuUj0yLwg60offoQLsCVF1nE9EZs5N2\n8uqliSWV97Q1AoFqKS0QKNuqf4BcHdrHAsLHWnzIvYtMMfiMexqJsblgvcB6\nK5wIssbqqoMJjvcjuEM9HU5LW1ihJwAB1g6PtUcyRduOuHFTCevKc4Wjcmga\nJZlq\r\n=j54O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWMuLRY1dTvFZokItb5UQTX66gkGAKeCqfK5K1J4sUcgIgbsgwHZAQSiVlkmndY+6gvLmw3JHD3PyChzbLDTkM9pQ="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_1.1.3_1640380541113_0.289117001450365"},"_hasShrinkwrap":false},"1.1.4":{"version":"1.1.4","description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend","custom scroll","performant scroll","scroll detection"],"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"},"license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=12"},"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"scripts":{"storybook":"start-storybook -p 6006","build":"dts build","build:storybook":"build-storybook","publish":"npm run publish:package && npm run publish:storybook","publish:package":"npm run build && npm publish --access=public","publish:storybook":"npm run build:storybook && gh-pages -d storybook-static","test":"jest --ci --coverage --maxWorkers=2","test:watch":"jest --watchAll","lint":"dts lint","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"use-scroll-direction","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"module":"dist/use-scroll-direction.esm.js","size-limit":[{"path":"dist/use-scroll-direction.cjs.production.min.js","limit":"5 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^5.0.3","@storybook/addon-actions":"^6.3.12","@storybook/addon-console":"^1.2.3","@storybook/addon-essentials":"^6.4.9","@storybook/addon-links":"^6.3.12","@storybook/addons":"^6.3.12","@storybook/react":"^6.4.9","@types/lodash.throttle":"^4.1.6","@types/react":"^17.0.21","@types/react-dom":"^17.0.9","dts-cli":"^0.19.4","gh-pages":"^3.2.3","husky":"^7.0.2","jest":"^27.3.1","react":"^17.0.2","react-dom":"^17.0.2","size-limit":"^5.0.3","ts-jest":"^27.0.7","tslib":"^2.3.1","typescript":"^4.4.3"},"dependencies":{"lodash.throttle":"^4.1.1"},"gitHead":"86e251257ddeb26cd26528004d3d421b4baf81d1","_id":"use-scroll-direction@1.1.4","_nodeVersion":"16.4.1","_npmVersion":"7.18.1","dist":{"integrity":"sha512-RffVEp3rI79fIP6jr4XYPRGr2KO1DkE6MV5AM/ak0sFxd63exKoyBCNg40LIJg5mIwvDphr/8Fcbk8FQyoZHqA==","shasum":"4ab620f3df1c8a77aebd96527544538cdfc6a035","tarball":"https://registry.npmjs.org/use-scroll-direction/-/use-scroll-direction-1.1.4.tgz","fileCount":26,"unpackedSize":50134,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhx1u0CRA9TVsSAnZWagAAAewP/RvpIfhwehAHGlg5v/is\nB7hdBSpz7yZIeGqprxxtCCuL/17GzkcwRXSjflhzDqgz5qaxBV9amoNphfWV\nZ+kn5TE1CbK+SWtd5wDIW6DwFSsFqY8icvZPr6RX+uGRThQPkfGAJZltxhx4\npVAAPvjT472Vm3j9TP7w1/l3EL9s82BJpZeeN0pRuD6AAf0mz2hoGcp4Q6ch\nMlO5yXLKAZIkzC/pbeiU3wR+389TD780zVDrnppzby97STtKB9dNno04LZ3w\nHf9MunFC8eufnM1gylnAS0B/REdNW4+TIl+3MIarOyQ4tg/38Nc1Pn3m0/gS\nYtUyHvXt5jVK9FHC3+U/JpcBhuweHdUPDlhQXuSaSy9JpXU8hu0plvEEATDE\ninOa858m4Jfcj3OsBmhCzlBN0yTOwrKUms++/UzB4o1a7INRAgt3iLdYbPHh\nYEpIlARohDAyIZCPGO8s/FX3XhW6jjoH8wbAjBTmf9DgT7suXmk/YzvRpBz5\nj2BeMgv3m2ytsy5hZkrYsYWSFbOLCS6Q/wuDJY41ARStRqZb+t1cI0U0xxl0\nLapJH5xYD2U5GqtjHmkdyks+0lINuAS8JciEkpJP0bXLvCSyA4eTRj9CgQcz\nxG5lKbuHHGo/wK1o9PH9memosoXaJ966raFT8D42gpjxzMscI2228uwLGYbG\nrzc4\r\n=1M5j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBKq/19N3Zi9SGeaHS8byPvm1SDvn+UjWSgZhUUTLgXRAiEAk94FViGZJGj7uxBPErAZHU+ITJds3un4gmzcMnLENJo="}]},"_npmUser":{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"},"directories":{},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-scroll-direction_1.1.4_1640455092515_0.8471898347731779"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-10T15:17:33.139Z","0.1.0":"2021-10-10T15:17:33.341Z","modified":"2022-05-22T22:36:33.557Z","0.1.1":"2021-10-18T22:15:27.031Z","0.1.2":"2021-10-31T12:48:55.396Z","0.1.3":"2021-10-31T13:05:38.164Z","0.2.0":"2021-11-04T14:32:44.694Z","0.3.0":"2021-11-21T17:45:49.669Z","1.0.0":"2021-11-23T18:13:58.369Z","1.1.0":"2021-12-11T18:11:54.385Z","1.1.1":"2021-12-11T18:23:04.352Z","1.1.2":"2021-12-24T19:40:37.577Z","1.1.3":"2021-12-24T21:15:41.283Z","1.1.4":"2021-12-25T17:58:12.913Z"},"maintainers":[{"name":"andrzej_sala","email":"sky0.as+1@gmail.com"}],"description":"A simple, performant, and cross-browser hook for handling scroll in your next react app.","author":{"name":"Andrzej Sala","email":"sky0.as@gmail.com"},"license":"MIT","readme":"<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/use-scroll-direction\"><img src=\"https://user-images.githubusercontent.com/16742965/138960767-ef7af8a6-da86-4db3-848f-ad8d1aec3beb.png\" align=\"center\" width=\"80\" /></a>\n</p>\n<h1 align=\"center\">use-scroll-direction</h1>\n\n[![Latest Stable Version](https://img.shields.io/npm/v/use-scroll-direction.svg)](https://www.npmjs.com/package/use-scroll-direction)\n[![CI Status](https://github.com/AndrzejSala/use-scroll-direction/workflows/CI/badge.svg)](https://github.com/AndrzejSala/use-scroll-direction/actions)\n[![Codecov](https://img.shields.io/codecov/c/github/AndrzejSala/use-scroll-direction.svg)](https://www.npmjs.com/package/use-scroll-direction)\n[![Gzipped size](https://img.shields.io/bundlephobia/minzip/use-scroll-direction?label=size)](https://www.npmjs.com/package/use-scroll-direction)\n[![License](https://img.shields.io/npm/l/use-scroll-direction.svg)](./LICENSE)\n\n> A simple, performant, and cross-browser hook for detecting scroll direction in your next react app.\n\n## Key Features\n- **Performant** 🔥 </br>\nDo what is only needed. In a good way. </br>\nUse passive listener and throttling to make it invesible for your device.\n\n- **Versatile** 💪🏼 </br>\nHandle both X & Y axis, on browser window or custom element (ref).\nNeed more quick/lazy response? Play with `wait` option.\n\n- **Microlight** 🪶 </br>\nIt's lighter than the air, only ~1.6kB.\n\n- **Cross-everything** 🖥️ </br>\nThe same behavior on all kind of browsers and devices. No excuces (even on Iphone Safari).\n\n- **Great support** 👨🏻 </br>\nStuck with implementation or has interesting use case and need something more? Create an issue and share your voice.  \n\n## Installation\n```bash\nnpm i use-scroll-direction\n```\n\n## Usage\nThe hook returns the object with the actual scroll direction which could be one of three states: **'NONE'**, **'DOWN'**, **'UP'**, **'LEFT'**, **'RIGHT'** and useful booleans.\n\n### Use on window object\n```tsx\nimport {useScrollDirection} from \"use-scroll-direction\";\n\nexport const WindowExample = () => {\n    const {\n        scrollDirection,\n        isScrolling,\n        isScrollingUp,\n        isScrollingDown,\n        isScrollingLeft,\n        isScrollingRight\n    } = useScrollDirection();\n\n    useEffect(() => {\n        console.log(scrollDirection)\n    }, [scrollDirection]);\n\n    return (\n      <div>{...}</div>\n    )\n};\n\n```\n### Use on the specific element\n```tsx\nimport {useScrollDirection} from \"use-scroll-direction\";\n\nexport const ComponentRefExample = () => {\n    const elementRef = useRef(null);\n    const {scrollDirection} = useScrollDirection({ref: elementRef});\n\n    useEffect(() => {\n        console.log(scrollDirection)\n    }, [scrollDirection]);\n\n    return (\n        //The content needs to overflow a container\n        <div ref={elementRef} style={{height: '100vh', overflowY: 'scroll'}} >\n            <div>{...}</div>\n        </div>\n    )\n};\n```\n\n## Available options\n\n| Name | Type | Description |\n| - | - | - |\n| `wait` | `?number` | Time in ms for throttling of scroll handler (default: 50)\n| `timeToReset` | `?number` | Time in ms after last scroll event to reset the state (default: 150)\n| `ref` | `?HTMLElement` | When passed, the listener will be attached to element instead of window object \n","readmeFilename":"README.md","homepage":"https://andrzejsala.github.io/use-scroll-direction","keywords":["react","hook","custom-hook","typescript","detect","scroll","scrolling","direction","position","window","ref","frontend","custom scroll","performant scroll","scroll detection"],"repository":{"type":"git","url":"git+https://github.com/AndrzejSala/use-scroll-direction.git"},"bugs":{"url":"https://github.com/AndrzejSala/use-scroll-direction/issues"}}