{"_id":"@akbeniwal/react-native-smart-netinfo","_rev":"13-8c4f8665b7122f988e1d7705de380c8a","name":"@akbeniwal/react-native-smart-netinfo","dist-tags":{"latest":"1.0.12"},"versions":{"1.0.0":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.0","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.0","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"7cf5f7189ffcb890d232810eeb164941465a045e","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.0.tgz","fileCount":27,"integrity":"sha512-fhCpza6udcc/39TvblnG5dbdWkulO/yAiIKDdJqcGETeCQvETSBPzX3UzyWwmOKb5cwB4YuQkAY/fJsYUygZVg==","signatures":[{"sig":"MEQCIEpcRg74gpYVi9wGscrApRvlF6Y1JprP2TQVwfK527XwAiBiWy8g6qw94NuHXpX0xLMxNUfzBdO2GJoOY9Q1J9z1Mg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36257},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.0_1780668046272_0.9239893248574551","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.1","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.1","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"6455bfb3685485f2cb7110280f97f2d89194e02c","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.1.tgz","fileCount":27,"integrity":"sha512-IhshTTFp5hnEqGSI4YI4QM9slMUeEAx/hu1Hezri2CS4vvnbGoLNrqNo3F0nCF8Arc7EEEkUw2i1+uQ5UZLMTw==","signatures":[{"sig":"MEYCIQDr3BmlK9eSmPYpTpvJMsvgLQCCRnZCM16FyVY9zlYAwwIhAP37fYZtKX/Hu05BxqByUkFptktGg66A5p5tfi/zB9R6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":36312},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"0900e14869e0dc97ca291f0d18078dced3a1a6f3","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.1_1780671625134_0.716729050522926","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.2","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.2","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"6dbe5ac3693f9eff3446bb425ecd1a9687be354d","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.2.tgz","fileCount":27,"integrity":"sha512-oyWVTuUZG2yr8+bueGC26X9+zdt9BsinmQpurhD4nUnPxNLQBZy10G12fRxLpLbo7XqnAX2y2jVQf1TfMK2Icw==","signatures":[{"sig":"MEYCIQDymyXGetvSYu/Kkg5P2CGW2dt3ikZ+TGG8gjx+7+c+/gIhAKvyI9UKpJM0ZQK+h2tlSO50dYYvnrlBEpxeLDLkdB/p","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":38782},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.2_1780672974449_0.725831241314032","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.3","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.3","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"d281e9fb109aae930de2ea26e6a943aca481b528","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.3.tgz","fileCount":27,"integrity":"sha512-6a97kF/drd2G01zNRW8V1DnBabZIvHbX6po/Binoo9KarYUv0lXNwTpDCGgukCMzVL8SCFdJTNpOis+KjbEDDA==","signatures":[{"sig":"MEUCIFfRZ3B3ZqJYvHlF572EOH6zGQzgzEloOA3nloQRgZKpAiEAxURAFE0eUbGTSfhul8wLOQ8QYOD0u1LQSTMst4XZVF0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41224},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.3_1780739395146_0.3581869371807471","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.4","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.4","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"23238e1abe3f80d40ccb8e042af49b27fb561f0c","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.4.tgz","fileCount":38,"integrity":"sha512-pQioqGqvWYnP+8WvTLq5sytZmNRDt7eQmE6Nrq/q1CO8oc+WkJUnQ7SX59UwZ1ff4MW5tGFtGTbfODS/VrTWfw==","signatures":[{"sig":"MEUCIQDeZSowPO8fz8SYJD7JkQC4f+R50GSYkJAt2DmLXCzP0gIgJSJU2Ks7zAgNt51wMmTpuAoYVw+VFD1yG93w8jFn8x0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54393},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"ReactNativeSmartNetinfoSpec","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.4_1780743430732_0.5764046123693933","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.5","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.5","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"87928d501b45a9205c6522840fc6a0cae9631ed8","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.5.tgz","fileCount":45,"integrity":"sha512-YoZhbd7Wtjuyn+mk0koAyBoEknXQw+kOWD35AzLwGOH3wiTz1di4mpDah0wUZ885Bgg7DGgu7Vh+itMkjt/nXw==","signatures":[{"sig":"MEQCIQCIxBN6Sgg9/9ACYkKuCVu4iieF/VzenMgxyffjoJDcdgIffXT8RTkVhbcHevPOCpTtU4gUf2LBv4Zpzd8uWT+8+A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71476},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"ReactNativeSmartNetinfoSpec","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.5_1780743682158_0.843654360187877","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.6","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.6","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"7d0862b20fec9603cae5a809a714ec2f5ae6c58c","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.6.tgz","fileCount":45,"integrity":"sha512-/QxYSJ0qVDMbgnZITgp2FAAyqyqBkyKBLoRxgTupGCzvKFncH4BB6ftUmPTYVdi+u/Kl/drzHwoN6rnJ/IdeXQ==","signatures":[{"sig":"MEUCIQDncC7sMpc5y+DViG70TBUTZ6kP9OukgRpaqBBwDawltQIgfSXUEe4aXz8TS48/eyydAeC+1OlZbrsFQc1Emi71GJA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71421},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"ReactNativeSmartNetinfoSpec","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.6_1780744951806_0.503974916184841","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.7","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.7","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"969e3e48a2ec07ef34e50d4c013575ea4c5662ae","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.7.tgz","fileCount":45,"integrity":"sha512-t/ODT5Y2aoxyTqKc5GvpLkWLUEY016s+ISYf5lx0kN7d4EsVdeni7tdMjPJ9TqrPa8Bi/LEq1EKbq34kxmsVTA==","signatures":[{"sig":"MEUCIDRDDBnrAU1hwDdRrEtQp0KqCwAAeLpfxVJY+ILhGviXAiEApMKx4bve2Una/BRIteKXaGSIcnsrWrxAt7wiqHblgoM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71417},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"ReactNativeSmartNetinfoSpec","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.7_1780746733431_0.44194755148428944","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.8","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.8","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"31c98c69af219b99f0ba5f85d436f066c32f45d5","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.8.tgz","fileCount":45,"integrity":"sha512-FtlqD7ym8watAom1ScLNUZHKscaIMYGgCdodrOZnxbmNgu+2rxpx7w1mIog1VAxFJRd8Bo4df87J9t3s7Otr2Q==","signatures":[{"sig":"MEYCIQCBpW4VXpvYGTjRCbxuvBcMpklmXW6Erheui+BYdugGLwIhAI2uJMcVDrbz9SICI/0BiaJ5ApfDjUGyPe8An0629HEi","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72184},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"ReactNativeSmartNetinfoSpec","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.8_1780750211101_0.06945134565488931","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.9","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.9","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"47f3b7fac490286fa8ec693467ca5b188facfb89","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.9.tgz","fileCount":45,"integrity":"sha512-Nz9y4AYSoWnk2BRvDdJni04nzPzKyG5ZH+jrX9ghBLuXPRZafUWk8jUqtvGQYriB8LHvkVXVLRJoNSWt9pFaTQ==","signatures":[{"sig":"MEUCIHY/gWNQDHNtrscKyLhVqrJLMOv3qK2Q8m9R4SCf/byoAiEAmyLGIhtqcbN5SQI8RMOd6ZelmWq041qOzV4TM1+wlnM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73499},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"AKBeniwalNativeReactNativeSmartNetinfo","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.9_1780757174792_0.4072891584327081","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.10","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.10","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"d984c79079099dc24ad533d4aff1527e737083e9","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.10.tgz","fileCount":45,"integrity":"sha512-cBhF4IThJVOIMwLJYnk/ai+c0bPFywJAqnyLtEnL4qtJlQj9+8TK2IA10QG/aD/xwEqaxMzp4hwLbiMv4bTtYQ==","signatures":[{"sig":"MEQCIFM63V8BcpfFj0mFkWBrKS3rL/Abg3CAV1dPb2MbmeSBAiBfg5pAiyemlkBGQSF4Gt1yTYplSPqmfikn2nGL57ssGw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73515},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"AKBeniwalNativeReactNativeSmartNetinfo","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.10_1780757695033_0.2541556752434724","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.11","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","_id":"@akbeniwal/react-native-smart-netinfo@1.0.11","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"dist":{"shasum":"6e85990171859e7ec09f102dff6c13dea8752417","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.11.tgz","fileCount":45,"integrity":"sha512-4fM5OMmSikJj8Jb+yylKPoK2c2SVCXe+7WKyLLsavzlKv6Due7Fp8+2mI4uVhVhnpohuFNaCse3Xzc/sqg3O+Q==","signatures":[{"sig":"MEUCIC1xpMkVtPEIjIwrWB/rs377v3sgCsPeiuByPi5gdKjXAiEAj0kRApxm+u7ENfFKERou5bme9ZFWY2yfZnECDhFiIbI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73491},"main":"dist/index.js","types":"dist/index.d.ts","engines":{"node":">=18"},"gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","scripts":{"build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"repository":{"url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git","type":"git"},"_npmVersion":"10.9.8","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","directories":{},"_nodeVersion":"22.22.3","codegenConfig":{"name":"AKBeniwalReactNativeSmartNetinfo","type":"modules","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"},"jsSrcsDir":"src"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.2.7","typescript":"^6.0.3","@types/react":"^19.2.16","react-native":"^0.85.3"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"_npmOperationalInternal":{"tmp":"tmp/react-native-smart-netinfo_1.0.11_1780758523991_0.7802350643031697","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@akbeniwal/react-native-smart-netinfo","version":"1.0.12","description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","main":"dist/index.js","types":"dist/index.d.ts","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"author":{"name":"Abhishek Beniwal"},"license":"MIT","homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","repository":{"type":"git","url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git"},"bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"scripts":{"build":"tsc","prepare":"npm run build"},"peerDependencies":{"react":">=18.0.0","react-native":">=0.72.0"},"devDependencies":{"@types/react":"^19.2.16","react":"^19.2.7","react-native":"^0.85.3","typescript":"^6.0.3"},"engines":{"node":">=18"},"codegenConfig":{"name":"AKBeniwalReactNativeSmartNetinfo","type":"modules","jsSrcsDir":"src","android":{"javaPackageName":"com.akbeniwal.reactnativesmartnetinfo"}},"_id":"@akbeniwal/react-native-smart-netinfo@1.0.12","gitHead":"80e9fd43657e58a89b590c9f519939c28db74a86","_nodeVersion":"22.22.3","_npmVersion":"10.9.8","dist":{"integrity":"sha512-mly7xshB4I4C6JFGmy2YkHVtvEj+4OrTfxUWQuO3suso1mIBStnluccPKlDuHHkMYDuu1Im10P6b5xL8theEvw==","shasum":"5f18f67c25cd10b6bd22bd9126dda7832f5d8bac","tarball":"https://registry.npmjs.org/@akbeniwal/react-native-smart-netinfo/-/react-native-smart-netinfo-1.0.12.tgz","fileCount":45,"unpackedSize":73704,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAFP19mHyPp/BLOD/ze8bHSACqvcTYPb3atGXauj0SbSAiEAhrZ1vk3H7jGvvH5fdT/whXOfT2GD28meK9gritvvwbw="}]},"_npmUser":{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"},"directories":{},"maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-native-smart-netinfo_1.0.12_1780759153638_0.3406288138831426"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-05T14:00:46.072Z","modified":"2026-06-06T15:19:13.898Z","1.0.0":"2026-06-05T14:00:46.410Z","1.0.1":"2026-06-05T15:00:25.268Z","1.0.2":"2026-06-05T15:22:54.606Z","1.0.3":"2026-06-06T09:49:55.284Z","1.0.4":"2026-06-06T10:57:10.886Z","1.0.5":"2026-06-06T11:01:22.305Z","1.0.6":"2026-06-06T11:22:31.931Z","1.0.7":"2026-06-06T11:52:13.585Z","1.0.8":"2026-06-06T12:50:11.239Z","1.0.9":"2026-06-06T14:46:14.934Z","1.0.10":"2026-06-06T14:54:55.173Z","1.0.11":"2026-06-06T15:08:44.173Z","1.0.12":"2026-06-06T15:19:13.782Z"},"bugs":{"url":"https://github.com/AKBeniwal1700/react-native-smart-netinfo/issues"},"author":{"name":"Abhishek Beniwal"},"license":"MIT","homepage":"https://github.com/AKBeniwal1700/react-native-smart-netinfo#readme","keywords":["react-native","netinfo","network","internet","connectivity","latency","speed-test","ping","network-monitor","react-native-netinfo","offline","online","internet-speed","smart-netinfo"],"repository":{"type":"git","url":"git+https://github.com/AKBeniwal1700/react-native-smart-netinfo.git"},"description":"A lightweight smart network monitoring library for React Native with internet reachability, latency monitoring, connection quality detection and speed testing.","maintainers":[{"name":"akbeniwal","email":"abhishekbeniwal363@gmail.com"}],"readme":"# 🚀 @akbeniwal/react-native-smart-netinfo\n\nA completely **Hybrid**, intelligent, and robust network monitoring library for React Native. It tracks internet reachability, network types (Wi-Fi/Cellular), measures real latency (Ping), and can perform bandwidth speed tests.\n\nBy leveraging **Native iOS/Android OS Events** combined with a **JavaScript Polling Fallback**, it guarantees **Zero Battery Drain** while offline, while maintaining bulletproof real-time connection status when online.\n\n---\n\n## ✨ Features\n\n- 🔋 **Zero Battery Drain (Offline):** When the OS reports the device as offline, the JS polling stops completely, saving battery.\n- 📡 **Network Type Detection:** Identifies whether the user is on **`wifi`**, **`cellular`**, or **`none`**.\n- 🌐 **Bulletproof Online Check:** Even if the OS says \"Connected\", the library pings a reliable server in the background to verify _actual_ internet reachability.\n- ⚡ **Real-time Latency (Ping):** Accurately tracks connection speed in milliseconds.\n- 📶 **Connection Quality:** Automatically classifies the connection as `'poor' | 'good' | 'excellent'`.\n- 🚀 **Manual/Auto Speed Testing:** Estimate actual download throughput (Mbps) by downloading a configurable asset.\n- 📱 **Hybrid Architecture:** Built natively using `NWPathMonitor` (iOS) and `ConnectivityManager` (Android), seamlessly bridged to JavaScript via TurboModules/Codegen.\n\n---\n\n## 📦 Installation\n\n```bash\n# Using npm\nnpm install @akbeniwal/react-native-smart-netinfo\n\n# Using yarn\nyarn add @akbeniwal/react-native-smart-netinfo\n```\n\n### iOS Setup\n\nThis package uses advanced Native Codegen. You **must** run CocoaPods:\n\n```bash\ncd ios\npod install\ncd ..\n```\n\n_(Android is auto-linked, no extra steps required)._\n\n---\n\n## 💻 Usage\n\n### 1. Basic Setup & Event Subscription\n\nYou can subscribe to network state changes anywhere in your code. The most common place is your root `App.tsx` or a global state manager.\n\n```typescript\nimport {\n  SmartNetInfo,\n  NetworkState,\n} from \"@akbeniwal/react-native-smart-netinfo\";\n\n// 1. (Optional) Configure default intervals\nSmartNetInfo.configure({\n  pingIntervalMs: 10000, // Check internet every 10 seconds (Recommended)\n  timeoutMs: 5000, // Max time to wait for a ping response\n  speedTestFileSizeInBytes: 90000,\n  disableAutoSpeedTest: true, // Set to true to prevent random data usage\n});\n\n// 2. Subscribe to live changes\nconst unsubscribe = SmartNetInfo.addEventListener((state: NetworkState) => {\n  console.log(\"Connected to Router/Tower?\", state.isConnected);\n  console.log(\"Actual Internet Reachable?\", state.isInternetReachable);\n  console.log(\"Network Type:\", state.type); // 'wifi' | 'cellular' | 'none'\n  console.log(\"Latency (ms):\", state.latencyMs);\n  console.log(\"Quality:\", state.connectionQuality); // 'excellent' | 'good' | 'poor'\n});\n\n// Remember to unsubscribe when your component unmounts\n// unsubscribe();\n```\n\n---\n\n### 2. Manual Network Verification & Speed Tests\n\nIf you want to manually force an immediate connectivity check (for example, right before a user clicks \"Submit Payment\"), you can use `fetch()`.\n\n```tsx\nimport React, from 'react';\nimport { View, Button, Alert } from 'react-native';\nimport { SmartNetInfo } from '@akbeniwal/react-native-smart-netinfo';\n\nexport default function CheckoutScreen() {\n\n  const handlePayment = async () => {\n    // Force an immediate check before critical operations\n    const state = await SmartNetInfo.fetch();\n\n    if (!state.isInternetReachable) {\n      Alert.alert('Error', 'No active internet connection. Please try again.');\n      return;\n    }\n\n    if (state.type === 'cellular' && state.connectionQuality === 'poor') {\n      Alert.alert('Warning', 'Your cellular connection is very poor. Payment might fail.');\n    }\n\n    // Process payment...\n  };\n\n  const testSpeed = async () => {\n    // Only run this manually when the user clicks a button!\n    const mbps = await SmartNetInfo.runSpeedTest();\n    Alert.alert('Download Speed', `Your speed is approx ${mbps} Mbps`);\n  };\n\n  return (\n    <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>\n      <Button title=\"Pay Now\" onPress={handlePayment} />\n      <Button title=\"Run Speed Test\" onPress={testSpeed} />\n    </View>\n  );\n}\n```\n\n---\n\n## 📖 API Reference\n\n### `SmartNetInfo.configure(config: Partial<SmartNetInfoConfig>): void`\n\nCustomizes default settings. Calling this while monitoring is active will seamlessly restart the polling loop with the new configurations.\n\n### `SmartNetInfo.fetch(): Promise<NetworkState>`\n\nForces an immediate background network check and returns a Promise with the latest accurate `NetworkState`.\n\n### `SmartNetInfo.addEventListener(listener: NetworkStateListener): () => void`\n\nSubscribes a callback to receive real-time network changes. Calling this automatically activates the native OS listeners and JS background loop. Returns an `unsubscribe` function.\n\n### `SmartNetInfo.runSpeedTest(): Promise<number | null>`\n\nInitiates a manual speed test. It updates the state's `internetSpeed` and `isTestingSpeed` flags in real-time, and resolves with the final Mbps value.\n\n---\n\n## ⚠️ Critical Safety & Usage Warnings\n\nPlease read these warnings carefully before integrating the package into your production app.\n\n> [!CAUTION]\n> **Avoid Aggressive Polling:**\n> By default, the `pingIntervalMs` is set to `10000` (10 seconds). Do **NOT** set this to less than 5 seconds. Pinging too aggressively (e.g., every 1 second) will cause massive battery drain, thermal throttling, and may get your app rate-limited by the DNS/Ping server.\n\n> [!WARNING]\n> **Beware of Data Consumption:**\n> The `runSpeedTest()` function physically downloads a file (default 90KB) to calculate Mbps. **NEVER** run this inside a fast `useEffect` loop or on every screen load. It will rapidly consume the user's mobile data quota.\n\n> [!IMPORTANT]\n> **Native Rebuilds are Mandatory:**\n> Because this package relies on Native C++ (iOS) and Kotlin (Android) code, simply reloading Metro (pressing `r`) is **NOT** enough after installation or updates.\n> You **MUST** run `pod install` in the `ios` directory, and perform a completely **Clean Build** via Xcode or Android Studio. If you don't rebuild natively, the app will crash or return `type: \"unknown\"`.\n\n---\n\n## 🏷️ TypeScript Types\n\n```typescript\nexport type NetworkType = \"wifi\" | \"cellular\" | \"none\" | \"unknown\";\nexport type ConnectionQuality = \"poor\" | \"good\" | \"excellent\";\n\nexport interface NetworkState {\n  isConnected: boolean | null;\n  isInternetReachable: boolean | null;\n  type: NetworkType;\n  latencyMs: number | null;\n  connectionQuality: ConnectionQuality | null;\n  internetSpeed: number | null;\n  isTestingSpeed: boolean;\n}\n\nexport interface SmartNetInfoConfig {\n  pingIntervalMs?: number;\n  timeoutMs?: number;\n  speedTestFileSizeInBytes?: number;\n  disableAutoSpeedTest?: boolean;\n}\n```\n\n---\n\n## 📜 License\n\nMIT © akbeniwal\n\n---\n\n## 👨‍💻 Author\n\n**Abhishek Beniwal**\n\n- NPM: [@akbeniwal](https://www.npmjs.com/~akbeniwal)\n","readmeFilename":"README.md"}