{"_id":"idlize","_rev":"2-49d718f6020a9a37d73f47e5eec4451c","name":"idlize","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"idlize","version":"0.1.0","description":"Helper classes and methods for implementing the idle-until-urgent pattern","license":"Apache-2.0","scripts":{"test":"eslint *.mjs lib/*.mjs test/*-test.mjs"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/idlize.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/idlize/issues"},"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"keywords":["idle","until","urgent","idle-until-urget","requestIdleCallback","cancelIdleCallback"],"devDependencies":{"eslint":"^5.4.0","eslint-config-google":"^0.10.0"},"gitHead":"3e671e5a23a6e516eab4d634e8ff58dc0465de44","homepage":"https://github.com/GoogleChromeLabs/idlize#readme","_id":"idlize@0.1.0","_npmVersion":"6.4.0","_nodeVersion":"10.8.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"integrity":"sha512-b+AqBXY9z89TBBHwl9r1zTu7ZsMnYCDOcdW42tdOBnmQ4YOzvyaqlXevKyZP35me9t7eL6RXU0ajQT5qiyVjXg==","shasum":"23a50cffd4c8d84873fe1d77c7e33713a497343f","tarball":"https://registry.npmjs.org/idlize/-/idlize-0.1.0.tgz","fileCount":24,"unpackedSize":81138,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboyMjCRA9TVsSAnZWagAAXQ0P+wbeatcC1sT86P8TaSBJ\n0P/VmkS+dEF6E6R2W9DdL//O+9ENoKRunjL99c7JpO7luE9g6O+DXPUVSbpz\ndkEcPzTWxZ7fswz+gjKmVGKQe3/tHkl9bEJW39coBWUL065bwwi42/CcFxdr\nyIcP1Yu4pZeoiisD9nepQYGCOgVj0THlAPhYIPzcIePPG06IKMEmpereYoUW\nHqZdnZdsxLnP3kAQXJe1H+M7998bXo8SQFlWK1ca7L3OZwI4jmqpZqFJRLUW\n2Dm58mBtg5DcW+V/F9S9mFsjHoQqiFGLLJYE0IELGgkpxgnaGajwZcnaboNg\na3Rcjo0yfOK7BSn1pKUT/9zzlq1nzG/Fwgtx2Yu54QQzjhxYHAeYOdV2LDEc\n+zmURRs84LB7/+UXBDANFD0IWvDynw/x0xvjT5mTyKwasUwKr9XPThjFVpj3\nB93sE4keBhZsMUSyt8J3v2x6aqFw8pV3LBSrLJcpg/sdnnw25eyq8NGeH863\nCoV49Gxnjp8CLxm55tBSDowV+BHg7jpbFNKTk1gVGRsAWNhZoFcfcqgb/t0u\nBI71aV7pItfDG0h5CxQgFOjz/IgWEtfw5yk7CCE5035Tfn8neN5oDA1+66Fe\n/hspCq25+DIswgNEgWj7Uo6Pgrd6CU1o5l39YN4rwWF9RhLYwUSY4kPqbCGk\ngWkA\r\n=mLU7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBmLyixsr0+kFmb1eCAz/51dLOVOb9SFBhzUssFYbmO4AiEAjd2CtXrHvM0hVHCL1gRrWdLJDcxDbb4kxMyovJR8yOE="}]},"maintainers":[{"name":"philipwalton","email":"philip@philipwalton.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/idlize_0.1.0_1537418019097_0.10330998101279532"},"_hasShrinkwrap":false},"0.1.1":{"name":"idlize","version":"0.1.1","description":"Helper classes and methods for implementing the idle-until-urgent pattern","license":"Apache-2.0","scripts":{"test":"eslint *.mjs lib/*.mjs test/*-test.mjs"},"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/idlize.git"},"bugs":{"url":"https://github.com/GoogleChromeLabs/idlize/issues"},"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"keywords":["idle","until","urgent","idle-until-urget","requestIdleCallback","cancelIdleCallback"],"devDependencies":{"eslint":"^5.4.0","eslint-config-google":"^0.10.0"},"gitHead":"836cbc2c975749e259e94589e3d064c835836d1a","homepage":"https://github.com/GoogleChromeLabs/idlize#readme","_id":"idlize@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"philipwalton","email":"philip@philipwalton.com"},"dist":{"integrity":"sha512-G4Qgr53MHUwT0JGXP5asyy+4ztcNDkFQKB+MWRRxsQ9LqAf0RWLKk+QU20u3cUAsndQfTMO6F19i5xZm9/8c5A==","shasum":"2bcb49d11f4c306e8274548a7d3a8f9aa1960ead","tarball":"https://registry.npmjs.org/idlize/-/idlize-0.1.1.tgz","fileCount":25,"unpackedSize":81301,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzt1vCRA9TVsSAnZWagAA48QP/R/2zHpwaik/avaSzXYE\n+ZAjHNce3488l9QQAUEvG06RaySF06RyXwDEorrtjzNX4Ur1PqWymmGEeUnL\nhP0iFpzlOmtVkogJgaA5IPBf0H6abnDyf0uLPTEEEPdQnUzs2mhwN2NcYrRX\nDQCYzDUhCnKNvpTOdxmQah0ZidN7mNskwGWafhG630grP0SovF0s9+eSnDZ4\nKsxaphsXQxT0rsFDkg8XVqjH56gAUqX4gbu1AlrphGjMx/b44sL9KiFu80hx\nA0peZ8MZCOgW9Rtm5LizMNOvjqw/fOCPv8suo4ffp9vbYlkKZfGYosZkPtpn\nb4INk+/IUULQEVu/Q6h2OacYtugRxhrvT4W4/j8C4kvpfLewc8tL93q9sYR6\noej3fhLeh+cOiNDpsCqodIqRgSPh9+TQnzWL+3vYHDGfyF/N1QvG+ewIElVH\nMp14Ug706RIJiGOT8pM4N10xP3t3gnDzzhg/IQitoj34hcEutWFppkOZiRWH\nUSV3BBOCvJESeF/rrVtoDoJ1rCPv5nsKkbeUb5UNpn6+kcVdDvIruTXEasza\nQWlQs9slDB2K3spvh/koPxzNTRtmmiH4sTbEXGWs8uM6tPlMDu+mzoyeBHv9\nZPzYoiea/hITFb/F+X21xj6ZRdCNBBIE3w4KMH9n9zyILb4udoGWwqCUJyoE\nLtpT\r\n=qzR+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdxbfRnG44v3MTm4IPHCOmk5XJzUE0xegw101bJR/BUwIgJstkdx16p7awGk05D6gwG644vaZIX7a1BTb6jHmh9ms="}]},"maintainers":[{"name":"philipwalton","email":"philip@philipwalton.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/idlize_0.1.1_1540283759063_0.008716185990800707"},"_hasShrinkwrap":false}},"time":{"created":"2018-09-20T04:33:39.097Z","0.1.0":"2018-09-20T04:33:39.369Z","modified":"2022-05-05T15:48:55.758Z","0.1.1":"2018-10-23T08:35:59.197Z"},"maintainers":[{"name":"philipwalton","email":"philip@philipwalton.com"}],"description":"Helper classes and methods for implementing the idle-until-urgent pattern","homepage":"https://github.com/GoogleChromeLabs/idlize#readme","keywords":["idle","until","urgent","idle-until-urget","requestIdleCallback","cancelIdleCallback"],"repository":{"type":"git","url":"git+https://github.com/GoogleChromeLabs/idlize.git"},"author":{"name":"Philip Walton","email":"philip@philipwalton.com","url":"http://philipwalton.com"},"bugs":{"url":"https://github.com/GoogleChromeLabs/idlize/issues"},"license":"Apache-2.0","readme":"# Idlize\n\nHelper classes and methods make it easier for developers to implement the [*idle-until-urgent*](https://philipwalton.com/articles/idle-until-urgent/) pattern and leverage the [`requestIdleCallback()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback) API.\n\n## Installation\n\nYou can install this library from npm by running:\n\n```sh\nnpm install idlize\n```\n\n## Usage\n\nThis library is a collection of helper methods and classes (not a single bundle). As such, each helper should be imported separately. All public helpers are released at the level of the project, so they can be imported by directly referencing the helper's `.mjs` file.\n\n```js\nimport {defineIdleProperty} from 'idlize/defineIdleProperty.mjs'\nimport {defineIdleProperties} from 'idlize/defineIdleProperties.mjs'\nimport {cIC, rIC} from 'idlize/idle-callback-polyfills.mjs'\nimport {IdleQueue} from 'idlize/IdleQueue.mjs'\nimport {IdleValue} from 'idlize/IdleValue.mjs'\n```\n\nRefer to each helper's [documentation](/docs) for examples and API usage details:\n\n- [`defineIdleProperty.mjs`](/docs/defineIdleProperty.md)\n- [`defineIdleProperties.mjs`](/docs/defineIdleProperties.md)\n- [`idle-callback-polyfills.mjs`](/docs/idle-callback-polyfills.md)\n- [`IdleQueue.mjs`](/docs/IdleQueue.md)\n- [`IdleValue.mjs`](/docs/IdleValue.md)\n\n## Browser Support\n\n<table>\n  <tr>\n    <td align=\"center\">\n      <img src=\"https://raw.githubusercontent.com/alrra/browser-logos/39.2.2/src/chrome/chrome_48x48.png\" alt=\"Chrome\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.githubusercontent.com/alrra/browser-logos/39.2.2/src/firefox/firefox_48x48.png\" alt=\"Firefox\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.githubusercontent.com/alrra/browser-logos/39.2.2/src/safari/safari_48x48.png\" alt=\"Safari\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.githubusercontent.com/alrra/browser-logos/39.2.2/src/edge/edge_48x48.png\" alt=\"Edge\"><br>\n      ✔\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.githubusercontent.com/alrra/browser-logos/39.2.2/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png\" alt=\"Internet Explorer\"><br>\n      9+\n    </td>\n    <td align=\"center\">\n      <img src=\"https://raw.githubusercontent.com/alrra/browser-logos/39.2.2/src/opera/opera_48x48.png\" alt=\"Opera\"><br>\n      ✔\n    </td>\n  </tr>\n</table>\n\nThis code has been tested and known to work in all major browsers as well as Internet Explorer back to version 9.\n\n## License\n\n[Apache 2.0](/LICENSE)\n","readmeFilename":"README.md"}