{"_id":"@1money/hooks","_rev":"5-2384262defa28f47a17a47902849ddd0","name":"@1money/hooks","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@1money/hooks","version":"0.1.0","keywords":[],"author":"","license":"MIT","_id":"@1money/hooks@0.1.0","maintainers":[{"name":"bobby-1money","email":"bobby@1money.com"}],"homepage":"https://github.com/1Money-Co/1money-hooks#readme","bugs":{"url":"https://github.com/1Money-Co/1money-hooks/issues"},"dist":{"shasum":"1d9e3fbd188b0ff791811d9ee6f671e5164c4ba2","tarball":"https://registry.npmjs.org/@1money/hooks/-/hooks-0.1.0.tgz","fileCount":46,"integrity":"sha512-2USrmq0U8DqSSKFAmBGff5DNhJqEMRlEPFtVSioGwunS9Vp/kQ34hDA/0hxJ5AGTc7cF6LGbrkPHaQ9l+EhITQ==","signatures":[{"sig":"MEYCIQCd2OAKrutueCclqoH9UV2GRcG59/CHyQ9qScBy5Tp3wQIhAKSLAuw4jNhElSwgSGkCSHe6B5kCVTBrVp40zyx/5MRk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1money%2fhooks@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53876},"main":"lib/index.js","types":"es/index.d.ts","module":"es/index.js","exports":{".":{"types":"./es/index.d.ts","import":"./es/index.js","require":"./lib/index.js"},"./useLatest":{"types":"./es/useLatest/index.d.ts","import":"./es/useLatest/index.js","require":"./lib/useLatest/index.js"},"./usePrevious":{"types":"./es/usePrevious/index.d.ts","import":"./es/usePrevious/index.js","require":"./lib/usePrevious/index.js"},"./useSafeState":{"types":"./es/useSafeState/index.d.ts","import":"./es/useSafeState/index.js","require":"./lib/useSafeState/index.js"},"./useSyncState":{"types":"./es/useSyncState/index.d.ts","import":"./es/useSyncState/index.js","require":"./lib/useSyncState/index.js"},"./useMemoizedFn":{"types":"./es/useMemoizedFn/index.d.ts","import":"./es/useMemoizedFn/index.js","require":"./lib/useMemoizedFn/index.js"},"./useLayoutState":{"types":"./es/useLayoutState/index.d.ts","import":"./es/useLayoutState/index.js","require":"./lib/useLayoutState/index.js"},"./useLayoutEffect":{"types":"./es/useLayoutEffect/index.d.ts","import":"./es/useLayoutEffect/index.js","require":"./lib/useLayoutEffect/index.js"},"./useUpdateEffect":{"types":"./es/useUpdateEffect/index.d.ts","import":"./es/useUpdateEffect/index.js","require":"./lib/useUpdateEffect/index.js"},"./useEventCallback":{"types":"./es/useEventCallback/index.d.ts","import":"./es/useEventCallback/index.js","require":"./lib/useEventCallback/index.js"},"./useControlledState":{"types":"./es/useControlledState/index.d.ts","import":"./es/useControlledState/index.js","require":"./lib/useControlledState/index.js"}},"gitHead":"5fc33b3fb793594b86d0544fb2b37a4bca1a0355","scripts":{"dev":"father dev","lint":"npm run lint:prettier && npm run lint:es","test":"vitest run","build":"father build","lint:es":"eslint src/","lint:fix":"npm run lint:prettier_fix && npm run lint:es_fix","lint:es_fix":"eslint src/ --fix","lint:prettier":"prettier --check src/","lint:prettier_fix":"prettier --write src/"},"_npmUser":{"name":"bobby-1money","email":"bobby@1money.com"},"repository":{"url":"git+https://github.com/1Money-Co/1money-hooks.git","type":"git"},"_npmVersion":"10.8.1","description":"React hooks for 1money front-end projects","directories":{},"sideEffects":false,"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"~29.7.0","jsdom":"^29.0.0","react":"^19.1.0","eslint":"~9.20.1","father":"^4.5.1","vitest":"^4.1.0","globals":"^15.15.0","ts-jest":"~29.2.6","prettier":"~3.5.3","react-dom":"^19.2.4","@eslint/js":"^9.24.0","typescript":"~5.5.4","@types/jest":"29.5.12","@types/node":"~18.19.86","@types/react":"~19.1.2","@types/react-dom":"^19.2.3","eslint-plugin-react":"~7.37.5","@testing-library/react":"^16.3.2","eslint-config-prettier":"~10.0.3","eslint-plugin-prettier":"~5.2.6","jest-environment-jsdom":"^29.7.0","@typescript-eslint/parser":"~8.23.0","@testing-library/react-hooks":"^8.0.1","@typescript-eslint/eslint-plugin":"~8.23.0"},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.1.0_1773741035218_0.34479910686350146","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@1money/hooks","version":"0.1.1","keywords":[],"author":"","license":"MIT","_id":"@1money/hooks@0.1.1","maintainers":[{"name":"bobby-1money","email":"bobby@1money.com"}],"homepage":"https://github.com/1Money-Co/1money-hooks#readme","bugs":{"url":"https://github.com/1Money-Co/1money-hooks/issues"},"dist":{"shasum":"6a2de76011f2610da6cf6b2dd371144ee5da41e5","tarball":"https://registry.npmjs.org/@1money/hooks/-/hooks-0.1.1.tgz","fileCount":46,"integrity":"sha512-VoXZiuvQNvZvamxj15SDqtT3HuWfJQzCUbp8SCrsNNXc1CF9Fru8i8miib5vkUDGXfiuJE9NNCQAE53KYjdClw==","signatures":[{"sig":"MEUCIQC6H4rf0/O8uai7tIlMQIapx24Snu0h9YUcG3RMAc4N+AIgCL5MevZC3byQf/Uerof+InOmYy0n3sdF8YLark6ZdVA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1money%2fhooks@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53952},"main":"lib/index.js","pnpm":{"overrides":{"send":"0.19.0","yaml":"1.10.3","lodash":"4.18.0","esbuild":"0.25.0","flatted":"3.4.2","ajv@6.12.6":"6.14.0","@babel/runtime":"7.26.10","minimatch@3.0.8":"3.1.5","minimatch@3.1.2":"3.1.5","picomatch@2.3.1":"2.3.2","picomatch@4.0.3":"4.0.4","@tootallnate/once":"3.0.1","@eslint/plugin-kit":"0.3.4","brace-expansion@2.0.2":"2.0.3"}},"types":"es/index.d.ts","module":"es/index.js","exports":{".":{"types":"./es/index.d.ts","import":"./es/index.js","require":"./lib/index.js"},"./useLatest":{"types":"./es/useLatest/index.d.ts","import":"./es/useLatest/index.js","require":"./lib/useLatest/index.js"},"./usePrevious":{"types":"./es/usePrevious/index.d.ts","import":"./es/usePrevious/index.js","require":"./lib/usePrevious/index.js"},"./useSafeState":{"types":"./es/useSafeState/index.d.ts","import":"./es/useSafeState/index.js","require":"./lib/useSafeState/index.js"},"./useSyncState":{"types":"./es/useSyncState/index.d.ts","import":"./es/useSyncState/index.js","require":"./lib/useSyncState/index.js"},"./useMemoizedFn":{"types":"./es/useMemoizedFn/index.d.ts","import":"./es/useMemoizedFn/index.js","require":"./lib/useMemoizedFn/index.js"},"./useLayoutState":{"types":"./es/useLayoutState/index.d.ts","import":"./es/useLayoutState/index.js","require":"./lib/useLayoutState/index.js"},"./useLayoutEffect":{"types":"./es/useLayoutEffect/index.d.ts","import":"./es/useLayoutEffect/index.js","require":"./lib/useLayoutEffect/index.js"},"./useUpdateEffect":{"types":"./es/useUpdateEffect/index.d.ts","import":"./es/useUpdateEffect/index.js","require":"./lib/useUpdateEffect/index.js"},"./useEventCallback":{"types":"./es/useEventCallback/index.d.ts","import":"./es/useEventCallback/index.js","require":"./lib/useEventCallback/index.js"},"./useControlledState":{"types":"./es/useControlledState/index.d.ts","import":"./es/useControlledState/index.js","require":"./lib/useControlledState/index.js"}},"gitHead":"c53f68aa116541d46c6a98ffbfe14be80a28251c","scripts":{"dev":"father dev","lint":"npm run lint:prettier && npm run lint:es","test":"vitest run","build":"father build","lint:es":"eslint src/","lint:fix":"npm run lint:prettier_fix && npm run lint:es_fix","lint:es_fix":"eslint src/ --fix","lint:prettier":"prettier --check src/","lint:prettier_fix":"prettier --write src/"},"_npmUser":{"name":"bobby-1money","email":"bobby@1money.com"},"repository":{"url":"git+https://github.com/1Money-Co/1money-hooks.git","type":"git"},"_npmVersion":"10.8.1","description":"React hooks for 1money front-end projects","directories":{},"sideEffects":false,"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.5","jsdom":"^29.0.2","react":"^19.1.0","eslint":"^9.39.4","father":"^4.6.17","vitest":"^4.1.4","globals":"^15.15.0","prettier":"~3.5.3","react-dom":"^19.2.4","@eslint/js":"^9.39.4","typescript":"~5.5.4","@types/node":"^20.19.0","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","eslint-plugin-react":"~7.37.5","@testing-library/react":"^16.3.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.58.1","@typescript-eslint/eslint-plugin":"^8.58.1"},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.1.1_1776069043353_0.997553048323377","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@1money/hooks","version":"0.1.2","keywords":[],"author":"","license":"MIT","_id":"@1money/hooks@0.1.2","maintainers":[{"name":"bobby-1money","email":"bobby@1money.com"}],"homepage":"https://github.com/1Money-Co/1money-hooks#readme","bugs":{"url":"https://github.com/1Money-Co/1money-hooks/issues"},"dist":{"shasum":"695509fdef32eab3544883b87d88ab5fdc20f514","tarball":"https://registry.npmjs.org/@1money/hooks/-/hooks-0.1.2.tgz","fileCount":50,"integrity":"sha512-lSBoxHWfMm84dCpCS9vjweRzAU6/1DGQ1xqu2pzoYX0GDWAh0u7kjsJGo7eNLNaECOIqtvpY3uMZjBf4z9bVAg==","signatures":[{"sig":"MEUCIQC4GTzEQyCkMRXfNd0046Y+z1i/xIgtd/r15sYaPnUsaQIgAKbWnmSS/uZmhAX+I2jvz12VVVQgHEjHEvJmlfeARag=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1money%2fhooks@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":69438},"main":"lib/index.js","pnpm":{"overrides":{"send":"0.19.0","yaml":"1.10.3","lodash":"4.18.0","esbuild":"0.25.0","flatted":"3.4.2","ajv@6.12.6":"6.14.0","@babel/runtime":"7.26.10","minimatch@3.0.8":"3.1.5","minimatch@3.1.2":"3.1.5","picomatch@2.3.1":"2.3.2","picomatch@4.0.3":"4.0.4","@tootallnate/once":"3.0.1","@eslint/plugin-kit":"0.3.4","brace-expansion@2.0.2":"2.0.3"}},"types":"es/index.d.ts","module":"es/index.js","exports":{".":{"types":"./es/index.d.ts","import":"./es/index.js","require":"./lib/index.js"},"./useLatest":{"types":"./es/useLatest/index.d.ts","import":"./es/useLatest/index.js","require":"./lib/useLatest/index.js"},"./usePrevious":{"types":"./es/usePrevious/index.d.ts","import":"./es/usePrevious/index.js","require":"./lib/usePrevious/index.js"},"./useSafeState":{"types":"./es/useSafeState/index.d.ts","import":"./es/useSafeState/index.js","require":"./lib/useSafeState/index.js"},"./useSyncState":{"types":"./es/useSyncState/index.d.ts","import":"./es/useSyncState/index.js","require":"./lib/useSyncState/index.js"},"./useMemoizedFn":{"types":"./es/useMemoizedFn/index.d.ts","import":"./es/useMemoizedFn/index.js","require":"./lib/useMemoizedFn/index.js"},"./useQueryState":{"types":"./es/useQueryState/index.d.ts","import":"./es/useQueryState/index.js","require":"./lib/useQueryState/index.js"},"./useLayoutState":{"types":"./es/useLayoutState/index.d.ts","import":"./es/useLayoutState/index.js","require":"./lib/useLayoutState/index.js"},"./useLayoutEffect":{"types":"./es/useLayoutEffect/index.d.ts","import":"./es/useLayoutEffect/index.js","require":"./lib/useLayoutEffect/index.js"},"./useUpdateEffect":{"types":"./es/useUpdateEffect/index.d.ts","import":"./es/useUpdateEffect/index.js","require":"./lib/useUpdateEffect/index.js"},"./useEventCallback":{"types":"./es/useEventCallback/index.d.ts","import":"./es/useEventCallback/index.js","require":"./lib/useEventCallback/index.js"},"./useControlledState":{"types":"./es/useControlledState/index.d.ts","import":"./es/useControlledState/index.js","require":"./lib/useControlledState/index.js"}},"gitHead":"0c112efe53eaa30828e5564f35389b36f2ab5427","scripts":{"dev":"father dev","lint":"npm run lint:prettier && npm run lint:es","test":"vitest run","build":"father build","lint:es":"eslint src/","lint:fix":"npm run lint:prettier_fix && npm run lint:es_fix","lint:es_fix":"eslint src/ --fix","lint:prettier":"prettier --check src/","lint:prettier_fix":"prettier --write src/"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8c94ee1-d670-4a0e-b0c1-a641e26f600b"}},"repository":{"url":"git+https://github.com/1Money-Co/1money-hooks.git","type":"git"},"_npmVersion":"11.13.0","description":"React hooks for 1money front-end projects","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.5","jsdom":"^29.0.2","react":"^19.1.0","eslint":"^9.39.4","father":"^4.6.17","vitest":"^4.1.4","globals":"^15.15.0","prettier":"~3.5.3","react-dom":"^19.2.4","@eslint/js":"^9.39.4","typescript":"~5.5.4","@types/node":"^20.19.0","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","eslint-plugin-react":"~7.37.5","@testing-library/react":"^16.3.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.58.1","@typescript-eslint/eslint-plugin":"^8.58.1"},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.1.2_1780544130594_0.5163434027811187","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@1money/hooks","version":"0.1.3","keywords":[],"author":"","license":"MIT","_id":"@1money/hooks@0.1.3","maintainers":[{"name":"bobby-1money","email":"bobby@1money.com"}],"homepage":"https://github.com/1Money-Co/1money-hooks#readme","bugs":{"url":"https://github.com/1Money-Co/1money-hooks/issues"},"dist":{"shasum":"19c9eb92a7ccfc30c98a7308d1f40d2387334fe7","tarball":"https://registry.npmjs.org/@1money/hooks/-/hooks-0.1.3.tgz","fileCount":50,"integrity":"sha512-ULFsty+Ow9y0PJQH6QJTp2CG3BbnPt2GFfs9alslEzbG00DZyacWKUA/kGF3RkTs49wqftdRrUcYA3qIYP1++g==","signatures":[{"sig":"MEYCIQD+N9PopR2WuaRiZRhbUsEVncn87R4q1QU69ougIfEGFQIhAOHExO0anO0Xreyx4SzD0ZXy7rFjXxL20rT0TcmC7MWC","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1money%2fhooks@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":68265},"main":"lib/index.js","pnpm":{"overrides":{"send":"0.19.0","yaml":"1.10.3","lodash":"4.18.0","esbuild":"0.25.0","flatted":"3.4.2","ajv@6.12.6":"6.14.0","@babel/runtime":"7.26.10","minimatch@3.0.8":"3.1.5","minimatch@3.1.2":"3.1.5","picomatch@2.3.1":"2.3.2","picomatch@4.0.3":"4.0.4","@tootallnate/once":"3.0.1","@eslint/plugin-kit":"0.3.4","brace-expansion@2.0.2":"2.0.3"}},"types":"es/index.d.ts","module":"es/index.js","exports":{".":{"types":"./es/index.d.ts","import":"./es/index.js","require":"./lib/index.js"},"./useLatest":{"types":"./es/useLatest/index.d.ts","import":"./es/useLatest/index.js","require":"./lib/useLatest/index.js"},"./usePrevious":{"types":"./es/usePrevious/index.d.ts","import":"./es/usePrevious/index.js","require":"./lib/usePrevious/index.js"},"./useSafeState":{"types":"./es/useSafeState/index.d.ts","import":"./es/useSafeState/index.js","require":"./lib/useSafeState/index.js"},"./useSyncState":{"types":"./es/useSyncState/index.d.ts","import":"./es/useSyncState/index.js","require":"./lib/useSyncState/index.js"},"./useMemoizedFn":{"types":"./es/useMemoizedFn/index.d.ts","import":"./es/useMemoizedFn/index.js","require":"./lib/useMemoizedFn/index.js"},"./useQueryState":{"types":"./es/useQueryState/index.d.ts","import":"./es/useQueryState/index.js","require":"./lib/useQueryState/index.js"},"./useLayoutState":{"types":"./es/useLayoutState/index.d.ts","import":"./es/useLayoutState/index.js","require":"./lib/useLayoutState/index.js"},"./useLayoutEffect":{"types":"./es/useLayoutEffect/index.d.ts","import":"./es/useLayoutEffect/index.js","require":"./lib/useLayoutEffect/index.js"},"./useUpdateEffect":{"types":"./es/useUpdateEffect/index.d.ts","import":"./es/useUpdateEffect/index.js","require":"./lib/useUpdateEffect/index.js"},"./useEventCallback":{"types":"./es/useEventCallback/index.d.ts","import":"./es/useEventCallback/index.js","require":"./lib/useEventCallback/index.js"},"./useControlledState":{"types":"./es/useControlledState/index.d.ts","import":"./es/useControlledState/index.js","require":"./lib/useControlledState/index.js"}},"gitHead":"3750242f00f13a301441d5800bfd26e0f754081d","scripts":{"dev":"father dev","lint":"npm run lint:prettier && npm run lint:es","test":"vitest run","build":"father build","lint:es":"eslint src/","lint:fix":"npm run lint:prettier_fix && npm run lint:es_fix","lint:es_fix":"eslint src/ --fix","lint:prettier":"prettier --check src/","lint:prettier_fix":"prettier --write src/"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8c94ee1-d670-4a0e-b0c1-a641e26f600b"}},"repository":{"url":"git+https://github.com/1Money-Co/1money-hooks.git","type":"git"},"_npmVersion":"11.13.0","description":"React hooks for 1money front-end projects","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","_hasShrinkwrap":false,"devDependencies":{"next":"^14.2.0","vite":"^8.0.5","jsdom":"^29.0.2","react":"^19.1.0","eslint":"^9.39.4","father":"^4.6.17","vitest":"^4.1.4","globals":"^15.15.0","prettier":"~3.5.3","react-dom":"^19.2.4","@eslint/js":"^9.39.4","typescript":"~5.5.4","@types/node":"^20.19.0","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","eslint-plugin-react":"~7.37.5","@testing-library/react":"^16.3.2","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","@typescript-eslint/parser":"^8.58.1","@typescript-eslint/eslint-plugin":"^8.58.1"},"peerDependencies":{"next":">=14.0.0","react":">=16.8.0"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/hooks_0.1.3_1780581523415_0.46242443778670594","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@1money/hooks","version":"0.1.4","description":"React hooks for 1money front-end projects","main":"lib/index.js","module":"es/index.js","types":"es/index.d.ts","sideEffects":false,"exports":{".":{"types":"./es/index.d.ts","import":"./es/index.js","require":"./lib/index.js"},"./useControlledState":{"types":"./es/useControlledState/index.d.ts","import":"./es/useControlledState/index.js","require":"./lib/useControlledState/index.js"},"./useDebouncedValue":{"types":"./es/useDebouncedValue/index.d.ts","import":"./es/useDebouncedValue/index.js","require":"./lib/useDebouncedValue/index.js"},"./useDebouncedCallback":{"types":"./es/useDebouncedCallback/index.d.ts","import":"./es/useDebouncedCallback/index.js","require":"./lib/useDebouncedCallback/index.js"},"./useThrottledCallback":{"types":"./es/useThrottledCallback/index.d.ts","import":"./es/useThrottledCallback/index.js","require":"./lib/useThrottledCallback/index.js"},"./useEventCallback":{"types":"./es/useEventCallback/index.d.ts","import":"./es/useEventCallback/index.js","require":"./lib/useEventCallback/index.js"},"./useLatest":{"types":"./es/useLatest/index.d.ts","import":"./es/useLatest/index.js","require":"./lib/useLatest/index.js"},"./useLayoutEffect":{"types":"./es/useLayoutEffect/index.d.ts","import":"./es/useLayoutEffect/index.js","require":"./lib/useLayoutEffect/index.js"},"./useLayoutState":{"types":"./es/useLayoutState/index.d.ts","import":"./es/useLayoutState/index.js","require":"./lib/useLayoutState/index.js"},"./useQueryState":{"types":"./es/useQueryState/index.d.ts","import":"./es/useQueryState/index.js","require":"./lib/useQueryState/index.js"},"./useMemoizedFn":{"types":"./es/useMemoizedFn/index.d.ts","import":"./es/useMemoizedFn/index.js","require":"./lib/useMemoizedFn/index.js"},"./useInterval":{"types":"./es/useInterval/index.d.ts","import":"./es/useInterval/index.js","require":"./lib/useInterval/index.js"},"./useTimeout":{"types":"./es/useTimeout/index.d.ts","import":"./es/useTimeout/index.js","require":"./lib/useTimeout/index.js"},"./usePrevious":{"types":"./es/usePrevious/index.d.ts","import":"./es/usePrevious/index.js","require":"./lib/usePrevious/index.js"},"./useSafeState":{"types":"./es/useSafeState/index.d.ts","import":"./es/useSafeState/index.js","require":"./lib/useSafeState/index.js"},"./useSyncState":{"types":"./es/useSyncState/index.d.ts","import":"./es/useSyncState/index.js","require":"./lib/useSyncState/index.js"},"./useUpdateEffect":{"types":"./es/useUpdateEffect/index.d.ts","import":"./es/useUpdateEffect/index.js","require":"./lib/useUpdateEffect/index.js"}},"scripts":{"build":"father build","dev":"father dev","test":"vitest run","lint":"npm run lint:prettier && npm run lint:es","lint:fix":"npm run lint:prettier_fix && npm run lint:es_fix","lint:es":"eslint src/","lint:es_fix":"eslint src/ --fix","lint:prettier":"prettier --check src/","lint:prettier_fix":"prettier --write src/"},"keywords":[],"author":"","repository":{"type":"git","url":"git+https://github.com/1Money-Co/1money-hooks.git"},"peerDependencies":{"next":">=14.0.0","react":">=16.8.0"},"peerDependenciesMeta":{"next":{"optional":true}},"license":"MIT","devDependencies":{"@eslint/js":"^9.39.4","@testing-library/react":"^16.3.2","@types/node":"^20.19.0","@types/react":"^19.2.14","@types/react-dom":"^19.2.3","@typescript-eslint/eslint-plugin":"^8.58.1","@typescript-eslint/parser":"^8.58.1","eslint":"^9.39.4","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.5","eslint-plugin-react":"~7.37.5","father":"^4.6.17","globals":"^15.15.0","jsdom":"^29.0.2","next":"^14.2.0","prettier":"~3.5.3","react":"^19.1.0","react-dom":"^19.2.4","typescript":"~5.5.4","vite":"^8.0.5","vitest":"^4.1.4"},"pnpm":{"overrides":{"@babel/runtime":"7.26.10","@eslint/plugin-kit":"0.3.4","@tootallnate/once":"3.0.1","ajv@6.12.6":"6.14.0","brace-expansion@2.0.2":"2.0.3","esbuild":"0.25.0","flatted":"3.4.2","lodash":"4.18.0","minimatch@3.0.8":"3.1.5","minimatch@3.1.2":"3.1.5","picomatch@2.3.1":"2.3.2","picomatch@4.0.3":"4.0.4","send":"0.19.0","yaml":"1.10.3"}},"gitHead":"32d1d3706798ba3f43e37d8787a4e51dc0e50dd1","_id":"@1money/hooks@0.1.4","bugs":{"url":"https://github.com/1Money-Co/1money-hooks/issues"},"homepage":"https://github.com/1Money-Co/1money-hooks#readme","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-5Rq4G1d1VoMUkwyXrzqdPQDjMo0CFwOfXqNAwbmcMXjiHSry8tQfbFhfn912HmoXZN1p7dvvrQ7Sj34ssOTtlA==","shasum":"e827caac6c4bcfc7593b2cc9cf7730b98a1c1d17","tarball":"https://registry.npmjs.org/@1money/hooks/-/hooks-0.1.4.tgz","fileCount":70,"unpackedSize":99984,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@1money%2fhooks@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDnm6nukPcrNx6senfJw6Wb1bkWZ9gZwnd6X+Sr5VvFgAiByYYA9VLwP9UahQBoH02XSJPSfnHIA5hZFtLWerl9Qjg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a8c94ee1-d670-4a0e-b0c1-a641e26f600b"}},"directories":{},"maintainers":[{"name":"bobby-1money","email":"bobby@1money.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hooks_0.1.4_1780878353781_0.006030220084844551"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-17T09:50:35.126Z","modified":"2026-06-08T00:25:54.329Z","0.1.0":"2026-03-17T09:50:35.390Z","0.1.1":"2026-04-13T08:30:43.495Z","0.1.2":"2026-06-04T03:35:30.734Z","0.1.3":"2026-06-04T13:58:43.559Z","0.1.4":"2026-06-08T00:25:53.921Z"},"bugs":{"url":"https://github.com/1Money-Co/1money-hooks/issues"},"license":"MIT","homepage":"https://github.com/1Money-Co/1money-hooks#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/1Money-Co/1money-hooks.git"},"description":"React hooks for 1money front-end projects","maintainers":[{"name":"bobby-1money","email":"bobby@1money.com"}],"readme":"# @1money/hooks\n\nReact hooks for 1Money front-end projects.\n\n## Installation\n\n```bash\npnpm add @1money/hooks\n```\n\n> Requires `react >= 16.8.0` as a peer dependency.\n\n## Hooks\n\n| Hook | Description |\n| --- | --- |\n| `useControlledState` | Manages state that can be either controlled (via props) or uncontrolled. |\n| `useEventCallback` | Returns a stable callback reference that always invokes the latest function. |\n| `useLatest` | Returns a ref that always holds the latest value, avoiding stale closures. |\n| `useLayoutEffect` | Wrapper around `useLayoutEffect` that indicates whether it's the initial mount. |\n| `useLayoutState` | Batches multiple state updates into a single microtask to reduce re-renders. |\n| `useMemoizedFn` | Returns a memoized function with a stable reference across re-renders. |\n| `usePrevious` | Returns the previous distinct value before the last change. |\n| `useSafeState` | Like `useState` but prevents updates after unmount. |\n| `useSyncState` | Returns a getter/setter where the getter always reflects the latest state synchronously. |\n| `useUpdateEffect` | Like `useEffect` but skips the initial mount. |\n\n## Usage\n\n```tsx\nimport { useMemoizedFn, useLatest } from '@1money/hooks';\n```\n\nIndividual hooks can also be imported directly for tree-shaking:\n\n```tsx\nimport useMemoizedFn from '@1money/hooks/useMemoizedFn';\n```\n\n## Development\n\n```bash\npnpm install\npnpm dev       # watch mode\npnpm build     # production build\npnpm test      # run tests\npnpm lint      # check formatting & linting\npnpm lint:fix  # auto-fix\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}