{"_id":"apply-html","_rev":"28-0bc801fd37fbee4c1aaf02ee069308f5","name":"apply-html","description":"It's `.innerHTML = ''` for the 21st century.","dist-tags":{"latest":"2.0.1","next":"2.0.0-1"},"versions":{"1.0.0-2":{"name":"apply-html","version":"1.0.0-2","description":"It's `innerHTML` for the modern world.","scripts":{"report":"nyc report -r text-lcov | coveralls","test":"xo && nyc ava"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","files":["*.js"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"4d1d2d2895a381bace7b0951b8e525fa234879b6","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-kBXy2GY3U71zXtxpM9of2DGNCRHxqllyg2qeexrMWrLxDxj/KdLZPW+VDPxq/1u8edzij+Rqy7pxnMC91rh31g==","shasum":"4c07e9949cea302c66188d1a1eb2650a0854458f","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCElBVXrZY9nOsAHDcfC8a0bcnfuIvSUMgkEeUzQCFYKgIgd0vx/H/7hPcPrySODCRTqEdwLFlugyJlSHJxkcTqUYI="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-2.tgz_1515617182917_0.5858981690835208"},"directories":{}},"1.0.0-3":{"name":"apply-html","version":"1.0.0-3","description":"It's `innerHTML` for the modern world.","scripts":{"report":"nyc report -r text-lcov | coveralls","test":"xo && nyc ava"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","files":["*.js"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"04305b435dd5e82a969928838bdbc4340e3e50a6","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-isB/CYKXy1Wdo0o/PZNW12QQLlOYXugIoJ1YbSzxWroCbKA+ltGvJ5D5WAe4+KFw7872izMNliuYn2wFuNUiPw==","shasum":"98b0adea3e3c50510ac3722cabf62e07f0a24a7b","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFFx+isi3sLG3TfJKmU65XLboYXwf58ZuKWbMfUTQm4oAiAaJzt8DO6a/XskC9sPyUPY/FwCBhJ0hIcrNlbG4oeHSA=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-3.tgz_1515617364324_0.4279539871495217"},"directories":{}},"1.0.0-4":{"name":"apply-html","version":"1.0.0-4","description":"It's `innerHTML` for the modern world.","scripts":{"report":"nyc report -r text-lcov | coveralls","test":"xo && nyc ava"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","files":["*.js"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"55b533a8e4cc7b9108b0416c66e9d6a1abae540a","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-4","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-v1/yybM5/doRRvsmMfYfjzQUnjAwls8UQCK+n9ZoeCrb3Xc8zkGnAZCT8Feh/RR1u1q7JU73KeW6GANCgjxkBg==","shasum":"d0d44bad42e69ad44dc17957b5c60e92bc4b72ae","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBi314zW6VA1s3qOD3vc3JjHdfaWYoPPxH7wQSqmPgKIAiAyNvB60JLZdIM/Q9R60iMirUzvEc72+Q0UrB/CIFwqjw=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-4.tgz_1515617735783_0.4820927313994616"},"directories":{}},"1.0.0-5":{"name":"apply-html","version":"1.0.0-5","description":"It's `innerHTML` for the modern world.","scripts":{"report":"nyc report -r text-lcov | coveralls","test":"xo && nyc ava"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","files":["*.js"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"9a61f3d5a5b651252ecefc8774d3c855e4be2746","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-5","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-Txj8iIILMk1mDR7E8tALCRr4UTPsm0bBGauZHboEQiuc8sRps+dFKudMzNTP+6M2uKRYOLIDq+S8c05UlvNyZA==","shasum":"164d2ef277d2ff64ced4302ad447838e62c8a538","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUgHHCdGmYwNK7QRxVYcnWu82VNRvYMfzeBGWnYd/SugIhALy2osd0SrTgVvwYHYpB+bJfcxljP8tHeVsCDV1Pyzqm"}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-5.tgz_1515618372289_0.2832001519855112"},"directories":{}},"1.0.0-6":{"name":"apply-html","version":"1.0.0-6","description":"It's `innerHTML` for the modern world.","scripts":{"report":"nyc report -r text-lcov | coveralls","test":"xo && nyc ava"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","files":["*.js"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"fdd210a96222214f2d18efb3eefda3f199a549a2","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-hC5HtDjwn6dyqyAiVSN5QA5tZQYL9/hMsp947PsuIBSLcEMV+25nQug0LrwP8DgCXIh1jD9bdAcRW4hFhN4gZg==","shasum":"94d643d7c08d9876e201bf505c9d233bfe79f039","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBh+kQqxZAH8Uv4+ssnBXUzIPPz24pEaLECnmD9HiQXxAiEAsFh2ejUhDqzHayQp8YW8Rc0jD3I2cPw0BhKEfgg0z+Y="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-6.tgz_1515628505471_0.6739425237756222"},"directories":{}},"1.0.0-7":{"name":"apply-html","version":"1.0.0-7","description":"It's `innerHTML` for the modern world.","scripts":{"report":"nyc report -r text-lcov | coveralls","test":"xo && nyc ava"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","files":["*.js"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"654049b6eb218deaf8193a0c2baf2c001956e713","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-7","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-9+le9+E+3CzC5cMathvGNmaB2SzYTeuJAzx0QaEnRy0DGi4/KsVmSTAZJl9JVF8b3fucrcgwquLx+gvx2Pg/Mw==","shasum":"5f5ca1ca9a578029a26a3b751058c0438030e6fa","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxgNa9DMF5F6M7vUfSJz9SGB7V6UFSXdKLFsxirKsyrwIgAnPGe5BNUoKEFsV2uYxZLHV89P4dfAyvJzywaa5MH9Q="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-7.tgz_1515639018575_0.3010735653806478"},"directories":{}},"1.0.0-8":{"name":"apply-html","version":"1.0.0-8","description":"It's `innerHTML` for the modern world.","scripts":{"report":"nyc report -r text-lcov | coveralls","test":"xo && nyc ava"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","files":["*.js"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","nyc":"^11.4.1","xo":"^0.18.2"},"nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"e7785076683898da1e201cb7ab869091c9c53ab8","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-8","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-Md5vVMfy9OzJpUSPifflBXX5yUvcDXxFUtwBCszOi+xP3NJp9U9S1DSAE7BYfFRK1rFvXS2HzOIgjllv/IwJ3A==","shasum":"2c518efad38142a824500f6b15e5dcf30561d5c1","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF7jI8NFJnmP1IvKWgudGqoijVePXN/DLhCvzuINd7GKAiEA6jpE0gwqEX5J9cBvDuA2YneV6jd/oIpYAhMjMU6L738="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-8.tgz_1515692873573_0.5032770787365735"},"directories":{}},"1.0.0-9":{"name":"apply-html","version":"1.0.0-9","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","test":"xo && nyc ava -v","report":"nyc report -r text-lcov | coveralls","prepublish":"npm run build","precommit":"npm run test"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","module":"src/apply-html.js","browser":"dist/apply-html.js","files":["index.js","dist","src"],"dependencies":{"@std/esm":"^0.19.2","nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","husky":"^0.14.3","nyc":"^11.4.1","rollup":"^0.54.0","xo":"^0.18.2"},"@std/esm":"cjs","nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"7e21ece7c810f7d64a9f846948b8a5f3900c7b6d","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-9","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-/PLx9XPHY5EiCMRomCrWE9cF1vJjoB6hfNm/tlF8VJ90wYn+XPDCo17wRFXjv8VnyST0eP86d1SRyNWA2V+PtA==","shasum":"33796bdb7c656866474358cf94151ab6311eb69b","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy1RGFgwhYmHpMWZ0aPUy+KhAiTGf1uJNv/HGv5j/1EwIgPotBJ5Ck2PNcdn1J96zyqQPJrU0SF2h1EBt+JEKCeFg="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-9.tgz_1515873725046_0.5517997546121478"},"directories":{}},"1.0.0-10":{"name":"apply-html","version":"1.0.0-10","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","test":"xo && nyc ava -v","report":"nyc report -r text-lcov | coveralls","precommit":"npm run build && npm run test","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","module":"src/apply-html.js","browser":"dist/apply-html.js","files":["index.js","dist","src"],"dependencies":{"@std/esm":"^0.19.2","nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","husky":"^0.14.3","nyc":"^11.4.1","rollup":"^0.54.0","xo":"^0.18.2"},"@std/esm":"cjs","nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"bc41906b68c50545cdac115bfb5c075c7396e623","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-10","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-DHsuuEj1GKjuNXJTGgM4asipUAm+vULhmol7RnMatJ3pE63jQ47X0MngzOrBC7YUTXiHAqru5WPXAQnoHwqyrg==","shasum":"d0b1cfd053552288ebb1eba50d6fdb1361c870df","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICK7UAJyuUMaF71ypjtOuryhcrNzitLFCGinPOGjBBLRAiBeeccsMQqzyg91riObROMVolGTQa6eni6U46gWjQ4QiQ=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-10.tgz_1515874497178_0.053441371535882354"},"directories":{}},"1.0.0-11":{"name":"apply-html","version":"1.0.0-11","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","test":"xo --fix && nyc ava -v","report":"nyc report -r text-lcov | coveralls","precommit":"npm run build && npm run test && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","module":"src/apply-html.js","browser":"dist/apply-html.js","files":["index.js","dist","src"],"dependencies":{"@std/esm":"^0.19.2","nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","husky":"^0.14.3","nyc":"^11.4.1","rollup":"^0.54.0","xo":"^0.18.2"},"@std/esm":"cjs","nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"e196280f004900f7c42c1132e65ea27af723e7ae","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-11","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-ZLeS5z+rbrFxUa3N+Kjms7I3HsY37MKmL9PB3wNGYdRONpfuxdCiX9TDiqa1Wd4uo5XSrITT4kH+jKEjkFx5TA==","shasum":"0741afd4f9b6817454e4d41c8c9500d7bed0655f","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKB81nTOAlEsQddOrtrZfBDlG5D76Xv9i1kqzUlT163AiEA8jIdJuC7inWzUZ5C7L5C8bajoQqRa0645WV0lmrHHb0="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-11.tgz_1515879571957_0.28507411829195917"},"directories":{}},"1.0.0-12":{"name":"apply-html","version":"1.0.0-12","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"test":"xo --fix && nyc ava -v","report":"nyc report -r text-lcov | coveralls","precommit":"npm run test && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"index.js","module":"src/apply-html.js","files":["index.js","src"],"dependencies":{"@std/esm":"^0.19.2","nanomorph":"^5.1.3"},"devDependencies":{"ava":"^0.24.0","coveralls":"^3.0.0","husky":"^0.14.3","nyc":"^11.4.1","xo":"^0.18.2"},"@std/esm":"cjs","nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"c55a71cd05e5c5832b608d4662e6aa07cc8b604d","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-12","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-jPE7TJBYvDKNw4h93cgU5B9wge5Q/tx+vO0ZyGMQxWADMNwvgnh6mXBujv5tXscWnY0stYX+LOi0y2owuw6dyA==","shasum":"1fb49055312fd2e66b044495f9c6cb8d91765608","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-12.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfA+VvcXaytA793utBdyvm98XLW/VgGrqpq1BMPNqxzwIgJ9Fcj9u4TfPsLoN920zxlq1E6gWEj93/k8bH89zPOyY="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-12.tgz_1515880227471_0.12808441137894988"},"directories":{}},"1.0.0-13":{"name":"apply-html","version":"1.0.0-13","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","test":"xo --fix && nyc ava -v","report":"nyc report -r text-lcov | coveralls","precommit":"npm run build && npm run test && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.js","module":"src/apply-html.js","files":["index.js","dist","src"],"dependencies":{"nanomorph":"^5.1.3"},"devDependencies":{"@std/esm":"^0.19.2","ava":"^0.24.0","coveralls":"^3.0.0","husky":"^0.14.3","nyc":"^11.4.1","rollup":"^0.54.0","xo":"^0.18.2"},"@std/esm":"cjs","nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"0e2c49bdbcc2962230dff4d27b488ba520773d8d","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-13","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-hWx1l3mKMfY7U6S5pVPSJc837pVuD//+RgpuebYVV8q0YrRvFBtvVXJ6fzx2M2oHJLdmCDxuPB9TMh1a603Oug==","shasum":"94687b1e29cf06fdcb87a3d683ab4ca4b704f48f","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-13.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj7GlR23LnZjtA/tERzP754CGKCUrVhQroLOcEb4bGHwIgbZycYtRuvZw6OPUa/LL/UnagRpQ5GGeyt/sCmEMTeQM="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-13.tgz_1515880646102_0.5634250731673092"},"directories":{}},"1.0.0-14":{"name":"apply-html","version":"1.0.0-14","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","test":"xo --fix && nyc ava -v","report":"nyc report -r text-lcov | coveralls","precommit":"npm run build && npm run test && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.js","module":"src/apply-html.js","files":["dist","src"],"dependencies":{"domdiff":"^0.3.6"},"devDependencies":{"@std/esm":"^0.19.2","ava":"^0.24.0","coveralls":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","nyc":"^11.4.1","rollup":"^0.54.0","xo":"^0.18.2"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"9fdce06b8caa15e8269e18d98a6cdb6bd4cb078a","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-14","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-Wjj8b9AizHjr5mjEVJkKoC7kD30FtUZXeCl5X26g0FCLxFf95EmhtXxjbJtQN8rALZPA2uvo/Qo1rTXfl1gTxA==","shasum":"eae9ac46409c2bd347bc807b5fda56fdc9588d6c","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-14.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBd0TCIphr4FkcimpAFcXcbij3X85j+a+RwM11lKOfyCAiA8EVncqRQgakprbsL670UmCw7OsolLg50wSKgwpsKKbw=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-14.tgz_1517510564274_0.21515156445093453"},"directories":{}},"1.0.0-15":{"name":"apply-html","version":"1.0.0-15","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","test":"xo --fix && nyc ava","report":"nyc report -r text-lcov | coveralls","precommit":"npm run build && npm run test && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","diff","dom","html","isomorphic","literal","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.js","module":"src/apply-html.js","files":["dist","src"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"@std/esm":"^0.19.2","ava":"^0.24.0","coveralls":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","nyc":"^11.4.1","rollup":"^0.54.0","xo":"^0.18.2"},"@std/esm":"cjs","ava":{"verbose":true,"require":["@std/esm"]},"nyc":{"reporter":["lcov","text"]},"xo":{"envs":["browser","node"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"c87fb509f826ca1a2ac4b647e04144ab05d5d28f","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"_id":"apply-html@1.0.0-15","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-KWdSSCd8oZBJ7VADxd51FW1ATN81BOZupZovCi70a+oebz6rkwO09Fh7AKui95NKMg/m4S6D9+ZefjnL6pDibQ==","shasum":"2ac13afc5be56061bd7ccfe7bacf6448453a8061","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-15.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOi7rDD3+G9b5UP0+MUXHHgoslIkeublPK9OP1bCKe9AiEA4cwknPh0z6qkxZf5jm934tTjcYDN1x8Yedb7LmlzfhY="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-15.tgz_1517519801009_0.6445321408100426"},"directories":{}},"1.0.0-16":{"name":"apply-html","version":"1.0.0-16","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier $npm_package_config_ignore --write '{src,test}/**/*.js'","lint-eslint":"eslint $npm_package_config_ignore --fix '{src,test}/**/*.js'","test":"nyc -r none run-s test-* && nyc report -r lcov -r text","test-node":"rollup test/node.js -c rollup.test.js | node | tap-diff","test-browser":"rollup test/browser.js -c rollup.test.js | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","browser":"dist/apply-html.umd.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.16.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.54.0","rollup-plugin-istanbul":"^2.0.0","rollup-preset-node":"^1.0.0-2","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"single-quote":true,"trailing-comma":"es5"},"eslintConfig":{"env":{"es6":true},"extends":["eslint-config-whim","eslint-config-prettier"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"632b723facac324de009b5131586d022b4d2be67","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-16","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-4B+5RpR4qlwAUE7b3DX+cAM+Oin7V4Ed7HSCZc00quWMn40zJjc21+pDKbVyMSRFjrNB7+KwC8kex7BaPfOO0Q==","shasum":"6c15ee78cbf07673ee4285919f17b2b8170a43db","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-16.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQfq3B3tztTd2m73n/Y2SwK6lX5FPj5muAEuq+EZTIhwIgCoxFKHkPDttuQ4k/uTxfSHt9OuzuTjViqqaL8h01zlM="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-16.tgz_1517609466459_0.5267032601404935"},"directories":{}},"1.0.0-17":{"name":"apply-html","version":"1.0.0-17","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier $npm_package_config_ignore --write '{src,test}/**/*.js'","lint-eslint":"eslint $npm_package_config_ignore --fix '{src,test}/**/*.js'","test":"nyc -r none run-s test-* && nyc report -r lcov -r text","test-node":"rollup test/node.js -c rollup.test.js | node | tap-diff","test-browser":"rollup test/browser.js -c rollup.test.js | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","browser":"dist/apply-html.umd.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.16.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.54.0","rollup-plugin-istanbul":"^2.0.0","rollup-preset-node":"^1.0.0-2","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"single-quote":true,"trailing-comma":"es5"},"eslintConfig":{"env":{"es6":true},"extends":["eslint-config-whim","eslint-config-prettier"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"a8d19852199e4df9822db06eca1e71c46b307879","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-17","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-2vKhpLhhy0MyoKwyo6pEUDlsdoyN4BrRcmXHeeLxQq5LPwmk8q6/1FudwURw/7sE0vO7BA4lPkXjlrSuuxTIgg==","shasum":"9cf5a76f4bb816fb7f910937e29d1b317555e9bf","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-17.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvjapFJPFl/rTxb+ZwscmEoy+QLob4ItV6bjvzUNVSxwIhAKYwCB4/cOa2w5UcItzj1RHqhG1sNC0C8db6c6Y06HZK"}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-17.tgz_1517616968563_0.5030565953347832"},"directories":{}},"1.0.0-18":{"name":"apply-html","version":"1.0.0-18","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier $npm_package_config_ignore --write '{src,test}/**/*.js'","lint-eslint":"eslint $npm_package_config_ignore --fix '{src,test}/**/*.js'","test":"nyc -r none run-s test-* && nyc report -r lcov -r text","test-node":"rollup test/node.js -c rollup.test.js | node | tap-diff","test-browser":"rollup test/browser.js -c rollup.test.js | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.16.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.54.0","rollup-plugin-istanbul":"^2.0.0","rollup-preset-node":"^1.0.0-2","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"single-quote":true,"trailing-comma":"es5"},"eslintConfig":{"env":{"es6":true},"extends":["eslint-config-whim","eslint-config-prettier"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"31dda30fef03d063748db18e284f838b6eb4c0b1","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-18","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-T7tFulduvuv6/NAbp+WOLMzk9pqipx301s7/osbh+KzdC2eS/4kbR3Y1+lmtcpTtvuecukRvrrPFAOVjqguDaQ==","shasum":"1d7d7059c8e85016b86e466c294f52e0b776a093","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-18.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJl6txO/IodZXtbbSLHrCCvhozAAaeWT1jDyEux3ba1QIgdipKQTazx1v51Nqufs3F51iQElspYRPKjjgd6ZOJWBQ="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-18.tgz_1517771265072_0.6790460092015564"},"directories":{}},"1.0.0-19":{"name":"apply-html","version":"1.0.0-19","description":"It's `.innerHTML = ''` for the modern world.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier $npm_package_config_ignore --write '{src,test}/**/*.js'","lint-eslint":"eslint $npm_package_config_ignore --fix '{src,test}/**/*.js'","test":"nyc -r none run-s test-* && nyc report -r lcov -r text","test-node":"rollup test/node.js -c rollup.test.js | node | tap-diff","test-browser":"rollup test/browser.js -c rollup.test.js | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.17.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.55.3","rollup-plugin-istanbul":"^2.0.0","rollup-preset-isomorphic":"^1.0.0-4","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"single-quote":true,"trailing-comma":"es5"},"eslintConfig":{"env":{"es6":true},"extends":["eslint-config-whim","eslint-config-prettier"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"10e491ad0cbb2e79cfcc0637faf30fda8c78b138","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-19","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-Nb1G55prrfBcrTBsxyDc0GOSXgqCUfipJk82jxVL6CuEJ6TDQZIc64JU7ZU38trYJ4IUZvYtTCmYPyDkuqTMLQ==","shasum":"af339a2c60308803304ecd698aecc401b1390590","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-19.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmJA593JgIhLM68kVvgghY6Ft1cs0JXDvg0QuvNhaVsAiAR1x7c8dyFsz/ooyUpYvvrNHjXOA8S+vtqa3XlaekFRg=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-19.tgz_1517776597790_0.7262902765069157"},"directories":{}},"1.0.0-20":{"name":"apply-html","version":"1.0.0-20","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier $npm_package_config_ignore --write '{src,test}/**/*.js'","lint-eslint":"eslint $npm_package_config_ignore --fix '{src,test}/**/*.js'","test":"nyc -r none run-s test-* && nyc report -r lcov -r text","test-node":"rollup test/node.js -c rollup.test.js | node | tap-diff","test-browser":"rollup test/browser.js -c rollup.test.js | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.17.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.55.3","rollup-plugin-istanbul":"^2.0.0","rollup-preset-isomorphic":"^1.0.0-4","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"single-quote":true,"trailing-comma":"es5"},"eslintConfig":{"env":{"es6":true},"extends":["eslint-config-whim","eslint-config-prettier"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"34cbb5fbab36f5cb8baed80bb5c584be28937e23","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-20","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-pMu7HEmDskkxkY6bLULYpWB3LEgxCUYxHGyzjPqG57WCkkv3pVjJMuAuTE5E2QQkSnfIGhjb1s00M7GdlIhdEQ==","shasum":"4b3778422121e7e2ff33bc160f44b46ca941efbf","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-20.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIku1cHn/S3XCWtOCgGa6i06Xtr63e8QcKuFRdm8/47AiEA3z0k2CR6OH/efm8U9Kgf7Un1EjtRZanKn2mK4ACg1gw="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html-1.0.0-20.tgz_1517781670396_0.4399686888791621"},"directories":{}},"1.0.0-21":{"name":"apply-html","version":"1.0.0-21","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier $npm_package_config_ignore --write '{src,test}/**/*.js'","lint-eslint":"eslint $npm_package_config_ignore --fix '{src,test}/**/*.js'","test":"nyc -r none run-s test-* && nyc report -r lcov -r text","test-node":"rollup test/node.js -c rollup.test.js | node | tap-diff","test-browser":"rollup test/browser.js -c rollup.test.js | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.17.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.0.0","husky":"^0.14.3","lodash.camelcase":"^4.3.0","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.55.3","rollup-plugin-istanbul":"^2.0.0","rollup-preset-isomorphic":"^1.0.0-4","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"single-quote":true,"trailing-comma":"es5"},"eslintConfig":{"env":{"es6":true},"extends":["eslint-config-whim","eslint-config-prettier"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"f902ea2370a3af57677157de10a270c86b479949","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-21","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-5MBNMTPWCC3lgDEtmkYk8n0nTHI4yaGxe9P9dhiVaFhsZEYvmUW1xhN4v4dIYCNZijMlj7k2hye/hJ8aMrqaiA==","shasum":"e8750990584383aca05e4494d3928df25931b1c1","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-21.tgz","fileCount":7,"unpackedSize":23657,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuqi+4IClxNMucybVWgkWG0DYKIG3ortYeXtjQxHOujAiBqf16pDPIiUmpPS9wd9AEopmrZoZ4hk4eUt17M/97zdw=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_1.0.0-21_1518219532427_0.5802420932190142"},"_hasShrinkwrap":false},"1.0.0-22":{"name":"apply-html","version":"1.0.0-22","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier --ignore-path .gitignore --write \"**/*.js\"","lint-eslint":"eslint --ignore-path .gitignore --fix \"**/*.js\"","test":"nyc -r none run-s test-* && nyc report -r lcov -r text","test-node":"NODE_ENV=test rollup test/node.js -c | node | tap-diff","test-browser":"NODE_ENV=test rollup test/browser.js -c | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"git diff-index --quiet HEAD"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.17.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.1.0-9","husky":"^0.14.3","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.55.5","rollup-config-whim":"^1.0.0-10","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"eslintConfig":{"extends":["eslint-config-whim","eslint-config-prettier"]},"nyc":{"include":["src/**"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"75778a3dc47c1c3c44fea899071498e4b2d4a70f","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-22","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-yoVkaCoPPyYwXJ0DyiVNWOPhiDOtWus5Xq/6T6F7zvizsybChiKNnyPj7wJ4CNAqZiIiVBARcdbIgN7Q3EpzZQ==","shasum":"c0934c1958277e35ce0c3d147065c8f23f41e939","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-22.tgz","fileCount":7,"unpackedSize":23599,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG35wg4l6tFud/SxbTiubw8diTzsscPvTX8IfdXYz83HAiBSEXu0NiL8h++ytpLlQ0wkbJUmrQhVemE3uV97N6jU1Q=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_1.0.0-22_1518558236494_0.7156595884782344"},"_hasShrinkwrap":false},"1.0.0-23":{"name":"apply-html","version":"1.0.0-23","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier --ignore-path .gitignore --write \"**/*.js\"","lint-eslint":"eslint --ignore-path .gitignore --fix \"**/*.js\"","test":"nyc -r none run-s test-* && nyc report","test-node":"NODE_ENV=test rollup test/node.js -c | node | tap-diff","test-browser":"NODE_ENV=test rollup test/browser.js -c | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"run-s test build"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.0","eslint":"^4.17.0","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.1.0","husky":"^0.14.3","npm-run-all":"^4.1.2","nyc":"^11.4.1","prettier":"^1.10.2","rollup":"^0.55.5","rollup-config-whim":"^1.0.1","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"eslintConfig":{"extends":["eslint-config-whim","eslint-config-prettier"]},"nyc":{"include":["src/**"],"reporter":["lcov","text"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"be3ae2dad802197597f8fd8678159f8101332ac4","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0-23","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-aVIWN41Ya6n0XcUPNMLTvwAquVxAD0chXrTAUkH1XkCNXcB2mTglqCY2UZeTWOTCVxffSubVdd/wCMMtTY4OaA==","shasum":"a950126bc0905760c7fed1082ae9d50317bcdd03","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0-23.tgz","fileCount":7,"unpackedSize":23644,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC6bcTOfjFEXruUm6IYl9w7s9wAM8JgN4jOXfUvQRS0aAiA8PwLugL3XcdvYl+78w2ycxHlr8v6x/2WyRj6XTCKRzw=="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_1.0.0-23_1518643399886_0.44703582451679735"},"_hasShrinkwrap":false},"1.0.0":{"name":"apply-html","version":"1.0.0","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier --ignore-path .gitignore --write \"**/*.js\"","lint-eslint":"eslint --ignore-path .gitignore --fix \"**/*.js\"","test":"nyc -r none run-s test-* && nyc report","test-node":"NODE_ENV=test rollup test/node.js -c | node | tap-diff","test-browser":"NODE_ENV=test rollup test/browser.js -c | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"run-s test build"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{"nanomorph":"github:shannonmoeller/nanomorph#cc1b2b6"},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.1","eslint":"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.1.0","husky":"^0.14.3","npm-run-all":"^4.1.3","nyc":"^11.8.0","prettier":"^1.12.1","rollup":"^0.59.2","rollup-config-whim":"^2.0.0","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"eslintConfig":{"extends":["eslint-config-whim","eslint-config-prettier"]},"nyc":{"include":["src/**"],"reporter":["lcov","text"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"1bfafaa4c40db7f6d131aabcfda411287b18c7c6","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-uXTtSRawi6IRMg8nDorYXXc2fomV2tOYpOUk5QHIhIr7jRj4Od6apPEBbSG2TEb8z58Wpo2mfIPmzYGgpWEvcQ==","shasum":"c140b8327c40153191570433ee222b38455afa9d","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-1.0.0.tgz","fileCount":7,"unpackedSize":23641,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBY9JCRA9TVsSAnZWagAAlZoQAI3pMtQaC338tgFoLep8\nUIJhDdu0VTAnH4eVKn9jedVsi+SQqfryZKADl7G8DmS0a+pVoMy5NoV9Iq1l\n159MIG6Wupds19H8AhKmCyhxOAz5Gdboz3Ik1iAoUN8xEG0FenLvX5C1LG8q\nGa2xxc3kCMAQm4Bd2Zbp0KwK8/UysxpUebwOGtvTMW0AMbee0YWZwMfa4to+\nuGdHmQYLyNbJ3QbIZqoiOl6SI8zGPFpul1VVEFoDH7yTUmu6Uwrp3b3XSyCk\nouD8jKhRjSEjVuOV2EtJFCF37El55txmwUqjNHeCd/TSPzaEjqqTZySzYRpK\nDG0uFPAdpPnG/srhOx1lNQKimrfGTR09C9xpxTpfc5Q55b1CqeAwZbV3eWsm\n4RE/zF5F3vjOnU0P9EIK/rbiIVH1S9pB8qQzg8D8qkMA4JndI/QmY1NVhlZs\nQLceHVV9oiPVYXDDaDMxs6fdvEJ0lYHrYv0JuvghGes8Dvp3URXzgRTtKjRo\nWK9yBPTHAPjavKoYyiP4hoVnDoLtytX0FjoshaI55DoBWEU8bCpqQNMaq10P\nuoAqdW23ScS3XbUyBKEXoiQwy4egEmVMkBg8EtB7OTCcq9QE67EQ2uR5K6mi\n77APeIrr9IP4DlofvkCVTG5IcQU0JBpeO8kBQIt594Vbfr7fWfxiN9IdeGiZ\n9OMQ\r\n=KGrW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAeYKMeLqgjsC4RUV4kVUqSavw8R5aHSBxHCou3RKZCUAiEA2RVqbYwOIwvgbTtmrEeol7LTK7OyQKt4067QrhGZg1w="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_1.0.0_1527091016090_0.7474847437960797"},"_hasShrinkwrap":false},"2.0.0-0":{"name":"apply-html","version":"2.0.0-0","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier --ignore-path .gitignore --write \"**/*.js\"","lint-eslint":"eslint --ignore-path .gitignore --fix \"**/*.js\"","test":"nyc -r none run-s test-* && nyc report","test-node":"NODE_ENV=test rollup test/node.js -c | node | tap-diff","test-browser":"NODE_ENV=test rollup test/browser.js -c | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"run-s test build"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","nano","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.1","eslint":"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.1.0","husky":"^0.14.3","npm-run-all":"^4.1.3","nyc":"^11.8.0","prettier":"^1.12.1","rollup":"^0.59.2","rollup-config-whim":"^2.0.0","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"eslintConfig":{"extends":["eslint-config-whim","eslint-config-prettier"]},"nyc":{"include":["src/**"],"reporter":["lcov","text"]},"engines":{"node":">= 6","npm":">= 3"},"readme":"# apply-html\n\n[![NPM version][npm-img]][npm-url] [![Downloads][downloads-img]][npm-url] [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url]\n\nIt's `.innerHTML = ''` for the 21st century!\n\nYet another library to diff and patch an existing DOM tree by efficiently comparing it to a string. Why? This library is a little bit different than [others](#acknowledgements). It makes use of an [HTML `<template>`'s](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template) unique ability to create an inert [document fragment](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment), featuring:\n\n- A real DOM tree\n- Multiple root nodes\n- Will not trigger resource loading prematurely\n- Will not apply embedded stylesheets prematurely\n- Will not trigger custom element constructors or lifecycle events prematurely\n\nThe live DOM is then patched with the inert fragment using a hyper-fast [diffing algorithm](http://npm.im/nanomorph) for real DOM nodes. This ensures that things only start happening if and when they're supposed to, organically.\n\nPlay with it on [CodePen](https://codepen.io/shannonmoeller/pen/XZXBpE?editors=1111).\n\n## Install\n\n```command\n$ npm install --save apply-html\n```\n\nor\n\n```html\n<script src=\"https://wzrd.in/standalone/apply-html\"></script>\n```\n\nor\n\n```html\n<script type=\"module\">\n    import { apply, html } from 'https://unpkg.com/apply-html?module';\n</script>\n```\n\n## Usage\n\n### Patching\n\n```js\nconst { apply } = require('apply-html');\n\napply(document.body, '<h1 class=\"day\">Hello World</h1>');\n\nconsole.log(document.body.innerHTML);\n// -> <h1 class=\"day\">Hello World</h1>\n\napply(document.body, '<h1 class=\"night\">Goodnight Moon</h1>');\n\nconsole.log(document.body.innerHTML);\n// -> <h1 class=\"night\">Goodnight Moon</h1>\n```\n\n### Interpolation and Escaping\n\n```js\nconst { apply, html, raw } = require('apply-html');\n\nconst foo = '<em>foo</em>';\nconst bar = raw('<em>bar</em>');\nconst baz = html`<strong>baz</strong>`;\n\napply(document.body, html`\n    ${foo}\n    ${bar}\n    ${baz}\n`);\n\nconsole.log(document.body.innerHTML);\n// -> &lt;em&gt;foo&lt;/em&gt;\n// -> <em>bar</em>\n// -> <strong>baz</strong>\n```\n\n### Server-side Rendering\n\nThe `html` and `raw` functions never touch the DOM so they're completely safe to use server-side.\n\n```js\nconst http = require('http');\nconst { html } = require('apply-html');\n\nconst content = html`\n    <h1>Hello <em>World</em></h1>\n    <p>How are you today?</p>\n`;\n\nmodule.exports = http\n    .createServer((req, res) => res.end(content.toString()))\n    .listen(3000);\n```\n\n## API\n\n### `apply(element, string): Element`\n\n- `element` `{Element}` DOM element with children to be patched.\n- `string` `{String|SafeString}` String or [SafeString](#safestring) containing safe HTML to render.\n\nUpdates the content of the given element, making the fewest possible changes required to match the given string of HTML. The string is converted into an HTML `<template>` and the resulting DOM trees are compared. Returns the updated element.\n\n### `` html`string`: SafeString ``\n\nA template tag that creates a new [SafeString](#safestring) containing a string of HTML. Interpolated values are serialized based on type:\n\n- `Array` - Items are serialized then joined with an empty string (`''`).\n- `Boolean|null|undefined` - Converted to an empty string (`''`).\n- `Function` - Throws a `TypeError`.\n- `Number` - Inserted as-is.\n- `Object` - Converted to an HTML-escaped JSON blob.\n- `SafeString` - Inserted as-is.\n- `String` - HTML-escaped to safeguard against [XSS](https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)). To opt out of escaping, use [`raw()`](#rawstring-safestring).\n\n### `raw(string): SafeString`\n\n- `string` `{String}` String of safe HTML.\n\nWraps a string in a [SafeString](#safestring) to indicate that it's safe to be inserted into the document. Only use on trusted strings to safeguard against [XSS](https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)).\n\n## SafeString\n\n### `.raw` `{String}`\n\nThe wrapped string.\n\n### `.length` `{Number}`\n\nLength of the wrapped string. Read only.\n\n### `.toJSON(): String`\n\nReturns the raw string.\n\n### `.toString(): String`\n\nReturns the raw string.\n\n## Acknowledgements\n\nStanding on the shoulders of these giants:\n\n- [bel](http://npm.im/bel)\n- [diff-dom](http://npm.im/diff-dom)\n- [domdiff](http://npm.im/domdiff)\n- [hyperhtml](http://npm.im/hyperhtml)\n- [lit-html](http://npm.im/lit-html)\n- [morphdom](http://npm.im/morphdom)\n- [nanomorph](http://npm.im/nanomorph)\n- [preact](http://nipm.im/preact)\n- [snabbdom](http://npm.im/snabbdom)\n- [react](http://nipm.im/react)\n- [vue.js](http://npm.im/vue)\n- and [more...](https://rawgit.com/krausest/js-framework-benchmark/master/webdriver-ts-results/table.html)\n\n----\n\nMIT © [Shannon Moeller](http://shannonmoeller.com)\n\n[coveralls-img]: http://img.shields.io/coveralls/shannonmoeller/apply-html/master.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/shannonmoeller/apply-html\n[downloads-img]: http://img.shields.io/npm/dm/apply-html.svg?style=flat-square\n[npm-img]:       http://img.shields.io/npm/v/apply-html.svg?style=flat-square\n[npm-url]:       https://npmjs.org/package/apply-html\n[travis-img]:    http://img.shields.io/travis/shannonmoeller/apply-html.svg?style=flat-square\n[travis-url]:    https://travis-ci.org/shannonmoeller/apply-html\n","readmeFilename":"readme.md","gitHead":"951fbd8a18aab6609f1ff69723a30840d8b4b3a5","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@2.0.0-0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-1POK/VoUpDZoZMZJ7ztJ28RoWG58hYhRUShxWWB42qmPI0maZGB5ZMtJzugG4BWD8Xijv36667KAzKSvdHqkZg==","shasum":"82c081b95bea14e0ac2fc2c88e30e2a6f51f6e03","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-2.0.0-0.tgz","fileCount":7,"unpackedSize":66637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYoZHCRA9TVsSAnZWagAAK64P/1jzV7JFh5JCNpjDMlkK\njiNAXNLdjvMY3awbcZPlGVIUTYY3y1ZZF92f1nzrQalwb8UQp7e5qqdzEpQj\nTXCtgT7FGWGdFyP7zBT6Q9SMVwC26SZtwZ/R742qD0Js9FhpulAfJUh+PVCw\nVNVUufknMXLZR9mwISueYGHvaH/Nlj4Qzm4PvgRXgGjc1FLaCp0QEQRyF3Yz\nGMoQTY6dvRKu8LGmJoKFBPyMc8KQf8dX45VEd5pdIMO+hoKiUu/T2fQKIcs2\nsa95qwoZLqF/B+LLVewfWWEym4/R9/ExDCvY4FHiQ83NZ9r9ivJP5jeAIV1I\nNL6+19ONWqNs/BFw5CherjxErX02hoPCbmnLRkCuTUjoKi9EiqBk7UYZZk34\nMkrPrOvveDhbbR5l4W88EJ5WenOTdDFXlSpL1IxdS74ketcWDdmeqTTtC+vU\n3o1uL8pZSd1mr6ADr4sjMvUttGEdYXorHuswU8UQ1Vej3CRE3re6tub+AOHq\nYpP+YvJPLhtnb/bT5YcX/+ifDPdm9sr02GkgxOJodje7MNEMVvKysTnYbQCe\nVw8Z9oCco2AvwEaHAb1MmgMlV8/mdOwVy2vcfzGzDd3L/HO54jIxbaQw1q6F\nDMOAp3t/GYbkPtXQKXTPyNzYXvlfIotgJ10pPZDgYqVPWuPnKt+3oit2y8jc\n1ObD\r\n=EWfq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRKt1OscOsuAWJ7G/cXTsokNKkqyuudTHiWNLd1cOyqAIhAJEIvuf4iVx04raHzH9MkxTSFQxA8+wcj6ffBd/nmFd4"}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_2.0.0-0_1533183559284_0.9051679060657745"},"_hasShrinkwrap":false},"2.0.0-1":{"name":"apply-html","version":"2.0.0-1","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier --ignore-path .gitignore --write \"**/*.js\"","lint-eslint":"eslint --ignore-path .gitignore --fix \"**/*.js\"","test":"nyc -r none run-s test-* && nyc report","test-node":"NODE_ENV=test rollup test/node.js -c | node | tap-diff","test-browser":"NODE_ENV=test rollup test/browser.js -c | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"run-s test build"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","nano","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.1","eslint":"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.1.0","husky":"^0.14.3","npm-run-all":"^4.1.3","nyc":"^11.8.0","prettier":"^1.12.1","rollup":"^0.59.2","rollup-config-whim":"^2.0.0","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"eslintConfig":{"extends":["eslint-config-whim","eslint-config-prettier"]},"nyc":{"include":["src/**"],"reporter":["lcov","text"]},"engines":{"node":">= 6","npm":">= 3"},"readme":"# apply-html\n\n[![NPM version][npm-img]][npm-url] [![Downloads][downloads-img]][npm-url] [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url]\n\nIt's `.innerHTML = ''` for the 21st century!\n\nYet another library to diff and patch an existing DOM tree by efficiently comparing it to a string. Why? This library is a little bit different than [others](#acknowledgements). It makes use of an [HTML `<template>`'s](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template) unique ability to create an inert [document fragment](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment), featuring:\n\n- A real DOM tree\n- Multiple root nodes\n- Will not trigger resource loading prematurely\n- Will not apply embedded stylesheets prematurely\n- Will not trigger custom element constructors or lifecycle events prematurely\n\nThe live DOM is then patched with the inert fragment using a hyper-fast [diffing algorithm](http://npm.im/nanomorph) for real DOM nodes. This ensures that things only start happening if and when they're supposed to, organically.\n\nPlay with it on [CodePen](https://codepen.io/shannonmoeller/pen/XZXBpE?editors=1111).\n\n## Install\n\n```command\n$ npm install --save apply-html\n```\n\nor\n\n```html\n<script src=\"https://wzrd.in/standalone/apply-html\"></script>\n```\n\nor\n\n```html\n<script type=\"module\">\n    import { apply, html } from 'https://unpkg.com/apply-html?module';\n</script>\n```\n\n## Usage\n\n### Patching\n\n```js\nconst { apply } = require('apply-html');\n\napply(document.body, '<h1 class=\"day\">Hello World</h1>');\n\nconsole.log(document.body.innerHTML);\n// -> <h1 class=\"day\">Hello World</h1>\n\napply(document.body, '<h1 class=\"night\">Goodnight Moon</h1>');\n\nconsole.log(document.body.innerHTML);\n// -> <h1 class=\"night\">Goodnight Moon</h1>\n```\n\n### Interpolation and Escaping\n\n```js\nconst { apply, html, raw } = require('apply-html');\n\nconst foo = '<em>foo</em>';\nconst bar = raw('<em>bar</em>');\nconst baz = html`<strong>baz</strong>`;\n\napply(document.body, html`\n    ${foo}\n    ${bar}\n    ${baz}\n`);\n\nconsole.log(document.body.innerHTML);\n// -> &lt;em&gt;foo&lt;/em&gt;\n// -> <em>bar</em>\n// -> <strong>baz</strong>\n```\n\n### Server-side Rendering\n\nThe `html` and `raw` functions never touch the DOM so they're completely safe to use server-side.\n\n```js\nconst http = require('http');\nconst { html } = require('apply-html');\n\nconst content = html`\n    <h1>Hello <em>World</em></h1>\n    <p>How are you today?</p>\n`;\n\nmodule.exports = http\n    .createServer((req, res) => res.end(content.toString()))\n    .listen(3000);\n```\n\n## API\n\n### `apply(element, string): Element`\n\n- `element` `{Element}` DOM element with children to be patched.\n- `string` `{String|SafeString}` String or [SafeString](#safestring) containing safe HTML to render.\n\nUpdates the content of the given element, making the fewest possible changes required to match the given string of HTML. The string is converted into an HTML `<template>` and the resulting DOM trees are compared. Returns the updated element.\n\n### `` html`string`: SafeString ``\n\nA template tag that creates a new [SafeString](#safestring) containing a string of HTML. Interpolated values are serialized based on type:\n\n- `Array` - Items are serialized then joined with an empty string (`''`).\n- `Boolean|null|undefined` - Converted to an empty string (`''`).\n- `Function` - Throws a `TypeError`.\n- `Number` - Inserted as-is.\n- `Object` - Converted to an HTML-escaped JSON blob.\n- `SafeString` - Inserted as-is.\n- `String` - HTML-escaped to safeguard against [XSS](https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)). To opt out of escaping, use [`raw()`](#rawstring-safestring).\n\n### `raw(string): SafeString`\n\n- `string` `{String}` String of safe HTML.\n\nWraps a string in a [SafeString](#safestring) to indicate that it's safe to be inserted into the document. Only use on trusted strings to safeguard against [XSS](https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)).\n\n## SafeString\n\n### `.raw` `{String}`\n\nThe wrapped string.\n\n### `.length` `{Number}`\n\nLength of the wrapped string. Read only.\n\n### `.toJSON(): String`\n\nReturns the raw string.\n\n### `.toString(): String`\n\nReturns the raw string.\n\n## Acknowledgements\n\nStanding on the shoulders of these giants:\n\n- [bel](http://npm.im/bel)\n- [diff-dom](http://npm.im/diff-dom)\n- [domdiff](http://npm.im/domdiff)\n- [hyperhtml](http://npm.im/hyperhtml)\n- [lit-html](http://npm.im/lit-html)\n- [morphdom](http://npm.im/morphdom)\n- [nanomorph](http://npm.im/nanomorph)\n- [preact](http://nipm.im/preact)\n- [snabbdom](http://npm.im/snabbdom)\n- [react](http://nipm.im/react)\n- [vue.js](http://npm.im/vue)\n- and [more...](https://rawgit.com/krausest/js-framework-benchmark/master/webdriver-ts-results/table.html)\n\n----\n\nMIT © [Shannon Moeller](http://shannonmoeller.com)\n\n[coveralls-img]: http://img.shields.io/coveralls/shannonmoeller/apply-html/master.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/shannonmoeller/apply-html\n[downloads-img]: http://img.shields.io/npm/dm/apply-html.svg?style=flat-square\n[npm-img]:       http://img.shields.io/npm/v/apply-html.svg?style=flat-square\n[npm-url]:       https://npmjs.org/package/apply-html\n[travis-img]:    http://img.shields.io/travis/shannonmoeller/apply-html.svg?style=flat-square\n[travis-url]:    https://travis-ci.org/shannonmoeller/apply-html\n","readmeFilename":"readme.md","gitHead":"fa79f24ea59d6e719e6738dade794453f2117f24","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@2.0.0-1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-BWGVlVMchGCwDqCrj+Eme9/YFBwYIrBzfg7Uyh22fH8OPAjeT63snI3dxPjYcbl2YWQDUBH5U6b7IUd8V+gtMQ==","shasum":"3e2ccdcf5cd57960686fb6772549bed8150f38ef","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-2.0.0-1.tgz","fileCount":7,"unpackedSize":66637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYojCCRA9TVsSAnZWagAAfukP/j4OWHaKzpeuJYp2Kq0K\n1pD23uGMnNJlWDZs/qVOivK+GkBfkKMjL2DpIzUo2Q0kXwkkfDMdnoLu/bk4\nSrRj4EmQD+IA9R3Kd/YOUJXHzoP682knMs2K0KLgD2ofxkHsNaboUBCC8PAY\nilVLvfd6x0vwtbDEPLSwPyx1rp1Nuwh/lztH+9w+00ObD8/ss4MX/pLtFsh4\nuA54+aPLAghgpm7snzFVMX/JqeY7/DhJOBX3CRRGodeD7uZ0c4JwL2GHsLcw\nrAoJrilEBfqa1oFgqqBSDqKc84FTHiwaIfb+NDaxyAzGQzBZDGiKaJIF8VpR\nrBWXpoR2kqrm23kk0+6P6D+m4za2MX5bOZuybPybDiX0ygFybeDrPmu4L+7w\neR4TzijVhRLs+K671D6VZGdm08OOtKh5x0R2NqVS2+BQdy4cuCcant1xvFuS\nJxLxTGqS95K+V0/palC3s4NYkulMaCgDAW2cW3OkfSeC/NxAwD5wtd4qwb+O\nGfdfj4/PK6h0A9OSL9ucjBHFmd2GXxsZ6125LolO/iLLoFSpGVpON2lcFoW8\n/JoB63OwuDBqjN57rivdWARCdhw8BC4d6IsT5F7lqDZ8qs6SWJS69pCm1l/v\nXWcVcKP/oVH6YsMaEMoyeUGYFRnSWiFh8wzMoCaSOuzvbu19fdBItxwLCnXL\nUTcW\r\n=uRJE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHaiBpfprAPlgC1OFPzMWAxhQ0eW/U5fLZyo/HAyBUPQIhAPLrkEfVpopr0E0f5GhjAmmU1XIJxqK2kiporXOCr8t6"}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_2.0.0-1_1533184194314_0.422705759988534"},"_hasShrinkwrap":false},"2.0.0":{"name":"apply-html","version":"2.0.0","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier --ignore-path .gitignore --write \"**/*.js\"","lint-eslint":"eslint --ignore-path .gitignore --fix \"**/*.js\"","test":"nyc -r none run-s test-* && nyc report","test-node":"NODE_ENV=test rollup test/node.js -c | node | tap-diff","test-browser":"NODE_ENV=test rollup test/browser.js -c | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"run-s test build"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","nano","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.1","eslint":"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.1.0","husky":"^0.14.3","npm-run-all":"^4.1.3","nyc":"^11.8.0","prettier":"^1.12.1","rollup":"^0.59.2","rollup-config-whim":"^2.0.0","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"eslintConfig":{"extends":["eslint-config-whim","eslint-config-prettier"]},"nyc":{"include":["src/**"],"reporter":["lcov","text"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"365f90b5c7b3587d24ceb1d4c97f5f69330fef23","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-TbdUmJGpvppmo+lvwXeYm/rgIxFP3vhMv2m7BfVL03HCZ7Tiv4abqY0Aijw25xKnRcdTwzg9Lqi0yTa8ZWTkHw==","shasum":"78d389324de1a49a1298795305bb82e6dd97213e","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-2.0.0.tgz","fileCount":7,"unpackedSize":66799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYoyjCRA9TVsSAnZWagAAFsoP/jnmWPw2j569UGLtwya0\nDkzFl0vzZDCvEewxbTcgEuMmRtK6wYAffODOlnExcYXIJRZs8R8nZbMYjfdB\nX+7UKfuISnuX07bhd8ePLLVJRhhQepT3YkuljL+dEluNlepkNe/8sDq29e4w\nA/ykOHgbIQybi6Ft+yB9dsVtjXsITnYJOyEMyUcx7yr4Ew5HN5ADibww2Prj\nKZ7LqXlY2P9SNNtpQ6oez5sXPzhu2tEYD28uqns0YxOFvEMSqXczyhjTuEJ2\ncKWLjyPOJurG57U8/kEYdvY/LrQvr9SGhFxRoJmqwk0of8YYCcDdlS/0Rovc\nbaIvb/VrN5njiILko/uC2A+Wq+6s3I+o3KGgu9YLhe3sIz2p6USSmeAA3P0u\nP9J2PuIYNoBd7nzgSJHD5qXyAOquvW3c+0/jM0McrYJ/GNqa6IdWp74XWOEB\nybHWS05QVX6aqCMsn7mKGUTy85j+i/T1HTk+X1iugazDIGFT4A0arAbypXPx\nW7PP/y+X9m/mrQxKvFJJmKhuN63qV2fahEwyrZq9BTTC3aHYIQKMxUoAcjtk\nFylPL/d/nnjfW7GlfXLQN2EJMgnH58DzsKReE+ewNLMvjzMZ8bVKNntGc18X\nNnIV07joWjnv6IRH8ycqX9pwo79hJZPoUL6fzLeYayIlhqKm9ecYIzUyLDEJ\nQA0K\r\n=oXLT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE6/Rr1mzt4UXJAaSftkLVri0BldBOlkW8Yk3sCSxGbuAiEArKqqVYioIySw5k5RTnrVeoC/v8O5R+ahO1H7Acnzac4="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_2.0.0_1533185186187_0.8011554751891015"},"_hasShrinkwrap":false},"2.0.1":{"name":"apply-html","version":"2.0.1","description":"It's `.innerHTML = ''` for the 21st century.","scripts":{"build":"rm -rf dist && mkdir dist && rollup -c","lint":"run-s lint-*","lint-prettier":"prettier --ignore-path .gitignore --write \"**/*.js\"","lint-eslint":"eslint --ignore-path .gitignore --fix \"**/*.js\"","test":"nyc -r none run-s test-* && nyc report","test-node":"NODE_ENV=test rollup test/node.js -c | node | tap-diff","test-browser":"NODE_ENV=test rollup test/browser.js -c | run-headless | tap-diff","report":"nyc report -r text-lcov | coveralls","pretest":"run-s lint","precommit":"run-s test build && git add .","prepublishOnly":"run-s test build"},"keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","nano","patch","render","tag","template"],"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"license":"MIT","main":"dist/apply-html.cjs.js","module":"dist/apply-html.es.js","files":["dist","*.md"],"dependencies":{},"devDependencies":{"blue-tape":"^1.0.0","coveralls":"^3.0.1","eslint":"^4.19.1","eslint-config-prettier":"^2.9.0","eslint-config-whim":"^3.1.0","husky":"^0.14.3","npm-run-all":"^4.1.3","nyc":"^11.8.0","prettier":"^1.12.1","rollup":"^0.59.2","rollup-config-whim":"^2.0.0","run-headless":"^2.0.1","tap-diff":"^0.1.1"},"prettier":{"arrowParens":"always","singleQuote":true,"trailingComma":"es5"},"eslintConfig":{"extends":["eslint-config-whim","eslint-config-prettier"]},"nyc":{"include":["src/**"],"reporter":["lcov","text"]},"engines":{"node":">= 6","npm":">= 3"},"gitHead":"d6028c073107b6cdabe0315fb27d0d44fb72c7fc","bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","_id":"apply-html@2.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"shannonmoeller","email":"me@shannonmoeller.com"},"dist":{"integrity":"sha512-cNGPx4A6cWc12t4cQbM622tT7AWHvIbQ18YywDO6xN+w/FGvwFtPWw5gQ1vI5GOQ/6MG+UD5/0Ct2bqdWBmp/g==","shasum":"f37419fbf40d022054970b01472c37e06f5ea406","tarball":"https://registry.npmjs.org/apply-html/-/apply-html-2.0.1.tgz","fileCount":7,"unpackedSize":66451,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbY4k8CRA9TVsSAnZWagAAQ+sP/0FRDZ00ZFMLvsT1anc1\nX9/4nCJOiyRccIMJ0R4IyG6U9LaOpEwaiB5aLAAIblIu9eXKZdtPE9FmBvnq\n7xMg13VyTcxUtH2HtfQ0fuZmQiBy3EpQ4JJ74py8aNeTwxdKdk96rn4PUMx2\nDGa4uY55rlFwCvigSPUMqv2OuQOqIOySzuu++Y04EEymQeyIIgtXMfAoWAL+\nmm5h9VYzJPPZPfmcXZFkiYqJkZ1fNDRDOxjptHGqEm3nJojcknlMSnKkM8Rk\nyy+ffdoNEEPAErK/g8QLic55iG088V1XrQFxYFx5pp6jufqbGM12hYU5NAPV\nQZFCp9neL4f1Z/J6Z5iSfCI3wXDi9pfrVoTm9UD83oK4nUJpLyo8YD4nuOuq\nfPCnNSe5gpbEB9dVLV0UC4RLynsCPjh4IaCi4agdLHRx/Ua8xlS96dX6we9+\nnxXeZvhRunKkn6+wp5QoRvtq23u6eRQkAKJiwI5G+2r3QqUvWc2VoCw7bCwg\nomactOUBrH6RcJFqavO2ArR/jJwJuB/77Fxc5SpSF+cpH89sTsRHRTSxezLC\nr0vesFcXgvxUbdBbcbhn5YtYtMKVKz60c/62NHIClw662UlFG4Cb85MTrRZj\nGTNQ7xKa84P0rxk3cyofVzUxodRAE5SB1yKC2c1ETq7jafEzWtEi38gb7bLK\nkMaq\r\n=HlDW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdJ5kZhMglLq6pZRN1zJcEC4s6e3rEo8PPYvvPBS9UjAiEAjYc2X96PHEZNpUrLQMwD5DquKQVJYJvAnPN1qQuN8t4="}]},"maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apply-html_2.0.1_1533249851976_0.6667579764854081"},"_hasShrinkwrap":false}},"readme":"# apply-html\n\n[![NPM version][npm-img]][npm-url] [![Downloads][downloads-img]][npm-url] [![Build Status][travis-img]][travis-url] [![Coverage Status][coveralls-img]][coveralls-url]\n\nIt's `.innerHTML = ''` for the 21st century!\n\nYet another library to diff and patch an existing DOM tree by efficiently comparing it to a string. Why? This library is a little bit different than [others](#acknowledgements). It makes use of an [HTML `<template>`'s](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template) unique ability to create an inert [document fragment](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment), featuring:\n\n- A real DOM tree\n- Multiple root nodes\n- Will not trigger resource loading prematurely\n- Will not apply embedded stylesheets prematurely\n- Will not trigger custom element constructors or lifecycle events prematurely\n\nThe live DOM is then patched with the inert fragment using a hyper-fast [diffing algorithm](http://npm.im/nanomorph) for real DOM nodes. This ensures that things only start happening if and when they're supposed to, organically.\n\nPlay with it on [CodePen](https://codepen.io/shannonmoeller/pen/XZXBpE?editors=1111).\n\n## Install\n\n```command\n$ npm install --save apply-html\n```\n\nor\n\n```html\n<script src=\"https://wzrd.in/standalone/apply-html\"></script>\n```\n\nor\n\n```html\n<script type=\"module\">\n    import { apply, html } from 'https://unpkg.com/apply-html?module';\n</script>\n```\n\n## Usage\n\n### Patching\n\n```js\nconst { apply } = require('apply-html');\n\napply(document.body, '<h1 class=\"day\">Hello World</h1>');\n\nconsole.log(document.body.innerHTML);\n// -> <h1 class=\"day\">Hello World</h1>\n\napply(document.body, '<h1 class=\"night\">Goodnight Moon</h1>');\n\nconsole.log(document.body.innerHTML);\n// -> <h1 class=\"night\">Goodnight Moon</h1>\n```\n\n### Interpolation and Escaping\n\n```js\nconst { apply, html, raw } = require('apply-html');\n\nconst foo = '<em>foo</em>';\nconst bar = raw('<em>bar</em>');\nconst baz = html`<strong>baz</strong>`;\n\napply(document.body, html`\n    ${foo}\n    ${bar}\n    ${baz}\n`);\n\nconsole.log(document.body.innerHTML);\n// -> &lt;em&gt;foo&lt;/em&gt;\n// -> <em>bar</em>\n// -> <strong>baz</strong>\n```\n\n### Server-side Rendering\n\nThe `html` and `raw` functions never touch the DOM so they're completely safe to use server-side.\n\n```js\nconst http = require('http');\nconst { html } = require('apply-html');\n\nconst content = html`\n    <h1>Hello <em>World</em></h1>\n    <p>How are you today?</p>\n`;\n\nmodule.exports = http\n    .createServer((req, res) => res.end(content.toString()))\n    .listen(3000);\n```\n\n## API\n\n### `apply(element, string): Element`\n\n- `element` `{Element}` DOM element with children to be patched.\n- `string` `{String|SafeString}` String or [SafeString](#safestring) containing safe HTML to render.\n\nUpdates the content of the given element, making the fewest possible changes required to match the given string of HTML. The string is converted into an HTML `<template>` and the resulting DOM trees are compared. Returns the updated element.\n\n### `` html`string`: SafeString ``\n\nA template tag that creates a new [SafeString](#safestring) containing a string of HTML. Interpolated values are serialized based on type:\n\n- `Array` - Items are serialized then joined with an empty string (`''`).\n- `Boolean|null|undefined` - Converted to an empty string (`''`).\n- `Function` - Throws a `TypeError`.\n- `Number` - Inserted as-is.\n- `Object` - Converted to an HTML-encoded JSON blob.\n- `SafeString` - Inserted as-is.\n- `String` - HTML-encoded to safeguard against [XSS](https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)). To opt out of escaping, use [`raw()`](#rawstring-safestring).\n\n### `raw(string): SafeString`\n\n- `string` `{String}` String of safe HTML.\n\nWraps a string in a [SafeString](#safestring) to indicate that it's safe to be inserted into the document. Only use on trusted strings to safeguard against [XSS](https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)).\n\n## SafeString\n\n### `.raw` `{String}`\n\nThe wrapped string.\n\n### `.length` `{Number}`\n\nLength of the wrapped string. Read only.\n\n### `.toJSON(): String`\n\nReturns the raw string.\n\n### `.toString(): String`\n\nReturns the raw string.\n\n## Acknowledgements\n\nStanding on the shoulders of these giants:\n\n- [bel](http://npm.im/bel)\n- [diff-dom](http://npm.im/diff-dom)\n- [domdiff](http://npm.im/domdiff)\n- [hyperhtml](http://npm.im/hyperhtml)\n- [lit-html](http://npm.im/lit-html)\n- [morphdom](http://npm.im/morphdom)\n- [nanomorph](http://npm.im/nanomorph)\n- [preact](http://nipm.im/preact)\n- [snabbdom](http://npm.im/snabbdom)\n- [react](http://nipm.im/react)\n- [vue.js](http://npm.im/vue)\n- and [more...](https://rawgit.com/krausest/js-framework-benchmark/master/webdriver-ts-results/table.html)\n\n----\n\nMIT © [Shannon Moeller](http://shannonmoeller.com)\n\n[coveralls-img]: http://img.shields.io/coveralls/shannonmoeller/apply-html/master.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/shannonmoeller/apply-html\n[downloads-img]: http://img.shields.io/npm/dm/apply-html.svg?style=flat-square\n[npm-img]:       http://img.shields.io/npm/v/apply-html.svg?style=flat-square\n[npm-url]:       https://npmjs.org/package/apply-html\n[travis-img]:    http://img.shields.io/travis/shannonmoeller/apply-html.svg?style=flat-square\n[travis-url]:    https://travis-ci.org/shannonmoeller/apply-html\n","maintainers":[{"name":"shannonmoeller","email":"me@shannonmoeller.com"}],"time":{"modified":"2022-04-11T14:53:15.706Z","created":"2018-01-10T20:46:23.897Z","1.0.0-2":"2018-01-10T20:46:23.897Z","1.0.0-3":"2018-01-10T20:49:25.231Z","1.0.0-4":"2018-01-10T20:55:36.788Z","1.0.0-5":"2018-01-10T21:06:13.260Z","1.0.0-6":"2018-01-10T23:55:06.410Z","1.0.0-7":"2018-01-11T02:50:19.576Z","1.0.0-8":"2018-01-11T17:47:54.785Z","1.0.0-9":"2018-01-13T20:02:05.125Z","1.0.0-10":"2018-01-13T20:14:58.140Z","1.0.0-11":"2018-01-13T21:39:32.974Z","1.0.0-12":"2018-01-13T21:50:27.536Z","1.0.0-13":"2018-01-13T21:57:26.184Z","1.0.0-14":"2018-02-01T18:42:44.691Z","1.0.0-15":"2018-02-01T21:16:42.067Z","1.0.0-16":"2018-02-02T22:11:07.757Z","1.0.0-17":"2018-02-03T00:16:09.737Z","1.0.0-18":"2018-02-04T19:07:45.143Z","1.0.0-19":"2018-02-04T20:36:38.774Z","1.0.0-20":"2018-02-04T22:01:10.528Z","1.0.0-21":"2018-02-09T23:38:53.102Z","1.0.0-22":"2018-02-13T21:43:57.211Z","1.0.0-23":"2018-02-14T21:23:20.583Z","1.0.0":"2018-05-23T15:56:56.167Z","2.0.0-0":"2018-08-02T04:19:19.410Z","2.0.0-1":"2018-08-02T04:29:54.416Z","2.0.0":"2018-08-02T04:46:26.620Z","2.0.1":"2018-08-02T22:44:12.063Z"},"homepage":"https://github.com/shannonmoeller/apply-html#readme","keywords":["apply","bel","diff","dom","html","isomorphic","literal","morph","nano","patch","render","tag","template"],"repository":{"type":"git","url":"git+https://github.com/shannonmoeller/apply-html.git"},"author":{"name":"Shannon Moeller","email":"me@shannonmoeller","url":"http://shannonmoeller.com"},"bugs":{"url":"https://github.com/shannonmoeller/apply-html/issues"},"license":"MIT","readmeFilename":"readme.md"}