{"_id":"@288-toolkit/timeout","_rev":"7-c36746c89cc023cf9fc5f145ce837ee6","name":"@288-toolkit/timeout","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"@288-toolkit/timeout","version":"1.0.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/timeout@1.0.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"55e34d8019a35f608eab72411a2e4c784625e38a","tarball":"https://registry.npmjs.org/@288-toolkit/timeout/-/timeout-1.0.0.tgz","fileCount":9,"integrity":"sha512-T7iXOM5GLDENtosdhKqHZm2WrznYADS2W4jKG/JmMHxjJigxPzw7ekb9aLeqThB0Hi9ydCwECIyaiNkMsGfCUg==","signatures":[{"sig":"MEYCIQDADKwKMivm6o2yCXJ/WhStJ5d6UNl2asBRnR2WFB4iKgIhAMZyTluMiE6CMJmuwsISVPLL5gpwJ2Rt8xL0OMtPXh1Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3445},"type":"module","_from":"file:288-toolkit-timeout-1.0.0.tgz","exports":{".":{"default":"./src/index.ts"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/private/var/folders/k6/gmpb3s_x4kb4v14gmbp18y_40000gs/T/7174f229300733f025970e8dd83ffea0/288-toolkit-timeout-1.0.0.tgz","_integrity":"sha512-T7iXOM5GLDENtosdhKqHZm2WrznYADS2W4jKG/JmMHxjJigxPzw7ekb9aLeqThB0Hi9ydCwECIyaiNkMsGfCUg==","_npmVersion":"9.8.1","description":"[!IMPORTANT] This package only exports typescript files.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"just-throttle":"^4.2.0","just-debounce-it":"^3.2.0"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/timeout_1.0.0_1713905046573_0.506396722966346","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@288-toolkit/timeout","version":"1.0.1","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/timeout@1.0.1","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"a9ad55a6a09dbdd2c724a7b6f6f3b6dc6821c7fa","tarball":"https://registry.npmjs.org/@288-toolkit/timeout/-/timeout-1.0.1.tgz","fileCount":10,"integrity":"sha512-+vtoMf7xrL8EQ08Rmp7J8+82eeHFZ8U93vG/qpbTdJ4JsAZuXCG7ScJyFLJXzPmYncVhzeW/hF65uMvMOaN6kQ==","signatures":[{"sig":"MEYCIQD2LLb+86FRDtUDpEKWG85ZThvSNLiIjSoW/NGnweyk6wIhAP2bI/Az9ePssmtVmeVxOHiqT/PWT28ChBnq0v3BVnt5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3515},"type":"module","_from":"file:288-toolkit-timeout-1.0.1.tgz","exports":{".":{"default":"./src/index.ts"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/private/var/folders/k6/gmpb3s_x4kb4v14gmbp18y_40000gs/T/2d4dac6fd0eb2ef35b006e95f95b7625/288-toolkit-timeout-1.0.1.tgz","_integrity":"sha512-+vtoMf7xrL8EQ08Rmp7J8+82eeHFZ8U93vG/qpbTdJ4JsAZuXCG7ScJyFLJXzPmYncVhzeW/hF65uMvMOaN6kQ==","_npmVersion":"9.8.1","description":"[!IMPORTANT] This package only exports typescript files.","directories":{},"_nodeVersion":"20.6.0","dependencies":{"just-throttle":"^4.2.0","just-debounce-it":"^3.2.0"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/timeout_1.0.1_1713963369078_0.1997777862265706","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@288-toolkit/timeout","version":"1.0.2","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/timeout@1.0.2","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"a3c3498f464ad4f33502c53f6d1056bea5721d11","tarball":"https://registry.npmjs.org/@288-toolkit/timeout/-/timeout-1.0.2.tgz","fileCount":6,"integrity":"sha512-AnsmHmS1go4AvXoS0ZJvgMEdt7ABXfZbXnEArnyfNvmB6B43cEW1K+87g/8EdCYLI9VlPdWsmhMghGzHuHdPoA==","signatures":[{"sig":"MEUCIEL1IuTdUAIQR/gcwlorfh40zkjyNK/mRLsoJi4ru2sMAiEA+VSjnnsYfiFET7H8wCVqiz90WSCcxrN2VTJY7LqO+mg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2999},"type":"module","_from":"file:288-toolkit-timeout-1.0.2.tgz","exports":{".":{"default":"./src/index.ts"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/a2556658e2314372220a25788ba437e4/288-toolkit-timeout-1.0.2.tgz","_integrity":"sha512-AnsmHmS1go4AvXoS0ZJvgMEdt7ABXfZbXnEArnyfNvmB6B43cEW1K+87g/8EdCYLI9VlPdWsmhMghGzHuHdPoA==","_npmVersion":"10.5.0","description":"A collection of function for timeouts.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"just-throttle":"^4.2.0","just-debounce-it":"^3.2.0"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/timeout_1.0.2_1714076103305_0.09776498729834393","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@288-toolkit/timeout","version":"3.0.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/timeout@3.0.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"ccaa360b5694d99b593c6b40d627d5acdb599773","tarball":"https://registry.npmjs.org/@288-toolkit/timeout/-/timeout-3.0.0.tgz","fileCount":10,"integrity":"sha512-/iWyB0oMIE0eRPM42ADNyMtvohva9MqCmMPyn6m4LvXM3zbGYVJq7S3br87pSN3r+OHjyPR68Xw1Bp7NgN3SAA==","signatures":[{"sig":"MEYCIQCtBTZ9lvB+v1jpJnFT4ouOcOcOdK2SV7JYMVwIyK6kNAIhAMXVCRVC1z9hQK2gKCGcYnm83PuIH7O58zpuMvz0s4sq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3873},"type":"module","_from":"file:288-toolkit-timeout-3.0.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/528dbd8bc687dc63f3208d572ab863b9/288-toolkit-timeout-3.0.0.tgz","_integrity":"sha512-/iWyB0oMIE0eRPM42ADNyMtvohva9MqCmMPyn6m4LvXM3zbGYVJq7S3br87pSN3r+OHjyPR68Xw1Bp7NgN3SAA==","_npmVersion":"10.5.0","description":"A collection of function for timeouts.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"just-throttle":"4.2.0","just-debounce-it":"3.2.0"},"_hasShrinkwrap":false,"peerDependencies":{"@sveltejs/kit":"2.x"},"_npmOperationalInternal":{"tmp":"tmp/timeout_3.0.0_1714509578944_0.3075052932425877","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"@288-toolkit/timeout","version":"3.0.1","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/timeout@3.0.1","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"73ddac025094f8935d7d1544274a2666939030ec","tarball":"https://registry.npmjs.org/@288-toolkit/timeout/-/timeout-3.0.1.tgz","fileCount":10,"integrity":"sha512-Q0KJlLxR1PrfEmyYze28AxlWp1k5pr3mI5zxpQGHC6XtfmcI3qbWWBmwBlB+eGu5AL1b7Azp+GIhsvBF2uz8jg==","signatures":[{"sig":"MEUCIDzUFXdhfAaMw5NXvPPMkBh1i1Chur257hpnWdTstNSWAiEA1huz2pxdzOxFzHwgIM8P7GywnYfa0uNZngjQ8UiROtg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3824},"type":"module","_from":"file:288-toolkit-timeout-3.0.1.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/3d6cb7d86af2dc5fec7c89d200b1e995/288-toolkit-timeout-3.0.1.tgz","_integrity":"sha512-Q0KJlLxR1PrfEmyYze28AxlWp1k5pr3mI5zxpQGHC6XtfmcI3qbWWBmwBlB+eGu5AL1b7Azp+GIhsvBF2uz8jg==","_npmVersion":"10.5.0","description":"A collection of function for timeouts.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"just-throttle":"4.2.0","just-debounce-it":"3.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/timeout_3.0.1_1714509810484_0.1600160767409784","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@288-toolkit/timeout","version":"4.0.0","author":{"name":"DeuxHuitHuit"},"license":"MIT","_id":"@288-toolkit/timeout@4.0.0","maintainers":[{"name":"nitriques","email":"open-source@deuxhuithuit.com"},{"name":"f-elix","email":"guerinfelix08@gmail.com"}],"dist":{"shasum":"337b711f37dccf5b5e0a22d670067d2fb24f165a","tarball":"https://registry.npmjs.org/@288-toolkit/timeout/-/timeout-4.0.0.tgz","fileCount":10,"integrity":"sha512-gVCZYZaDwBXeUYp9iAXoEmMfhYYAVxU9ZNk+cFwXxhtIq8KMsQkeBqTHSfL+Kc8Iq3XvulZHyVFnb2yWVpkF6Q==","signatures":[{"sig":"MEUCIQCLviLK/ZdhuELHtevPAFhvp6UQDxW0aSqECBHZbX8PtwIgfqvC2QE9JMkbYVYcnrARWXTUK7UMHKAxYF7sRiKNdxs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3842},"type":"module","_from":"file:288-toolkit-timeout-4.0.0.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"lc":"npm run lint && npm run check","lint":"eslint --max-warnings=0 --cache .","test":"vitest run","build":"svelte-package -i src","check":"svelte-check --tsconfig ./tsconfig.json --fail-on-warnings","format":"npm run format:file .","lc:watch":"npm run lint && npm run check -- --watch","lint:fix":"npm run lint -- --fix","test:watch":"vitest","check:watch":"npm run check -- --watch","format:file":"npm run format:prettier -- --write","format:prettier":"prettier --config ./.prettierrc"},"_npmUser":{"name":"f-elix","email":"guerinfelix08@gmail.com"},"_resolved":"/tmp/1c3a8e551e90cff4935cbead24c2f30f/288-toolkit-timeout-4.0.0.tgz","_integrity":"sha512-gVCZYZaDwBXeUYp9iAXoEmMfhYYAVxU9ZNk+cFwXxhtIq8KMsQkeBqTHSfL+Kc8Iq3XvulZHyVFnb2yWVpkF6Q==","_npmVersion":"10.5.0","description":"A collection of function for timeouts.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"just-throttle":"4.2.0","just-debounce-it":"3.2.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/timeout_4.0.0_1714522068560_0.23757948671811535","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-04-23T20:44:06.479Z","modified":"2025-09-23T15:34:44.831Z","1.0.0":"2024-04-23T20:44:06.742Z","1.0.1":"2024-04-24T12:56:09.242Z","1.0.2":"2024-04-25T20:15:03.485Z","3.0.0":"2024-04-30T20:39:39.227Z","3.0.1":"2024-04-30T20:43:30.696Z","4.0.0":"2024-05-01T00:07:48.743Z"},"author":{"name":"DeuxHuitHuit"},"license":"MIT","description":"A collection of function for timeouts.","maintainers":[{"email":"open-source@deuxhuithuit.com","name":"nitriques"}],"readme":"# Timeout\n\nA collection of function for timeouts.\n\n## `sleep`\n\nResolves a promise after a given time.\n\n## `throttle`\n\nReturn a throttled function that will run the callback at most once until the timer expires.\n\nA re-export of https://github.com/angus-c/just/tree/master/packages/function-throttle\n\n## `debounce`\n\nReturn a debounced function that will run the callback <time> ms after the last invocation.\n\nA re-export of https://github.com/angus-c/just/tree/master/packages/function-debounce\n\n## `interval`\n\nCreates an interval that calls a function at a fixed interval using requestAnimationFrame. Returns a\nfunction that cancels the interval.\n\n## `throttleRaf`\n\nReturn a throttled function that is called at most once per animation frame.\n","readmeFilename":"README.md"}