{"name":"immediato","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/immediato.git"},"description":"An isomorphic setImmediate implementation that doesn't prevent the process from exiting naturally.","license":"MIT","version":"1.1.0","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["immediate","setImmediate","clearImmediate"],"devDependencies":{"fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"immediato@1.1.0","gitHead":"2453b7cc29607e4e2e0b18d34be2c2e2c23e3078","bugs":{"url":"https://github.com/fabiospampinato/immediato/issues"},"homepage":"https://github.com/fabiospampinato/immediato#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-6DTWQWiM3SyxAbNRDmMvFgZVwVP6wT8ciQv7GivxXejtXZFIcemC0Wlzfd/jEouJ2JroCIp4qZVloKW4BviUpQ==","shasum":"03f063e49489f5716ddaa1627c8863d3d2598d2f","tarball":"http://registry-npm.ywwl.com/immediato/download/immediato-1.1.0.tgz","fileCount":5,"unpackedSize":3811,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDXupAFKTGEPeB5E3AonNZ5jEBoRH8odk882H1cnezEoQIgE4kqwjjf6c+0dx9ZfB+8wHaPM0JeWJuv4WQJkxN2ldQ="}],"size":1914,"noattachment":false,"key":"/immediato/-/immediato-1.1.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/immediato_1.1.0_1737924311052_0.999985439502594"},"_hasShrinkwrap":false,"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":1737924311220,"_cnpm_publish_time":1737924311220,"dist-tags":{"latest":"1.1.0"}}