{"_id":"@gilbarbara/hooks","_rev":"3891304","name":"@gilbarbara/hooks","description":"Collection of useful React hooks","dist-tags":{"latest":"0.10.4"},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"time":{"modified":"2025-09-01T01:03:57.000Z","created":"2020-03-06T11:26:13.155Z","0.10.4":"2025-02-16T14:14:01.800Z","0.10.3":"2025-02-16T01:33:59.998Z","0.10.2":"2025-02-07T17:15:19.655Z","0.10.1":"2025-02-02T21:49:36.603Z","0.10.0":"2025-01-31T04:15:39.666Z","0.9.0":"2024-12-15T23:34:48.353Z","0.8.2":"2024-08-25T17:24:32.765Z","0.8.1":"2024-08-25T17:02:48.930Z","0.8.0":"2024-05-14T20:57:19.937Z","0.7.0":"2024-05-02T00:45:53.509Z","0.6.4":"2023-03-28T00:41:28.527Z","0.6.3":"2023-03-08T13:41:46.907Z","0.6.2":"2023-03-07T02:17:10.966Z","0.6.1":"2023-03-06T13:09:35.570Z","0.6.0":"2023-03-05T01:58:10.098Z","0.5.0":"2022-12-21T22:41:57.598Z","0.4.1":"2022-07-23T00:21:24.761Z","0.4.0":"2022-06-01T12:11:58.895Z","0.3.2":"2021-04-22T11:34:37.614Z","0.3.1":"2021-02-02T15:37:18.781Z","0.3.0":"2021-02-01T17:49:08.640Z","0.2.2":"2020-12-14T05:31:43.163Z","0.2.1":"2020-12-14T05:19:20.019Z","0.2.0":"2020-12-14T05:15:41.117Z","0.1.0":"2020-03-06T11:26:13.155Z"},"users":{},"author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"versions":{"0.10.4":{"name":"@gilbarbara/hooks","version":"0.10.4","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 19"},"dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.3","@gilbarbara/eslint-config":"^0.8.4","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.2.0","@types/node":"^22.13.4","@types/node-fetch":"^2.6.12","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/coverage-istanbul":"^3.0.5","@vitest/coverage-v8":"^3.0.5","del-cli":"^6.0.0","husky":"^9.1.7","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^26.0.0","jsdom-testing-mocks":"^1.13.1","msw":"^2.7.0","react":"^19.0.0","react-dom":"^19.0.0","repo-tools":"^0.3.1","serve":"^14.2.4","size-limit":"^11.1.6","ts-node":"^10.9.2","tsup":"^8.3.6","typescript":"^5.7.3","vitest":"^3.0.5"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","typevalidation":"attw -P","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["src/**/*.ts?(x)"],"rules":{"testing-library/render-result-naming-convention":"off"}},{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"6 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_id":"@gilbarbara/hooks@0.10.4","gitHead":"0359b167dde830ab755e6b356274c9918eea6436","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"db91c98e9ed3391e721b9faf0632b9240e522df8","size":73984,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.10.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.10.4.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hooks_0.10.4_1739715241622_0.10965499735117201"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-16T14:14:01.800Z","publish_time":1739715241800,"_source_registry_name":"default","_cnpm_publish_time":1739715241800},"0.10.3":{"name":"@gilbarbara/hooks","version":"0.10.3","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 19"},"dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.3","@gilbarbara/eslint-config":"^0.8.4","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.2.0","@types/node":"^22.13.4","@types/node-fetch":"^2.6.12","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/coverage-istanbul":"^3.0.5","@vitest/coverage-v8":"^3.0.5","del-cli":"^6.0.0","husky":"^9.1.7","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^26.0.0","jsdom-testing-mocks":"^1.13.1","msw":"^2.7.0","react":"^19.0.0","react-dom":"^19.0.0","repo-tools":"^0.3.1","serve":"^14.2.4","size-limit":"^11.1.6","ts-node":"^10.9.2","tsup":"^8.3.6","typescript":"^5.7.3","vitest":"^3.0.5"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","typevalidation":"attw -P","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["src/**/*.ts?(x)"],"rules":{"testing-library/render-result-naming-convention":"off"}},{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"6 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_id":"@gilbarbara/hooks@0.10.3","gitHead":"093c75353f1ab9ba2748a9d0997dee52c1ca5e3e","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"f6519d4ffc6dc7b8c8dddc93b7ce4e48935acf06","size":73961,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.10.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.10.3.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hooks_0.10.3_1739669639795_0.00549820472647089"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-16T01:33:59.998Z","publish_time":1739669639998,"_source_registry_name":"default","_cnpm_publish_time":1739669639998},"0.10.2":{"name":"@gilbarbara/hooks","version":"0.10.2","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 19"},"dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.3","@gilbarbara/eslint-config":"^0.8.4","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.2.0","@types/node":"^22.10.10","@types/node-fetch":"^2.6.12","@types/react":"^19.0.8","@types/react-dom":"^19.0.3","@vitest/coverage-istanbul":"^3.0.4","@vitest/coverage-v8":"^3.0.4","del-cli":"^6.0.0","husky":"^9.1.7","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^26.0.0","jsdom-testing-mocks":"^1.13.1","msw":"^2.7.0","react":"^19.0.0","react-dom":"^19.0.0","repo-tools":"^0.3.1","serve":"^14.2.4","size-limit":"^11.1.6","ts-node":"^10.9.2","tsup":"^8.3.6","typescript":"^5.7.3","vitest":"^3.0.4"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","typevalidation":"attw -P","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["src/**/*.ts?(x)"],"rules":{"testing-library/render-result-naming-convention":"off"}},{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"6 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_id":"@gilbarbara/hooks@0.10.2","gitHead":"d47bf1ed50c0a9469b84913733c067d336392a38","_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"shasum":"73ce4a0acb1ed74af3bf3a59781a7aa0a3b338f3","size":72437,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.10.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.10.2.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hooks_0.10.2_1738948519450_0.15841749749162592"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-07T17:15:19.655Z","publish_time":1738948519655,"_source_registry_name":"default","_cnpm_publish_time":1738948519655},"0.10.1":{"name":"@gilbarbara/hooks","version":"0.10.1","keywords":["react","hooks"],"author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"license":"MIT","_id":"@gilbarbara/hooks@0.10.1","maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"homepage":"https://github.com/gilbarbara/hooks#readme","bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"dist":{"shasum":"b1cfedac2e690efb7b96c20f2afe1525534023f6","size":72378,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.10.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.10.1.tgz"},"main":"dist/index.js","tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"44ddafd659c8e002bc2821a6198debf36bbfcdc1","scripts":{"lint":"eslint --fix src test","size":"size-limit","test":"is-ci \"test:coverage\" \"test:watch\"","build":"npm run clean && tsup","clean":"del dist/*","watch":"tsup --watch","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","prepare":"husky","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","typecheck":"tsc -p test/tsconfig.json","test:watch":"TZ=UTC vitest watch","test:coverage":"TZ=UTC vitest run --coverage","prepublishOnly":"npm run validate","typevalidation":"attw -P"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"prettier":"@gilbarbara/prettier-config","repository":{"url":"git://github.com/gilbarbara/hooks.git","type":"git"},"size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"6 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_npmVersion":"10.9.2","description":"Collection of useful React hooks","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.7.0","tsup":"^8.3.6","husky":"^9.1.7","jsdom":"^26.0.0","react":"^19.0.0","serve":"^14.2.4","vitest":"^3.0.4","del-cli":"^6.0.0","ts-node":"^10.9.2","is-ci-cli":"^2.2.0","react-dom":"^19.0.0","repo-tools":"^0.3.1","size-limit":"^11.1.6","typescript":"^5.7.3","@types/node":"^22.10.10","@types/react":"^19.0.8","jest-extended":"^4.0.2","@types/react-dom":"^19.0.3","@types/node-fetch":"^2.6.12","@vitest/coverage-v8":"^3.0.4","jsdom-testing-mocks":"^1.13.1","@gilbarbara/tsconfig":"^0.2.3","@arethetypeswrong/cli":"^0.17.3","@testing-library/react":"^16.2.0","@gilbarbara/eslint-config":"^0.8.4","@testing-library/jest-dom":"^6.6.3","@vitest/coverage-istanbul":"^3.0.4","@gilbarbara/prettier-config":"^1.0.0","@size-limit/preset-small-lib":"^11.1.6"},"peerDependencies":{"react":"16.8 - 19"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.10.1_1738532976402_0.8751472356937122","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-02-02T21:49:36.603Z","publish_time":1738532976603,"_source_registry_name":"default","_cnpm_publish_time":1738532976603},"0.10.0":{"name":"@gilbarbara/hooks","version":"0.10.0","keywords":["react","hooks"],"author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"license":"MIT","_id":"@gilbarbara/hooks@0.10.0","maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"homepage":"https://github.com/gilbarbara/hooks#readme","bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"dist":{"shasum":"9797204728e168dbf26c06abaab04ccbf8bcc088","size":72364,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.10.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.10.0.tgz"},"main":"dist/index.js","tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"gitHead":"acfebc10c2b350a64e5f86204c3295f2726b04c7","scripts":{"lint":"eslint --fix src test","size":"size-limit","test":"is-ci \"test:coverage\" \"test:watch\"","build":"npm run clean && tsup","clean":"del dist/*","watch":"tsup --watch","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","prepare":"husky","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","typecheck":"tsc -p test/tsconfig.json","test:watch":"TZ=UTC vitest watch","test:coverage":"TZ=UTC vitest run --coverage","prepublishOnly":"npm run validate","typevalidation":"attw -P"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"prettier":"@gilbarbara/prettier-config","repository":{"url":"git://github.com/gilbarbara/hooks.git","type":"git"},"size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"6 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_npmVersion":"10.9.2","description":"Collection of useful React hooks","directories":{},"sideEffects":false,"_nodeVersion":"22.13.1","dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.7.0","tsup":"^8.3.6","husky":"^9.1.7","jsdom":"^26.0.0","react":"^19.0.0","serve":"^14.2.4","vitest":"^3.0.4","del-cli":"^6.0.0","ts-node":"^10.9.2","is-ci-cli":"^2.2.0","react-dom":"^19.0.0","repo-tools":"^0.3.1","size-limit":"^11.1.6","typescript":"^5.7.3","@types/node":"^22.10.10","@types/react":"^19.0.8","jest-extended":"^4.0.2","@types/react-dom":"^19.0.3","@types/node-fetch":"^2.6.12","@vitest/coverage-v8":"^3.0.4","jsdom-testing-mocks":"^1.13.1","@gilbarbara/tsconfig":"^0.2.3","@arethetypeswrong/cli":"^0.17.3","@testing-library/react":"^16.2.0","@gilbarbara/eslint-config":"^0.8.4","@testing-library/jest-dom":"^6.6.3","@vitest/coverage-istanbul":"^3.0.4","@gilbarbara/prettier-config":"^1.0.0","@size-limit/preset-small-lib":"^11.1.6"},"peerDependencies":{"react":"16.8 - 19"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.10.0_1738296939456_0.05222258425119519","host":"s3://npm-registry-packages-npm-production"},"_cnpmcore_publish_time":"2025-01-31T04:15:39.666Z","publish_time":1738296939666,"_source_registry_name":"default","_cnpm_publish_time":1738296939666},"0.9.0":{"name":"@gilbarbara/hooks","version":"0.9.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 19"},"dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@gilbarbara/eslint-config":"^0.8.2","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.6","@testing-library/jest-dom":"^6.6.3","@testing-library/react":"^16.1.0","@types/node":"^22.10.1","@types/node-fetch":"^2.6.12","@types/react":"^19.0.1","@types/react-dom":"^19.0.2","@vitest/coverage-istanbul":"^2.1.8","@vitest/coverage-v8":"^2.1.8","del-cli":"^6.0.0","husky":"^9.1.7","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^25.0.1","jsdom-testing-mocks":"^1.13.1","react":"^19.0.0","react-dom":"^19.0.0","repo-tools":"^0.3.1","serve":"^14.2.4","size-limit":"^11.1.6","ts-node":"^10.9.2","tsup":"^8.3.5","typescript":"^5.6.3","vitest":"^2.1.8","vitest-fetch-mock":"^0.4.2"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","typevalidation":"attw -P","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"5 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_id":"@gilbarbara/hooks@0.9.0","gitHead":"3e37851c75690226968dbde168c995f1f5d1acfa","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"shasum":"da89ebdfc4b9028a2a4e931e8c284e02926abc4a","size":68663,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.9.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hooks_0.9.0_1734305688117_0.9248170796700499"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-15T23:34:48.353Z","publish_time":1734305688353,"_source_registry_name":"default","_cnpm_publish_time":1734305688353},"0.8.2":{"name":"@gilbarbara/hooks","version":"0.8.2","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.15.4","@gilbarbara/eslint-config":"^0.7.10","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.4","@testing-library/jest-dom":"^6.5.0","@testing-library/react":"^16.0.0","@types/node":"^20.12.12","@types/node-fetch":"^2.6.11","@types/react":"^18.3.4","@types/react-dom":"^18.3.0","@vitest/coverage-istanbul":"^2.0.5","@vitest/coverage-v8":"^2.0.5","del-cli":"^5.1.0","husky":"^9.1.5","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^25.0.0","jsdom-testing-mocks":"^1.13.1","react":"^18.3.1","react-dom":"^18.3.1","repo-tools":"^0.3.1","serve":"^14.2.3","size-limit":"^11.1.4","ts-node":"^10.9.2","tsup":"^8.2.4","typescript":"^5.5.4","vitest":"^2.0.5","vitest-fetch-mock":"^0.3.0"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","typevalidation":"attw -P","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"5 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_id":"@gilbarbara/hooks@0.8.2","gitHead":"20775cfc74f83069730347ec5b0bed5696a5407f","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"shasum":"17d571a79f75d2ced3ffbb1ffe06cc20a4acc757","size":63071,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.8.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.8.2.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.8.2_1724606672579_0.23881053225414206"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-25T17:24:32.765Z","publish_time":1724606672765,"_source_registry_name":"default","_cnpm_publish_time":1724606672765},"0.8.1":{"name":"@gilbarbara/hooks","version":"0.8.1","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.15.4","@gilbarbara/eslint-config":"^0.7.10","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.4","@testing-library/jest-dom":"^6.5.0","@testing-library/react":"^16.0.0","@types/node":"^20.12.12","@types/node-fetch":"^2.6.11","@types/react":"^18.3.4","@types/react-dom":"^18.3.0","@vitest/coverage-istanbul":"^2.0.5","@vitest/coverage-v8":"^2.0.5","del-cli":"^5.1.0","husky":"^9.1.5","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^24.1.1","jsdom-testing-mocks":"^1.13.1","react":"^18.3.1","react-dom":"^18.3.1","repo-tools":"^0.3.1","serve":"^14.2.3","size-limit":"^11.1.4","ts-node":"^10.9.2","tsup":"^8.2.4","typescript":"^5.5.4","vitest":"^2.0.5","vitest-fetch-mock":"^0.3.0"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","typevalidation":"attw -P","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"5 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_id":"@gilbarbara/hooks@0.8.1","gitHead":"00664a183c49103fd253eb8f55f3e64635a7829a","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"shasum":"85c4c2298212bc2d21835142ef00926c8c51eab3","size":63078,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.8.1.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.8.1_1724605368708_0.08548194763379802"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-25T17:02:48.930Z","publish_time":1724605368930,"_source_registry_name":"default","_cnpm_publish_time":1724605368930},"0.8.0":{"name":"@gilbarbara/hooks","version":"0.8.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"dependencies":{"@gilbarbara/deep-equal":"^0.3.1"},"devDependencies":{"@arethetypeswrong/cli":"^0.15.3","@gilbarbara/eslint-config":"^0.7.7","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.3","@testing-library/jest-dom":"^6.4.5","@testing-library/react":"^15.0.7","@types/node":"^20.12.12","@types/node-fetch":"^2.6.11","@types/react":"^18.3.2","@types/react-dom":"^18.3.0","@vitest/coverage-istanbul":"^1.6.0","@vitest/coverage-v8":"^1.6.0","del-cli":"^5.1.0","husky":"^9.0.11","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^24.0.0","jsdom-testing-mocks":"^1.13.0","react":"^18.3.1","react-dom":"^18.3.1","repo-tools":"^0.3.1","serve":"^14.2.3","size-limit":"^11.1.3","ts-node":"^10.9.2","tsup":"^8.0.2","typescript":"^5.4.5","vitest":"^1.6.0","vitest-fetch-mock":"^0.2.2"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","typevalidation":"attw -P","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size && npm run typevalidation","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"esm","path":"./dist/index.mjs","limit":"5 kB"},{"name":"commonjs","path":"./dist/index.js","limit":"6 kB"}],"_id":"@gilbarbara/hooks@0.8.0","gitHead":"b16f87a600905f7041543bda75238459e64cfddf","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"shasum":"b94bf01c14cb14af4e549eda46e69b93c77c1c29","size":62706,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.8.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.8.0_1715720239786_0.3080684260777884"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-14T20:57:19.937Z","publish_time":1715720239937,"_source_registry_name":"default","_cnpm_publish_time":1715720239937},"0.7.0":{"name":"@gilbarbara/hooks","version":"0.7.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"dist/index.js","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"}},"types":"dist/index.d.ts","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"devDependencies":{"@gilbarbara/eslint-config":"^0.7.7","@gilbarbara/prettier-config":"^1.0.0","@gilbarbara/tsconfig":"^0.2.3","@size-limit/preset-small-lib":"^11.1.2","@testing-library/jest-dom":"^6.4.2","@testing-library/react":"^15.0.5","@types/node":"^20.12.7","@types/node-fetch":"^2.6.11","@types/react":"^18.3.1","@types/react-dom":"^18.3.0","@vitest/coverage-istanbul":"^1.5.3","@vitest/coverage-v8":"^1.5.3","del-cli":"^5.1.0","husky":"^9.0.11","is-ci-cli":"^2.2.0","jest-extended":"^4.0.2","jsdom":"^24.0.0","jsdom-testing-mocks":"^1.11.0","react":"^18.3.1","react-dom":"^18.3.1","repo-tools":"^0.3.1","serve":"^14.2.3","size-limit":"^11.1.2","ts-node":"^10.9.2","tsup":"^8.0.2","typescript":"^5.4.5","vitest":"^1.5.3","vitest-fetch-mock":"^0.2.2"},"scripts":{"build":"npm run clean && tsup","watch":"tsup --watch","clean":"del dist/*","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"TZ=UTC vitest run --coverage","test:watch":"TZ=UTC vitest watch","lint":"eslint --fix src test","typecheck":"tsc -p test/tsconfig.json","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky"},"tsup":{"dts":true,"entry":["src/index.ts"],"format":["cjs","esm"],"sourcemap":true,"splitting":false},"eslintConfig":{"extends":["@gilbarbara/eslint-config","@gilbarbara/eslint-config/testing-library","@gilbarbara/eslint-config/vitest"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"commonjs","path":"./dist/index.js","limit":"4 kB"},{"name":"esm","path":"./dist/index.mjs","limit":"4 kB"}],"_id":"@gilbarbara/hooks@0.7.0","gitHead":"1a4938b2d840521db76cbe719fad1b4c0d773cdb","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"shasum":"5b74a6e42ed3abbd0ca2876e9e4eb29cfea9066e","size":36687,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.7.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.7.0_1714610753336_0.13355341335608628"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-02T00:45:53.509Z","publish_time":1714610753509,"_source_registry_name":"default","_cnpm_publish_time":1714610753509},"0.6.4":{"name":"@gilbarbara/hooks","version":"0.6.4","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"./dist/index.js","module":"./dist/index.mjs","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"types":"dist","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"devDependencies":{"@gilbarbara/esbuilder":"^0.2.0","@gilbarbara/eslint-config":"^0.4.0","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^8.2.4","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.5.0","@types/node":"^18.15.10","@types/node-fetch":"^2.6.2","@types/react":"^18.0.30","@types/react-dom":"^18.0.11","del-cli":"^5.0.0","husky":"^8.0.3","is-ci-cli":"^2.2.0","jest":"^29.5.0","jest-environment-jsdom":"^29.5.0","jest-extended":"^3.2.4","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^2.2.2","jsdom-testing-mocks":"^1.7.0","react":"^18.2.0","react-dom":"^18.2.0","repo-tools":"^0.2.2","serve":"^14.2.0","size-limit":"^8.2.4","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^4.9.5"},"scripts":{"build":"npm run clean && esbuilder --cjs --esm && npm run build:types","build:types":"tsc","clean":"del dist/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --fix src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"commonjs","path":"./dist/index.js","limit":"4 kB"},{"name":"esm","path":"./dist/index.mjs","limit":"4 kB"}],"gitHead":"17bdae482265e14b7f5d1a2e11685b7626b86f88","_id":"@gilbarbara/hooks@0.6.4","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"6ea2f7d43642b414965080a8e7ac9cb31d550fa4","size":40152,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.6.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.6.4.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.6.4_1679964088376_0.5981416508213944"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-28T00:41:28.527Z","publish_time":1679964088527,"_cnpm_publish_time":1679964088527},"0.6.3":{"name":"@gilbarbara/hooks","version":"0.6.3","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"./dist/index.js","module":"./dist/index.mjs","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"types":"dist","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"devDependencies":{"@gilbarbara/esbuilder":"^0.2.0","@gilbarbara/eslint-config":"^0.3.7","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^8.2.4","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/node":"^18.14.2","@types/node-fetch":"^2.6.2","@types/react":"^18.0.28","@types/react-dom":"^18.0.11","del-cli":"^5.0.0","husky":"^8.0.3","is-ci-cli":"^2.2.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-extended":"^3.2.4","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^2.2.2","jsdom-testing-mocks":"^1.7.0","react":"^18.2.0","react-dom":"^18.2.0","repo-tools":"^0.2.2","serve":"^14.2.0","size-limit":"^8.2.4","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^4.9.5"},"scripts":{"build":"npm run clean && esbuilder --cjs --esm && npm run build:types","build:types":"tsc","clean":"del dist/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --fix src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}],"settings":{"testing-library/custom-renders":["isFirstRender"]}},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"commonjs","path":"./dist/index.js","limit":"4 kB"},{"name":"esm","path":"./dist/index.mjs","limit":"4 kB"}],"gitHead":"1c68f194d176aa69afd662d8b62fb7463dfcb00b","_id":"@gilbarbara/hooks@0.6.3","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"shasum":"3589b5322cedb937f725fb2991a60e829ea5d7b1","size":40132,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.6.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.6.3.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.6.3_1678282906737_0.03052465069219301"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-08T13:41:46.907Z","publish_time":1678282906907,"_cnpm_publish_time":1678282906907},"0.6.2":{"name":"@gilbarbara/hooks","version":"0.6.2","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"./dist/index.js","module":"./dist/index.mjs","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"types":"dist","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"devDependencies":{"@gilbarbara/esbuilder":"^0.2.0","@gilbarbara/eslint-config":"^0.3.7","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^8.2.4","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/node":"^18.14.2","@types/node-fetch":"^2.6.2","@types/react":"^18.0.28","@types/react-dom":"^18.0.11","del-cli":"^5.0.0","husky":"^8.0.3","is-ci-cli":"^2.2.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-extended":"^3.2.4","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^2.2.2","jsdom-testing-mocks":"^1.7.0","react":"^18.2.0","react-dom":"^18.2.0","repo-tools":"^0.2.2","serve":"^14.2.0","size-limit":"^8.2.4","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^4.9.5"},"scripts":{"build":"npm run clean && esbuilder --cjs --esm && npm run build:types","build:types":"tsc","clean":"del dist/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --fix src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}],"settings":{"testing-library/custom-renders":["isFirstRender"]}},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"commonjs","path":"./dist/index.js","limit":"4 kB"},{"name":"esm","path":"./dist/index.mjs","limit":"4 kB"}],"gitHead":"690bf010f10fade0924f0ed92b238ce9b0b40810","_id":"@gilbarbara/hooks@0.6.2","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"shasum":"9501f4e4d217bbeecef42571ea916dd2308f608c","size":39883,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.6.2.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.6.2_1678155430712_0.5660269135412757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-07T02:17:10.966Z","publish_time":1678155430966,"_cnpm_publish_time":1678155430966},"0.6.1":{"name":"@gilbarbara/hooks","version":"0.6.1","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"./dist/index.js","module":"./dist/index.mjs","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"types":"dist","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"devDependencies":{"@gilbarbara/esbuilder":"^0.2.0","@gilbarbara/eslint-config":"^0.3.7","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^8.2.4","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/node":"^18.14.2","@types/node-fetch":"^2.6.2","@types/react":"^18.0.28","@types/react-dom":"^18.0.11","del-cli":"^5.0.0","husky":"^8.0.3","is-ci-cli":"^2.2.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-extended":"^3.2.4","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^2.2.2","jsdom-testing-mocks":"^1.7.0","react":"^18.2.0","react-dom":"^18.2.0","repo-tools":"^0.2.2","serve":"^14.2.0","size-limit":"^8.2.4","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^4.9.5"},"scripts":{"build":"npm run clean && esbuilder --cjs --esm && npm run build:types","build:types":"tsc","clean":"del dist/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --fix src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"commonjs","path":"./dist/index.js","limit":"4 kB"},{"name":"esm","path":"./dist/index.mjs","limit":"4 kB"}],"gitHead":"1960fe8a28b669350b43ba9c9c62645b8987bfa3","_id":"@gilbarbara/hooks@0.6.1","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"shasum":"c9e06e6e79bd56a6fd4f4eb5c99555117cafb944","size":38599,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.6.1.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.6.1_1678108175394_0.2847151803366408"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-06T13:09:35.570Z","publish_time":1678108175570,"_cnpm_publish_time":1678108175570},"0.6.0":{"name":"@gilbarbara/hooks","version":"0.6.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"./dist/index.js","module":"./dist/index.mjs","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"types":"dist","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"devDependencies":{"@gilbarbara/esbuilder":"^0.2.0","@gilbarbara/eslint-config":"^0.3.7","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^8.2.4","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","@types/jest":"^29.4.0","@types/node":"^18.14.2","@types/node-fetch":"^2.6.2","@types/react":"^18.0.28","@types/react-dom":"^18.0.11","del-cli":"^5.0.0","husky":"^8.0.3","is-ci-cli":"^2.2.0","jest":"^29.4.3","jest-environment-jsdom":"^29.4.3","jest-extended":"^3.2.4","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^2.2.2","jsdom-testing-mocks":"^1.7.0","react":"^18.2.0","react-dom":"^18.2.0","repo-tools":"^0.2.2","serve":"^14.2.0","size-limit":"^8.2.4","ts-jest":"^29.0.5","ts-node":"^10.9.1","typescript":"^4.9.5"},"scripts":{"build":"npm run clean && esbuilder --cjs --esm && npm run build:types","build:types":"tsc","clean":"del dist/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --fix src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"commonjs","path":"./dist/index.js","limit":"4 kB"},{"name":"esm","path":"./dist/index.mjs","limit":"4 kB"}],"gitHead":"2de658b2df04739adeb0977a051b5978379fae1c","_id":"@gilbarbara/hooks@0.6.0","_nodeVersion":"18.14.2","_npmVersion":"9.5.0","dist":{"shasum":"56d632f38a1951eeb4dcd56b8ce083023437892a","size":37435,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.6.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.6.0_1677981489954_0.21435378411160366"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-05T01:58:10.098Z","publish_time":1677981490098,"_cnpm_publish_time":1677981490098},"0.5.0":{"name":"@gilbarbara/hooks","version":"0.5.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"./dist/index.js","module":"./dist/index.mjs","exports":{"import":"./dist/index.mjs","require":"./dist/index.js"},"types":"dist","sideEffects":false,"peerDependencies":{"react":"16.8 - 18"},"devDependencies":{"@gilbarbara/esbuilder":"^0.1.0","@gilbarbara/eslint-config":"^0.3.7","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^8.1.0","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@types/jest":"^29.2.4","@types/node":"^18.11.17","@types/node-fetch":"^2.6.2","@types/react":"^18.0.26","@types/react-dom":"^18.0.9","del-cli":"^5.0.0","husky":"^8.0.2","is-ci-cli":"^2.2.0","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","jest-extended":"^3.2.0","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^2.2.1","react":"^18.2.0","react-dom":"^18.2.0","repo-tools":"^0.2.2","serve":"^14.1.2","size-limit":"^8.1.0","ts-jest":"^29.0.3","ts-node":"^10.9.1","typescript":"^4.9.4"},"scripts":{"build":"npm run clean && esbuilder --cjs --esm && npm run build:types","build:types":"tsc","clean":"del dist/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --fix src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"commonjs","path":"./dist/index.js","limit":"4 kB"},{"name":"esm","path":"./dist/index.mjs","limit":"4 kB"}],"gitHead":"8351c4c18f16236b171a271e17213c9019967e69","_id":"@gilbarbara/hooks@0.5.0","_nodeVersion":"14.21.1","_npmVersion":"6.14.17","dist":{"shasum":"eb5745519fb0e5907b064380245c8d14fd986e6c","size":23017,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.5.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.5.0_1671662517455_0.615739386980241"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-21T23:04:07.396Z","publish_time":1671662517598,"_cnpm_publish_time":1671662517598},"0.4.1":{"name":"@gilbarbara/hooks","version":"0.4.1","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"devDependencies":{"@gilbarbara/eslint-config":"^0.2.6","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^7.0.8","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^28.1.6","@types/node":"^18.0.6","@types/node-fetch":"^2.6.2","@types/react":"^18.0.15","@types/react-dom":"^18.0.6","del-cli":"^5.0.0","husky":"^8.0.1","is-ci-cli":"^2.2.0","jest":"^28.1.3","jest-environment-jsdom":"^28.1.3","jest-extended":"^3.0.1","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^2.0.0","node-fetch":"^2.6.7","react":"^18.2.0","react-dom":"^18.2.0","repo-tools":"^0.2.2","serve":"^14.0.1","size-limit":"^7.0.8","ts-jest":"^28.0.7","ts-node":"^10.9.1","typescript":"^4.7.4"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"lib","path":"./lib/index.js","limit":"4 kB"},{"name":"esm","path":"./esm/index.js","limit":"4 kB"}],"gitHead":"9e2eec82a5595678252863aadfa3e79883607d5a","_id":"@gilbarbara/hooks@0.4.1","_nodeVersion":"14.20.0","_npmVersion":"6.14.17","dist":{"shasum":"87c4b71ae18c172bde5a3699e468186b034d48e9","size":22252,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.4.1.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.4.1_1658535684517_0.22973566425347713"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-23T00:27:40.896Z","publish_time":1658535684761,"_cnpm_publish_time":1658535684761},"0.4.0":{"name":"@gilbarbara/hooks","version":"0.4.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0"},"devDependencies":{"@gilbarbara/eslint-config":"^0.2.4","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.1","@size-limit/preset-small-lib":"^7.0.8","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@types/jest":"^27.5.1","@types/node":"^17.0.38","@types/node-fetch":"^2.6.1","@types/react":"^18.0.10","@types/react-dom":"^18.0.5","del-cli":"^3.0.1","husky":"^8.0.1","is-ci-cli":"^2.2.0","jest":"^28.1.0","jest-environment-jsdom":"^28.1.0","jest-extended":"^2.0.0","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.1.0","jest-watch-typeahead":"^1.1.0","node-fetch":"^2.6.7","react":"^18.1.0","react-dom":"^18.1.0","repo-tools":"^0.2.2","serve":"^13.0.2","size-limit":"^7.0.8","ts-jest":"^28.0.3","ts-node":"^10.8.0","typescript":"^4.7.2"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","typecheck":"tsc --noEmit","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate","prepare":"husky install"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"],"overrides":[{"files":["test/**/*.ts?(x)"],"rules":{"no-console":"off","testing-library/no-container":"off","testing-library/no-node-access":"off"}}]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"name":"lib","path":"./lib/index.js","limit":"4 kB"},{"name":"esm","path":"./esm/index.js","limit":"4 kB"}],"gitHead":"0aada31a27734bd2dc01c3967d1be9844ea87007","_id":"@gilbarbara/hooks@0.4.0","_nodeVersion":"14.19.2","_npmVersion":"6.14.17","dist":{"shasum":"976a0b8b445704ddd2662e87d89e95ddfbb40182","size":21418,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.4.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.4.0_1654085518719_0.22562317002206922"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-01T14:01:34.430Z","publish_time":1654085518895,"_cnpm_publish_time":1654085518895},"0.3.2":{"name":"@gilbarbara/hooks","version":"0.3.2","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"devDependencies":{"@gilbarbara/eslint-config":"^0.1.1","@gilbarbara/prettier-config":"^0.1.0","@gilbarbara/tsconfig":"^0.1.0","@size-limit/preset-small-lib":"^4.10.2","@testing-library/jest-dom":"^5.11.10","@testing-library/react":"^11.2.6","@types/jest":"^26.0.22","@types/node":"^14.14.41","@types/node-fetch":"^2.5.10","@types/react":"^17.0.3","@types/react-dom":"^17.0.3","del-cli":"^3.0.1","husky":"^4.3.8","is-ci-cli":"^2.2.0","jest":"^26.6.3","jest-chain":"^1.1.5","jest-extended":"^0.11.5","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.0.0","jest-watch-typeahead":"^0.6.2","node-fetch":"^2.6.1","react":"^17.0.2","react-dom":"^17.0.2","repo-tools":"^0.2.2","serve":"^11.3.2","size-limit":"^4.10.2","ts-jest":"^26.5.5","ts-node":"^9.1.1","typescript":"^4.2.4"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate"},"eslintConfig":{"extends":["@gilbarbara/eslint-config"]},"prettier":"@gilbarbara/prettier-config","size-limit":[{"path":"./lib/index.js","limit":"3 kB"},{"path":"./esm/index.js","limit":"3 kB"}],"husky":{"hooks":{"post-merge":"repo-tools install-packages","pre-commit":"repo-tools check-remote && npm run validate"}},"gitHead":"d0dd05a728eb6fdef7b402489b6819aeee3588b7","_id":"@gilbarbara/hooks@0.3.2","_nodeVersion":"14.16.1","_npmVersion":"7.10.0","dist":{"shasum":"40495df5eded833e6e7188e39a1db3bc7ccdd6ef","size":19228,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.3.2.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.3.2_1619091277382_0.9075886321825037"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T16:49:15.525Z","publish_time":1619091277614,"_cnpm_publish_time":1619091277614},"0.3.1":{"name":"@gilbarbara/hooks","version":"0.3.1","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"dependencies":{},"devDependencies":{"@gilbarbara/tsconfig":"^0.1.0","@size-limit/preset-small-lib":"^4.9.2","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.3","@types/jest":"^26.0.20","@types/node":"^14.14.22","@types/node-fetch":"^2.5.8","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","del-cli":"^3.0.1","eslint":"^7.19.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^7.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.3.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","husky":"^4.3.8","is-ci-cli":"^2.2.0","jest":"^26.6.3","jest-chain":"^1.1.5","jest-extended":"^0.11.5","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.0.0","jest-watch-typeahead":"^0.6.1","node-fetch":"^2.6.1","prettier":"^2.2.1","react":"^17.0.1","react-dom":"^17.0.1","repo-tools":"^0.2.1","serve":"^11.3.2","size-limit":"^4.9.2","ts-jest":"^26.5.0","ts-node":"^9.1.1","typescript":"^4.1.3"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate"},"prettier":{"arrowParens":"avoid","printWidth":100,"proseWrap":"never","singleQuote":true,"trailingComma":"all"},"size-limit":[{"path":"./lib/index.js","limit":"3 kB"},{"path":"./esm/index.js","limit":"3 kB"}],"husky":{"hooks":{"post-merge":"repo-tools install-packages","pre-commit":"repo-tools check-remote && npm run validate"}},"gitHead":"c07a2f0350ffecf2f9879dd5fef5dd691695c0a5","_id":"@gilbarbara/hooks@0.3.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"shasum":"7f49141e22ca0e4733799c3c7e63c353b49b97a8","size":19708,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.3.1.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.3.1_1612280238659_0.2626837187492592"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T16:49:13.022Z","publish_time":1612280238781,"_cnpm_publish_time":1612280238781},"0.3.0":{"name":"@gilbarbara/hooks","version":"0.3.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"dependencies":{},"devDependencies":{"@gilbarbara/tsconfig":"^0.1.0","@size-limit/preset-small-lib":"^4.9.2","@testing-library/jest-dom":"^5.11.9","@testing-library/react":"^11.2.3","@types/jest":"^26.0.20","@types/node":"^14.14.22","@types/node-fetch":"^2.5.8","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","del-cli":"^3.0.1","eslint":"^7.19.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^7.2.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.3.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","husky":"^4.3.8","is-ci-cli":"^2.2.0","jest":"^26.6.3","jest-chain":"^1.1.5","jest-extended":"^0.11.5","jest-fetch-mock":"^3.0.3","jest-serializer-html":"^7.0.0","jest-watch-typeahead":"^0.6.1","node-fetch":"^2.6.1","prettier":"^2.2.1","react":"^17.0.1","react-dom":"^17.0.1","repo-tools":"^0.2.1","serve":"^11.3.2","size-limit":"^4.9.2","ts-jest":"^26.5.0","ts-node":"^9.1.1","typescript":"^4.1.3"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate"},"prettier":{"arrowParens":"avoid","printWidth":100,"proseWrap":"never","singleQuote":true,"trailingComma":"all"},"size-limit":[{"path":"./lib/index.js","limit":"3 kB"},{"path":"./esm/index.js","limit":"3 kB"}],"husky":{"hooks":{"post-merge":"repo-tools install-packages","pre-commit":"repo-tools check-remote && npm run validate"}},"gitHead":"b4431e31ca13d040a870b04d354baa2263c90e44","_id":"@gilbarbara/hooks@0.3.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"shasum":"0585ef9b50ac597ddd746a41e5147b3a492fd5db","size":19696,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.3.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.3.0_1612201748507_0.12116426039915917"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T16:49:11.202Z","publish_time":1612201748640,"_cnpm_publish_time":1612201748640},"0.2.2":{"name":"@gilbarbara/hooks","version":"0.2.2","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"dependencies":{},"devDependencies":{"@gilbarbara/tsconfig":"^0.1.0","@size-limit/preset-small-lib":"^4.9.1","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.2","@types/jest":"^26.0.19","@types/node":"^14.14.13","@types/node-fetch":"^2.5.7","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","del-cli":"^3.0.1","eslint":"^7.15.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^7.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.2.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","husky":"^4.3.5","is-ci-cli":"^2.1.2","jest":"^26.6.3","jest-chain":"^1.1.5","jest-extended":"^0.11.5","jest-fetch-mock":"^3.0.3","jest-watch-typeahead":"^0.6.1","node-fetch":"^2.6.1","prettier":"^2.2.1","react":"^17.0.1","react-dom":"^17.0.1","repo-tools":"^0.2.1","serve":"^11.3.2","size-limit":"^4.9.1","ts-jest":"^26.4.4","ts-node":"^9.1.1","typescript":"^4.1.3"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate"},"prettier":{"arrowParens":"avoid","printWidth":100,"proseWrap":"never","singleQuote":true,"trailingComma":"all"},"size-limit":[{"path":"./lib/index.js","limit":"3 kB"},{"path":"./esm/index.js","limit":"3 kB"}],"husky":{"hooks":{"post-merge":"repo-tools install-packages","pre-commit":"repo-tools check-remote && npm run validate"}},"gitHead":"a7af7aa8560adc00dbe8185e36920830e45cff76","_id":"@gilbarbara/hooks@0.2.2","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"shasum":"e51a74e1fc8c21b7e4d83260570066437863790d","size":15167,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.2.2.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.2.2_1607923903024_0.48842289636003167"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T16:49:09.361Z","publish_time":1607923903163,"_cnpm_publish_time":1607923903163},"0.2.1":{"name":"@gilbarbara/hooks","version":"0.2.1","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":true,"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"dependencies":{},"devDependencies":{"@gilbarbara/tsconfig":"^0.1.0","@size-limit/preset-small-lib":"^4.9.1","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.2","@types/jest":"^26.0.19","@types/node":"^14.14.13","@types/node-fetch":"^2.5.7","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","del-cli":"^3.0.1","eslint":"^7.15.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^7.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.2.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","husky":"^4.3.5","is-ci-cli":"^2.1.2","jest":"^26.6.3","jest-chain":"^1.1.5","jest-extended":"^0.11.5","jest-fetch-mock":"^3.0.3","jest-watch-typeahead":"^0.6.1","node-fetch":"^2.6.1","prettier":"^2.2.1","react":"^17.0.1","react-dom":"^17.0.1","repo-tools":"^0.2.1","serve":"^11.3.2","size-limit":"^4.9.1","ts-jest":"^26.4.4","ts-node":"^9.1.1","typescript":"^4.1.3"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate"},"prettier":{"arrowParens":"avoid","printWidth":100,"proseWrap":"never","singleQuote":true,"trailingComma":"all"},"size-limit":[{"path":"./lib/index.js","limit":"3 kB"},{"path":"./esm/index.js","limit":"3 kB"}],"husky":{"hooks":{"post-merge":"repo-tools install-packages","pre-commit":"repo-tools check-remote && npm run validate"}},"gitHead":"474ab367eb4e25a2af1d12c3cbb6802c1cf2f0ab","_id":"@gilbarbara/hooks@0.2.1","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"shasum":"07f71ebf4c050e7c30cfe61a128dd30b3ac3e8ae","size":15171,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.2.1.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.2.1_1607923159873_0.9003699319532086"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T16:49:07.444Z","publish_time":1607923160019,"_cnpm_publish_time":1607923160019},"0.2.0":{"name":"@gilbarbara/hooks","version":"0.2.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"keywords":["react","hooks"],"license":"MIT","repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"peerDependencies":{"react":"^16.8.0 || ^17.0.0"},"dependencies":{},"devDependencies":{"@gilbarbara/tsconfig":"^0.1.0","@size-limit/preset-small-lib":"^4.9.1","@testing-library/jest-dom":"^5.11.6","@testing-library/react":"^11.2.2","@types/jest":"^26.0.19","@types/node":"^14.14.13","@types/node-fetch":"^2.5.7","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@typescript-eslint/eslint-plugin":"^4.9.1","@typescript-eslint/parser":"^4.9.1","del-cli":"^3.0.1","eslint":"^7.15.0","eslint-config-airbnb":"^18.2.1","eslint-config-prettier":"^7.0.0","eslint-plugin-import":"^2.22.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.2.0","eslint-plugin-react":"^7.21.5","eslint-plugin-react-hooks":"^4.2.0","husky":"^4.3.5","is-ci-cli":"^2.1.2","jest":"^26.6.3","jest-chain":"^1.1.5","jest-extended":"^0.11.5","jest-fetch-mock":"^3.0.3","jest-watch-typeahead":"^0.6.1","node-fetch":"^2.6.1","prettier":"^2.2.1","react":"^17.0.1","react-dom":"^17.0.1","repo-tools":"^0.2.1","serve":"^11.3.2","size-limit":"^4.9.1","ts-jest":"^26.4.4","ts-node":"^9.1.1","typescript":"^4.1.3"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch:cjs":"npm run build:cjs -- -w","watch:esm":"npm run build:esm -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watchAll --verbose","lint":"eslint --ext .ts,.tsx src test","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate"},"prettier":{"arrowParens":"avoid","printWidth":100,"proseWrap":"never","singleQuote":true,"trailingComma":"all"},"size-limit":[{"path":"./lib/index.js","limit":"3 kB"},{"path":"./esm/index.js","limit":"3 kB"}],"husky":{"hooks":{"post-merge":"repo-tools install-packages","pre-commit":"repo-tools check-remote && npm run validate"}},"gitHead":"962100bb581c850abc0886139e82a47e144785cf","_id":"@gilbarbara/hooks@0.2.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","dist":{"shasum":"f01f5e26361be1e01bdaa294bffa6e42f38f46f6","size":15168,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.2.0.tgz"},"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.2.0_1607922940939_0.8259446680697884"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T16:49:05.788Z","publish_time":1607922941117,"_cnpm_publish_time":1607922941117},"0.1.0":{"name":"@gilbarbara/hooks","version":"0.1.0","description":"Collection of useful React hooks","author":{"name":"Gil Barbara","email":"gilbarbara@gmail.com"},"repository":{"type":"git","url":"git://github.com/gilbarbara/hooks.git"},"bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"homepage":"https://github.com/gilbarbara/hooks#readme","main":"lib/index.js","module":"esm/index.js","types":"./lib","sideEffects":false,"license":"MIT","keywords":["react","hooks"],"peerDependencies":{"react":"^16.8.0"},"devDependencies":{"@gilbarbara/tsconfig":"^0.1.0","@size-limit/preset-small-lib":"^4.0.2","@testing-library/jest-dom":"^5.1.1","@testing-library/react":"^9.4.1","@types/enzyme":"^3.10.5","@types/jest":"^25.1.3","@types/node":"^13.7.7","@types/react":"^16.9.23","@types/react-dom":"^16.9.5","@typescript-eslint/eslint-plugin":"^2.22.0","@typescript-eslint/parser":"^2.22.0","del-cli":"^3.0.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.0.1","eslint-config-prettier":"^6.10.0","eslint-plugin-import":"^2.20.1","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.18.3","eslint-plugin-react-hooks":"^2.3.0","fetch-mock":"^9.0.0","husky":"^4.2.3","is-ci-cli":"^2.0.0","jest":"^25.1.0","jest-chain":"^1.1.5","jest-extended":"^0.11.5","jest-watch-typeahead":"^0.4.2","prettier":"^1.19.1","react":"^16.12.0","react-dom":"^16.13.0","repo-tools":"^0.2.0","serve":"^11.3.0","size-limit":"^4.0.2","start-server-and-test":"^1.10.8","ts-jest":"^25.2.1","typescript":"^3.8.3"},"scripts":{"build":"npm run clean && npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc -m es6 --outDir esm","clean":"del lib/* && del esm/*","watch":"npm run build:esm && npm run build:cjs -- -w","test":"is-ci \"test:coverage\" \"test:watch\"","test:coverage":"jest --coverage --bail","test:watch":"jest --watch --verbose","lint":"eslint --ext .ts,.tsx src test","format":"prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write","validate":"npm run lint && npm run test:coverage && npm run build && npm run size","size":"size-limit","prepublishOnly":"npm run validate"},"prettier":{"jsxBracketSameLine":false,"printWidth":100,"singleQuote":true,"trailingComma":"all"},"size-limit":[{"path":"./lib/index.js","limit":"2 kB"},{"path":"./esm/index.js","limit":"2 kB"}],"husky":{"hooks":{"post-merge":"repo-tools install-packages","pre-commit":"repo-tools check-remote && npm run validate"}},"gitHead":"efd838f96cccd8f3bcde51f80923ecffa1223e4f","_id":"@gilbarbara/hooks@0.1.0","_nodeVersion":"13.10.1","_npmVersion":"6.13.7","dist":{"shasum":"19cd7c409f4666222b61d411a37cb13479942674","size":8364,"noattachment":false,"key":"/@gilbarbara/hooks/-/@gilbarbara/hooks-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@gilbarbara/hooks/download/@gilbarbara/hooks-0.1.0.tgz"},"maintainers":[{"name":"gilbarbara","email":"gilbarbara@gmail.com"}],"_npmUser":{"name":"gilbarbara","email":"gilbarbara@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hooks_0.1.0_1583493973041_0.9808467475267328"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-24T16:49:04.141Z","publish_time":1583493973155,"_cnpm_publish_time":1583493973155}},"readme":"# @gilbarbara/hooks\n\n[![npm version](https://badge.fury.io/js/%40gilbarbara%2Fhooks.svg)](https://badge.fury.io/js/%40gilbarbara%2Fhooks) [![CI](https://github.com/gilbarbara/hooks/actions/workflows/main.yml/badge.svg)](https://github.com/gilbarbara/hooks/actions/workflows/main.yml) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=gilbarbara_hooks&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=gilbarbara_hooks) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=gilbarbara_hooks&metric=coverage)](https://sonarcloud.io/summary/new_code?id=gilbarbara_hooks)\n\nA collection of React hooks designed to simplify state management, side effects, and UI interactions.\n\n## Setup\n\n```bash\nnpm i @gilbarbara/hooks\n```\n\nRequires React 16.8+ (Hooks support). TypeScript support is included.\n\n## Features\n\n- Custom versions of `useEffect`, `useCallback`, and `useMemo` with deep comparison.\n- Built-in debouncing and throttling for smooth performance (`useDebounce`, `useThrottle`).\n- Advanced state management (`useSetState`, `useToggle`, `usePersistentState`).\n- Debugging tools to optimize re-renders (`useDataChanges`, `useRenderCount`).\n- Flexible API integrations (`useFetch` with retries and backoff support).\n\n## Example\n\nHere's an example of using `useToggle`, `useThrottle`, and `useFetch` together:\n\n```tsx\nimport { useToggle, useThrottle, useFetch } from '@gilbarbara/hooks';\n\nfunction Component() {\n  const [isEnabled, { toggle }] = useToggle(false);\n  const throttledFetch = useThrottle(() => {\n    fetch('/api/data');\n  }, 1000);\n  const { data, error } = useFetch('/api/data');\n\n  return (\n    <div>\n      <button onClick={toggle}>{isEnabled ? 'Disable' : 'Enable'}</button>\n      <button onClick={throttledFetch}>Fetch Data</button>\n      {error ? <p>Error: {error.message}</p> : <p>Data: {JSON.stringify(data)}</p>}\n    </div>\n  );\n}\n```\n\n## Hooks\n\n### React Hooks with Deep Comparison\n\nCustom React's built-in hooks **deep comparison** on their dependencies.\n\n[useCallbackDeepCompare](docs/useCallbackDeepCompare.md) — A custom `useCallback` with deep comparison.  \n[useEffectDeepCompare](docs/useEffectDeepCompare.md) — A custom `useEffect` with deep comparison.  \n[useMemoDeepCompare](docs/useMemoDeepCompare) — A custom `useMemo` with deep comparison.\n\n### State\n\nHooks for managing and persisting application state.\n\n[usePersistentState](docs/usePersistentState) — State hook that persists the state in localStorage.  \n[useSetState](docs/useSetState.md) — Returns a setState that merges object changes into the current state.  \n[useToggle](docs/useToggle.md) — State hook to track the value of a boolean.\n\n### Effects\n\nHooks for managing side effects and extending React’s useEffect.\n\n[useEffectOnce](docs/useEffectOnce.md) — Execute the effect only once.  \n[useHasChanged](docs/useHasChanged.md) — Detect value changes and optionally trigger a callback.  \n[useIsomorphicLayoutEffect](docs/useIsomorphicLayoutEffect.md) — Use useLayoutEffect on the client and useEffect on the server.  \n[useUpdateEffect](docs/useUpdateEffect.md) — A custom useEffect that doesn’t run on mount.  \n\n### Lifecycles\n\nHooks for managing component lifecycle events such as mounting and unmounting.\n\n[useMount](docs/useMount.md) — Execute a callback when the component is mounted.  \n[useUnmount](docs/useUnmount.md) — Execute a callback when the component is unmounted.  \n[useLifecycleHooks](docs/useLifecycleHooks) — Execute the callbacks when the component mount and unmount.  \n[useIsMounted](docs/useIsMounted.md) — Check if the component is still mounted.  \n[useIsFirstRender](docs/useIsFirstRender) — Check if it’s the first mount.  \n\n### Refs and DOM\n\nHooks for managing refs and interacting with the DOM.\n\n[useLatest](docs/useLatest.md) — Get a ref containing the most recent value.  \n[useMergeRefs](docs/useMergeRefs.md) — Merge multiple refs into one.  \n[usePrevious](docs/usePrevious.md) — Track the previous value of a variable.\n\n### UI and Interactions\n\nHooks for managing user interactions and responsive design.\n\n[useBreakpoint](docs/useBreakpoint) — Get responsive breakpoints for adaptive layouts.  \n[useClickOutside](docs/useClickOutside.md) — Execute the callback when clicking outside the target element.  \n[useElementMeasure](docs/useElementMeasure) — Get element dimensions using the ResizeObserver API.  \n[useMediaQuery](docs/useMediaQuery.md) — Detect media query changes.  \n[useIntersectionObserver](docs/useIntersectionObserver.md) — Detects the visibility of an element on the viewport using the [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) API.  \n[useResizeObserver](docs/useResizeObserver.md) — Get element dimensions using the [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver) API.  \n[useWindowSize](docs/useWindowSize.md) — Get the window dimensions. Updates on resize.\n\n### Performance and Optimization\n\nHooks for optimizing performance by reducing unnecessary renders or controlling execution frequency.\n\n[useDebounce](docs/useDebounce.md) — Defer function execution until the delay has elapsed since the last invocation.  \n[useMemoizedValue](docs/useMemoizedValue) — Get a stabilized value that only updates when the original value is truly different.  \n[useThrottle](docs/useThrottle.md) — Return a throttled function that invokes fn once per every ms.  \n[useThrottleValue](docs/useThrottleValue.md) — Return a throttled value that changes only once per every ms.\n\n### Timers\n\nHooks for managing time-based operations.\n\n[useInterval](docs/useInterval.md) — Execute the callback repeatedly with the specified delay.  \n[useTimeout](docs/useTimeout.md) — Execute the callback after the specified delay.\n\n### Data Fetching\n\nHooks for working with APIs and third-party scripts.\n\n[useFetch](docs/useFetch.md) — Make a request with fetch. It supports dynamic URLs, caching, retries, and much more.  \n[useScript](docs/useScript.md) — Dynamically load a script tag and append it to the document.body.\n\n\n### Debugging and Development\n\nHooks for debugging, monitoring, and optimizing component behavior.\n\n[useDataChanges](docs/useDataChanges) — Detect which prop/state changes are causing a component to re-render.  \n[useRenderCount](docs/useRenderCount.md) — Log how many times the component has rendered.  \n[useUpdate](docs/useUpdate.md) — Return a function that re-renders the component when called.\n\n### Utilities\n[useLocalStorage](docs/useLocalStorage.md) — Interact with the browser’s localStorage API.  \n[useLocation](docs/useLocation.md) — Track the browser’s location.  \n[useOnce](docs/useOnce) — Execute code just once before the component renders.\n\n## ESLint Configuration\n\nTo take full advantage of hooks with dependencies, add the following rule to your ESLint config:\n\n```json\n{\n  \"rules\": {\n    \"react-hooks/exhaustive-deps\": [\n      \"warn\", {\n        \"additionalHooks\": \"(useDebounce|useUpdateEffect|use.*DeepCompare)\"\n      }\n    ]\n  }\n}\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/gilbarbara/hooks#readme","bugs":{"url":"https://github.com/gilbarbara/hooks/issues"},"license":"MIT"}