{"_id":"@astroha/super-hooks","_rev":"10-13d4d1e92f20517718a292a7f1c5646b","name":"@astroha/super-hooks","dist-tags":{"latest":"1.2.6"},"versions":{"1.0.0":{"name":"@astroha/super-hooks","version":"1.0.0","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.0.0","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"dist":{"shasum":"abe49bbdf0fb4c8f5daa7f0ea6a7f8ba258a1e0f","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.0.0.tgz","fileCount":3,"integrity":"sha512-zdmSQ3u1Fy8cSwA4BqU3lkh7FsmHQtdT6oNenLDdN3c8A+4W8C8eRay+HAjV6+eRoRZWG+iVO5UZVgoqYzyOrQ==","signatures":[{"sig":"MEUCIAbi2lfcbaCeh2P6vHc2sd6+2f/I/Tr2uvZNcRCFTR9/AiEAmckauYxHdV2PZqnIvG6oMl1+4c/gdsPr4o17A4KHfu8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1325},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.m.mts","import":"./dist/index.mjs"}},"gitHead":"c38c7e91318f9ed72a743db14c6593aa9357fb6e","scripts":{"build":"tsup"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"_npmVersion":"10.9.0","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.0.0_1746598683257_0.9310177040987275","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@astroha/super-hooks","version":"1.0.1","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.0.1","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"dist":{"shasum":"286edc72c33ef68cc4d5f7fb126ce61b5c570e0f","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.0.1.tgz","fileCount":4,"integrity":"sha512-Sq0qNTPRfFe5h+ogGGyg6RrcAkvHMReG14O32RvJ6E1m54A8nkuNVzhwCWu+k14JEnjbL0wbiRW9xE4VbO3UTg==","signatures":[{"sig":"MEUCIQC6xl9uLCQTxsLiqwDuKTIkOIHazI63wiL9WKxgwH85HAIgGxyjZF1d5C+ROV6og8MaoApLrVi+4kPXP3toPnesW7M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2393},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.m.mts","import":"./dist/index.mjs"}},"gitHead":"7da2e8672993a08c6a14e5d290eb12ab8bcb7c63","scripts":{"build":"tsup"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"_npmVersion":"10.9.0","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.0.1_1746599389976_0.5333489721691214","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@astroha/super-hooks","version":"1.1.0","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.1.0","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"dist":{"shasum":"28af11816111b2bf17f46e63c6e0c3c38a539c04","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.1.0.tgz","fileCount":6,"integrity":"sha512-R/Qbn6P8h25jDir8bJQjlt30kMMJfEBbzUnjv8G7TOhmSHUaCHcCWnCURhQ7x8sSIqvQvL2ML6cgnzCJwRy0Nw==","signatures":[{"sig":"MEYCIQDlYhu8hBIbR38FA8TUYz3ydKZlRi0dK+CTc17yCkYnuQIhAIdoSJq0WmEDT3+kU5I+llHoLgGovseatQchp5I5JKWC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3574},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"32d1fc152f0fb5d7d72cdbf9e07c5d223d10c61b","scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"_npmVersion":"10.9.0","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","unbuild":"^3.5.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.1.0_1746603495166_0.4529381831662682","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@astroha/super-hooks","version":"1.2.0","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.2.0","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"dist":{"shasum":"f56de433cfe287d095ce8d9e69d96e4b71f0d877","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.2.0.tgz","fileCount":6,"integrity":"sha512-svpQ6kMZXs3O/X/acKKw1iV2rDS94ZVLm7H5JgPOA3eHVHybdRL/X/iijk8kLwxQEsVRdgIznIGww/wyPqeYUg==","signatures":[{"sig":"MEYCIQC2fdDjIxBDdDNQYvfFNxRH7dDPwC91/mN4chxTa8cVxQIhAMqJoRClEaYQYsuTXmu+plEu8qOoIJgn4zKVa2UEm+ct","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21691},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"32d1fc152f0fb5d7d72cdbf9e07c5d223d10c61b","scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"_npmVersion":"10.9.0","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","unbuild":"^3.5.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.2.0_1746610051740_0.6350783306880259","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@astroha/super-hooks","version":"1.2.1","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.2.1","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"homepage":"https://github.com/haquanganh/super-hooks","bugs":{"url":"https://github.com/haquanganh/super-hooks.git/issues"},"dist":{"shasum":"77eb42d46378a45589068887050ed03b6cbb4735","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.2.1.tgz","fileCount":6,"integrity":"sha512-azIf4z5jyAaGyL8aBVfUDUfm8roadZqLcYlKNdF0fkD9qLU1d3dRE7uXt2psq9eyn/tRnAngT9mkMpLOSkpccQ==","signatures":[{"sig":"MEYCIQDp2BmPf3vMn+VnX6LfyVp4FcoLxMQ2Tsgc7VLx1TrA2QIhAOXbCNSM7YR0ySWt+CDv1iSu0GFlkjZGA3nSCbCk0hIc","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21938},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"d26206085d30504cce6e0a5b256a29065b98785e","scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"repository":{"url":"git+https://github.com/haquanganh/super-hooks.git","type":"git"},"_npmVersion":"10.9.0","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","unbuild":"^3.5.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.2.1_1746610316954_0.461265643199102","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@astroha/super-hooks","version":"1.2.2","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.2.2","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"homepage":"https://github.com/haquanganh/super-hooks","bugs":{"url":"https://github.com/haquanganh/super-hooks.git/issues"},"dist":{"shasum":"90d3c99bb3cf8efc3df8b5aba9220c1af3ff83da","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.2.2.tgz","fileCount":6,"integrity":"sha512-JUDm0ZBdwi91VfdWHti5Ju9xRNxdDcKqv5f7P0XnX0QOkl9pd+xMUX+oZFGM6Cg92xyDxS/cW00WYyNEdfXxoA==","signatures":[{"sig":"MEYCIQDESNVFwcUzGBeY3OsYW+49GhJEL4Do7DY8vbOs2r/R/QIhAPbToyvBHqBo8Dmzs827L9sCw1i3ikAmiRUWv9MsXpg2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21938},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"d26206085d30504cce6e0a5b256a29065b98785e","scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"repository":{"url":"git+https://github.com/haquanganh/super-hooks.git","type":"git"},"_npmVersion":"10.9.0","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","unbuild":"^3.5.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.2.2_1746610877759_0.10085229140624663","host":"s3://npm-registry-packages-npm-production"}},"1.2.3":{"name":"@astroha/super-hooks","version":"1.2.3","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.2.3","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"homepage":"https://github.com/haquanganh/super-hooks","bugs":{"url":"https://github.com/haquanganh/super-hooks.git/issues"},"dist":{"shasum":"96b79451ccad4c63a4f06c021eca38fabd6439e3","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.2.3.tgz","fileCount":7,"integrity":"sha512-yf+5uTO0pGP2/l2bqEFhR2v8EGfOX915GiNd93Y5oi7Asuj4lHb5aa+vQFBsaYw6fN9JASoYYqu3pgbuccFcDQ==","signatures":[{"sig":"MEUCIQCvSWZDYTPvwgijnq+V3KgYVuuMC0IHUoSjXlROW61czwIgP5XHeXN8iSOkIMHqkeKSSu+jrRD7HDBcxeE13cnW0lg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23816},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"abc76e5225de796880194ed5ef7b5b53b3f4bae3","scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"repository":{"url":"git+https://github.com/haquanganh/super-hooks.git","type":"git"},"_npmVersion":"10.9.0","description":"@astroha/super-hooks A lightweight, modern collection of reusable React hooks designed to supercharge your React applications with minimal overhead. Built with TypeScript for type safety and tree-shakable for optimal bundle size, @astroha/super-hooks prov","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","unbuild":"^3.5.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.2.3_1746611028776_0.4972396920528088","host":"s3://npm-registry-packages-npm-production"}},"1.2.4":{"name":"@astroha/super-hooks","version":"1.2.4","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.2.4","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"homepage":"https://github.com/haquanganh/super-hooks","bugs":{"url":"https://github.com/haquanganh/super-hooks.git/issues"},"dist":{"shasum":"286a3d99dc313601f5f2ecef3e4227da05e52215","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.2.4.tgz","fileCount":7,"integrity":"sha512-cIKQg3Vt96OutH1PrsqwY0l8CDD8ef9SQPjMOngCaH7g7B5Ujs59eQpl/vdAEEfWf81BnO1WlBzUNDLDbqH3Vg==","signatures":[{"sig":"MEUCIAxKPrnwvhVgbFrVPM+aMWi0LhoohIjRDZudyWnON9bEAiEA8LxYi3T8vbptx5sc5QzsWLYT8lJ2kc+zcVsn2RaUQzM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25060},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"7737b5a508cd102311a67ed8ea37d8b08b195bcb","scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"repository":{"url":"git+https://github.com/haquanganh/super-hooks.git","type":"git"},"_npmVersion":"10.9.0","description":"A lightweight, modern collection of reusable React hooks designed to supercharge your React applications with minimal overhead. Built with TypeScript for type safety and tree-shakable for optimal bundle size, `@astroha/super-hooks` provides intuitive and ","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","unbuild":"^3.5.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.2.4_1746611133239_0.4939293889362777","host":"s3://npm-registry-packages-npm-production"}},"1.2.5":{"name":"@astroha/super-hooks","version":"1.2.5","keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","_id":"@astroha/super-hooks@1.2.5","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"homepage":"https://github.com/haquanganh/super-hooks","bugs":{"url":"https://github.com/haquanganh/super-hooks.git/issues"},"dist":{"shasum":"5e2be70b40952bf07ae7cb30bc9d2fb3f4f8de55","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.2.5.tgz","fileCount":7,"integrity":"sha512-4K/OGuG/bqklneonUYmde9QC8qrL+zg1B8xSmmIXcvkITkHzINU+pasPO9ZIwwK8Xaxmwl88FJ3u3vXE5whyBA==","signatures":[{"sig":"MEUCIQCrudPb+83Nu0SJz/9iC6MuNFAg7PY5hIKx961winHtewIgY6wtVv76S0hy0jLoolA5aWqcnTTekF3gXWydfSdkMDE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24735},"main":"dist/index.mjs","type":"module","types":"dist/index.d.mts","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"da4867d2266f5052193d1aef13c996a69af96722","scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"repository":{"url":"git+https://github.com/haquanganh/super-hooks.git","type":"git"},"_npmVersion":"10.9.0","description":"A lightweight, modern collection of reusable React hooks designed to supercharge your React applications with minimal overhead. Built with TypeScript for type safety and tree-shakable for optimal bundle size, `@astroha/super-hooks` provides intuitive and ","directories":{},"_nodeVersion":"22.11.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19.1.0","unbuild":"^3.5.0","react-dom":"^19.1.0","typescript":"^5.8.3","@types/react":"^19.1.3","@changesets/cli":"^2.29.3","@types/react-dom":"^19.1.3"},"peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"_npmOperationalInternal":{"tmp":"tmp/super-hooks_1.2.5_1746611360293_0.1117292806933039","host":"s3://npm-registry-packages-npm-production"}},"1.2.6":{"name":"@astroha/super-hooks","type":"module","version":"1.2.6","main":"dist/index.mjs","types":"dist/index.d.mts","homepage":"https://github.com/haquanganh/super-hooks","repository":{"type":"git","url":"git+https://github.com/haquanganh/super-hooks.git"},"bugs":{"url":"https://github.com/haquanganh/super-hooks.git/issues"},"exports":{".":{"import":"./dist/index.mjs","types":"./dist/index.d.mts"}},"scripts":{"build":"unbuild","prepublishOnly":"npm run build"},"keywords":[],"author":{"name":"Astro Ha"},"license":"MIT","description":"A lightweight, modern collection of reusable React hooks designed to supercharge your React applications with minimal overhead. Built with TypeScript for type safety and tree-shakable for optimal bundle size, `@astroha/super-hooks` provides intuitive and ","peerDependencies":{"react":"^19.1.0","react-dom":"^19.1.0"},"devDependencies":{"@changesets/cli":"^2.29.3","@types/react":"^19.1.3","@types/react-dom":"^19.1.3","react":"^19.1.0","react-dom":"^19.1.0","typescript":"^5.8.3","unbuild":"^3.5.0"},"publishConfig":{"access":"public"},"_id":"@astroha/super-hooks@1.2.6","gitHead":"98c864d059321f28f532ab3b556bbf938c1d8350","_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-ugKBCKLPDSKNOf2UOge/zqu74jl1xgMkYGo1uAzu+kG3EXlHUW2pQ38p34X3fFtZ0NvM8Fan9bW3fP1OuD6Suw==","shasum":"f60292a1a2b84648274a4451e95acabd96bc9af8","tarball":"https://registry.npmjs.org/@astroha/super-hooks/-/super-hooks-1.2.6.tgz","fileCount":7,"unpackedSize":24792,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID3hrR+lMKam+LNosRT8wQ9+M0KE8mltAm/P0wQ9DGBuAiEAiCdOB9lHcyuUWrAom+pMG0hkHc4lZEKnjCH/C7hU9zw="}]},"_npmUser":{"name":"astroha","email":"haquanganhdn@gmail.com"},"directories":{},"maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/super-hooks_1.2.6_1746611598008_0.8966307905344513"},"_hasShrinkwrap":false}},"time":{"created":"2025-05-07T06:18:03.133Z","modified":"2025-05-07T09:53:18.356Z","1.0.0":"2025-05-07T06:18:03.432Z","1.0.1":"2025-05-07T06:29:50.125Z","1.1.0":"2025-05-07T07:38:15.342Z","1.2.0":"2025-05-07T09:27:31.933Z","1.2.1":"2025-05-07T09:31:57.143Z","1.2.2":"2025-05-07T09:41:17.933Z","1.2.3":"2025-05-07T09:43:48.932Z","1.2.4":"2025-05-07T09:45:33.434Z","1.2.5":"2025-05-07T09:49:20.493Z","1.2.6":"2025-05-07T09:53:18.173Z"},"bugs":{"url":"https://github.com/haquanganh/super-hooks.git/issues"},"author":{"name":"Astro Ha"},"license":"MIT","homepage":"https://github.com/haquanganh/super-hooks","keywords":[],"repository":{"type":"git","url":"git+https://github.com/haquanganh/super-hooks.git"},"description":"A lightweight, modern collection of reusable React hooks designed to supercharge your React applications with minimal overhead. Built with TypeScript for type safety and tree-shakable for optimal bundle size, `@astroha/super-hooks` provides intuitive and ","maintainers":[{"name":"astroha","email":"haquanganhdn@gmail.com"}],"readme":"# @astroha/super-hooks\n\nA lightweight, modern collection of reusable React hooks designed to supercharge your React applications with minimal overhead. Built with TypeScript for type safety and tree-shakable for optimal bundle size, `@astroha/super-hooks` provides intuitive and production-ready utilities for common use cases.\n\n## Features\n\n- **TypeScript Support**: Fully typed for a seamless developer experience.\n- **Tree-Shakable**: Only import what you need to keep your bundle lean.\n- **Production-Ready**: Extensively tested hooks for reliable performance.\n- **Minimalistic**: Simple APIs to reduce complexity in your codebase.\n- **Server-Safe**: Compatible with server-side rendering (SSR).\n\n## Installation\n\nInstall the package via npm, yarn, or pnpm:\n\n```bash\nnpm install @astroha/super-hooks\n```\n\n```bash\nyarn add @astroha/super-hooks\n```\n\n```bash\npnpm add @astroha/super-hooks\n```\n\n## Usage\n\nImport and use any hook directly in your React components. Below are examples of some available hooks:\n\n### `useLocalStorage`\n\nPersist state in `localStorage` and sync it across component renders.\n\n```jsx\nimport { useLocalStorage } from '@astroha/super-hooks';\n\nfunction App() {\n  const [value, setValue] = useLocalStorage('my-key', 'initialValue');\n\n  return (\n    <div>\n      <input value={value} onChange={(e) => setValue(e.target.value)} />\n      <p>Stored Value: {value}</p>\n    </div>\n  );\n}\n```\n\n### `useToggle`\n\nManage a boolean toggle state with a simple API.\n\n```jsx\nimport { useToggle } from '@astroha/super-hooks';\n\nfunction App() {\n  const [isOn, toggle] = useToggle(false);\n\n  return (\n    <div>\n      <button onClick={toggle}>{isOn ? 'Turn Off' : 'Turn On'}</button>\n      <p>Status: {isOn ? 'On' : 'Off'}</p>\n    </div>\n  );\n}\n```\n\n### `useDebounce`\n\nDebounce a value to prevent rapid updates, useful for search inputs.\n\n```jsx\nimport { useDebounce } from '@astroha/super-hooks';\nimport { useState } from 'react';\n\nfunction App() {\n  const [input, setInput] = useState('');\n  const debouncedInput = useDebounce(input, 500);\n\n  return (\n    <div>\n      <input value={input} onChange={(e) => setInput(e.target.value)} />\n      <p>Debounced Value: {debouncedInput}</p>\n    </div>\n  );\n}\n```\n\n## Available Hooks\n\n- `useLocalStorage`: Sync state with `localStorage`.\n- `useToggle`: Manage boolean toggle states.\n- `useDebounce`: Debounce values for controlled updates.\n- More to come! Stay tuned for updates.\n\n## Documentation\n\nDetailed documentation is coming soon! For now, refer to the examples above or check the source code in the [GitHub repository](https://github.com/haquanganh/super-hooks) for more details on each hook's API and usage.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/haquanganh/super-hooks/blob/main/LICENSE.md) file for details.\n\n---\n\nBuilt for the community.\n","readmeFilename":"README.md"}