{"name":"immediato","version":"1.0.1","keywords":["immediate","setImmediate","clearImmediate"],"license":"MIT","_id":"immediato@1.0.1","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/immediato#readme","bugs":{"url":"https://github.com/fabiospampinato/immediato/issues"},"dist":{"shasum":"ae4d43f6a5abf89e0b907f01ce2452adb604c733","tarball":"http://registry-npm.ywwl.com/immediato/download/immediato-1.0.1.tgz","fileCount":7,"integrity":"sha512-E1U5e86GWdtYABoYyll8DxGtnqjlTOXjXSdUlGQftRwXPtVPWlH/yHcbCp5G4z7rI9U3tcDG3ogUZusN3aqrWQ==","signatures":[{"sig":"MEYCIQDu64m8ri5YGBIiqEFIv8FZRtCiidwRjXB0/MtQB/4w/wIhAP80ojhO8X2iv/GPTXiEuONcHxBeWuKfaGs2FHcYi/GJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3819,"size":1951,"noattachment":false,"key":"/immediato/-/immediato-1.0.1.tgz"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"f42ae2d2f3f3b84ae3d09b98416c22061677019f","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/immediato.git","type":"git"},"_npmVersion":"10.2.3","description":"An isomorphic setImmediate implementation that doesn't prevent the process from exiting naturally.","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/immediato_1.0.1_1737145847381_0.2472095680873967","host":"s3://npm-registry-packages-npm-production"},"readme":"# Immediato\n\nAn isomorphic `setImmediate` implementation that doesn't prevent the process from exiting naturally.\n\nThis implementation requires the `MessageChannel` API, so it works the same everywhere, and the implementation is tiny.\n\n## Install\n\n```sh\nnpm install immediato\n```\n\n## Usage\n\n```ts\nimport {setImmediate, clearImmediate} from 'immediato';\n\n// Let's scheduling a function for execution\n\nconst immediateId = setImmediate ( () => {\n  // Do something...\n});\n\n// Let's cancel a scheduled function\n\nclearImmediate ( immediateId );\n```\n\n## License\n\nMIT © Fabio Spampinato\n","publish_time":1737145847562,"_cnpm_publish_time":1737145847562,"dist-tags":{"latest":"1.1.0"}}