{"_id":"svelte-htm","_rev":"6-3125963df1669b8d82710da0f5e4adbd","name":"svelte-htm","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"svelte-htm","version":"1.0.0","description":"tagged template syntax for svelte","repository":{"type":"git","url":"git+https://github.com/sastan/svelte-htm.git"},"keywords":["svelte","htm","Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Sascha Tandel","email":"s.tandel@me.com"},"license":"MIT","bugs":{"url":"https://github.com/sastan/svelte-htm/issues"},"homepage":"https://github.com/sastan/svelte-htm#readme","source":"src/html.js","main":"./dist/cjs/html.js","exports":{"./package.json":"./package.json",".":{"import":"./dist/esm/html.js","require":"./dist/cjs/html.js","umd":"./dist/umd/html.js"}},"module":"./dist/esm/html.js","unpkg":"./dist/umd/html.js","jsdelivr":"./dist/umd/h.js","sideEffects":false,"scripts":{"build":"rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json","lint":"xo","fix":"xo --fix","test":"jest","test:watch":"npm test -- --watch","test:coverage":"npm test -- --coverage"},"engines":{"node":">=10"},"dependencies":{"@babel/runtime-corejs3":"^7.10.3","core-js":"^3.6.5","htm":"^3.0.4","svelte-hyperscript":"^1.1.0","svelte-fragment-component":"^1.1.0"},"peerDependencies":{"svelte":"3.x"},"devDependencies":{"@babel/core":"^7.10.3","@babel/plugin-transform-runtime":"^7.10.3","@babel/preset-env":"^7.10.3","@jest/globals":"^26.0.1","@rollup/plugin-babel":"^5.0.3","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.1","@testing-library/jest-dom":"^5.7.0","@testing-library/svelte":"^3.0.0","babel-jest":"^26.0.1","eslint":"^6.8.0","eslint-plugin-jest":"^23.13.1","eslint-plugin-jest-dom":"^2.1.0","eslint-plugin-testing-library":"^3.1.3","jest":"^26.0.1","jest-environment-jsdom-sixteen":"^1.0.3","prettier":"^2.0.5","rollup":"^2.17.1","rollup-plugin-node-externals":"^2.2.0","rollup-plugin-svelte":"^5.2.3","rollup-plugin-terser":"^6.1.0","svelte":"^3.22.3","svelte-jester":"^1.0.6","xo":"^0.30.0"},"gitHead":"5db5fee93b813a465b65a0664ee353e1f054a536","_id":"svelte-htm@1.0.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-RN7hy6fvJVNEG6/SDquWMutZbIb8TsaTpIgeBhDFXq/rF9pnBFtUKh07G0UcWR48vhfnUXECOwmpoVBxMWYNvA==","shasum":"b6385bf84be8cd563b6f8038809ee2c12dd0c494","tarball":"https://registry.npmjs.org/svelte-htm/-/svelte-htm-1.0.0.tgz","fileCount":4,"unpackedSize":9222,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8hHKCRA9TVsSAnZWagAAogwP/1hFkG7AIvKHkmsHEo6V\nuF7zZ/U5kxrC80I87nVr2DYuA9jhI/1od1Vj2/jLVbVfG0ULtGksxSGr5tml\ngkGtmJw2f9O2iwMnQ4VAXDV1KKG+tlsArz6KiXENgs10yj2EKH0sPxig2fhg\nICwyYq/g+p4FvNy190nefTKAu8fIrh6dUL9/Qf68z0ilD9ihMsSUs9CwbRrW\n4DnoZVrA5KOeD4xxDrxhjGkEUfTrh7O8iSD8HNVo+NkYLnzMNFd1f27eAY6T\nkOYDdpwgd30ol/RKIzAuXaKuFvuU9UnGc+WuIeeWxs5X0fHBGjZz1yywDu+F\nGjEAltasrIvXAmg7HFQ/XrpRnYKqGoiFS2Rbu6xTnuq4gklSktFbE52h+dkS\nI0ZTbDU93F7qEi7A7qqZqTwusPx08Cfqbfd051bUwrD9eh8+k6Izq8sfF7CW\nLydK4U1CK+yWdKvhqp9ISVIIXrmgp1EAZgIzS0FXgddqE2VcDgzazxA0tblL\nruauPc39yHrzX+MryXmsYC/HXQAWhAqpYHw30s7qYX4wUEQBEiEyUQJUE7Cy\n/hRuAep+YKu2OefVlXFmcO6+3KVE8ds+36Ehb6NvT5sXlDUwAylEBi14GNXx\nmpnkcFTqOLw0ABFkV6VQqeTI7FIAhkzj8evFab3flleBdML0C71KJ/ysjm7r\nKVdd\r\n=UDEZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnyI4MfrjzBu/2zWPfGroUo/M5HvwHzbwy+q6bFZG/eAIgGqt4uLuffp/0z8zfB0FqIbc3BGBssMzJ2OPXDAumE6k="}]},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-htm_1.0.0_1592922569984_0.5392895798854456"},"_hasShrinkwrap":false},"1.0.1":{"name":"svelte-htm","version":"1.0.1","description":"tagged template syntax for svelte","repository":{"type":"git","url":"git+https://github.com/kenoxa/svelte-htm.git"},"keywords":["svelte","htm","Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Sascha Tandel","email":"s.tandel@kenoxa.de"},"license":"MIT","bugs":{"url":"https://github.com/kenoxa/svelte-htm/issues"},"homepage":"https://github.com/kenoxa/svelte-htm#readme","source":"src/html.js","main":"./dist/cjs/html.js","exports":{"./package.json":"./package.json",".":{"require":"./dist/cjs/html.js","umd":"./dist/umd/html.js","default":"./dist/esm/html.js"}},"module":"./dist/esm/html.js","unpkg":"./dist/umd/html.js","jsdelivr":"./dist/umd/h.js","sideEffects":false,"scripts":{"build":"rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json","lint":"xo","fix":"xo --fix","test":"jest","test:watch":"npm test -- --watch","test:coverage":"npm test -- --coverage"},"engines":{"node":">=10"},"dependencies":{"@babel/runtime-corejs3":"^7.10.3","core-js":"^3.6.5","htm":"^3.0.4","svelte-hyperscript":"^1.1.0","svelte-fragment-component":"^1.1.0"},"peerDependencies":{"svelte":"3.x"},"devDependencies":{"@babel/core":"^7.10.3","@babel/plugin-transform-runtime":"^7.10.3","@babel/preset-env":"^7.10.3","@jest/globals":"^26.0.1","@rollup/plugin-babel":"^5.0.3","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.1","@testing-library/jest-dom":"^5.7.0","@testing-library/svelte":"^3.0.0","babel-jest":"^26.0.1","eslint":"^6.8.0","eslint-plugin-jest":"^23.13.1","eslint-plugin-jest-dom":"^2.1.0","eslint-plugin-testing-library":"^3.1.3","jest":"^26.0.1","jest-environment-jsdom-sixteen":"^1.0.3","prettier":"^2.0.5","rollup":"^2.17.1","rollup-plugin-node-externals":"^2.2.0","rollup-plugin-svelte":"^5.2.3","rollup-plugin-terser":"^6.1.0","svelte":"^3.22.3","svelte-jester":"^1.0.6","xo":"^0.30.0"},"gitHead":"46a014bd2f61629599807673f5016de58dded241","_id":"svelte-htm@1.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-oMujVduQEz4O2XoWTc0RuWS9tZTQhgg0tt8M5PqCCNSuYAWQC3oaxGWvhLykf81aTaTthfpeZjfzlJFF3Gj5lQ==","shasum":"7080423fcdae2cbaf8cb5b77e33fd87661f2c8be","tarball":"https://registry.npmjs.org/svelte-htm/-/svelte-htm-1.0.1.tgz","fileCount":4,"unpackedSize":9519,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8iVWCRA9TVsSAnZWagAA+ScP/0VvUVlILinYsMNKm5i5\nGr1c4atsu41uHHmpqlhLB/Sk/S498rGipPO129FKXpSJ/ljtjhzdm9GA/Vky\ndE42t+OQ2XSOvA5pqQaruSHae81EdIWImgfuD+y8MBHGQitYGOg3mJB/gHNm\nTnYT7kisMqlQXpjD5hTIEfDgbog/kXSCeDPfUVz4BXyF4zYr7qovTKx4V6d2\nL8HxTNh/S9zRzVj1nIprlT5rWJp5iooWyifbGkQFulohAYvDqedhuyVRm1CM\nyAcfokcZe6/dKwFYA+mQRzuLWnb1dle84mq3Yaz+wmt/4Bbogq48vz8mc4md\n1J/56EEIFQdn17sOWU+yJudgZ32gQJrm+PZooaHJtR8/MW1NReFD2BcGO4xn\nLDbygJHP7iM8tsrMk9V1Ql/xSb5PkBFQYe0WL7DhZKCmVexVuiNOqwmc0L25\n9mAiW4OfAhcx61ZdefnZxDMUIOZEGDjpHUg0GFwuOC6jMYbySOG09u5eapI0\niJ+fTMvPtko9bJjH/BFKYqqb2HBv3fPoKSrxNqyUF3QwQs2A+j5a+iBnoZOS\neofqW/hnlj+E8SXhv8ieeEAkTGg2BvhVuCMu5SObHhL9pHDkP47b7srUplME\npc/liTGJ8P98vxgNWGpvgV61UOGy6OsPw4CeZL76Fx/CNFeoKhNlJo6KfIdm\nIWnp\r\n=b7zn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/UR0vI9x64yDU6LrUEnu4ixOjqqsB16aEUKWnvXu4dgIgMJIEJy6RS45FPh4Olk66+8WZj1YN+nnAJ9pYKlve/1Q="}]},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-htm_1.0.1_1592927574204_0.9728620514007047"},"_hasShrinkwrap":false},"1.0.2":{"name":"svelte-htm","version":"1.0.2","description":"tagged template syntax for svelte","repository":{"type":"git","url":"git+https://github.com/kenoxa/svelte-htm.git"},"keywords":["svelte","htm","Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Sascha Tandel","email":"s.tandel@kenoxa.de"},"license":"MIT","bugs":{"url":"https://github.com/kenoxa/svelte-htm/issues"},"homepage":"https://github.com/kenoxa/svelte-htm#readme","source":"src/html.js","main":"./dist/cjs/html.js","exports":{"./package.json":"./package.json",".":{"require":"./dist/cjs/html.js","umd":"./dist/umd/html.js","default":"./dist/esm/html.js"}},"module":"./dist/esm/html.js","unpkg":"./dist/umd/html.js","jsdelivr":"./dist/umd/h.js","sideEffects":false,"scripts":{"prebuild":"rimraf dist","build":"rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json","lint":"xo","fix":"xo --fix && prettier --ignore-path .gitignore --write .","prepublishOnly":"npm run build","test":"jest","test:watch":"npm test -- --watch","test:coverage":"npm test -- --coverage"},"engines":{"node":">=10"},"dependencies":{"@babel/runtime-corejs3":"^7.10.3","core-js":"^3.6.5","htm":"^3.0.4","svelte-hyperscript":"^1.1.0","svelte-fragment-component":"^1.1.0"},"peerDependencies":{"svelte":"3.x"},"devDependencies":{"@babel/core":"^7.10.3","@babel/plugin-transform-runtime":"^7.10.3","@babel/preset-env":"^7.10.3","@jest/globals":"^26.0.1","@rollup/plugin-babel":"^5.0.3","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.1","@testing-library/jest-dom":"^5.7.0","@testing-library/svelte":"^3.0.0","babel-jest":"^26.0.1","eslint":"^6.8.0","eslint-plugin-jest":"^23.13.1","eslint-plugin-jest-dom":"^2.1.0","eslint-plugin-testing-library":"^3.1.3","jest":"^26.0.1","jest-environment-jsdom-sixteen":"^1.0.3","prettier":"^2.0.5","rimraf":"^3.0.2","rollup":"^2.17.1","rollup-plugin-node-externals":"^2.2.0","rollup-plugin-svelte":"^5.2.3","rollup-plugin-terser":"^6.1.0","svelte":"^3.22.3","svelte-jester":"^1.0.6","xo":"^0.30.0"},"gitHead":"9f2fe390536b52030d615ac81fe906fece4a71a2","_id":"svelte-htm@1.0.2","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-GyzMjgo/HHEFU9GPOYojpuMte722r4Bu3Y1tq6dCp7Fg7FJcJOiE1wKicsfV0czzlJy6EhGRA29bi8Z3h3lmcQ==","shasum":"914ff1a56911adf19ee033418d379fb1db39b283","tarball":"https://registry.npmjs.org/svelte-htm/-/svelte-htm-1.0.2.tgz","fileCount":11,"unpackedSize":117442,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8lftCRA9TVsSAnZWagAAwHYP/jicuNqMDy+UnsqtmXwV\nOpHknzbEgXSw1ywZQ6SUDZbFZywhB7zNC8E75Xc8wvN5UorUmEf6vLZYQ3Wr\nngYOlGnJapGIAwtrBHjD3XeFk0kuqRw3CXyfvxKynLjV8TrdVwuVuK1JfRUk\nBlB0TkJDyaVrllVDR7jmMvVga9M/KSds3B+lDJfFLXxEzy7R5JJPoh5GVAR0\nnSmFik7OElmYudpsrpgqUWF4ox3OqDARpsMZSh5RcqhIBMyK5ynrX+2H6ZNQ\n6NuOuDxAklzbR92krJcu2Imp3BDghyDGT1sOCu1jh2MS2Cq553U6mAuhrqUD\nFY8od70pGmti3KPGnbahDU7XQh817fVQYZw8OogEDj5HTbPJS8qGvqlf/nZe\nDizX2mOv7spvarsZVXqrx9UTYFNI4+aB6TOvthABP8QS5/jK9WmAnoRze4YR\ngARPX6BoFbnCqclW/dShASl0BqIFFhcJTImvixbEKDHaaXlnTglGSbik3RLx\neP180XSe5P4oifvGoVL0GFFqIXWJ8nJPEv1EmcIp1RX3wVMmEZfn6KuQBCrG\n5CX2CZX9OUG5RNEL1yPyQJcdSdWb6o+DCn4KLzThLx22FPTL/jOxUaYGOZOk\nr84dk8v4Fy8Ogty7jK0rFybKMs1+uU2CF5ovvDWjo0KLlsCuj8dbL3Pq0M3X\n4YZH\r\n=nzkX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkQBMNutXikRI0taJuW+Aj/gLBGZcHpVZaRK/sJ1gsCQIhAJEQ+oHkQPYxhfvfcU0e8s2q/gIHq5FQG3sPq2cyILtT"}]},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-htm_1.0.2_1592940524710_0.722273877094594"},"_hasShrinkwrap":false},"1.1.0":{"name":"svelte-htm","version":"1.1.0","description":"tagged template syntax for svelte to simplify testing","repository":{"type":"git","url":"git+https://github.com/kenoxa/svelte-htm.git"},"keywords":["svelte","htm","Hyperscript Tagged Markup","tagged template","template literals","html","jsx","hyperscript","dom","jsdom","testing","ui","unit","functional"],"author":{"name":"Sascha Tandel","email":"s.tandel@kenoxa.de"},"license":"MIT","bugs":{"url":"https://github.com/kenoxa/svelte-htm/issues"},"homepage":"https://github.com/kenoxa/svelte-htm#readme","source":"src/html.js","main":"./dist/cjs/html.js","exports":{"./package.json":"./package.json",".":{"require":"./dist/cjs/html.js","umd":"./dist/umd/html.js","default":"./dist/esm/html.js"}},"module":"./dist/esm/html.js","unpkg":"./dist/umd/html.js","jsdelivr":"./dist/umd/html.js","types":"index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist","build":"rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json","lint":"xo","fix":"xo --fix && prettier --ignore-path .gitignore --write .","prepublishOnly":"npm run build","test":"jest","test:watch":"npm test -- --watch","test:coverage":"npm test -- --coverage"},"engines":{"node":">=10"},"dependencies":{"@babel/runtime-corejs3":"^7.10.3","core-js":"^3.6.5","htm":"^3.0.4","svelte-fragment-component":"^1.1.0","svelte-hyperscript":"^1.1.1"},"peerDependencies":{"svelte":"3.x"},"devDependencies":{"@babel/core":"^7.10.3","@babel/plugin-transform-runtime":"^7.10.3","@babel/preset-env":"^7.10.3","@jest/globals":"^26.0.1","@rollup/plugin-babel":"^5.0.4","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.1","@testing-library/jest-dom":"^5.7.0","@testing-library/svelte":"^3.0.0","babel-jest":"^26.0.1","eslint":"^6.8.0","eslint-plugin-jest":"^23.17.1","eslint-plugin-jest-dom":"^2.1.0","eslint-plugin-testing-library":"^3.1.3","husky":"^4.2.5","jest":"^26.1.0","jest-environment-jsdom-sixteen":"^1.0.3","lint-staged":"^10.2.11","prettier":"^2.0.5","rimraf":"^3.0.2","rollup":"^2.18.0","rollup-plugin-node-externals":"^2.2.0","rollup-plugin-svelte":"^5.2.3","rollup-plugin-terser":"^6.1.0","svelte":"^3.22.3","svelte-jester":"^1.0.6","xo":"^0.32.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"xo --fix","*.{js,css,json,md,svelte,yml,yaml}":"prettier --ignore-path .gitignore --write"},"gitHead":"49e1b4ff663f792a92e3d1ac14e795d12eb11acf","_id":"svelte-htm@1.1.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-vRmWZfMP1gx+pARPYCNbdyg40bixo0M78nWBTh6PqSGSfvc7tncURQ9sI6ysa7H+OueVPlSV+PQ2uCv8YI+gtA==","shasum":"86fb4bd5d1451cf2aed3d0000b8e928c2e46deca","tarball":"https://registry.npmjs.org/svelte-htm/-/svelte-htm-1.1.0.tgz","fileCount":12,"unpackedSize":118384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+gdNCRA9TVsSAnZWagAAqycP/id64p3f6WrKk6+iHqd8\n6eIa3lFIgSWxenZNYtlGl9kA9poHpsC8oh/lWp62294XG/0GIabdEuQb/WmV\nc31eBs7OY9+cMPdAh7naany81XMyL9sUuCRfGJDdIj3UonTy72lY5oal+gWf\nCTakJ2NfqqddOdedcQ+bNOUYa9xb4qHI3R7YgE09CFphsBmNr06cqjl1nu6R\nviAq+h1uqmKwP74kon2MyV9wbbGazDyf5adwRuoRID8aXbB4X124UIYzl8oE\nfhM9Q4u+b6aggvebUWlxLO7nGB+IVrVMBksg4RdmI3hM1m+Gvzkx9brwPmxj\nZ1dXvLqrU5cDqr/kcMhBwRHQUv4exAUi7iU9issXcZrZVKekWF9bMR3rIp7h\nRe7L0KlwC8xUgARicljrVMStNo84zGo8iQyJomzcDwFekPNnc7LX+dFSfQOL\nNnIY1nxCkNSSM1EMni7aip3d4cOHbrKKIHlfof6hMeyGSsHtjSKSrpbx+Svw\nVmm9CAbSQDEMCSrfARmvhRGdM70V6H8mLjQ0xrljRP50Z9R9FmvmF/QX/Kna\ntzI0AWQTgv9Ww54fedFRr+ok4y0dbjmDnai5lEMOZ9Z9as0nI2v55qWpKFqG\nkcBSawUiIUzMBa1SSifFios7/EB19KfmlgSpBMgWYvWe9M5PsN5OvaZblQ/d\nowMg\r\n=y/lY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGv+roofjd6/u91ambiH7g34bAcUgyozAAQ6AyEbgfZwIhAIUD3BrFr9f4SQ1AhjC2spSv8GtgOobNjdorGtmXA0Zt"}]},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-htm_1.1.0_1593444172819_0.8072749146276628"},"_hasShrinkwrap":false},"1.1.1":{"name":"svelte-htm","version":"1.1.1","description":"tagged template syntax for svelte to simplify testing","repository":{"type":"git","url":"git+https://github.com/kenoxa/svelte-htm.git"},"keywords":["svelte","htm","Hyperscript Tagged Markup","tagged template","template literals","html","jsx","hyperscript","dom","jsdom","testing","ui","unit","functional"],"author":{"name":"Sascha Tandel","email":"s.tandel@kenoxa.de"},"license":"MIT","bugs":{"url":"https://github.com/kenoxa/svelte-htm/issues"},"homepage":"https://github.com/kenoxa/svelte-htm#readme","source":"src/html.js","main":"./dist/cjs/html.js","exports":{"./package.json":"./package.json",".":{"require":"./dist/cjs/html.js","umd":"./dist/umd/html.js","default":"./dist/esm/html.js"}},"module":"./dist/esm/html.js","unpkg":"./dist/umd/html.js","jsdelivr":"./dist/umd/html.js","types":"index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist","build":"rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json","lint":"xo","fix":"xo --fix && prettier --ignore-path .gitignore --write .","prepublishOnly":"npm run build","test":"jest","test:watch":"npm test -- --watch","test:coverage":"npm test -- --coverage"},"engines":{"node":">=10"},"dependencies":{"@babel/runtime-corejs3":"^7.10.3","core-js":"^3.6.5","htm":"^3.0.4","svelte-fragment-component":"^1.1.0","svelte-hyperscript":"^1.1.1"},"peerDependencies":{"svelte":"3.x"},"devDependencies":{"@babel/core":"^7.10.3","@babel/plugin-transform-runtime":"^7.10.3","@babel/preset-env":"^7.10.3","@jest/globals":"^26.0.1","@rollup/plugin-babel":"^5.0.4","@rollup/plugin-commonjs":"^13.0.0","@rollup/plugin-node-resolve":"^8.0.1","@testing-library/jest-dom":"^5.7.0","@testing-library/svelte":"^3.0.0","babel-jest":"^26.0.1","eslint":"^6.8.0","eslint-plugin-jest":"^23.17.1","eslint-plugin-jest-dom":"^2.1.0","eslint-plugin-testing-library":"^3.1.3","husky":"^4.2.5","jest":"^26.1.0","jest-environment-jsdom-sixteen":"^1.0.3","lint-staged":"^10.2.11","prettier":"^2.0.5","rimraf":"^3.0.2","rollup":"^2.18.0","rollup-plugin-node-externals":"^2.2.0","rollup-plugin-svelte":"^5.2.3","rollup-plugin-terser":"^6.1.0","svelte":"^3.22.3","svelte-jester":"^1.0.6","xo":"^0.32.0"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"xo --fix","*.{js,css,json,md,svelte,yml,yaml}":"prettier --ignore-path .gitignore --write"},"gitHead":"fed4b705db03e285fde6036e12a5f99ae9e4392e","_id":"svelte-htm@1.1.1","_nodeVersion":"12.18.1","_npmVersion":"6.14.5","dist":{"integrity":"sha512-fd0LaeDvJJgZFZQJA1Q5PQk+/wKTbxYQLIMv+115enofYmpZgXPD8C7YnRChSpcaxCbqHvZNA10zk4BBaPz4xw==","shasum":"d3b6bd5ea1cbee97d184e2ef6a531ac8c9293c3a","tarball":"https://registry.npmjs.org/svelte-htm/-/svelte-htm-1.1.1.tgz","fileCount":12,"unpackedSize":118627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+gj6CRA9TVsSAnZWagAASaMQAI083M8nXYHBHT4HWbrw\nx+W2kX0EjIxY2rsRhowtIb/NciJC42pG73deggNJ/kN5wKJqM/HRQFYmQhbj\n+c3Vytq5SO7gzfN9OGSmsr+HXRtznebxXxMSVcLTfBdIcIzxnVLtaE7v7DvR\n6Mt9OQ77vCODxlm1EvhXRbWa0zQRmRGqW3mqoVO6DVX5/PWqJ+qfd8xZ1EHN\n2kL6HM0IEbuNyDvjA8CwUDldTWptL3pWwXzyNY8pTGQUncfjw4wvH3P2Juzm\nKj9wQ3D2N+aq0fLLrKkJ5liegDZIL4j0hjtuYtXJCplidAMwBSVzJgfSENnO\nV/mBFQ7YjM83epuCKiUpXbmdfIaKV0FSEa5WcRauyXDwZ+i5DO2LBA5cuBCi\n/YiJvy3mFLVfutcM3yw25qFzBNzRgLJAO3RWLO2OHGyIbCTMWmOK9lo+0U7B\ncxgShrg274xs/Nzzs2pFT974rdPUFpvxiyNU6qRTjvWOYKwZ61VE0nOVrz5H\nOtH2E+7iUe6D/1/VMvWbTsCElrTKipULRDpznmD/6Dx+AN5blzP0WMCJ8DTD\niYrq6KjLvB2khpvk6SGhsZmOaQ0oCBjqFJTTi0pjjnn1kWXtTgrFtUbKUykh\nhKa6zD0c6ufTRmECGRnPs7osoEuXQsNcqhmbL8alNfhhjPoMyXmdrE/oqFqE\nw/wV\r\n=BjPw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADcT/iHTZzwa5Dovm5VqsJ69eNYqm55t6n6O1CQR3noAiEAonVVz5I3ErUVmgUrhYVWcLvVtUX685EB4crOw0UW2zo="}]},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-htm_1.1.1_1593444602318_0.2910250728484354"},"_hasShrinkwrap":false},"1.2.0":{"name":"svelte-htm","version":"1.2.0","description":"tagged template syntax for svelte to simplify testing","repository":{"type":"git","url":"git+https://github.com/kenoxa/svelte-htm.git"},"keywords":["svelte","htm","Hyperscript Tagged Markup","tagged template","template literals","html","jsx","hyperscript","dom","jsdom","testing","ui","unit","functional"],"author":{"name":"Sascha Tandel","email":"s.tandel@kenoxa.de"},"license":"MIT","bugs":{"url":"https://github.com/kenoxa/svelte-htm/issues"},"homepage":"https://github.com/kenoxa/svelte-htm#readme","source":"src/html.js","main":"./dist/cjs/html.js","exports":{"./package.json":"./package.json",".":{"require":"./dist/cjs/html.js","umd":"./dist/umd/html.js","default":"./dist/esm/html.js"}},"module":"./dist/esm/html.js","unpkg":"./dist/umd/html.js","jsdelivr":"./dist/umd/html.js","types":"index.d.ts","sideEffects":false,"scripts":{"prebuild":"rimraf dist","build":"rollup -c && echo '{\"type\":\"module\"}' > dist/esm/package.json","lint":"xo","fix":"xo --fix && prettier --ignore-path .gitignore --write .","prepublishOnly":"npm run build","test":"jest","test:watch":"npm test -- --watch","test:coverage":"npm test -- --coverage"},"engines":{"node":">=10"},"dependencies":{"@babel/runtime-corejs3":"^7.19.0","core-js":"^3.25.1","htm":"^3.1.1","svelte-fragment-component":"^1.2.0","svelte-hyperscript":"^1.2.1"},"peerDependencies":{"svelte":"3.x"},"devDependencies":{"@babel/core":"^7.19.0","@babel/plugin-transform-runtime":"^7.18.10","@babel/preset-env":"^7.19.0","@jest/globals":"^29.0.3","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^14.0.1","@testing-library/jest-dom":"^5.16.5","@testing-library/svelte":"^3.2.1","babel-jest":"^29.0.3","eslint":"^8.23.0","eslint-plugin-jest":"^27.0.4","eslint-plugin-jest-dom":"^4.0.2","eslint-plugin-testing-library":"^5.6.3","husky":"^4.2.5","jest":"^26.6.3","jest-environment-jsdom-sixteen":"^1.0.3","lint-staged":"^13.0.3","prettier":"^2.7.1","rimraf":"^3.0.2","rollup":"^2.79.0","rollup-plugin-node-externals":"^5.0.0","rollup-plugin-svelte":"^7.1.0","rollup-plugin-terser":"^7.0.2","svelte":"^3.50.1","svelte-jester":"^1.0.6","xo":"^0.52.3"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.js":"xo --fix","*.{js,css,json,md,svelte,yml,yaml}":"prettier --ignore-path .gitignore --write"},"gitHead":"a50901dc13106478ee48c0e68fc348ad45e3fe90","_id":"svelte-htm@1.2.0","_nodeVersion":"14.20.1","_npmVersion":"6.14.17","dist":{"integrity":"sha512-6YFNncbyXbCa3PSoMQc/JR6O/Yg1OgNioH5rMgE88RVPzU8714y2Urfenlqs+ryRS+Inv+m6TJ9jH3W7wDCS1A==","shasum":"fe53d4ea48713dfa1acd275fa9ff14e2b4cccdd7","tarball":"https://registry.npmjs.org/svelte-htm/-/svelte-htm-1.2.0.tgz","fileCount":12,"unpackedSize":142198,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAsps9IH0ey8+C9F2pOca/j3ouU6OmCR0pYgyI9KOWh6AiB4Y4e6KHYY7Q+2SBnT6E/emfKrLQY4AQ74tGpwJg0WIw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjastlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoy7g//W8vXNWYkI3Q2JlIRzDUeb5QX5A+wyH0n/OgkXLbgG/Z27YXu\r\npXeRDF2K44ZqiL7Z5ZAkJtx7aii+VdSFWsDS1tsX8rHRTeLzn1b8opf/8cSi\r\nofXxuJgRFmjukTTfRp7oWPVTKmlNORRhL32Gpi9Z1eXMsPZ4uirWa18f6AMX\r\nsoMM08Cby5y6GorxfwvLiXLfvuePOJE1khm4DsEcq4Jit3nXDp/4TZ+rEEXv\r\nJCF0LKUkQ7qsvwR87ZsqxUY7Gsv/oW0fa4a46RHmCJO84UJA9F5u8m0hnAKW\r\nJuV6zWPWNw2LcaBgxdzRL4Qmdr+hrB11oRffUpbhIqIXO7rmKZm9lL9Gjy4T\r\nmbaScL/sci1oHl8LdQnML6cE08vN4QEXE66KHaatBAqQxXWDnw3bKiXEd1yL\r\np/CXh2LW5JBy3krnO8esa6mohlalCd60s+kqOK+2YFR5/uAa7BVCFrYx+pzB\r\n4BT6FM12JUXRfgCN24SpDiMRnZuXiNcCp9HPziPS5rigKUT2FD6Yo9qlUV6E\r\npGr4ZYzvkX4SmGib7RNTsD/6w6w/ih8w3t+sQIDXbfUROxwQHYWxz7dTCkRf\r\nFnwy527eLX6/Ro4ol186MDS+BGhxhKMksUsmd5yLhEezslTvf01lA0+R50uC\r\nOMFP6+JYEBpl8Ln3lNWvLiyqpNC6RIVtsHg=\r\n=KIXv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"directories":{},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-htm_1.2.0_1667943269702_0.2111100913577415"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-23T14:29:29.983Z","1.0.0":"2020-06-23T14:29:30.151Z","modified":"2022-11-08T21:34:29.958Z","1.0.1":"2020-06-23T15:52:54.530Z","1.0.2":"2020-06-23T19:28:44.878Z","1.1.0":"2020-06-29T15:22:52.955Z","1.1.1":"2020-06-29T15:30:02.581Z","1.2.0":"2022-11-08T21:34:29.863Z"},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"}],"description":"tagged template syntax for svelte to simplify testing","homepage":"https://github.com/kenoxa/svelte-htm#readme","keywords":["svelte","htm","Hyperscript Tagged Markup","tagged template","template literals","html","jsx","hyperscript","dom","jsdom","testing","ui","unit","functional"],"repository":{"type":"git","url":"git+https://github.com/kenoxa/svelte-htm.git"},"author":{"name":"Sascha Tandel","email":"s.tandel@kenoxa.de"},"bugs":{"url":"https://github.com/kenoxa/svelte-htm/issues"},"license":"MIT","readme":"# svelte-htm\n\n> [**H**yperscript **T**agged **M**arkup](https://www.npmjs.com/package/htm) for [svelte](https://svelte.dev/) to simplify testing\n\n[![License](https://badgen.net/npm/license/svelte-htm)](https://github.com/kenoxa/svelte-htm/blob/main/LICENSE)\n[![Latest Release](https://badgen.net/npm/v/svelte-htm)](https://www.npmjs.com/package/svelte-htm)\n[![View changelog](https://badgen.net/badge/%E2%80%8B/Explore%20Changelog/green?icon=awesome)](https://changelogs.xyz/svelte-htm)\n\n[![CI](https://github.com/kenoxa/svelte-htm/workflows/CI/badge.svg)](https://github.com/kenoxa/svelte-htm/actions?query=branch%3Amain+workflow%3ACI)\n[![Coverage Status](https://badgen.net/coveralls/c/github/kenoxa/svelte-htm/main)](https://coveralls.io/github/kenoxa/svelte-htm?branch=main)\n[![PRs Welcome](https://badgen.net/badge/PRs/welcome/purple)](http://makeapullrequest.com)\n[![Conventional Commits](https://badgen.net/badge/Conventional%20Commits/1.0.0/cyan)](https://conventionalcommits.org)\n\n> If your are already using [babel](https://babeljs.io/) take a look at [svelte-jsx].\n\n## What?\n\nWrite svelte components in [jsx]-like [syntax](https://www.npmjs.com/package/htm#syntax-like-jsx-but-also-lit) in Standard JavaScript [Tagged Templates] which works in [all modern browsers] and in node.\n\n## Why?\n\nThis is especially useful for [testing svelte components](https://github.com/svelte-society/recipes-mvp/blob/master/testing.md).\n\n## Installation\n\n```sh\nnpm install --save-dev svelte-htm\n```\n\nAnd then import it:\n\n```js\n// using es modules\nimport html from 'svelte-htm'\n\n// common.js\nconst html = require('svelte-htm')\n```\n\nAlternatively use [UNPKG](https://unpkg.com/svelte-htm/) or [jsDelivr](https://cdn.jsdelivr.net/npm/svelte-htm/) packages:\n\nWith script tags and globals:\n\n```html\n<!-- UNPKG -->\n<script src=\"https://unpkg.com/svelte-htm\"></script>\n\n<!-- jsDelivr -->\n<script src=\"https://cdn.jsdelivr.net/npm/svelte-htm\"></script>\n\n<script>\n  <!-- And then grab it off the global like so: -->\n  const html = svelteHtml\n</script>\n```\n\nHotlinking from unpkg: _(no build tool needed!)_\n\n```js\nimport html from 'https://unpkg.com/svelte-htm?module'\n```\n\n## Usage\n\n```js\nimport { render, fireEvent } from '@testing-library/svelte'\nimport html from 'svelte-htm'\n\nimport Button from '../src/Button.svelte'\n\ntest('should render', async () => {\n  let clicked = 0\n  const { getByRole } = render(html`<${Button} on:click=${() => (clicked += 1)}>Click Me!<//>`)\n\n  const button = getByRole('button')\n\n  await fireEvent.click(button)\n\n  expect(clicked).toBe(1)\n})\n```\n\n## API\n\nWe [aim to support](https://github.com/kenoxa/svelte-hyperscript#feature-set) all svelte features. In some cases this is not possible. For those cases we provided feasible workarounds. See [svelte-hyperscript] for further details.\n\nSome notable differences are:\n\n- Using [stores](https://svelte.dev/docs#svelte_store) to allow reactivity\n\n  ```js\n  import { render } from '@testing-library/svelte'\n  import userEvent from '@testing-library/user-event'\n  import { writable, get } from 'svelte/store'\n\n  test('write into an input', async () => {\n    const text = writable()\n    const { getByRole } = render(html`<input bind:value=${text} />`)\n\n    const input = getByRole('textbox')\n\n    await userEvent.type(input, 'some text')\n\n    expect(get(text)).toBe('some text')\n  })\n  ```\n\n- Action properties lack the possibility to pass parameters to the action\n\n  ```js\n  import action from 'some-action-module'\n\n  html`<div use:action=${(node) => action(node, parameters)}></div>`\n  ```\n\n## Related Projects\n\n- [svelte-jsx] - write svelte components using [jsx]\n- [svelte-hyperscript] - the core of this implementation\n- [svelte-fragment-component] - a utility component\n- [htm](https://www.npmjs.com/package/htm) - making **H**yperscript **T**agged **M**arkup possible\n- [@testing-library/svelte](https://testing-library.com/docs/svelte-testing-library/intro) - helps to test UI components in a user-centric way\n\n## Support\n\nThis project is free and open-source, so if you think this project can help you or anyone else, you may [star it on GitHub](https://github.com/kenoxa/svelte-htm). Feel free to [open an issue](https://github.com/kenoxa/svelte-htm/issues) if you have any idea, question, or you've found a bug.\n\n## Contribute\n\nThanks for being willing to contribute!\n\n**Working on your first Pull Request?** You can learn how from this _free_ series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)\n\nWe are following the [Conventional Commits](https://www.conventionalcommits.org) convention.\n\n### Develop\n\n- `npm test`: Run test suite\n- `npm run build`: Generate bundles\n- `npm run lint`: Lints code\n\n## NPM Statistics\n\n[![NPM](https://nodei.co/npm/svelte-htm.png)](https://nodei.co/npm/svelte-htm/)\n\n## License\n\n`svelte-htm` is open source software [licensed as MIT](https://github.com/kenoxa/svelte-htm/blob/main/LICENSE).\n\n[tagged templates]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_templates\n[all modern browsers]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Browser_compatibility\n[jsx]: https://reactjs.org/docs/introducing-jsx.html\n[svelte-jsx]: https://www.npmjs.com/package/svelte-jsx\n[svelte-hyperscript]: https://www.npmjs.com/package/svelte-hyperscript\n[svelte-fragment-component]: https://www.npmjs.com/package/svelte-fragment-component\n","readmeFilename":"README.md"}