{"_id":"@7rabbit/ink-runtime","_rev":"1-7627ba264d8fcb89a747f47e23c7f2ef","name":"@7rabbit/ink-runtime","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@7rabbit/ink-runtime","version":"0.0.1","description":"Ink basic JavaScript actions","keywords":[],"author":{"name":"Lance Pollard","email":"lp@elk.fm","url":"https://7.rabbit.cx"},"bugs":{"url":"https://github.com/7rabbit/ink-runtime/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/7rabbit/ink-runtime.git"},"peerDependencies":{"@7rabbit/ink":"*"},"gitHead":"94acddad17f0747fef33a4551329dce2660ad69c","homepage":"https://github.com/7rabbit/ink-runtime#readme","_id":"@7rabbit/ink-runtime@0.0.1","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-nYSidcqeZVQo6HWxJfUBAq+MtMFIhY+LWXS6T1XyT4Sp3IvTnXz71zbsn1WEpgxQP4pE7oUe0+sFTXvKN4jV/w==","shasum":"0fcfe489bd6ca02001d16c8be99c6fd1a3d56ff5","tarball":"https://registry.npmjs.org/@7rabbit/ink-runtime/-/ink-runtime-0.0.1.tgz","fileCount":3,"unpackedSize":3974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdRkNdCRA9TVsSAnZWagAAL6gP/jwMFLkTOfLTWDveVpcL\nLeDTAEtpj6tHbeZd8C9++TuB7b34CpzZw3cRRYBnal6zzcsEwsAUVkyJnhSQ\nckmrtR9KR2ezE1l2O5NM+ubMMpJRl1iJfKVSp1Z7DUzfEsfEABdYmJronZsg\nsQpsr6IALKZUoSmnKQbrJqFE8MEy2kU3UeEfXi5jKpXeIY2mq8dqp9jYlwu1\noKaQRLH8ICVsZ5FKHRw4gMJX0ByyTAahYJXVRw7BKnjWoQG1H4OCCQAfTZHE\n3XrSa/7paCZFE3dK6F7QDokDwK8WCGjynp+R8ST/Oti1lTH+XFL1rHzI1Idb\nN196ELVhzyoQc8vARRzWtmuPT7riVG4TTdlCBiVb/uMOhGKxacs7LA8bn4/b\nn7VW69e8b4kvR21U/gpXw6MvPhRyQgfWV87eYaMMTl6OK363OAHB2yJ+3kqW\nftiycqDlzpS/PaRVupNh3J3kv7oq6Z26oDnxScKr+XW4UK81ig4HzEAXoKTo\n3iCvgZzAyi7H10sJ4JULV5LFhmKa784rBgeJNQ7azRUNjpLHplY18gAA92mM\n99LAUsbhuettms4c5oe0U6zOzAHtkK40g0YeduWnHSIRZlJbLD5vLp7mJgsq\nCrcKh/atqsY9slQd+xDGjm7lFD/aW4LCKBg2EYqZeX07hhcNFFzmmdRPugMu\nAbB/\r\n=7Y7f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHv6ARSEV2TjbLcEoFBCJ+9OyBtrbN2y8W9DQ74jCiFRAiB7fhBMbMFUTQvhhxKCZ3415OpuFzhL/aLvz6rXlc1bMw=="}]},"maintainers":[{"name":"lancejpollard","email":"lp@elk.fm"}],"_npmUser":{"name":"lancejpollard","email":"lp@elk.fm"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ink-runtime_0.0.1_1564885852578_0.3208879257184687"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-04T02:30:52.372Z","0.0.1":"2019-08-04T02:30:52.748Z","modified":"2022-04-04T10:49:26.361Z"},"maintainers":[{"name":"lancejpollard","email":"lp@elk.fm"}],"description":"Ink basic JavaScript actions","homepage":"https://github.com/7rabbit/ink-runtime#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/7rabbit/ink-runtime.git"},"author":{"name":"Lance Pollard","email":"lp@elk.fm","url":"https://7.rabbit.cx"},"bugs":{"url":"https://github.com/7rabbit/ink-runtime/issues"},"license":"MIT","readme":"\n<br/>\n<br/>\n<br/>\n<br/>\n<br/>\n<br/>\n<br/>\n<br/>\n<br/>\n<br/>\n\n<p align=\"center\">\n  <a href=\"https://7.rabbit.cx/ink\">\n    <img src=\"https://7.rabbit.cx/ink/mark.png\" width=\"128\"/>\n  </a>\n</p>\n\n<br/>\n<br/>\n<br/>\n<br/>\n\n<h3 align=\"center\">ink-runtime</h3>\n<p align=\"center\">\n  Ink basic JavaScript actions\n</p>\n\n<br/>\n<br/>\n\n<p align=\"center\">\n  <a href=\"#introduction\">Introduction</a> •\n  <a href=\"#installation\">Installation</a> •\n  <a href=\"#illustration\">Illustration</a>\n</p>\n\n<br/>\n<br/>\n<br/>\n\n## Introduction\n\nThe Ink runtime is all the basic JavaScript functions to build upon.\n\n## Installation\n\n```bash\nnpm install @7rabbit/ink\nnpm install @7rabbit/ink-runtime\n```\n\n<br/>\n\n## Illustration\n\nThis is a Hello World example.\n\n```js\nimport runtime from '@7rabbit/ink-runtime'\nimport Ink from '@7rabbit/ink'\n\nlet ink = new Ink()\nink.attachModule(runtime)\n```\n\nThe rest of what follows is an API reference documenting every method `ink-runtime` attaches to the `ink` object.\n\n### `commitAspect(source, aspect, object)`\n\nSet the field, property, or attribute `aspect` on `source` to `object`.\n\n### `detachAspect(source, aspect)`\n\nDetach the field, property, or attribute `aspect` on `source`.\n\n### `invokeMethod(source, method, ...args)`\n\nCall the `method` on `source` with `args`.\n\n### `wait(delay, action)`\n\nDelay invoking `action` for `delay` milliseconds.\n\n### `throttle(threshhold, action)`\n\nInvoke the `action` once every `threshold` milliseconds, even if it is called multiple times within `threshold` milliseconds.\n\n### `addListener(source, type, action)`\n\nInvoke the `action` when event `type` is heard from `source`.\n\n### `requestAnimationFrame(action)`\n\nWait for the next animation step to run `action` provided by the environment.\n\n### `import([path|function])`\n\nImport the module found at `path`, or provide a `function` to resolve the path relative to the current file.\n","readmeFilename":"readme.md"}