{"_id":"svelte-dev-helper","_rev":"1747461","name":"svelte-dev-helper","description":"Helper for svelte components to ease development","dist-tags":{"latest":"1.1.9"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"time":{"modified":"2021-11-29T01:34:21.000Z","created":"2018-01-09T13:38:21.949Z","1.1.9":"2018-07-04T15:39:03.543Z","1.1.7":"2018-03-16T19:42:15.669Z","1.1.6":"2018-03-16T12:28:58.282Z","1.1.5":"2018-03-14T21:09:41.998Z","1.1.4":"2018-03-04T20:14:34.376Z","1.1.3":"2018-03-04T19:09:48.989Z","1.1.2":"2018-01-11T15:01:42.968Z","1.1.1":"2018-01-11T12:41:32.660Z","1.1.0":"2018-01-10T16:45:55.862Z","1.0.0":"2018-01-09T14:23:22.272Z","0.5.0":"2018-01-09T13:38:21.949Z"},"users":{},"author":{"name":"ekhaled"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"versions":{"1.1.9":{"name":"svelte-dev-helper","version":"1.1.9","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"f0d11518f0d7abb9e5905e0b62b648c580a28445","_id":"svelte-dev-helper@1.1.9","_shasum":"7d187db5c6cdbbd64d75a32f91b8998bde3273c3","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"7d187db5c6cdbbd64d75a32f91b8998bde3273c3","size":7757,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.9.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper_1.1.9_1530718743478_0.05750841720898925"},"_hasShrinkwrap":false,"publish_time":1530718743543,"_cnpm_publish_time":1530718743543},"1.1.7":{"name":"svelte-dev-helper","version":"1.1.7","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"99fde963821569ca84e53e6a837a6142b4281234","_id":"svelte-dev-helper@1.1.7","_shasum":"b7d887c7be5abf7e2436f9467560061b1e2a935f","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"b7d887c7be5abf7e2436f9467560061b1e2a935f","size":7349,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.7.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper_1.1.7_1521229335539_0.04261345231471969"},"_hasShrinkwrap":false,"publish_time":1521229335669,"_cnpm_publish_time":1521229335669},"1.1.6":{"name":"svelte-dev-helper","version":"1.1.6","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"95f6c1a6caa0fbd8e14f43b04ea5acc34b165eb1","_id":"svelte-dev-helper@1.1.6","_shasum":"8ce640b0d38bd4dde38f60a4a922ac1c7e3d652a","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"8ce640b0d38bd4dde38f60a4a922ac1c7e3d652a","size":7251,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.6.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper_1.1.6_1521203338182_0.6069483657121915"},"_hasShrinkwrap":false,"publish_time":1521203338282,"_cnpm_publish_time":1521203338282},"1.1.5":{"name":"svelte-dev-helper","version":"1.1.5","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"560b85517ac737a0011ff5fee29f15ee34c5abd7","_id":"svelte-dev-helper@1.1.5","_shasum":"c141760cfc3caf43d51c3da3cc164acfe5dbbe18","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"c141760cfc3caf43d51c3da3cc164acfe5dbbe18","size":6970,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.5.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper_1.1.5_1521061781948_0.4489902789154647"},"_hasShrinkwrap":false,"publish_time":1521061781998,"_cnpm_publish_time":1521061781998},"1.1.4":{"name":"svelte-dev-helper","version":"1.1.4","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"cfb71ae6be3aad989d4e5a14440c10b6084a1334","_id":"svelte-dev-helper@1.1.4","_shasum":"d25091ae696dc24157f998060d676e95643b50f6","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"d25091ae696dc24157f998060d676e95643b50f6","size":6964,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.4.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper_1.1.4_1520194474214_0.44660892692972465"},"_hasShrinkwrap":false,"publish_time":1520194474376,"_cnpm_publish_time":1520194474376},"1.1.3":{"name":"svelte-dev-helper","version":"1.1.3","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"d0f96a804aa1980a0bc9f83856c5bca5bb7a79d4","_id":"svelte-dev-helper@1.1.3","_shasum":"1c6662dda044df7cb7731a5c59186097e5e92161","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"1c6662dda044df7cb7731a5c59186097e5e92161","size":6870,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.3.tgz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper_1.1.3_1520190588774_0.4696470887001256"},"_hasShrinkwrap":false,"publish_time":1520190588989,"_cnpm_publish_time":1520190588989},"1.1.2":{"name":"svelte-dev-helper","version":"1.1.2","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"d3b03f6dff9599247965b68dc6f9031308ebc1ca","_id":"svelte-dev-helper@1.1.2","_shasum":"e5c766e95384d1b375ad6ffb9a417bdead756e05","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"e5c766e95384d1b375ad6ffb9a417bdead756e05","size":6682,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper-1.1.2.tgz_1515682901984_0.9347316257189959"},"directories":{},"publish_time":1515682902968,"_hasShrinkwrap":false,"_cnpm_publish_time":1515682902968},"1.1.1":{"name":"svelte-dev-helper","version":"1.1.1","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"06067c0675606a63efa4c3fc93cff16034901ccb","_id":"svelte-dev-helper@1.1.1","_shasum":"73efc5fc670a242239bd4d0979a8b38d1c39dd3e","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"73efc5fc670a242239bd4d0979a8b38d1c39dd3e","size":6474,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper-1.1.1.tgz_1515674491669_0.30188599531538785"},"directories":{},"publish_time":1515674492660,"_hasShrinkwrap":false,"_cnpm_publish_time":1515674492660},"1.1.0":{"name":"svelte-dev-helper","version":"1.1.0","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"all":"npm run lint && npm run test","lint":"eslint index.js lib/ test/*.spec.js","test":"mocha --require buble/register --require reify --require jsdom-global/register --full-trace --check-leaks test/*.spec.js"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","devDependencies":{"buble":"^0.18.0","chai":"^4.1.2","eslint":"^4.15.0","eslint-plugin-mocha":"^4.11.0","jsdom":"11.5.1","jsdom-global":"3.0.2","mocha":"^4.1.0","reify":"^0.13.6","sinon":"^4.1.4","sinon-chai":"^2.14.0"},"gitHead":"e0a2bd67bff5a5af8f6911faf3d596e9705cbd45","_id":"svelte-dev-helper@1.1.0","_shasum":"a12c8922c2a9749119c69f6e3957f0f9c7e9f3c5","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"a12c8922c2a9749119c69f6e3957f0f9c7e9f3c5","size":6375,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.1.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper-1.1.0.tgz_1515602754883_0.8217698791995645"},"directories":{},"publish_time":1515602755862,"_cnpm_publish_time":1515602755862,"_hasShrinkwrap":false},"1.0.0":{"name":"svelte-dev-helper","version":"1.0.0","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","gitHead":"57d1f47ab75d3275e32363463f0f8145f48e0e44","_id":"svelte-dev-helper@1.0.0","_shasum":"5ab32d5942666ba6034acbf900297320bb22fa3c","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"5ab32d5942666ba6034acbf900297320bb22fa3c","size":4158,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper-1.0.0.tgz_1515507801325_0.8876418813597411"},"directories":{},"publish_time":1515507802272,"_hasShrinkwrap":false,"_cnpm_publish_time":1515507802272},"0.5.0":{"name":"svelte-dev-helper","version":"0.5.0","description":"Helper for svelte components to ease development","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/ekhaled/svelte-dev-helper.git"},"keywords":["svelte","dev","helper"],"author":{"name":"ekhaled"},"license":"MIT","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","gitHead":"4f17167640053edb99fb7c4a8af87829729fc921","_id":"svelte-dev-helper@0.5.0","_shasum":"abce688371b19293643b9edc9f68ac04d5d47531","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"ekhaled","email":"me.khaled@gmail.com"},"maintainers":[{"name":"ekhaled","email":"me.khaled@gmail.com"}],"dist":{"shasum":"abce688371b19293643b9edc9f68ac04d5d47531","size":3821,"noattachment":false,"key":"/svelte-dev-helper/-/svelte-dev-helper-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-dev-helper/download/svelte-dev-helper-0.5.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-dev-helper-0.5.0.tgz_1515505101038_0.3998603045474738"},"directories":{},"publish_time":1515505101949,"_hasShrinkwrap":false,"_cnpm_publish_time":1515505101949}},"readme":"# svelte-dev-helper\n\n[![Build Status](https://travis-ci.org/ekhaled/svelte-dev-helper.svg?branch=master)](https://travis-ci.org/ekhaled/svelte-dev-helper)\n\nHelper for svelte components to ease development.\nUsed under the hood by [svelte-loader](https://github.com/sveltejs/svelte-loader).\n\n\n## Usage\n\nThis is meant to be used under the hood for creating a build toolchain, or a dev helper based on [Svelte](https://svelte.technology/) components.\n\n```js\nimport {Registry, configure, createProxy} from 'svelte-dev-helper';\nimport Component from './Component.html'; //some svelte component\n\nconfigure(configOptions);\n\nconst id = someUniqueID();\n\nRegistry.set(id, {\n  rollback: null,\n  component: Component,\n  instances:[]\n});\n\nexport createProxy(id);\n\n```\n\nThe component returned by `createProxy` now has the following features:\n 1. Adds a `<!--<Component>-->` comment marker in the DOM just above where the component's DOM starts\n 2. You can access the component instance using `$0.__component__` in devtools after higlighting the comment marker from above.\n 3. You can access all **rendered** instances of a particular component using `Registry.get(id).instances`\n 4. All instances have a `_rerender` method\n 4. If you switch the `component` in the registry (using `Registry.set(id, Registry.get(id).component = newComponent)`) all **future renders** of the component will use the newly switched component.\n 5. Following a switch as per above, you can switch all **rendered** components by first accessing the instances and then calling `_rerender` on them.\n 6. The `rollback` property in any `Registry` item can be used to hold the last good version of a component. If there is an error instantiating a switched component, it will try to use the component version stored in `rollback`\n\n The `Registry` is also available at `window.__SVELTE_REGISTRY__`\n","_attachments":{},"homepage":"https://github.com/ekhaled/svelte-dev-helper#readme","bugs":{"url":"https://github.com/ekhaled/svelte-dev-helper/issues"},"license":"MIT"}