{"_id":"svelte-extras","_rev":"4539136","name":"svelte-extras","description":"Extra methods for Svelte components","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"rich_harris","email":""}],"time":{"modified":"2026-04-09T15:07:58.000Z","created":"2017-05-07T19:10:18.992Z","2.0.2":"2018-04-19T16:21:25.308Z","2.0.1":"2018-04-19T15:29:13.511Z","2.0.0":"2018-04-15T21:21:34.694Z","1.6.0":"2017-12-10T16:46:37.584Z","1.5.3":"2017-09-12T17:14:08.046Z","1.5.2":"2017-09-07T10:48:40.373Z","1.5.1":"2017-09-06T14:56:56.837Z","1.5.0":"2017-09-06T14:49:40.233Z","1.4.1":"2017-08-15T11:25:36.888Z","1.4.0":"2017-08-10T15:07:32.954Z","1.3.0":"2017-07-21T15:55:03.745Z","1.2.0":"2017-06-09T05:52:02.939Z","1.1.1":"2017-05-07T23:49:46.673Z","1.1.0":"2017-05-07T22:50:05.901Z","1.0.0":"2017-05-07T19:10:18.992Z"},"users":{},"author":{"name":"Rich Harris"},"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"versions":{"2.0.2":{"name":"svelte-extras","version":"2.0.2","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^9.6.5","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.8.0","mocha":"^5.1.1","rollup":"^0.58.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^2.0.0","typescript":"^2.4.2"},"peerDependencies":{"svelte":"^2"},"gitHead":"6a965063424173281761cadaa3604792417605b2","_id":"svelte-extras@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"2b7e2826b27c9bf3c12b745494f11be835dc7f69","size":9709,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-2.0.2.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras_2.0.2_1524154885255_0.5945153035046538"},"_hasShrinkwrap":false,"publish_time":1524154885308,"_cnpm_publish_time":1524154885308,"_cnpmcore_publish_time":"2021-12-16T23:30:47.070Z"},"2.0.1":{"name":"svelte-extras","version":"2.0.1","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^9.6.5","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.8.0","mocha":"^5.1.1","rollup":"^0.58.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^2.0.0","typescript":"^2.4.2"},"peerDependencies":{"svelte":"^2"},"gitHead":"ab81e7de6379e8cc7fc3afa3fea1469cd381a4b8","_id":"svelte-extras@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"840527a03e900d0881ef91c0f936a8569e4089a8","size":9634,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-2.0.1.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras_2.0.1_1524151753443_0.8888502539062966"},"_hasShrinkwrap":false,"publish_time":1524151753511,"_cnpm_publish_time":1524151753511,"_cnpmcore_publish_time":"2021-12-16T23:30:47.279Z"},"2.0.0":{"name":"svelte-extras","version":"2.0.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^9.6.5","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^5.1.0","rollup":"^0.57.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^1.63.1","typescript":"^2.4.2"},"gitHead":"6d6bdd0a387e7df7971679a40d8f8a43b275b29b","_id":"svelte-extras@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"6da01b8ca226fa2f38afd2cce7e773ee468be4a7","size":9590,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-2.0.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras_2.0.0_1523827294594_0.2422257936320642"},"_hasShrinkwrap":false,"publish_time":1523827294694,"_cnpm_publish_time":1523827294694,"_cnpmcore_publish_time":"2021-12-16T23:30:47.468Z"},"1.6.0":{"name":"svelte-extras","version":"1.6.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"caadd8b320499892bca2eb230f12ac14a8ee4a6a","_id":"svelte-extras@1.6.0","_npmVersion":"5.5.1","_nodeVersion":"9.1.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"ea0ce388d575e8cac97530779fec517a01ad83ef","size":7730,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.6.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.6.0.tgz_1512924397498_0.30606696591712534"},"directories":{},"publish_time":1512924397584,"_hasShrinkwrap":false,"_cnpm_publish_time":1512924397584,"_cnpmcore_publish_time":"2021-12-16T23:30:47.683Z"},"1.5.3":{"name":"svelte-extras","version":"1.5.3","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"e988cc57b35cf4cba2df291ff7070516f2715cde","_id":"svelte-extras@1.5.3","_npmVersion":"5.4.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"30183f0c8ec3fb99bd82ed97f40ceb329185a8cd","size":7288,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.5.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.5.3.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.5.3.tgz_1505236447101_0.37930594431236386"},"directories":{},"publish_time":1505236448046,"_hasShrinkwrap":false,"_cnpm_publish_time":1505236448046,"_cnpmcore_publish_time":"2021-12-16T23:30:47.884Z"},"1.5.2":{"name":"svelte-extras","version":"1.5.2","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"7371912e92bc0676041e4d66e7bcba106e05f932","_id":"svelte-extras@1.5.2","_npmVersion":"5.4.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"2820620d9847e6dd4d69d6bbba2d0db9db39bedf","size":7020,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.5.2.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.5.2.tgz_1504781319541_0.7790034003555775"},"directories":{},"publish_time":1504781320373,"_hasShrinkwrap":false,"_cnpm_publish_time":1504781320373,"_cnpmcore_publish_time":"2021-12-16T23:30:48.088Z"},"1.5.1":{"name":"svelte-extras","version":"1.5.1","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"4ae3cc0e69fda307b68a5f02aa54ed3948d3fb7a","_id":"svelte-extras@1.5.1","_npmVersion":"5.4.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"62f44161776de8b00f01907def8eb33e40d4b14c","size":6635,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.5.1.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.5.1.tgz_1504709815765_0.8892528959549963"},"directories":{},"publish_time":1504709816837,"_hasShrinkwrap":false,"_cnpm_publish_time":1504709816837,"_cnpmcore_publish_time":"2021-12-16T23:30:48.332Z"},"1.5.0":{"name":"svelte-extras","version":"1.5.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.49.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","rollup-plugin-virtual":"^1.0.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"6da3e6db6bc18e1afc3b4ddd72d25f9b49a4f134","_id":"svelte-extras@1.5.0","_npmVersion":"5.4.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"46322ca825013dd7a48eb572ac632a2bc5a58329","size":6624,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.5.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.5.0.tgz_1504709379147_0.5940213112626225"},"directories":{},"publish_time":1504709380233,"_hasShrinkwrap":false,"_cnpm_publish_time":1504709380233,"_cnpmcore_publish_time":"2021-12-16T23:30:48.578Z"},"1.4.1":{"name":"svelte-extras","version":"1.4.1","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.45.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"0614d6dca1d4e568164c35d7b0ab31a3ffa23967","_id":"svelte-extras@1.4.1","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"a16017611c288e76834d6b51e3445a20d69c1465","size":6600,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.4.1.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.4.1.tgz_1502796336025_0.769500327296555"},"directories":{},"publish_time":1502796336888,"_hasShrinkwrap":false,"_cnpm_publish_time":1502796336888,"_cnpmcore_publish_time":"2021-12-16T23:30:48.776Z"},"1.4.0":{"name":"svelte-extras","version":"1.4.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.45.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"d5277a56a1475f40b5fb76bb7ec49138f9358959","_id":"svelte-extras@1.4.0","_npmVersion":"5.3.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"d7ab13fbd83873218a0e52a28c228e778fd8f7fc","size":6490,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.4.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.4.0.tgz_1502377651956_0.1253031836822629"},"directories":{},"publish_time":1502377652954,"_hasShrinkwrap":false,"_cnpm_publish_time":1502377652954,"_cnpmcore_publish_time":"2021-12-16T23:30:48.987Z"},"1.3.0":{"name":"svelte-extras","version":"1.3.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^8.0.14","console-group":"^0.3.3","eslint":"^4.2.0","eslint-plugin-import":"^2.7.0","jsdom":"^11.1.0","mocha":"^3.4.2","rollup":"^0.45.2","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","svelte":"^1.25.0","typescript":"^2.4.2"},"gitHead":"138daf082a60db7d92d903cd8e41f3d8adb10c27","_id":"svelte-extras@1.3.0","_npmVersion":"5.1.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"2144e2b7684fc9bd9d5a68e9751b79c5506e8689","size":6169,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.3.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.3.0.tgz_1500652502845_0.7505862407851964"},"directories":{},"publish_time":1500652503745,"_hasShrinkwrap":false,"_cnpm_publish_time":1500652503745,"_cnpmcore_publish_time":"2021-12-16T23:30:49.192Z"},"1.2.0":{"name":"svelte-extras","version":"1.2.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^7.0.18","console-group":"^0.3.3","eslint":"^3.19.0","eslint-plugin-import":"^2.2.0","jsdom":"^10.1.0","mocha":"^3.3.0","rollup":"^0.41.6","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","svelte":"^1.20.2","typescript":"^2.3.2"},"gitHead":"e278c7706c7e84a7fd0fbb53ba390752c23b2dec","_id":"svelte-extras@1.2.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"d3e43c15dca098a641a6e772e0b62ccecb73532a","size":5763,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.2.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-extras-1.2.0.tgz_1496987521935_0.06681553227826953"},"directories":{},"publish_time":1496987522939,"_hasShrinkwrap":false,"_cnpm_publish_time":1496987522939,"_cnpmcore_publish_time":"2021-12-16T23:30:49.404Z"},"1.1.1":{"name":"svelte-extras","version":"1.1.1","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^7.0.18","console-group":"^0.3.3","eslint":"^3.19.0","eslint-plugin-import":"^2.2.0","jsdom":"^10.1.0","mocha":"^3.3.0","rollup":"^0.41.6","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","svelte":"^1.20.2","typescript":"^2.3.2"},"gitHead":"0badbf8eb56e5501f1897356bc84e50c51a2b2ab","_id":"svelte-extras@1.1.1","_shasum":"0d002961bafbfd35c5ff89cfbdb7e8c49cf18785","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"0d002961bafbfd35c5ff89cfbdb7e8c49cf18785","size":4686,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.1.1.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/svelte-extras-1.1.1.tgz_1494200984976_0.5141284980345517"},"directories":{},"publish_time":1494200986673,"_hasShrinkwrap":false,"_cnpm_publish_time":1494200986673,"_cnpmcore_publish_time":"2021-12-16T23:30:49.650Z"},"1.1.0":{"name":"svelte-extras","version":"1.1.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^7.0.18","console-group":"^0.3.3","eslint":"^3.19.0","eslint-plugin-import":"^2.2.0","jsdom":"^10.1.0","mocha":"^3.3.0","rollup":"^0.41.6","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","svelte":"^1.20.2","typescript":"^2.3.2"},"gitHead":"668c8a80b9b67cf27cdfc99e1892fac90460ac04","_id":"svelte-extras@1.1.0","_shasum":"cc22d965bb9f02d0a96371ad4b36ae2cb1548a64","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"cc22d965bb9f02d0a96371ad4b36ae2cb1548a64","size":4622,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.1.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/svelte-extras-1.1.0.tgz_1494197404027_0.45792836300097406"},"directories":{},"publish_time":1494197405901,"_hasShrinkwrap":false,"_cnpm_publish_time":1494197405901,"_cnpmcore_publish_time":"2021-12-16T23:30:49.906Z"},"1.0.0":{"name":"svelte-extras","version":"1.0.0","description":"Extra methods for Svelte components","main":"dist/svelte-extras.cjs.js","module":"dist/svelte-extras.es.js","scripts":{"build":"rollup -c","lint":"eslint src","prepublish":"npm run lint && npm test","test":"mocha","pretest":"npm run build"},"files":["dist"],"repository":{"type":"git","url":"git+https://github.com/sveltejs/svelte-extras.git"},"keywords":["svelte"],"author":{"name":"Rich Harris"},"license":"MIT","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"homepage":"https://github.com/sveltejs/svelte-extras#readme","devDependencies":{"@types/node":"^7.0.18","eslint":"^3.19.0","eslint-plugin-import":"^2.2.0","jsdom":"^10.1.0","mocha":"^3.3.0","rollup":"^0.41.6","rollup-plugin-buble":"^0.15.0","rollup-plugin-typescript":"^0.8.1","svelte":"^1.20.2","typescript":"^2.3.2"},"gitHead":"525a0f8575784dc877d78c0993c9f27fb20fc26f","_id":"svelte-extras@1.0.0","_shasum":"d43c8087187ea17378960969937140363ce7bbaa","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"rich_harris","email":"richard.a.harris@gmail.com"},"dist":{"shasum":"d43c8087187ea17378960969937140363ce7bbaa","size":2734,"noattachment":false,"key":"/svelte-extras/-/svelte-extras-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/svelte-extras/download/svelte-extras-1.0.0.tgz"},"maintainers":[{"name":"rich_harris","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/svelte-extras-1.0.0.tgz_1494184217065_0.8994544029701501"},"directories":{},"publish_time":1494184218992,"_hasShrinkwrap":false,"_cnpm_publish_time":1494184218992,"_cnpmcore_publish_time":"2021-12-16T23:30:50.112Z"}},"readme":"# svelte-extras\n\nExtra methods for [Svelte](https://svelte.technology) components.\n\n## Usage\n\nInstall with npm or yarn...\n\n```bash\nnpm install --save svelte-extras\n```\n\n...then add to your component methods:\n\n```html\n<input bind:value='newTodo'>\n<button on:click='push(\"todos\", newTodo)'>add todo</button>\n\n<ul>\n  {{#each todos as todo, i}}\n    <li>\n      <button on:click='splice(\"todos\", i, 1)'>x</button>\n      {{todo}}\n    </li>\n  {{/each}}\n</ul>\n\n<script>\n  import { push, splice } from 'svelte-extras';\n\n  export default {\n    data: function () {\n      return {\n        newTodo: '',\n        todos: ['add some more todos']\n      };\n    },\n\n    methods: {\n      push,\n      splice\n    }\n  };\n</script>\n```\n\n## Available methods\n\n### Array methods ([live demo](https://svelte.technology/repl?gist=30b8d79ac7a7ce11076df68366cc0134))\n\n* push\n* pop\n* shift\n* unshift\n* splice\n* sort\n* reverse\n\nThese all work exactly as their `Array.prototype` counterparts, except that the first argument must be the *keypath* that points to the array. The following are all examples of keypaths:\n\n```js\ncomponent.push('todos', 'finish writing this documentation');\ncomponent.push('foo.bar.baz', 42);\ncomponent.push('rows[4]', cell);\n```\n\n### tween(key, end, options?) ([live demo](https://svelte.technology/repl?gist=f3d3c58264886987afcf09a0c8e07776))\n\nSmoothly tweens `key` from its current value to the `end` value. Numerical values (and non-cyclical objects and arrays, as long as their leaf properties are numerical) are automatically interpolated, or you can supply a custom function.\n\nThe available options (and default values) are:\n\n* **delay** (0) — the delay in milliseconds before the tween starts\n* **duration** (400) — the duration of the tween\n* **easing** (x => x) — which easing function to use (see e.g. [eases-jsnext](https://github.com/rollup/eases-jsnext)))\n* **interpolate** (see above) — a function that generators a custom interpolator, for e.g. transitioning strings representing colors. Must take arguments `a` and `b` and return a function that takes a value `t` between 0 and 1\n\nThis method returns a promise with an additional `abort` method. The tween will be aborted automatically if `key` is updated separately, either by a second tween or via `component.set(...)`. The promise will not resolve if the tween is aborted.\n\n### spring(key, end, options) ([live demo](https://svelte.technology/repl?version=1.38.0&gist=8def8776479d3d74b3b2829af3b01074))\n\nSimilar to `tween`, except it uses a spring physics simulation rather than a pre-defined easing curve, which gives more natural results in some situations. The `end` value can be anything you could pass to `tween`.\n\nThe following options must be provided:\n\n* **stiffness** — the *spring constant*, a value between 0 and 1\n* **damping** — the *damping coefficient*, again between 0 and 1\n\nFiguring out the optimal combination of stiffness and damping typically takes a bit of trial and error. The higher the stiffness, the quicker the motion will be; the lower the damping, the 'springier' it will be.\n\nThis method returns a promise that resolves when the simulation is complete — or not at all, if the simulation is aborted by another call to `spring(...)` or a call to `set(...)`.\n\n\n### observe(key, callback, options?)\n\nRuns the `callback` function with two arguments, `newValue` and `oldValue`, every time the value of `key` changes. `options` can contain two booleans — `init`, which determines whether to fire the callback immediately (the default) instead of waiting for a change, and `defer`, which determines whether the callback fires before or after the DOM has updated.\n\nThis method used to be built in to Svelte; it's now recommended that you use the `onstate` and `onupdated` lifecycle hooks instead.\n\n\n### observeDeep(keypath, callback, options?) ([live demo](https://svelte.technology/repl?gist=589949dc19c7dea17deb6c06243ba66d))\n\nExactly the same as `observe` method, except that it observes nested properties of objects and arrays, rather than the objects themselves. The `keypath` option is a string like `foo.bar` (observe the `bar` property of the `foo` object) or `baz[0]` (observe the first member of the `baz` array).\n\n\n### observeMany(keys, callback, options?) ([live demo](https://svelte.technology/repl?gist=bdb1eb4553e87e191884d32c84355852))\n\nObserves multiple keys, without firing multiple times when they change simultaneously. `keys` is an array of keys, while the callback receives two arguments — an array of the new values corresponding to those keys, and an array of the old values. `options` can include `init` and `defer`, like the built-in `observe` method.\n\n\n### getDeep(keypath) ([live demo](https://svelte.technology/repl?gist=3b32e284732a6297fc49a213930a3cf0))\n\nSimilar to the built-in `get` method, except that it gets nested properties of objects and arrays, rather than the objects themselves. The `keypath` option is a string like `foo.bar` (get the `bar` property of the `foo` object) or `baz[0]` (get the first member of the `baz` array).\n\n\n### setDeep(keypath, value) ([live demo](https://svelte.technology/repl?gist=6dc00bf661849b14ac79439d91becd6d))\n\nSimilar to the built-in `set` method, except that it sets nested properties of objects and arrays, rather than the objects themselves. The `keypath` option is a string like `foo.bar` (set the `bar` property of the `foo` object) or `baz[0]` (set the first member of the `baz` array).\n\n\n## Tree-shaking\n\nIf you're using a module bundler that supports tree-shaking, such as [Rollup](https://rollupjs.org), only the methods your components use will be included in your app.\n\n\n## Universal module definition\n\nIf you *really* need it, a UMD build is available at [svelte-extras/dist/svelte-extras.umd.js](https://unpkg.com/svelte-extras/dist/svelte-extras.umd.js), and will register itself as `svelte.extras`. We recommend using a module bundler instead, however.\n\n\n## License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/sveltejs/svelte-extras#readme","bugs":{"url":"https://github.com/sveltejs/svelte-extras/issues"},"license":"MIT"}