{"name":"set-immediate-shim","version":"1.0.0","description":"Simple setImmediate shim","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/set-immediate-shim"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["setImmediate","immediate","setTimeout","timeout","shim","polyfill","ponyfill"],"devDependencies":{"ava":"0.0.4","require-uncached":"^1.0.2"},"gitHead":"29ac611e181046f2cf8b61ed5d038c64733a1cbc","bugs":{"url":"https://github.com/sindresorhus/set-immediate-shim/issues"},"homepage":"https://github.com/sindresorhus/set-immediate-shim","_id":"set-immediate-shim@1.0.0","_shasum":"e23b45a33244f6f2dcd90359bc38bdbf048de152","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"e23b45a33244f6f2dcd90359bc38bdbf048de152","tarball":"http://registry-npm.ywwl.com/set-immediate-shim/download/set-immediate-shim-1.0.0.tgz","integrity":"sha512-7pk+WycSLRgX/Rf5+SI0cmq9aeb+1LIHzI50tkgNJocSRpMPcWOkPmw40mFYQNUbUJMuAKa5eWHw/bXmp2/AAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBuzq1SAcK8HP1Zb5Rmt2T1dks2X2aRXKlEpZs3fta3dAiBvJTbNqPM+0pv6xpJMvMWChe23w0P7Bt907NMHo2ZZmQ=="}],"size":1473,"noattachment":false,"key":"/set-immediate-shim/-/set-immediate-shim-1.0.0.tgz"},"directories":{},"readme":"# set-immediate-shim\n\n> Simple [`setImmediate`](https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate) [ponyfill](https://ponyfill.com)\n\nNote: This shim is [quite inefficient](https://github.com/sindresorhus/set-immediate-shim/issues/4).\n\n## Install\n\n```sh\nnpm install set-immediate-shim\n```\n\n## Usage\n\n```js\nimport setImmediateShim from 'set-immediate-shim';\n\nsetImmediateShim(() => {\n\tconsole.log('2');\n});\n\nconsole.log('1');\n\n//=> 1\n//=> 2\n```\n\n## Related\n\n- [p-immediate](https://github.com/sindresorhus/p-immediate) - Returns a promise resolved in the next event loop - think `setImmediate()`\n","publish_time":1419846099091,"_cnpm_publish_time":1419846099091,"dist-tags":{"latest":"4.0.0"}}