{"_id":"@fly4react/observer","_rev":"56-b76a57fce1b65608bf0d4e0eb2c1399e","name":"@fly4react/observer","dist-tags":{"beta":"1.0.4","latest":"1.26.0"},"versions":{"1.0.2":{"name":"@fly4react/observer","version":"1.0.2","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.2","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"5308be476d9c79787cc00bf38d34c4670e7a2b19","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.2.tgz","fileCount":38,"integrity":"sha512-gptPMgdmtAAH1+J6DtMYSwerspnTtz4thxuwZ6zrMdHfgH9G0BrFKf+OATeobJ6+Js6PV0opN3YB3qdLdE907w==","signatures":[{"sig":"MEYCIQDm3ND+CsFzqRtdH/i7FLQeLJsHLVFkaSEYpNt3YI/bEwIhAJy8zG2+FLyu7mG2dNuIRdIW6Jmaqd54pW+h9ztm1aGN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85771},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a183fb053ccc0a0e3039ccddcf518dcc89e99052","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","lint:fix":"biome lint --write src/","check:fix":"biome check --write src/","format:check":"biome format --check src/","prepublishOnly":"pnpm check && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.1","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^19.1.10","@biomejs/biome":"^1.5.3","@fly4react/memo":"workspace:^1.0.0","@rsbuild/plugin-react":"^1.3.5"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.2_1755868221870_0.7980742571153885","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@fly4react/observer","version":"1.0.3","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.3","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"355676d0367c9c06603cfb7a119a0fa8309bf6f4","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.3.tgz","fileCount":38,"integrity":"sha512-QXLEV88vWTz9E8HrQTDQkfOT+5TSEMbAXxsVd8D4ar+iPfUPtLEHg7i/nQ1Hl+22o8a8I5sQcZs72wtshS+hMw==","signatures":[{"sig":"MEQCIDS5vbENrGfJdp3EMh3V47N9R4AHO5EZrdVB5vt+1RM4AiBcTpy3xHZkZaFEYgIKoj/55Aj46fXocIokbySZWwskpQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85785},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a19e4219cf85fa6a6ed490e70a1fe8c5a588e2a3","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","lint:fix":"biome lint --write src/","check:fix":"biome check --write src/","format:check":"biome format --check src/","prepublishOnly":"pnpm check && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^19.1.1","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^19.1.10","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.3_1755869478009_0.22490119835346767","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@fly4react/observer","version":"1.0.4","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.4","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"b6032be550e398bd9eeb1025ee19218756bda505","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.4.tgz","fileCount":38,"integrity":"sha512-645qDL9TF15ZRPPkimBv6LezEvhCRaqjh7zTg/vpYKPH3TD/u/JLt72PPpbJrRQvmBA7Vi+m6paPcoxwXTXw8Q==","signatures":[{"sig":"MEUCIQCc532phukVd39pi9n77itb25KIlQYG6/lA4SmWTCNS4QIgDIs/enIiGAreMsP5+ji/H9rdGK1hD3RfU/nPrqSWNyM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85721},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"04c63eb2b40c9b833745738a4b3f6266268a15b6","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","lint:fix":"biome lint --write src/","check:fix":"biome check --write src/","format:check":"biome format --check src/","prepublishOnly":"pnpm check && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"react":"^19.1.1","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^19.1.10","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.4_1755871431154_0.5347258455333164","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@fly4react/observer","version":"1.0.5","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.5","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"1fb03d7d39b53133178ecd5114cf4a71ff4852f0","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.5.tgz","fileCount":38,"integrity":"sha512-pFqf1GKxPGBbhHrgSV7EtMlxmnnGTEDEf12vxEevRDrOqZQIdtlPCTjbSK8Q7toLE1xsbcu304dWQ0JYBz7CQw==","signatures":[{"sig":"MEQCIFqmMO2oq2EZuMCdhi54xun0+LvDhnQ90BLevu63sVWYAiA8FIcIutsgpRUCTvyohKrrXHVOH6GVzUauhHysRk47+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":85916},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ca0ce6d6654767d1d8f25c602cc7a2eebfa41f84","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","lint:fix":"biome lint --write src/","check:fix":"biome check --write src/","format:check":"biome format --check src/","prepublishOnly":"pnpm check && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.1","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^19.1.10","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.5_1755875999331_0.8049632152252679","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@fly4react/observer","version":"1.1.2","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.1.2","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"77b330d03f83b77b55a8fbc79c134739aba52165","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.1.2.tgz","fileCount":38,"integrity":"sha512-auurIL8j0b8zwqnpCAd8OaeeAXkwWJmgMvIdLOA5XseekUsYNfSxSkyAQ+mbVDjcHCOq6XkxppN0B/doSZZooA==","signatures":[{"sig":"MEYCIQDleG3ZOPB0g4MAnkLz3fCbH3M5GFO4fdB72bDPasZ00AIhANCalKNRlWXspwh/eujlAaFgnk+4Y2D1/oivqIceKQ1g","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101830},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1bc16b33a387e006800e7d2232217537e20a27b9","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","lint:fix":"biome lint --write src/","check:fix":"biome check --write src/","format:check":"biome format --check src/","prepublishOnly":"pnpm check && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.1","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^19.1.10","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.1.2_1755951632780_0.5278574713331394","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@fly4react/observer","version":"1.0.6","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.6","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"e5a7cd00f483b89e6cfc8d8c64e50106e69d3947","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.6.tgz","fileCount":38,"integrity":"sha512-ZlEMCRinMLjw0Kz3yUH+dtIwshVuWWGCBmKtY4ZzraqfXsftF65ch9sLb7ZnYRnWioHdI9avBunkf1+SPir7Xw==","signatures":[{"sig":"MEUCICOVZtwrTq4S7x3vHsHoCFPuXpVqP8Q8uZkf1mfRhhn4AiEA8U+WTKGEwtCoABz6K5SPyUl07ENfUi0MVNHm+pciNCk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101830},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1efbe364dded3aee351b305e89400fa5ab5a0d7a","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","lint:fix":"biome lint --write src/","check:fix":"biome check --write src/","format:check":"biome format --check src/","prepublishOnly":"pnpm check && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.1","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^19.1.10","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.6_1755954412429_0.2925434033636689","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@fly4react/observer","version":"1.0.8","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.8","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"c3752525b11770bb9520887ecab622b39c61486e","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.8.tgz","fileCount":38,"integrity":"sha512-MPAyDqvfYMENKIGOEzoZbZyIlZVJJfCgYQpEB9VoD5+D3ptLQ5oBrSFLlqlzHYgaIfkb+WEdGtUHLzJ5ehxGBA==","signatures":[{"sig":"MEQCIEuhpFB1VsDDXDK6d2P/UZDo0VV2TTDMa2edJfu7GuM1AiBvgze2OJsn4T5yVH3XTVFg6L/h7S0PvOwnM0sZXM+AgQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101830},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e1221b5da2e9967771d4de60f3b860d9920804d1","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","lint:fix":"biome lint --write src/","check:fix":"biome check --write src/","format:check":"biome format --check src/","prepublishOnly":"pnpm check && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.1","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^19.1.10","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.8_1755955568733_0.5479998262238648","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@fly4react/observer","version":"1.0.9","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.9","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"7f396c02f2d14cd2e142800054fd6c9b9446bd46","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.9.tgz","fileCount":20,"integrity":"sha512-aqs8LWxEG1zbTdYVuA7a9cMH31SiOWha7DVXNaGCH7SVH5Of6KUO1or8f0MCeIA1cv8qTIB3j+FGVjYIGaR6Bg==","signatures":[{"sig":"MEYCIQCSWQYszweKQp/9Ws9ru/bPCxTgzAh4PsuK4mzubeq3ggIhAIpcsJsWQQrZyG1Bj8mk2iAgXCjIvLg/n8t6QYBN8351","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107320},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"85cbe9ee2a33c65e820ce8d9245abd55c585040e","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.9_1756002513114_0.7439868324670118","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@fly4react/observer","version":"1.0.10","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.10","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"e2356dca7befeee8a3a0ba27fd8b5813d5b81bde","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.10.tgz","fileCount":20,"integrity":"sha512-tjom4HKeBFvftfMv1aXjfudiybP7uZiyPca9bPBgkOcuZWlYLuVjOroHAve0LqlztTKbDN/QaO1tGvhTVrh+PQ==","signatures":[{"sig":"MEQCIFg2ExRiV7jGCEKua7obBZuKp8jBFXQSTeVwbUw1DLe7AiA4pqJChyd0H05TSguMqkF4WIl1EcqObwa8fC/ojAWpoA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107321},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"4971d691d39b0986737456322f0d66c84b9eaa09","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.10_1756002891779_0.7297984839421299","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@fly4react/observer","version":"1.0.11","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.11","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"8930e6a6f29a5324475acb23a61706feb207c094","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.11.tgz","fileCount":20,"integrity":"sha512-tZNQ0eMcfMBLHlLl4ATOFfgIZVrUUdhAjp3Q2+9/4EMS5OxjPvU6EoOcAWIt29Rj7v7nVBZAEuCbarYyT9oj4w==","signatures":[{"sig":"MEUCIQCBOnZ6DjypKqlitWzScDPiH+CLYLRKCPoXE3gec2go1QIgFj4VFXH2bhneqkL42PMpf9JOLa3hYudgv2uFd76elm8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107321},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a90a23fa629a1d5baa4466d9b5ac994ca0274b6e","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.11_1756003938116_0.18320359892134275","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@fly4react/observer","version":"1.0.12","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.12","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"cad1cf3b411d0ed63bc5ad897828573fdff25183","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.12.tgz","fileCount":20,"integrity":"sha512-O4G4lDy9ZHmEDnw9IZ0EpZB1ZK4ME0Cw+b6qBZQkKJg+LkY7QCVE5H6CQ7I+7wASVeX3hloUKSFbabdja4LWvw==","signatures":[{"sig":"MEUCIQCoB1xQ/zKITt4caxIHsBJSAb/JUUwvlZOh4ASH2lNj2gIgcYOfhgnbDlMEOwxJfZB5uZ4TBfDBSCBikg/OpPgRtqc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107321},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"6d63bbe72be4765abc8d4820804de8772acdc2c0","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.12_1756004324601_0.26965590470778844","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"@fly4react/observer","version":"1.0.13","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.13","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"d9a567d3ec9bf6ebda1848dc41c8f55854244d7c","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.13.tgz","fileCount":20,"integrity":"sha512-CztpHhBNoqX6J7UCThpZtHLzTA/ewYLZTxgkRwaLds/8iPGhEGB9tkvr8xXi3ThUAZIQy5+C1Gp1RSvwvIsogQ==","signatures":[{"sig":"MEQCIH1y30/YnG8bPiNySWvbWbQ7E9/JI+nz1c7ns6USEFX7AiBR9u0GLVwE8B0QmygWRauz9yzEgdAgUreUjVwoBN/LzA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107321},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"fe024e22dba00b5511fc8c2287a6aee7718ee234","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.13_1756006909404_0.9954502110224022","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"name":"@fly4react/observer","version":"1.0.14","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.14","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"0ac66408a95d6a14aa6eeb5d4752d2d7275cc465","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.14.tgz","fileCount":20,"integrity":"sha512-HaIrjR9Yh52F6xehG8u+qMbZyx7tt/cxT/tNPjsxJf+oYK3CcRcFL5O+m7PdkrXBGh+MBqz1BxQ/gv2nUhs5DA==","signatures":[{"sig":"MEYCIQDn58uS/OOGtj873n+AJzGKrZgh/K3kb6uq/o1/X0scygIhAJ59+cJeAI9NWUZvW+yE33/qHsYtSW+Ppny7bIcImN+Y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107321},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"eaae939b52068469763d4dee663d722251ac1b50","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.14_1756007293354_0.5409821480743318","host":"s3://npm-registry-packages-npm-production"}},"1.0.15":{"name":"@fly4react/observer","version":"1.0.15","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.15","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"a8e03f69a8c511f89dc63b5a7b86ab3e50eef16b","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.15.tgz","fileCount":20,"integrity":"sha512-+zqq4q2wmnevIZ0FOjYQt6728q/XhO4nx3KPXMxDyPPxlzT5pIpePx8ZT/9ikCtLVO/AOeEh9wAt4fjHemzKsw==","signatures":[{"sig":"MEUCIQDyiFwMuImJi+/UoBu+NHbsJGjVRFEwdmL4lQ2orUSc4QIgPNgq9DPpPsokOI34tBiw/+iVMDTsz4ocAMc80vGRkeg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107321},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"828392c7aefc60e00e59323c25ad25f2276045ae","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.15_1756007907145_0.9678215070061229","host":"s3://npm-registry-packages-npm-production"}},"1.0.16":{"name":"@fly4react/observer","version":"1.0.16","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.0.16","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"a90cd0ba356fba939098c81eb963c122c3b0b631","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.0.16.tgz","fileCount":20,"integrity":"sha512-1qWGXMxTrh73BzFLd7rWc7KTaYhP9ckMA9cddH6UcylUmTflScYzweJjVPQxLw4+4gcO0Ctfq0Igy5nmIJPvMw==","signatures":[{"sig":"MEUCIGbpDteG7A8qUSFbivS4WT8t6JBGmqcwMFN+/pyl7RxdAiEA+PqT3p5/uGraGsi1j0/Tz3Ums8J3cNREJx5kf+SmxB0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107421},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a7d4f58d7b8c533faff7c598971323bd35f2d354","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.0.16_1756008251757_0.3624357921520045","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@fly4react/observer","version":"1.1.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.1.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"19f20cce6a4431970a9754cf7238db3f2297e853","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.1.0.tgz","fileCount":20,"integrity":"sha512-1iaHPfuRrWQxEvMxpVuunzVn87TxqJSRiKQNrgn3BxKe8Nj9dUXmdMk10dekZT0uovBm504TZb2fJFKpapQ/zQ==","signatures":[{"sig":"MEUCIE7gEd2Fyk2gHfxUoj2zPwCi7++r3qAuu1PuO/IUSwdJAiEA8DNfUk7iflbjuhO7KV/MoMNMV7dR/77kseT87dZ3zJ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107420},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"3d17b3da4ff668d6020f5da2d513b826abbf2e0a","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.1.0_1756008369698_0.5611774760980519","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@fly4react/observer","version":"1.2.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.2.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"1e0ff477fb7d254b7c0c836c156de10c55571333","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.2.0.tgz","fileCount":20,"integrity":"sha512-hSZ6eVPpu93nlKJtYEg//GZtMfAeTj608S5XNuzfjSgtNq1Sha8r6oUAuRvoOG6i/60r+dhwKvlc1QE6tYb1gQ==","signatures":[{"sig":"MEUCIDAMXtWcazol6rzJGAVRhoOKSAeX5gM39vQN1jla7f61AiEAjv0FNE4njtOwu4l9riu4dOysRWnsPrXov+HKQPUzt+8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107420},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"8054264514467eaf8cfc828f80961764db35ec7e","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.2.0_1756008469803_0.3533158482973262","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@fly4react/observer","version":"1.2.1","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.2.1","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"20b89155b8427ccf2dcdacac50e1f036285ea9f6","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.2.1.tgz","fileCount":20,"integrity":"sha512-oNgXCR12K+h0J0PYqpX6g7qV6hrQt0fDClWGtYWbSU5cXZAuYxalEUHlezGGp1x4T4jbrkFSmn3VR+EFyHTKnQ==","signatures":[{"sig":"MEUCIQCcz8My015owqdpQ4GeA5dVeq940uLK6hzRkV3IXjTEoQIgDsI8f6K/cbZKpHPFYW/okwY6jIKG/L8lPAFgzH29z2M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107420},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"becdcf55e370d88170cbc1440f2fcbd3ca374d40","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.2.1_1756008675300_0.09248176838338495","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@fly4react/observer","version":"1.2.2","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.2.2","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"4bd41a4b3ea266bb371202e2517466896e668f9a","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.2.2.tgz","fileCount":20,"integrity":"sha512-x57ys63NgDXIqyxP/Z9AEJq8C2ut2pBzt11qF5yxeaiHHieB3EtVsKPkOCMKJwrdGTBP31CG0KYtbLxwh0JPaw==","signatures":[{"sig":"MEUCIQC0vwCwBcyZbb8UoPg026arpwIbSf9N4tS2gk4zFDNTwQIgVGpardBvKUH4dlkwXnpznfztlhLcnalI0SHTLlb1X5E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107420},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a92bf2669cfb88f1ddfbc47ee6e6338225efd640","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.2.2_1756008925283_0.8882577272757519","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@fly4react/observer","version":"1.2.3","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.2.3","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"6f0007bc9e2e98c45464d5e45250072b08b7b5fd","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.2.3.tgz","fileCount":20,"integrity":"sha512-gjnmIF6Jo2WWZgAmRopE2Dw0eMxdNw7TMzghfk4XQYPiNe9Jnfv3QVf+ZZbPoKpJRO1lg9JR/0v4fNpxrP83PA==","signatures":[{"sig":"MEUCIQC/tDEnDIXRwvcOEIbv78fkY8rK+bclm6+J8tonOVPb8wIgC88oJcq30NJrEKPUUYOytoXxT9lONCsEcLOiwdRJxnY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107521},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"7c276a29a77cc91c742711462902ec298673b151","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.2.3_1756009384608_0.4593782653494438","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@fly4react/observer","version":"1.2.4","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.2.4","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"c2897e9d8145956f2d97e455b815960f25a88084","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.2.4.tgz","fileCount":20,"integrity":"sha512-VlkjMxIHeP1orDKEJ+zEuQYMr8kYpHNQLihzrk4NVogn/c0hM3MPS+HEjsNSbNwkl9Yp6jF9Lbz97VbTftsImQ==","signatures":[{"sig":"MEYCIQDSOqo4oqhfW0rnbOTTTzPJ/Nb7TlsmKJO789ErDpJmlwIhALWk2z3CHpsZ/aUhwVFVUomp3AjLtLbe8FdDnJczIv4Z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107521},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"13815c1c7eeb5ea2fa096a7b73c9ad3d5d72c3e4","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.2.4_1756009775062_0.22733391263397218","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@fly4react/observer","version":"1.2.5","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.2.5","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"1b74dc55ae575eb185a7ae9c0cb6b4d16eeaa026","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.2.5.tgz","fileCount":20,"integrity":"sha512-kq5IFcRJdcutdEBTMdTTkKjvYBtzK2IBaSg5nUCL7AZtyXwbA0v9GOuJyOpu3Fx/HgZgnb2AbVtE3btcbBfeGA==","signatures":[{"sig":"MEQCID4IR1ZYZAEC2eFCGAwFJ/QkgcKOdMqxusNCSGUGQfyEAiAgpGXLgEeCLjl67cztLLz9JX3HrDhNIB9gWdn3hLdf/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":107521},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"c48fb307109b3a1a8bc55b0597daaf43904499dd","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.2.5_1756010444968_0.10043970330381713","host":"s3://npm-registry-packages-npm-production"}},"1.2.6":{"name":"@fly4react/observer","version":"1.2.6","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.2.6","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"74c867d1b30cf728f133202170ba283b34eddc3a","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.2.6.tgz","fileCount":17,"integrity":"sha512-Yn3rDiEUDigUs5wSlt0sYS9d0K8VgSY1awoDAcdjRVEOn75cwuTS73OMQjjUedJln0mk5wEr8gLY7r89lnaDLw==","signatures":[{"sig":"MEQCIDKb7Vz6aDUhXIfSz2vVPxImSuR0eHmIYKbO+3cWZF31AiBktyJMK9jGTzbzj8fxueVXe1DOz1S2+zD184BFvEoEBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":91430},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"c74148129df5d5bbeceea332d310f20c75ac7158","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.2.6_1756125081568_0.9443837299099933","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@fly4react/observer","version":"1.3.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.3.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"a004343764c65564c00b8a545203033ae9fddc3a","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.3.0.tgz","fileCount":17,"integrity":"sha512-rr0wjbvI2lshj61LbiiieE5JaVTs/6RxFJlDzXuzNhWUOpUOIS8Dd/eM8uTFMALMwBfUROZIfslzGmBEWqC0ww==","signatures":[{"sig":"MEQCHwn+GPymikLQHYws6SashJOdfNcoaYhW6Eu1P3dEp6UCIQCM2RAjPTHRrKCh6+D3FvrG5KZlxAT+G/N6hybM5rpuFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88670},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"7d2b9de341be76817743a8f744032f4832c310c2","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.3.0_1756126459325_0.43833328667561844","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@fly4react/observer","version":"1.3.1","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.3.1","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"3b70cda936ec95f8f4f6b01c64f0f95d92e218b1","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.3.1.tgz","fileCount":17,"integrity":"sha512-xTNdw1hG+qOSv6MhyPzB5Q97oUm7fzczxnOGXyfuPdf4fhS27QlESyhfB8NabnmNpAlcCeoTgHW9Htj7aEm5Cg==","signatures":[{"sig":"MEUCIQCwKQLHL2YKklYHYomCRZ3ku2IsNfi9FPx5ZcA7kA6LmQIgQaRuD4Akr+sGO8mZUjMXFRgHr0zJjObQ3ZSojZT1uAo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88670},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"3eedb87a9d9d448747aa22dc3cb23657bb7825dc","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.3.1_1756127052089_0.19344286942066136","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@fly4react/observer","version":"1.3.2","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.3.2","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"303f3fa35a871cb2c34b6a4c6cd2be3d263a926a","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.3.2.tgz","fileCount":17,"integrity":"sha512-jS3JPk28NarStTo5DSI4qlZbCNQegzGgxl55o9i7fkWvaVfur0TvF9nDD0xDLwnmHJEtExkVLA2U7fQ3vxztMA==","signatures":[{"sig":"MEUCIBJZ3xs6Da4lRdB5Hz/ZUw3HV8VjsKFZEGXAr2XWP/goAiEA0SjFYGnC3ZRJ6/jHNNxcN/zZ9ppSoQ2k4oK6m8hygIg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88670},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"e3190cfef8b496676d70c115747608ea6895035a","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.3.2_1756127867682_0.3920844339164984","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@fly4react/observer","version":"1.3.3","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.3.3","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"d41e87c2c13839464d29429da94a0f7ada6ed874","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.3.3.tgz","fileCount":17,"integrity":"sha512-yP0TAGQ2WnVVH2NQYgb0LIpGTWoWkuVwtU60BUr/tW3AUMzmTBJol/BP9/cM1d4H92wsXwvDjSXwJkwwMwLWuw==","signatures":[{"sig":"MEUCIQD1BX3ja7SUaAWy2/XOqQ+umV0LThNogayRldiXIHFTwAIgZN/gthyienCo9LJGyK30AYS3Q90AipaorubCzBAtl6U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88670},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"c040c9e9b9c970e83f400b2cc60992d9106ca0f3","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.3.3_1756128243784_0.324024497718703","host":"s3://npm-registry-packages-npm-production"}},"1.4.2":{"name":"@fly4react/observer","version":"1.4.2","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.4.2","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"e3248bc79c5804ee8884b78212cd980120fe1b58","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.4.2.tgz","fileCount":19,"integrity":"sha512-AxSQblZ19hP0rz0OmnmRSafS1aNPQpmFWzZPzfb0CnHUFz2+Y6PHNeD2sbbGghqAbIYs2/amcMSPhWQGT0+78w==","signatures":[{"sig":"MEQCIAN7csTYbv3GsFUZpMwI3X611waOnlW+zxF5iuj83acuAiABm5Gvm03lvtiTD5mJ2HMC2tjL4SHe8uJA5v4irbnwcg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101974},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"e51856676d2504645fd774b8b46cb43d76ff663a","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.4.2_1756379656548_0.015771774007410366","host":"s3://npm-registry-packages-npm-production"}},"1.4.3":{"name":"@fly4react/observer","version":"1.4.3","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.4.3","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"88ab46a00b9b9909c1b38b0d71f64e83c030e636","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.4.3.tgz","fileCount":19,"integrity":"sha512-Ykdocf2b/rRKi8Mh5QLwtDX7d7MWOXuNTTqpgGBS/Cle8+jQWCNBpMJAg9bWODtgOLjIQ+B4WHVSgZnZcC6Xpg==","signatures":[{"sig":"MEUCIQCVWEero7SOSxYzKBip8V42lIJOE3gbR0lYV2kM16NK7QIgKrhDg7Kw60ebuiGcjovYtEaI43IWoLuGmtj4pgh5fRw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108235},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"b16f4bd241e48381d9661334613b1cb3152da9f6","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.4.3_1756383482307_0.4574768198675987","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@fly4react/observer","version":"1.5.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.5.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"6358344308d213497d05895f5297430401446445","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.5.0.tgz","fileCount":19,"integrity":"sha512-A2RXp/tT0xDLe6JWk9Wc31DbGyuO/2esk9LI7M+zi7j9Mcq9AwKrj7/S4Ocg782LVSYb5aEoVUFRBT+WxxnoPA==","signatures":[{"sig":"MEQCIFWfXUiUWGRz7O0mXs0yNkH/3CkJjvek90j8HSt+RtfTAiByrne43kHMBQ+ws25sju+3ZA05bZpm0b+CVXGazp4rvA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108235},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"5216233e074c9c29d97fed7522d8a3f469bc3e4e","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.5.0_1756443511967_0.6927875918075117","host":"s3://npm-registry-packages-npm-production"}},"1.4.4":{"name":"@fly4react/observer","version":"1.4.4","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.4.4","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"ce562214920508d0cbabc588dc45260bdcff3dcc","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.4.4.tgz","fileCount":19,"integrity":"sha512-fmxud0WocedOAPLfHWAjOBH7wM3yoZuwaah66x1OT2asvgEzPWgb7j3omOpoDkIeTCVVnUqxmxxRr2pg6Hg/BQ==","signatures":[{"sig":"MEUCIEHjnrbbTGaX5nLK7yCjJdVN1CK0SOCMcMAlDanD2LuuAiEA+WLTN2+g+Ek1TZ4nemEUMiTS73Fmf7LYWETEKmgKM+I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108078},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"854b8abeb497daf0abc43e745190ef784af7935a","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.4.4_1756633256478_0.517418103924074","host":"s3://npm-registry-packages-npm-production"}},"1.4.5":{"name":"@fly4react/observer","version":"1.4.5","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.4.5","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"d46aad74375fe7e07414f57d30982fe2304831f1","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.4.5.tgz","fileCount":19,"integrity":"sha512-OapPIBP0JiBrkKSes7YGy9TOMzOOW33xSoihaq7pV6+3Ypv6fTyptQNYCu9haVmC4XQ4mGESS64x38+fMHJ0Qg==","signatures":[{"sig":"MEUCIDV/62UJPtiT7jbVl2J+bPMn3tRWWTeJHE9qNsqOuk40AiEA1CpPuQZEVdsc7tKT756c/IDdu8RPI/2TGLhoHxhQhoQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108291},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"dcf102079b31e4c7b9f0f1e547790951d74971a3","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.4.5_1756874440658_0.4903041856754595","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"@fly4react/observer","version":"1.5.2","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.5.2","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"8afa7ab6f0ca2d9bdb36171f2918a982ef9a1d81","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.5.2.tgz","fileCount":19,"integrity":"sha512-TiFssaKUmvK7E44JLiWelLgv1pTEorndmpC1ohEJLeCta7GR4pw4nKRQlDC9O1YaB6OOy5ErlYXwrBTCl3Thnw==","signatures":[{"sig":"MEUCIQDBKF8rN40BrnQzuOmnNSj97lKSZTSOGAbcEgSia+KEHQIgN4ImZencdVwB4uhSkRPBYxUkVow9z4usvSMaelb5IQw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108291},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"000c35f584241e8e7eb6e0386695e54febbb9198","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.5.2_1756874803533_0.9229834842518978","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@fly4react/observer","version":"1.6.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.6.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"66c7c7b6b6b314b63b33c8ab94794eeaa9b59370","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.6.0.tgz","fileCount":19,"integrity":"sha512-AR5fSdZKs6UtxrMlPm7mvvb5ROlJAETl9zbwsxTpSgNDte0xsWpGZ/Edp6UwFvKVKCME2fFCQtbQcULt+4c0tw==","signatures":[{"sig":"MEUCIA+akjq10nBCbU7xTCjvMcocxrhfvyEak+GS21I3d+W8AiEApC2fcTTZSH/JATP54RRj7b+6dWkPem8yN+C5sy2GGYE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108291},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"ca12a3069a9f3b35acc5fb1dead8236454e1e03f","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.6.0_1756889028661_0.3252104927702011","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"name":"@fly4react/observer","version":"1.7.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.7.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"215bc08eaaaf0994f30428b77be31637bb4441da","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.7.0.tgz","fileCount":19,"integrity":"sha512-Rs0HWsUYXidZYCYONKnmKICtScmhpxOH/SgQG0yWJwfOEyIP54IyRMNSfICs297gc2IF5LUVupZB9r46IZ8DHw==","signatures":[{"sig":"MEQCIHmCKm2zgQ895ioDazl5LwqhH0Ps1R8qMOPlU4N8piX+AiB63wTPjTxsvWsALMtKbeIYjtMVoSBmEJQUA5MnQcbOWQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":108291},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"5aa1a80d31a7adc3b4a6412295006a76d9461267","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.7.0_1756984955847_0.06133122194902296","host":"s3://npm-registry-packages-npm-production"}},"1.9.0":{"name":"@fly4react/observer","version":"1.9.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.9.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"a586d87ce7474842fac5c5b8ac53796f2de4403f","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.9.0.tgz","fileCount":19,"integrity":"sha512-TItOTiEhN/dp+LzASt2Gja+ChLg3JTqh1lWdI36iJljeYSqsGU+StGvhnranNH8WBQqB1rgacRhK2kHa5Uyfuw==","signatures":[{"sig":"MEYCIQDtZf3w0RemSQYv7pEHwc+xrMzWi21IZ/hYmNVjSwtn6gIhAJIZJf6YLipYFU5kkp07Y7LoWIjYzoUkywwRK8zcKYZ4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139196},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"1692c142aecd450e6b1fd56da150ca1210053c12","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.9.0_1757732699819_0.7878537204121681","host":"s3://npm-registry-packages-npm-production"}},"1.9.1":{"name":"@fly4react/observer","version":"1.9.1","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.9.1","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"71c85d7cd8fe0dfd6feb58eae6b77b034cd109a7","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.9.1.tgz","fileCount":19,"integrity":"sha512-9XslfRYvZAb6D0oHMNYSLrESjLois3UKo3U20+emp/VUHtCoAV86YFrItjub02s34B88+3mBk/w5PuMUnBWWGA==","signatures":[{"sig":"MEUCIAR+VxTSKZTgG6KGgMRNn7VdGKkRdWFfE5Lg1kD/q1MXAiEAzKSPpOTVaZJgaP/rXRCFbmlmkgVm+VsXWgDvIJW8wZ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":139530},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"b11e24551696a804863fdfe3c4933f6ab8c0e0c6","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.9.1_1757742992021_0.40671692738914444","host":"s3://npm-registry-packages-npm-production"}},"1.10.0":{"name":"@fly4react/observer","version":"1.10.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.10.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"f526834613e7db752f26fe12af1904484a76d7ce","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.10.0.tgz","fileCount":19,"integrity":"sha512-dLXNeq2ntlKpGgKmiJ3yj0n8+q8fom8qZesj4n24xsOejNnLbleTimGKPizZ6RZC28FzNxQpwbl5y/PVPdeHuA==","signatures":[{"sig":"MEUCIQDqArpBbbQVeSx77hmGOjwdyBmvsJ4kEGGcX84ayG88RgIgJnT42w/RgFuM39P13XwI/zqDMK9O0YeTXr9EA4BS7Go=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143124},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"a0e67346d0040ad0f4537441a6286dcaba1cd268","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.10.0_1757752928943_0.8631732208101126","host":"s3://npm-registry-packages-npm-production"}},"1.11.0":{"name":"@fly4react/observer","version":"1.11.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.11.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"bc9c3b22021e344ac8f6024d94f7b86f2c6db8c9","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.11.0.tgz","fileCount":19,"integrity":"sha512-SRxVk1JzOdiL05/JDnVL+h60xoKZgCTzGx9d9AyJvz6l6XLV97w0Roz9QxQ904QNMFiPWowAYTFkaKFkOFEHPA==","signatures":[{"sig":"MEYCIQCjPi2SRBTMiiHMecZ2rH0Zv6wKN2Tke+lEIoZf4aPhvQIhAPo6VGvblQ+b2obqtkQ7V5y5WDq8L+BqkmTIh+4qO8mr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":143784},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"f0a3bc883783a7aaf25743513b9a7d139e0943c8","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.12.2","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.11.0_1758891850188_0.894815700764017","host":"s3://npm-registry-packages-npm-production"}},"1.12.0":{"name":"@fly4react/observer","version":"1.12.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.12.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"afaeb6fe436f291b14d989b791cfb232ff8b2c95","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.12.0.tgz","fileCount":18,"integrity":"sha512-aBHiumUst78g0zcHJWB1l8dGp9677ZP9H0wM4Eh34mv9fmVWUHgfNwFWIxZWzoIjW32NFBlm8gN3dgxCx7uPzg==","signatures":[{"sig":"MEUCIFi9IFztQaqKjle6ovV8MyKNCiqTmw5Pe22t5OM8vtU1AiEA9ON5NtT0DjyKKyElWBMxXPlIjjZB+WhCprvw4Pejnsc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99784},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"aae2072e9a3e74901b4d16a6ee2efd7d4b9da126","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.12.0_1758947530340_0.985702086735454","host":"s3://npm-registry-packages-npm-production"}},"1.13.0":{"name":"@fly4react/observer","version":"1.13.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.13.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"5a14b0b8caea43accc2909daf5a27625eeb49656","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.13.0.tgz","fileCount":19,"integrity":"sha512-/tJfG+d6lzYUEQSSBNu1qGIKK+5NjO6mHVtcn3Sx23N3Cug8mIZv0LyFSE8pNBBhWau1EHETMc7IOO8jnpxXfA==","signatures":[{"sig":"MEYCIQCGJfna0kKOYk9b+rm2yJI0jaG52IWbKDiIcKbJ/hR2oAIhAM00qvU7Ad0xYqmilmxIFvOh37+NV9rY2jDY4Pkz2oPc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103442},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"1b96bed9e148334c2c627ddd2f66fcaf50010882","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.13.0_1758957733578_0.08358631788413473","host":"s3://npm-registry-packages-npm-production"}},"1.14.0":{"name":"@fly4react/observer","version":"1.14.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.14.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"f58e300aca1b31b17e718c8402cfb35ce9bb09c5","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.14.0.tgz","fileCount":19,"integrity":"sha512-heVEVwl7Xw+U8wZwyFVXwNCZtSifu3A+9IB0rosw6V16pITlxZGttrFBEymOQBNMUHRx72Lpiho/ZayCRNjddg==","signatures":[{"sig":"MEQCICrINsw895j8nKTth/y66Z6q+Rw52NwAev1SwhbOQDMgAiAPRrhE8tvvhb4oNmHzaf9gHthG1pcVMR31VLXKVqhfqA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103442},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"63924e7d3d5bfe517ba23e41b6886739512eec53","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.14.0_1758958247929_0.9037628769336747","host":"s3://npm-registry-packages-npm-production"}},"1.15.0":{"name":"@fly4react/observer","version":"1.15.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.15.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"a336fef614f263bf781c09313f5229d9d74f6a0a","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.15.0.tgz","fileCount":19,"integrity":"sha512-AmwPdpt3UMsWKVw2q4FYryjWvq9V0iy84SiIwKe+aCbWHmcVOSEeoqvYO6fjWtmwYz42YZgvblLhGA1Hq3LD/A==","signatures":[{"sig":"MEYCIQDX1GhfprgIxqz+ejd64DK955D33XrVFHZzqmJiz07h8gIhAMT1KzCpECYjMRIDqzDZeRuWvGCuWT1WStA5rFFwFfdM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":105996},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"b213f3bda06ba0b67c02c1a15eec47df9aae6a27","scripts":{"dev":"rslib build --watch","lint":"biome lint --write src/","test":"vitest","build":"rslib build","check":"biome check src/","clean":"rm -rf dist","format":"biome format --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"biome lint --write src/","test:run":"vitest run","check:fix":"biome check --write src/","format:check":"biome format --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@biomejs/biome":"^1.5.3","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.15.0_1758969851192_0.5295593046316931","host":"s3://npm-registry-packages-npm-production"}},"1.15.1":{"name":"@fly4react/observer","version":"1.15.1","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.15.1","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"a4b9ff7fe057ccc98ed13b66c0b69ac4eadc75ab","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.15.1.tgz","fileCount":21,"integrity":"sha512-Psu+tvDPkXTKPYKWENNJ7md3ikqpsvUcqQ4iPYpO/KsH8BUdHaK470csIYbAsLo0zjqD0SCbAaf/EIHiKUBgkw==","signatures":[{"sig":"MEUCIGW8EsV/Us9GW1LmYR5nOoxgzFufvT2JBVsIlyYcajpmAiEAjt8qhF/ltJHqYRMA5yMBdZN0QI81MXlsQ+Q+mr01MuE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121528},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"6a42a4c0d93b92ca1c27472e88db6f024f7b9e00","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.15.1_1759224441055_0.2750537484986253","host":"s3://npm-registry-packages-npm-production"}},"1.16.0":{"name":"@fly4react/observer","version":"1.16.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.16.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"d159b012eb01764963b1e3a3d84bcc6efd8175d4","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.16.0.tgz","fileCount":21,"integrity":"sha512-3JPwqU/UTi2uRJdRRrlY1RHsJKs7JxEa1Ck9S/xwrA7p456J8hkDtUKiEQSDd6JnvpJG513klOk7/r+bj2dcvw==","signatures":[{"sig":"MEUCIEaRd8EeZHgrh8o8rV/XJMubrpRvBSNIlOuXgvqAW2lgAiEA+EnYcg0OvLvWkj9dPG6g1sIEXhC9UlA20cbpAYhRir0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121573},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"fcd524e8852de81b06b0dc83618357f2fa9700d9","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.16.0_1760342912529_0.6631227240904769","host":"s3://npm-registry-packages-npm-production"}},"1.17.0":{"name":"@fly4react/observer","version":"1.17.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.17.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"ece17056acf99389ae38d72c7d21fef0c7368ed4","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.17.0.tgz","fileCount":21,"integrity":"sha512-1Pr10eOfFDU7ePVoyzXcFLXzpGOWu8/YP0bV/FJWHjYe09nhQlNbydNkKkVH7xEl4wme8OYdL3OooL367fZCow==","signatures":[{"sig":"MEUCIBD7Wpjv3MKciFv5e1j8J6L9UybHIFISdwa+xT/yRgcyAiEAkkGYdIr8lGyD1CVWAoItuMUuK/SmUKFv+BwB/UC9iq0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121574},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"251eaad58c64960479253cfd019978612290d194","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.17.0_1760953184490_0.4610562752984604","host":"s3://npm-registry-packages-npm-production"}},"1.18.0":{"name":"@fly4react/observer","version":"1.18.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.18.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"d652fa09806bf365fa504ea5bd29746d1634f50b","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.18.0.tgz","fileCount":21,"integrity":"sha512-wGuO4VabNQRZceP43jHgJnR1oQepnMKxKIIcj1VG/B3l3WfE0msxxcz2PTc+vExbxjnyIqcVq+tiUAG6MFpcLw==","signatures":[{"sig":"MEUCIHqdoG1DGRgUhbGJe9HnYJYffUUxP2jzg9gD7Gxjwie3AiEAoT5TFl/IJdA3XmEvgaucIlFTZx1eSaOP5+whUGGZOB8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121739},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"f1b5fbafd851a61152f8d025454b0630ad505fb1","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.18.0_1761202093381_0.3713732468780433","host":"s3://npm-registry-packages-npm-production"}},"1.18.1":{"name":"@fly4react/observer","version":"1.18.1","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.18.1","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"bd2014d79d0754b4ea2136e964deadc29bb4edee","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.18.1.tgz","fileCount":21,"integrity":"sha512-QZfLqgN+nFwbVOdVrRJn48Y1jYJnf3R/iNxUqEm6ny9M84s3zgrkOYpXZPD0/8+yKTz6GTJpkUVsFuarwe3pHA==","signatures":[{"sig":"MEUCIEytDxwXPKOPU/uA9NJL4x9oPxEOgfnDaQh0M+jg4fbCAiEAnfDob6dRzeLpRyNKnicQgoOfbCrTLgAlk7A4o4RaLgg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122082},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"2003be70f38be0e3ba4504bc9fbd0df2a7d26479","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.18.1_1761637878297_0.9183132704033983","host":"s3://npm-registry-packages-npm-production"}},"1.19.0":{"name":"@fly4react/observer","version":"1.19.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.19.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"5f7e90aa2d9ba680b68dc6284dbb0e5c2dc445fb","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.19.0.tgz","fileCount":21,"integrity":"sha512-sDpDfQt3K7lTXEVUbwNqE9VAiqJFilK2fKSHP5hbx7s1oLfAhaXWAto6xrDaZVyYrRBHZRUNKGDi66QLCBNYtw==","signatures":[{"sig":"MEUCIQDZPNDibAJNNS+Ri4KZqN1sdr+50foqXC8fhpweBgg0tAIgXSVa4kBZlx439zPUfSo6oyzindGYpJaKKkXLqhL5vQU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122082},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"141381704873b3638a594868b8e0c14f199366a3","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.19.0_1761638001102_0.182828249242605","host":"s3://npm-registry-packages-npm-production"}},"1.20.0":{"name":"@fly4react/observer","version":"1.20.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.20.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"01de93605aeb48e75fb753afc607365433b62d8d","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.20.0.tgz","fileCount":21,"integrity":"sha512-M0Xk8Vobf3U2YBDvkjOlBm9b5lL8Vs2BOrWclkQ0LK3rXySyN7K/otYUyK1R2KCOKYPqZjmUR5i5d/NVBWJE4A==","signatures":[{"sig":"MEUCIDcohrawXylCesz8uSdngGp9zpEG2j7fwTlRlk7G0gRSAiEAn3o5wvoIWEnaXm1NmWU1SMabweVdOpnuygHn3p9serE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122106},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"41dddd489d343c6c1a9f68f7bb92bce2f446d299","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.20.0_1761646760166_0.11656482176475946","host":"s3://npm-registry-packages-npm-production"}},"1.21.0":{"name":"@fly4react/observer","version":"1.21.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.21.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"f03ee2588db87e607ae2b2774bed0afd7b4e29ca","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.21.0.tgz","fileCount":21,"integrity":"sha512-wDGo6vYTXdhx6hZGxHteKl0T3BpPAwVhdMwHBuUiz/hjXk1B2WTx8zK3OBia5sYiGPEZZ9V2mjz4zdyR7MFwIw==","signatures":[{"sig":"MEUCIEIPYoybxwAHlcaSflWyGW8+UwrbaMjttpwIDXmSl9KoAiEAwY1IdszC1FwF/r4C9pZojvBRN6WOSmNpYk8l6MUTwYw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122135},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"d24ab52c9f6e17862683917e0e0c59f029225624","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.21.0_1761651347841_0.5611923057554227","host":"s3://npm-registry-packages-npm-production"}},"1.22.0":{"name":"@fly4react/observer","version":"1.22.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.22.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"e3f7cdfb4a0c796df905ba54662bba4f31fe64f2","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.22.0.tgz","fileCount":21,"integrity":"sha512-4m5jWceV3kikl8RUrfyxasptrQEtu7iZ0lg9NCTJCcPCWxyjCobjG5l2YEBPikDPwvvEv3qHIS5RAJ2TtBxf9Q==","signatures":[{"sig":"MEYCIQDOpJur7hHuR1ToGfa7saEfy/EwJcM/BtIc2MJe4X5wqQIhAJcH6ABXSM9kdfWzENjG0GlCnewsN7KFBpRK85/wUKY9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122177},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"410aa4ff54258d7754ed53ed2e55d42cf39d742d","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.22.0_1761703870540_0.8413181886653767","host":"s3://npm-registry-packages-npm-production"}},"1.23.0":{"name":"@fly4react/observer","version":"1.23.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.23.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"1959ce9408692ba705b5cd4373e106f8db9f955b","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.23.0.tgz","fileCount":21,"integrity":"sha512-5Hub7nkeHDU/+ggHdj2upDZjRfJEPg1rOUBEEeBI8mhXqsiqB+TW40pC+l5mX9Cq7MvyWGL7PLj9VQ854Uz9gg==","signatures":[{"sig":"MEQCID8NP/mJJc4cYng+CtdfDHuuCrLsdnh7rDGqcTTSEItPAiBcouDH4CDHbxzFMU2y9g83pcqeHRZUv38X3QNDPeCaNg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122279},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"761d58e3d2ca2a2b2384c450e631a26bce96b64a","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.23.0_1762156428328_0.4930782142272767","host":"s3://npm-registry-packages-npm-production"}},"1.24.0":{"name":"@fly4react/observer","version":"1.24.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.24.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"e393976d15b614ba57cb610c00fb2e9c270c98c0","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.24.0.tgz","fileCount":21,"integrity":"sha512-nIv6NnOrInR0En613PV1yuR/4uh25MjysrNqY6Hk91EkB3cyBBuoRk7qip8a+dZCMR67Sou2ujQswNiKvIQ33Q==","signatures":[{"sig":"MEUCIFq+yJdG/UnWCVr+EgC0R9sI4xL3Xt0sfv6NP6wLpiysAiEA/+xW8u9tA8mpcKHGik35gnBADO4rXkVHvO6+wpS3Bmo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122397},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"c13e067279cc8583c71a0c1b2b499472115fee7a","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.14.0","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.24.0_1762772263391_0.9171458611173218","host":"s3://npm-registry-packages-npm-production"}},"1.25.0":{"name":"@fly4react/observer","version":"1.25.0","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","_id":"@fly4react/observer@1.25.0","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"dist":{"shasum":"01647fe7f98d78002a447ee93747fdd7805e17be","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.25.0.tgz","fileCount":22,"integrity":"sha512-ZqtWD91XdkewCwpci5DhJhqgqbtAlXoio92WzjLoB3rNs/hxlCqAVokyQYb1WPtKmgbt+VvFZ7F3myepJxQVfA==","signatures":[{"sig":"MEUCIQC72I68cHylBli9odw/tzKFW7CXRBxjQ4u9jGv92FoVmQIgRk/ybyKPYV4k2QOl42zX3M8LME89lJXLZz+xCAQdb7A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":131427},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"funding":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit","type":"github"},"gitHead":"8bf9993f5f56fd6e026ae8ebb498f90a9ed58a74","scripts":{"dev":"rslib build --watch","lint":"oxlint src/","test":"vitest","build":"rslib build","check":"oxlint src/","clean":"rm -rf dist","format":"prettier --write src/","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true","test:ui":"vitest --ui","lint:fix":"oxlint --fix src/","test:run":"vitest run","check:fix":"oxlint --fix src/","format:check":"prettier --check src/","test:coverage":"vitest run --coverage","prepublishOnly":"pnpm check && pnpm test:run && pnpm build"},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"repository":{"url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git","type":"git"},"_npmVersion":"10.8.2","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@fly4react/memo":"^1.0.6"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jsdom":"^26.1.0","react":"^16.8.0","vitest":"^3.2.4","react-dom":"^16.8.0","@vitest/ui":"^3.2.4","typescript":"^5.9.2","@rslib/core":"^0.17.1","@types/react":"^16.8.0","@rsbuild/plugin-react":"^1.3.5","intersection-observer":"^0.12.2","@testing-library/react":"^12.1.5","@testing-library/jest-dom":"^5.17.0","@testing-library/user-event":"^14.6.1","@testing-library/react-hooks":"^8.0.1"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/observer_1.25.0_1762847369281_0.7500057027265596","host":"s3://npm-registry-packages-npm-production"}},"1.26.0":{"name":"@fly4react/observer","version":"1.26.0","description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","type":"module","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"author":{"name":"yyyyyyyyyunf"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","funding":{"type":"github","url":"https://github.com/yyyyyyyyyunf/react-toolkit"},"scripts":{"build":"rslib build","dev":"rslib build --watch","format":"prettier --write src/","format:check":"prettier --check src/","lint":"oxlint src/","lint:fix":"oxlint --fix src/","check":"oxlint src/","check:fix":"oxlint --fix src/","test":"vitest","test:run":"vitest run","test:ui":"vitest --ui","test:coverage":"vitest run --coverage","clean":"rm -rf dist","prepublishOnly":"pnpm check && pnpm test:run && pnpm build","prepack":"pnpm build","prepare":"[ -d .git ] && husky || true"},"dependencies":{"@fly4react/memo":"^1.0.6"},"devDependencies":{"@rsbuild/plugin-react":"^1.3.5","@rslib/core":"^0.17.1","@testing-library/jest-dom":"^5.17.0","@testing-library/react":"^12.1.5","@testing-library/react-hooks":"^8.0.1","@testing-library/user-event":"^14.6.1","@types/react":"^16.8.0","@vitest/ui":"^3.2.4","intersection-observer":"^0.12.2","jsdom":"^26.1.0","react":"^16.8.0","react-dom":"^16.8.0","typescript":"^5.9.2","vitest":"^3.2.4"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0","intersection-observer":"^0.12.0"},"_id":"@fly4react/observer@1.26.0","gitHead":"3edf8c0648ed61a8230c01ab42a035dfbc17da25","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-xmm1zWK4siBZqIYqxy3sLxT6G45g+eAjlC6Eioe7cqls4baN64MJnRRMsd0D9OKyvS9fCHfuyCT7prDrXrbbPg==","shasum":"84e738bd7644d53b8c0d87d6df9e502e9dea724e","tarball":"https://registry.npmjs.org/@fly4react/observer/-/observer-1.26.0.tgz","fileCount":21,"unpackedSize":124602,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDS5W4GpTIv51jb/T+cnj283wfs/9K4TFgmy6jyB2k0mwIhALZHQ2HAmbkEkgiqPLppxFdMBqm7fySSH7ZvIBKoiWgk"}]},"_npmUser":{"name":"jacob_zong","email":"zong8498@gmail.com"},"directories":{},"maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/observer_1.26.0_1766476202844_0.4165005732901874"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-22T13:10:21.773Z","modified":"2025-12-23T07:50:03.183Z","1.0.2":"2025-08-22T13:10:22.070Z","1.0.3":"2025-08-22T13:31:18.179Z","1.0.4":"2025-08-22T14:03:51.329Z","1.0.5":"2025-08-22T15:19:59.524Z","1.1.2":"2025-08-23T12:20:32.982Z","1.0.6":"2025-08-23T13:06:52.619Z","1.0.8":"2025-08-23T13:26:08.949Z","1.0.9":"2025-08-24T02:28:33.304Z","1.0.10":"2025-08-24T02:34:51.990Z","1.0.11":"2025-08-24T02:52:18.295Z","1.0.12":"2025-08-24T02:58:44.806Z","1.0.13":"2025-08-24T03:41:49.621Z","1.0.14":"2025-08-24T03:48:13.529Z","1.0.15":"2025-08-24T03:58:27.327Z","1.0.16":"2025-08-24T04:04:11.956Z","1.1.0":"2025-08-24T04:06:09.946Z","1.2.0":"2025-08-24T04:07:49.987Z","1.2.1":"2025-08-24T04:11:15.488Z","1.2.2":"2025-08-24T04:15:25.467Z","1.2.3":"2025-08-24T04:23:04.828Z","1.2.4":"2025-08-24T04:29:35.242Z","1.2.5":"2025-08-24T04:40:45.160Z","1.2.6":"2025-08-25T12:31:21.765Z","1.3.0":"2025-08-25T12:54:19.508Z","1.3.1":"2025-08-25T13:04:12.260Z","1.3.2":"2025-08-25T13:17:47.926Z","1.3.3":"2025-08-25T13:24:03.952Z","1.4.2":"2025-08-28T11:14:16.718Z","1.4.3":"2025-08-28T12:18:02.502Z","1.5.0":"2025-08-29T04:58:32.145Z","1.4.4":"2025-08-31T09:40:56.715Z","1.4.5":"2025-09-03T04:40:40.835Z","1.5.2":"2025-09-03T04:46:43.746Z","1.6.0":"2025-09-03T08:43:48.859Z","1.7.0":"2025-09-04T11:22:36.128Z","1.9.0":"2025-09-13T03:05:00.001Z","1.9.1":"2025-09-13T05:56:32.228Z","1.10.0":"2025-09-13T08:42:09.157Z","1.11.0":"2025-09-26T13:04:10.363Z","1.12.0":"2025-09-27T04:32:10.517Z","1.13.0":"2025-09-27T07:22:13.761Z","1.14.0":"2025-09-27T07:30:48.117Z","1.15.0":"2025-09-27T10:44:11.415Z","1.15.1":"2025-09-30T09:27:21.266Z","1.16.0":"2025-10-13T08:08:32.746Z","1.17.0":"2025-10-20T09:39:44.679Z","1.18.0":"2025-10-23T06:48:13.557Z","1.18.1":"2025-10-28T07:51:18.549Z","1.19.0":"2025-10-28T07:53:21.322Z","1.20.0":"2025-10-28T10:19:20.371Z","1.21.0":"2025-10-28T11:35:48.057Z","1.22.0":"2025-10-29T02:11:10.745Z","1.23.0":"2025-11-03T07:53:48.526Z","1.24.0":"2025-11-10T10:57:43.584Z","1.25.0":"2025-11-11T07:49:29.471Z","1.26.0":"2025-12-23T07:50:02.984Z"},"bugs":{"url":"https://github.com/yyyyyyyyyunf/react-toolkit/issues"},"author":{"name":"yyyyyyyyyunf"},"license":"MIT","homepage":"https://github.com/yyyyyyyyyunf/react-toolkit#readme","keywords":["react","intersection-observer","lazy-loading","visibility","scroll","performance","typescript","hooks","component","visibility-detection","visibility-sensor"],"repository":{"type":"git","url":"git+https://github.com/yyyyyyyyyunf/react-toolkit.git"},"description":"一个基于 Intersection Observer API 的现代 React 工具库，提供懒加载、可见性检测、位置跟踪和滚动方向检测功能","maintainers":[{"name":"jacob_zong","email":"zong8498@gmail.com"}],"readme":"# @fly4react/observer\n\n[![npm version](https://img.shields.io/npm/v/@fly4react/observer.svg)](https://www.npmjs.com/package/@fly4react/observer)\n[![npm downloads](https://img.shields.io/npm/dm/@fly4react/observer.svg)](https://www.npmjs.com/package/@fly4react/observer)\n[![bundle size](https://img.shields.io/bundlephobia/min/@fly4react/observer.svg)](https://bundlephobia.com/result?p=@fly4react/observer)\n\n> 📖 **English Documentation**: [View English Version](README.md)\n\n## 功能特性\n\n- 🎯 **精确的位置跟踪**：实时监控元素在视口中的位置变化\n- ⚡ **性能优化**：内置节流机制，避免频繁更新\n- 🧠 **智能位置同步**：结合 Intersection Observer 和 scroll 事件的智能策略\n- 🔄 **滚动方向检测**：智能识别滚动方向变化\n- 🎨 **动画触发器**：支持基于位置的动画触发\n- 📱 **响应式支持**：适配各种屏幕尺寸和设备\n- 🚀 **懒加载优化**：高效的图片和内容懒加载\n- 🎭 **视口检测**：精确的元素可见性检测\n- 🏗️ **贴顶检测**：检测元素是否达到指定位置\n- 🌐 **浏览器兼容性**：自动降级支持旧版浏览器\n\n## 浏览器兼容性\n\n| 浏览器 | 版本要求 | 支持状态 |\n|--------|----------|----------|\n| Chrome | 51+ | ✅ 原生支持 |\n| Firefox | 55+ | ✅ 原生支持 |\n| Safari | 12.1+ | ✅ 原生支持 |\n| Edge | 79+ | ✅ 原生支持 |\n| IE | 11 | ✅ 降级支持 |\n| 旧版浏览器 | - | ✅ 降级支持 |\n\n### 降级策略\n\n对于不支持 `IntersectionObserver` 的浏览器（如 IE 11），库会自动使用谷歌提供的标准 `intersection-observer` polyfill：\n\n- **原生支持**：使用 `IntersectionObserver` API，性能最佳\n- **降级支持**：使用标准的 `intersection-observer` polyfill，提供完整的 API 兼容性\n- **功能一致性**：无论使用哪种方案，都提供相同的功能和 API\n- **可靠性**：使用经过充分测试的官方 polyfill，确保稳定性和兼容性\n\n## 安装\n\n```bash\n# 使用 npm\nnpm install @fly4react/observer intersection-observer\n\n# 使用 yarn\nyarn add @fly4react/observer intersection-observer\n\n# 使用 pnpm\npnpm add @fly4react/observer intersection-observer\n```\n\n> **注意**：`intersection-observer` 是 peer dependency，需要单独安装以确保在不支持 IntersectionObserver 的浏览器中正常工作。如果项目中已经安装了其他使用该 polyfill 的库（如 ahooks），则无需重复安装。\n\n## 🚀 使用方法\n\n### IntersectionLoad 组件\n\n#### 基础使用\n\n```tsx\nimport { IntersectionLoad } from '@fly4react/observer';\n\nfunction App() {\n  return (\n    <div>\n      <IntersectionLoad \n        style={{ height: 200 }}\n        placeholder={<div>Loading...</div>}\n        threshold={0.5} // 50% 可见时触发\n        offset={100}\n      >\n        <img src=\"large-image.jpg\" alt=\"Large Image\" />\n      </IntersectionLoad>\n    </div>\n  );\n}\n```\n\n#### 语义化阈值\n\n```tsx\nimport { IntersectionLoad } from '@fly4react/observer';\n\nfunction App() {\n  return (\n    <div>\n      {/* 任何部分可见时触发 */}\n      <IntersectionLoad \n        style={{ height: 200 }}\n        placeholder={<div>Loading...</div>}\n        threshold=\"any\"\n      >\n        <img src=\"image1.jpg\" alt=\"Image 1\" />\n      </IntersectionLoad>\n\n      {/* 顶部可见时触发 */}\n      <IntersectionLoad \n        style={{ height: 200 }}\n        placeholder={<div>Loading...</div>}\n        threshold=\"top\"\n      >\n        <img src=\"image2.jpg\" alt=\"Image 2\" />\n      </IntersectionLoad>\n    </div>\n  );\n}\n```\n\n#### 一次性触发\n\n```tsx\nimport { IntersectionLoad } from '@fly4react/observer';\n\nfunction App() {\n  return (\n    <div>\n      <IntersectionLoad \n        style={{ height: 200 }}\n        placeholder={<div>Loading...</div>}\n        threshold=\"any\"\n        once={true} // 只触发一次\n        onChange={(isVisible) => {\n          if (isVisible) {\n            console.log('元素可见，只会触发一次');\n          }\n        }}\n      >\n        <img src=\"image.jpg\" alt=\"Image\" />\n      </IntersectionLoad>\n    </div>\n  );\n}\n```\n\n#### 动态控制监听\n\n```tsx\nimport { IntersectionLoad } from '@fly4react/observer';\nimport { useState } from 'react';\n\nfunction App() {\n  const [isActive, setIsActive] = useState(true);\n\n  return (\n    <div>\n      <button onClick={() => setIsActive(!isActive)}>\n        {isActive ? 'Disable' : 'Enable'} Lazy Loading\n      </button>\n      \n      <IntersectionLoad \n        style={{ height: 200 }}\n        placeholder={<div>Loading...</div>}\n        threshold=\"any\"\n        active={isActive}\n      >\n        <img src=\"image.jpg\" alt=\"Image\" />\n      </IntersectionLoad>\n    </div>\n  );\n}\n```\n\n#### 使用 onChange 回调\n\n```tsx\nimport { IntersectionLoad } from '@fly4react/observer';\nimport { useState } from 'react';\n\nfunction App() {\n  const [visibilityCount, setVisibilityCount] = useState(0);\n\n  return (\n    <div>\n      <p>可见性变化次数: {visibilityCount}</p>\n      \n      <IntersectionLoad \n        style={{ height: 200 }}\n        placeholder={<div>Loading...</div>}\n        threshold=\"any\"\n        onChange={(isVisible) => {\n          if (isVisible) {\n            setVisibilityCount(prev => prev + 1);\n          }\n        }}\n      >\n        <img src=\"image.jpg\" alt=\"Image\" />\n      </IntersectionLoad>\n    </div>\n  );\n}\n```\n\n#### 自定义根容器\n\n```tsx\nimport { IntersectionLoad } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction App() {\n  const containerRef = useRef<HTMLDivElement>(null);\n\n  return (\n    <div>\n      <div \n        ref={containerRef} \n        style={{ height: '400px', overflow: 'auto', border: '1px solid #ccc' }}\n      >\n        <div style={{ height: '800px' }}>\n          <IntersectionLoad \n            style={{ height: 200 }}\n            placeholder={<div>Loading...</div>}\n            threshold=\"any\"\n            root={containerRef.current}\n          >\n            <img src=\"image.jpg\" alt=\"Image\" />\n          </IntersectionLoad>\n        </div>\n      </div>\n    </div>\n  );\n}\n```\n\n### Hooks\n\n#### useIntersectionObserver\n\n```tsx\nimport { useIntersectionObserver } from '@fly4react/observer';\nimport { useRef, useState } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const [isVisible, setIsVisible] = useState(false);\n  \n  useIntersectionObserver(\n    ref,\n    (entry) => {\n      setIsVisible(entry.isIntersecting);\n      console.log('滚动方向:', entry.scrollDirection);\n      console.log('交叉比例:', entry.intersectionRatio);\n    },\n    {\n      threshold: 0.5,\n      rootMargin: '0px 0px -100px 0px'\n    }\n  );\n\n  return (\n    <div ref={ref} style={{ height: '200px', background: 'lightblue' }}>\n      {isVisible ? '可见' : '不可见'}\n    </div>\n  );\n}\n```\n\n#### useOneOffVisibility\n\n```tsx\nimport { useOneOffVisibility } from '@fly4react/observer';\nimport { useRef, useState } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const [shouldObserve, setShouldObserve] = useState(true);\n  \n  // 基本用法\n  const isVisible = useOneOffVisibility(ref);\n  \n  // 使用 enable 控制是否观察\n  const isVisible2 = useOneOffVisibility(ref, { \n    threshold: 0.5, \n    offset: 100, \n    enable: shouldObserve \n  });\n\n  return (\n    <div>\n      <button onClick={() => setShouldObserve(!shouldObserve)}>\n        {shouldObserve ? '停止观察' : '开始观察'}\n      </button>\n      <div ref={ref} style={{ height: '200px', background: 'lightblue' }}>\n        {isVisible ? '已可见' : '未可见'}\n      </div>\n    </div>\n  );\n}\n```\n\n#### useOneOffVisibilityEffect\n\n```tsx\nimport { useOneOffVisibilityEffect } from '@fly4react/observer';\nimport { useRef, useState } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const [shouldObserve, setShouldObserve] = useState(true);\n\n  // 懒加载数据\n  useOneOffVisibilityEffect(ref, () => {\n    console.log('元素已可见，开始加载数据');\n    loadData();\n  }, { threshold: 0.5 });\n\n  // 使用 enable 控制是否观察\n  useOneOffVisibilityEffect(ref, () => {\n    elementRef.current?.classList.add('animate-in');\n  }, { \n    threshold: 0.1, \n    offset: 100, \n    enable: shouldObserve \n  });\n\n  // 发送分析事件\n  useOneOffVisibilityEffect(ref, () => {\n    analytics.track('element_viewed', { elementId: 'hero-section' });\n  }, { threshold: 0.8, offset: 200 });\n\n  return (\n    <div>\n      <button onClick={() => setShouldObserve(!shouldObserve)}>\n        {shouldObserve ? '停止观察' : '开始观察'}\n      </button>\n      <div ref={ref} style={{ height: '200px', background: 'lightblue' }}>\n        内容\n      </div>\n    </div>\n  );\n}\n```\n\n#### useScrollDirection\n\n```tsx\nimport { useScrollDirection } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const { scrollDirection, isScrolling } = useScrollDirection(ref, {\n    step: 0.1,\n    throttle: 100\n  });\n\n  return (\n    <div ref={ref} style={{ height: '200px', background: 'lightblue' }}>\n      <div>滚动方向: {scrollDirection}</div>\n      <div>是否滚动中: {isScrolling ? '是' : '否'}</div>\n    </div>\n  );\n}\n```\n\n#### useElementPosition\n\n```tsx\nimport { useElementPosition } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const position = useElementPosition(ref, {\n    step: 0.1, // 每 10% 触发一次\n    throttle: 16, // 60fps\n    forceCalibrate: true, // 强制校准\n    calibrateInterval: 5000 // 每5秒校准一次\n  });\n\n  return (\n    <div>\n      <div ref={ref} style={{ height: '100px', background: 'lightblue' }}>\n        Tracked Element\n      </div>\n      {position && (\n        <div>\n          <p>交叉比例: {(position.intersectionRatio * 100).toFixed(1)}%</p>\n          <p>是否相交: {position.isIntersecting ? '是' : '否'}</p>\n          <p>位置: ({position.boundingClientRect.x.toFixed(2)}, {position.boundingClientRect.y.toFixed(2)})</p>\n          <p>尺寸: {position.boundingClientRect.width.toFixed(2)} × {position.boundingClientRect.height.toFixed(2)}</p>\n        </div>\n      )}\n    </div>\n  );\n}\n```\n\n#### useElementPositionRef\n\n```tsx\nimport { useElementPositionRef } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const positionRef = useElementPositionRef(ref, {\n    step: 0.1, // 每 10% 触发一次\n    throttle: 16, // 60fps\n    forceCalibrate: true, // 强制校准\n    calibrateInterval: 5000 // 每5秒校准一次\n  });\n\n  // 事件处理函数示例：获取实时位置信息\n  const handleClick = () => {\n    if (positionRef.current) {\n      console.log('元素位置:', positionRef.current.boundingClientRect);\n      console.log('交叉比例:', positionRef.current.intersectionRatio);\n      console.log('是否相交:', positionRef.current.isIntersecting);\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={handleClick}>获取位置信息</button>\n      <div ref={ref} style={{ height: '100px', background: 'lightblue' }}>\n        Tracked Element\n      </div>\n    </div>\n  );\n}\n```\n\n> **注意**：`useElementPositionRef` 与 `useElementPosition` 功能相同，但使用 `useRef` 存储位置信息，不会触发组件重新渲染。适用于需要实时获取元素位置但不想影响渲染性能的场景。\n\n#### useLazyElementPositionRef\n\n延迟计算元素位置的 Hook，只在用户主动调用时才计算位置信息。\n\n```tsx\nimport { useLazyElementPositionRef } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const getPosition = useLazyElementPositionRef(ref, {\n    step: 0.1, // 每 10% 触发一次\n    throttle: 16, // 60fps\n    forceCalibrate: true, // 强制校准\n    calibrateInterval: 5000 // 每5秒校准一次\n  });\n\n  const handleClick = () => {\n    const position = getPosition();\n    if (position) {\n      console.log('元素位置:', position.boundingClientRect);\n      console.log('交叉比例:', position.intersectionRatio);\n      console.log('滚动位置:', { x: position.scrollX, y: position.scrollY });\n    } else {\n      console.log('位置信息尚未可用');\n    }\n  };\n\n  return (\n    <div>\n      <div ref={ref}>被跟踪的元素</div>\n      <button onClick={handleClick}>获取位置信息</button>\n    </div>\n  );\n}\n```\n\n> **注意**：`useLazyElementPositionRef` 是 `useElementPositionRef` 的 lazy 版本，不实时计算位置信息，而是返回一个 callback 函数。只有当用户主动调用 callback 时，才会计算并返回位置信息。适用于需要按需获取元素位置信息的场景，可以进一步减少计算开销。\n\n#### useBoundingClientRect\n\n```tsx\nimport { useBoundingClientRect } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const boundingRect = useBoundingClientRect(ref, {\n    step: 0.1, // 每 10% 触发一次\n    throttle: 16 // 60fps\n  });\n\n  return (\n    <div>\n      <div ref={ref} style={{ height: '100px', background: 'lightblue' }}>\n        Tracked Element\n      </div>\n      {boundingRect && (\n        <div>\n          <p>元素位置: ({boundingRect.x.toFixed(2)}, {boundingRect.y.toFixed(2)})</p>\n          <p>元素尺寸: {boundingRect.width.toFixed(2)} × {boundingRect.height.toFixed(2)}</p>\n          <p>元素边界: 左{boundingRect.left.toFixed(2)}, 上{boundingRect.top.toFixed(2)}, 右{boundingRect.right.toFixed(2)}, 下{boundingRect.bottom.toFixed(2)}</p>\n        </div>\n      )}\n    </div>\n  );\n}\n```\n\n#### useIntersectionRatio\n\n```tsx\nimport { useIntersectionRatio } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  const ratio = useIntersectionRatio(ref, {\n    step: 0.1, // 每 10% 触发一次\n    throttle: 16 // 60fps\n  });\n\n  return (\n    <div>\n      <div ref={ref} style={{ height: '100px', background: 'lightblue' }}>\n        Tracked Element\n      </div>\n      <p>交叉比例: {ratio !== undefined ? `${(ratio * 100).toFixed(1)}%` : '未计算'}</p>\n    </div>\n  );\n}\n```\n\n\n\n#### useElementDetector\n\n```tsx\nimport { useElementDetector } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const ref = useRef<HTMLDivElement>(null);\n  \n  // 默认贴顶检测\n  const isCeiling = useElementDetector(ref);\n  \n  // 自定义条件检测，使用细致的 threshold 配置\n  const isCustom = useElementDetector(ref, {\n    compute: (rect) => rect.top <= 50 && rect.bottom >= 100,\n    step: 0.1, // 每 10% 触发一次\n    throttle: 16, // 60fps\n    forceCalibrate: true, // 强制校准\n    calibrateInterval: 3000 // 每3秒校准一次\n  });\n  \n  // 使用自定义 threshold 数组\n  const isInCenter = useElementDetector(ref, {\n    compute: (rect) => {\n      const viewportHeight = window.innerHeight;\n      const centerY = viewportHeight / 2;\n      const elementCenter = rect.top + rect.height / 2;\n      const tolerance = 50;\n      return Math.abs(elementCenter - centerY) <= tolerance;\n    },\n    threshold: [0, 0.25, 0.5, 0.75, 1], // 自定义阈值\n    throttle: 32 // 30fps\n  });\n\n  return (\n    <div>\n      <div \n        ref={ref} \n        style={{ \n          height: '200px', \n          background: isCeiling ? 'green' : 'lightblue',\n          position: 'sticky',\n          top: 0\n        }}\n      >\n        {isCeiling ? '已贴顶' : '未贴顶'}\n      </div>\n      <div style={{ height: '1000px' }}>\n        <p>贴顶状态: {isCeiling ? '是' : '否'}</p>\n        <p>自定义条件状态: {isCustom ? '满足' : '不满足'}</p>\n        <p>中心区域状态: {isInCenter ? '在中心' : '不在中心'}</p>\n      </div>\n    </div>\n  );\n}\n```\n\n> **注意**：`useElementDetector` 是一个灵活的通用检测器，支持自定义计算逻辑和细致的 threshold 配置。默认检测元素是否贴顶（top ≤ 0），支持 step、threshold、throttle、offset 等配置选项。\n\n#### useIsMounted\n\n```tsx\nimport { useIsMounted } from '@fly4react/observer';\nimport { useRef } from 'react';\n\nfunction MyComponent() {\n  const isMountedRef = useIsMounted();\n  \n  const handleAsyncOperation = async () => {\n    const result = await someAsyncOperation();\n    \n    // 检查组件是否仍然挂载，避免在已卸载的组件上设置状态\n    if (isMountedRef.current) {\n      setData(result);\n    }\n  };\n\n  return (\n    <div>\n      <button onClick={handleAsyncOperation}>\n        执行异步操作\n      </button>\n    </div>\n  );\n}\n```\n\n> **注意**：`useIsMounted` 是一个通用的组件挂载状态管理 Hook，用于防止在组件卸载后执行异步操作。返回一个 ref，其 current 值表示组件是否仍然挂载。\n\n## 📖 API 文档\n\n### IntersectionLoad 组件\n\n#### Props\n\n| 属性 | 类型 | 默认值 | 描述 |\n|------|------|--------|------|\n| `children` | `ReactNode` | - | 要懒加载的内容 |\n| `placeholder` | `ReactNode` | - | 占位符内容 |\n| `threshold` | `number \\| ThresholdType` | `0.01` | 触发阈值 |\n| `offset` | `number` | `300` | 偏移量（像素） |\n| `style` | `CSSProperties` | - | 容器样式 |\n| `onChange` | `(isVisible: boolean) => void` | - | 可见性变化回调 |\n| `root` | `Element \\| null` | `null` | 自定义根容器 |\n| `once` | `boolean` | - | 是否只触发一次（与 active 互斥） |\n| `active` | `boolean` | - | 是否激活监听（与 once 互斥） |\n\n**注意**：`once` 和 `active` 属性不能同时使用。如果都不传，默认为持续监听模式。\n\n#### ThresholdType\n\n```tsx\ntype ThresholdType = 'any' | 'top' | 'bottom' | 'center';\n```\n\n### Hooks\n\n#### useIntersectionObserver\n\n```tsx\nfunction useIntersectionObserver(\n  ref: RefObject<HTMLElement | null>,\n  callback: (entry: ObserverCallbackParamType) => void,\n  options: ObserverOptions\n): void\n```\n\n#### useOneOffVisibility\n\n```tsx\nfunction useOneOffVisibility(\n  ref: RefObject<HTMLElement | null>,\n  options?: OneOffVisibilityOptions\n): boolean\n```\n\n#### useOneOffVisibilityEffect\n\n```tsx\nfunction useOneOffVisibilityEffect(\n  ref: RefObject<HTMLElement | null>,\n  callback: () => void,\n  options?: OneOffVisibilityOptions\n): void\n```\n\n#### useScrollDirection\n\n```tsx\nfunction useScrollDirection(\n  ref: RefObject<HTMLElement | null>,\n  options?: UseScrollDirectionOptions\n): { scrollDirection: ScrollDirection; isScrolling: boolean }\n```\n\n#### useInViewport\n\n```tsx\nfunction useInViewport(\n  ref: RefObject<HTMLElement | null>\n): boolean\n```\n\n#### useElementPosition\n\n```tsx\nfunction useElementPosition(\n  ref: RefObject<HTMLElement | null>,\n  options?: ElementPositionOptions\n): ElementPosition | null\n```\n\n#### useElementPositionRef\n\n```tsx\nfunction useElementPositionRef(\n  ref: RefObject<HTMLElement | null>,\n  options?: ElementPositionOptions\n): RefObject<ElementPosition | null>\n```\n\n#### useLazyElementPositionRef\n\n```tsx\nfunction useLazyElementPositionRef(\n  ref: RefObject<HTMLElement | null>,\n  options?: ElementPositionOptions\n): () => ElementPosition | null\n```\n\n#### useBoundingClientRect\n\n```tsx\nfunction useBoundingClientRect(\n  ref: RefObject<HTMLElement | null>,\n  options?: ElementPositionOptions\n): DOMRect | null\n```\n\n#### useIntersectionRatio\n\n```tsx\nfunction useIntersectionRatio(\n  ref: RefObject<HTMLElement | null>,\n  options?: ElementPositionOptions\n): number | undefined\n```\n\n#### useElementDetector\n\n```tsx\nfunction useElementDetector(\n  ref: RefObject<HTMLElement | null>,\n  options?: UseElementDetectorOptions\n): boolean\n```\n\n**参数说明：**\n- `options.compute`: 自定义计算函数，接受 boundingClientRect 参数，返回 boolean\n  - 不传参数时，默认检测元素是否贴顶（top ≤ 0）\n  - 传入自定义函数时，使用自定义逻辑进行检测\n- `options.step`: 步长值（0-1之间），用于自动生成 threshold 数组\n- `options.threshold`: 手动指定的 threshold 数组\n- `options.throttle`: 节流时间（毫秒），控制更新频率\n- `options.offset`: 偏移量（像素）\n\n#### useIsMounted\n\n```tsx\nfunction useIsMounted(): RefObject<boolean>\n```\n\n**返回值说明：**\n- 返回一个 ref，其 current 值表示组件是否仍然挂载\n- 用于防止在组件卸载后执行异步操作\n\n## ⚡ 重要行为说明\n\n### 智能位置同步策略\n\n库采用了先进的智能位置同步策略，结合 Intersection Observer 和 scroll 事件，实现最佳性能：\n\n**策略说明：**\n- **元素部分可见时**：依赖 Intersection Observer 自动触发，避免复杂计算\n- **元素完全可见/不可见时**：使用 scroll 事件进行精确位置计算\n- **定期校准**：使用 Intersection Observer 定期校准位置，确保数据准确性\n- **节流控制**：scroll 事件使用节流机制，避免过度计算\n\n**性能优势：**\n- 减少不必要的计算，提升性能\n- 确保位置信息的实时性和准确性\n- 避免 Intersection Observer 的延迟更新问题\n- 智能判断何时需要复杂计算\n\n### 初始 Viewport 状态\n\n当组件一开始就在视口中时，所有基于 Intersection Observer 的 hooks 和组件会**立即触发回调**，而不需要等待滚动事件。这是 Intersection Observer API 的标准行为。\n\n```tsx\n// 如果这个元素一开始就在视口中\nconst position = useElementPosition(ref);\n// position 会立即有值，而不是 null\n\nconst isVisible = useInViewport(ref);\n// isVisible 会立即为 true\n\nconst hasBeenVisible = useOneOffVisibility(ref);\n// hasBeenVisible 会立即为 true\n```\n\n这个特性对以下场景特别有用：\n- 首屏内容的初始状态检测\n- 页面加载时的性能优化\n- 避免不必要的等待和重新渲染\n\n### 内存泄漏防护\n\n所有 hooks 都内置了组件挂载状态跟踪，在组件卸载后自动停止状态更新，防止内存泄漏。\n\n## 🔧 配置选项\n\n### ElementPositionOptions\n\n```tsx\ninterface ElementPositionOptions {\n  threshold?: number | number[];\n  step?: number;\n  throttle?: number;\n  root?: RefObject<Element>;\n  relativeToRoot?: boolean;\n  forceCalibrate?: boolean; // 强制启用校准机制\n  calibrateInterval?: number; // 校准间隔时间（毫秒）\n}\n```\n\n**新增配置选项说明：**\n- **`forceCalibrate`**: 是否强制启用校准机制，确保位置信息的准确性\n- **`calibrateInterval`**: 校准间隔时间（毫秒），定期使用 Intersection Observer 校准位置\n- **`threshold`**: 现在支持 `number | number[]` 类型，更灵活的阈值配置\n\n### OneOffVisibilityOptions\n\n```tsx\ninterface OneOffVisibilityOptions {\n  threshold?: number | number[];\n  step?: number;\n  offset?: number;\n  throttle?: number;\n  enable?: boolean; // 是否启用观察，默认为 true\n}\n```\n\n**配置选项说明：**\n- **`threshold`**: 触发阈值，可以是单个数字或数字数组\n- **`step`**: 步长值（0-1之间），用于自动生成 threshold 数组\n- **`offset`**: 偏移量（像素），用于提前触发\n- **`throttle`**: 节流时间（毫秒），控制更新频率\n- **`enable`**: 是否启用观察，默认为 `true`。当设置为 `false` 时，不会进行观察\n\n### UseScrollDirectionOptions\n\n```tsx\ninterface UseScrollDirectionOptions {\n  threshold?: number[];\n  step?: number;\n  throttle?: number;\n}\n```\n\n## 🎯 与 react-visibility-sensor 的对比\n\n| 功能 | react-visibility-sensor | @fly4react/observer |\n|------|------------------------|------------------------|\n| 部分可见性检测 | ✅ | ✅ |\n| 数值阈值 | ✅ | ✅ |\n| 语义化阈值 | ❌ | ✅ |\n| 自定义根容器 | ❌ | ✅ |\n| 位置跟踪 | ❌ | ✅ |\n| 滚动方向检测 | ❌ | ✅ |\n| TypeScript 支持 | ❌ | ✅ |\n| 现代 API | ❌ | ✅ |\n| 性能优化 | ❌ | ✅ |\n\n## 📄 许可证\n\nMIT\n","readmeFilename":"README.zh.md"}