{"_id":"htm","_rev":"2858541","name":"htm","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","dist-tags":{"latest":"3.1.1"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"time":{"modified":"2022-09-06T17:11:12.000Z","created":"2014-10-13T13:57:31.135Z","3.1.1":"2022-04-26T16:23:10.427Z","3.1.0":"2021-07-09T15:32:54.856Z","3.0.4":"2020-04-15T16:39:43.276Z","3.0.3":"2020-02-05T11:01:17.183Z","3.0.2":"2020-01-28T18:03:20.629Z","3.0.1":"2020-01-21T16:56:31.649Z","3.0.0":"2020-01-21T16:54:16.858Z","2.2.1":"2019-07-31T00:20:58.075Z","2.2.0":"2019-07-29T16:24:09.797Z","2.1.1":"2019-02-28T23:05:41.676Z","2.1.0":"2019-02-25T19:21:56.582Z","2.0.0":"2018-12-20T20:22:23.307Z","1.0.1":"2018-11-21T01:33:46.833Z","1.0.0":"2018-11-20T22:14:24.555Z","0.0.0":"2014-10-13T13:57:31.135Z"},"users":{},"author":{"name":"Jason Miller","email":"jason@developit.ca"},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"versions":{"3.1.1":{"name":"htm","version":"3.1.1","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","types":"dist/htm.d.ts","exports":{".":{"types":"./dist/htm.d.ts","browser":"./dist/htm.module.js","umd":"./dist/htm.umd.js","import":"./dist/htm.mjs","require":"./dist/htm.js"},"./":"./","./preact":{"types":"./preact/index.d.ts","browser":"./preact/index.module.js","umd":"./preact/index.umd.js","import":"./preact/index.mjs","require":"./preact/index.js"},"./preact/standalone":{"types":"./preact/index.d.ts","browser":"./preact/standalone.module.js","umd":"./preact/standalone.umd.js","import":"./preact/standalone.mjs","require":"./preact/standalone.js"},"./react":{"types":"./react/index.d.ts","browser":"./react/index.module.js","umd":"./react/index.umd.js","import":"./react/index.mjs","require":"./react/index.js"},"./mini":{"types":"./mini/index.d.ts","browser":"./mini/index.module.js","umd":"./mini/index.umd.js","import":"./mini/index.mjs","require":"./mini/index.js"}},"scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist/htm.d.ts","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs --ignore-path .gitignore && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","test:dist":"npm pack && mv htm*.tgz test/fixtures/esm/htm.tgz && cd test/fixtures/esm && npm install && node index.js","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","@types/jest":"^26.0.24","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^10.2.0","react":"^16.8.3"},"gitHead":"f5c8bec76fb527f917c55b0b9342a18c69aa543d","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@3.1.1","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"49266582be0dc66ed2235d5ea892307cc0c24b78","size":28437,"noattachment":false,"key":"/htm/-/htm-3.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-3.1.1.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_3.1.1_1650990190272_0.16912434186067737"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T17:03:50.498Z","publish_time":1650990190427,"_cnpm_publish_time":1650990190427},"3.1.0":{"name":"htm","version":"3.1.0","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","types":"dist/htm.d.ts","exports":{".":{"browser":"./dist/htm.module.js","umd":"./dist/htm.umd.js","import":"./dist/htm.mjs","require":"./dist/htm.js"},"./":"./","./preact":{"browser":"./preact/index.module.js","umd":"./preact/index.umd.js","import":"./preact/index.mjs","require":"./preact/index.js"},"./preact/standalone":{"browser":"./preact/standalone.module.js","umd":"./preact/standalone.umd.js","import":"./preact/standalone.mjs","require":"./preact/standalone.js"},"./react":{"browser":"./react/index.module.js","umd":"./react/index.umd.js","import":"./react/index.mjs","require":"./react/index.js"},"./mini":{"browser":"./mini/index.module.js","umd":"./mini/index.umd.js","import":"./mini/index.mjs","require":"./mini/index.js"}},"scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist/htm.d.ts","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs --ignore-path .gitignore && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","test:dist":"npm pack && mv htm*.tgz test/fixtures/esm/htm.tgz && cd test/fixtures/esm && npm install && node index.js","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","@types/jest":"^26.0.24","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^10.2.0","react":"^16.8.3"},"gitHead":"aefd98dd9035a97f6d3bfeefcc6fc28b6eaba53d","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@3.1.0","_nodeVersion":"16.3.0","_npmVersion":"7.15.1","dist":{"shasum":"0c305493b60da9f6ed097a2aaf4c994bd85ea022","size":28423,"noattachment":false,"key":"/htm/-/htm-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-3.1.0.tgz"},"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_3.1.0_1625844774603_0.07843263427334657"},"_hasShrinkwrap":false,"publish_time":1625844774856,"_cnpm_publish_time":1625844774856,"_cnpmcore_publish_time":"2021-12-16T19:20:00.782Z"},"3.0.4":{"name":"htm","version":"3.0.4","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","types":"dist/htm.d.ts","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist/htm.d.ts","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^10.0.0","react":"^16.8.3"},"gitHead":"f6e6b0a8daf85286e00ee1d7dcc56be27703b02a","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@3.0.4","_nodeVersion":"12.16.0","_npmVersion":"6.13.4","dist":{"shasum":"c90c891645d2d792bdb9f8c867964b18e3503718","size":27297,"noattachment":false,"key":"/htm/-/htm-3.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-3.0.4.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_3.0.4_1586968783112_0.5278109005279412"},"_hasShrinkwrap":false,"publish_time":1586968783276,"_cnpm_publish_time":1586968783276,"_cnpmcore_publish_time":"2021-12-16T19:20:01.114Z"},"3.0.3":{"name":"htm","version":"3.0.3","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","types":"dist/htm.d.ts","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist/htm.d.ts","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^10.0.0","react":"^16.8.3"},"gitHead":"86a723685da4f339397ced396a36c08a73ea6b68","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@3.0.3","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"376163975363b3101dc9154046b1200f87790fcc","size":27812,"noattachment":false,"key":"/htm/-/htm-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-3.0.3.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"jviide","email":"jviide@iki.fi"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_3.0.3_1580900476998_0.24307824927495303"},"_hasShrinkwrap":false,"publish_time":1580900477183,"_cnpm_publish_time":1580900477183,"_cnpmcore_publish_time":"2021-12-16T19:20:01.379Z"},"3.0.2":{"name":"htm","version":"3.0.2","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","types":"dist/htm.d.ts","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist/htm.d.ts","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^10.0.0","react":"^16.8.3"},"gitHead":"7810bd46871f6616f3451476195c319a18e0408b","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@3.0.2","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"ef1c3ebe312f7699a312e35d728fd8ca36fbfe44","size":27149,"noattachment":false,"key":"/htm/-/htm-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-3.0.2.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"jviide","email":"jviide@iki.fi"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_3.0.2_1580234600490_0.05956233368620012"},"_hasShrinkwrap":false,"publish_time":1580234600629,"_cnpm_publish_time":1580234600629,"_cnpmcore_publish_time":"2021-12-16T19:20:01.636Z"},"3.0.1":{"name":"htm","version":"3.0.1","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^10.0.0","react":"^16.8.3"},"licenseText":"\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright 2018 Google Inc.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.","_id":"htm@3.0.1","dist":{"shasum":"403a47f657da7a5033e1e9e868522b994adede7e","size":22423,"noattachment":false,"key":"/htm/-/htm-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-3.0.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"jviide","email":"jviide@iki.fi"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_3.0.1_1579625791491_0.268015138624109"},"_hasShrinkwrap":false,"publish_time":1579625791649,"_cnpm_publish_time":1579625791649,"_cnpmcore_publish_time":"2021-12-16T19:20:01.832Z"},"3.0.0":{"name":"htm","version":"3.0.0","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web && cp src/index.d.ts dist","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && cp src/index.d.ts mini","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^10.0.0","react":"^16.8.3"},"licenseText":"\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright 2018 Google Inc.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.","_id":"htm@3.0.0","dist":{"shasum":"45d73d00a25cef1b4cd57373e9832fca60a328cb","size":11807,"noattachment":false,"key":"/htm/-/htm-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-3.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"jviide","email":"jviide@iki.fi"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_3.0.0_1579625656549_0.40356128686247583"},"_hasShrinkwrap":false,"publish_time":1579625656858,"_cnpm_publish_time":1579625656858,"_cnpmcore_publish_time":"2021-12-16T19:20:02.057Z"},"2.2.1":{"name":"htm","version":"2.2.1","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.module.js","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx && npm run -s build:mjsalias","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","build:mjsalias":"cp dist/htm.module.js dist/htm.mjs && cp mini/index.module.js mini/index.mjs && cp preact/index.module.js preact/index.mjs && cp preact/standalone.module.js preact/standalone.mjs && cp react/index.module.js react/index.mjs","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^8.4.2","react":"^16.8.3"},"gitHead":"7bf85892f57108681d71d670fa9d6fd3c130ab12","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@2.2.1","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"shasum":"02ae7459901b3956aeaf6c7ae627fb6905dc7607","size":19666,"noattachment":false,"key":"/htm/-/htm-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-2.2.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"developit","email":"jason@developit.ca"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_2.2.1_1564532457874_0.6536650282693484"},"_hasShrinkwrap":false,"publish_time":1564532458075,"_cnpm_publish_time":1564532458075,"_cnpmcore_publish_time":"2021-12-16T19:20:02.341Z"},"2.2.0":{"name":"htm","version":"2.2.0","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.mjs","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^8.4.2","react":"^16.8.3"},"licenseText":"\n                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and all\n      other entities that control, are controlled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct or indirect, to cause the\n      direction or management of such entity, whether by contract or\n      otherwise, or (ii) ownership of fifty percent (50%) or more of the\n      outstanding shares, or (iii) beneficial ownership of such entity.\n\n      \"You\" (or \"Your\") shall mean an individual or Legal Entity\n      exercising permissions granted by this License.\n\n      \"Source\" form shall mean the preferred form for making modifications,\n      including but not limited to software source code, documentation\n      source, and configuration files.\n\n      \"Object\" form shall mean any form resulting from mechanical\n      transformation or translation of a Source form, including but\n      not limited to compiled object code, generated documentation,\n      and conversions to other media types.\n\n      \"Work\" shall mean the work of authorship, whether in Source or\n      Object form, made available under the License, as indicated by a\n      copyright notice that is included in or attached to the work\n      (an example is provided in the Appendix below).\n\n      \"Derivative Works\" shall mean any work, whether in Source or Object\n      form, that is based on (or derived from) the Work and for which the\n      editorial revisions, annotations, elaborations, or other modifications\n      represent, as a whole, an original work of authorship. For the purposes\n      of this License, Derivative Works shall not include works that remain\n      separable from, or merely link (or bind by name) to the interfaces of,\n      the Work and Derivative Works thereof.\n\n      \"Contribution\" shall mean any work of authorship, including\n      the original version of the Work and any modifications or additions\n      to that Work or Derivative Works thereof, that is intentionally\n      submitted to Licensor for inclusion in the Work by the copyright owner\n      or by an individual or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of this definition, \"submitted\"\n      means any form of electronic, verbal, or written communication sent\n      to the Licensor or its representatives, including but not limited to\n      communication on electronic mailing lists, source code control systems,\n      and issue tracking systems that are managed by, or on behalf of, the\n      Licensor for the purpose of discussing and improving the Work, but\n      excluding communication that is conspicuously marked or otherwise\n      designated in writing by the copyright owner as \"Not a Contribution.\"\n\n      \"Contributor\" shall mean Licensor and any individual or Legal Entity\n      on behalf of whom a Contribution has been received by Licensor and\n      subsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      copyright license to reproduce, prepare Derivative Works of,\n      publicly display, publicly perform, sublicense, and distribute the\n      Work and such Derivative Works in Source or Object form.\n\n   3. Grant of Patent License. Subject to the terms and conditions of\n      this License, each Contributor hereby grants to You a perpetual,\n      worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n      (except as stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such license applies only to those patent claims licensable\n      by such Contributor that are necessarily infringed by their\n      Contribution(s) alone or by combination of their Contribution(s)\n      with the Work to which such Contribution(s) was submitted. If You\n      institute patent litigation against any entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a Contribution incorporated within the Work constitutes direct\n      or contributory patent infringement, then any patent licenses\n      granted to You under this License for that Work shall terminate\n      as of the date such litigation is filed.\n\n   4. Redistribution. You may reproduce and distribute copies of the\n      Work or Derivative Works thereof in any medium, with or without\n      modifications, and in Source or Object form, provided that You\n      meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) You must retain, in the Source form of any Derivative Works\n          that You distribute, all copyright, patent, trademark, and\n          attribution notices from the Source form of the Work,\n          excluding those notices that do not pertain to any part of\n          the Derivative Works; and\n\n      (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOTICE file, excluding those notices that do not\n          pertain to any part of the Derivative Works, in at least one\n          of the following places: within a NOTICE text file distributed\n          as part of the Derivative Works; within the Source form or\n          documentation, if provided along with the Derivative Works; or,\n          within a display generated by the Derivative Works, if and\n          wherever such third-party notices normally appear. The contents\n          of the NOTICE file are for informational purposes only and\n          do not modify the License. You may add Your own attribution\n          notices within Derivative Works that You distribute, alongside\n          or as an addendum to the NOTICE text from the Work, provided\n          that such additional attribution notices cannot be construed\n          as modifying the License.\n\n      You may add Your own copyright statement to Your modifications and\n      may provide additional or different license terms and conditions\n      for use, reproduction, or distribution of Your modifications, or\n      for any such Derivative Works as a whole, provided Your use,\n      reproduction, and distribution of the Work otherwise complies with\n      the conditions stated in this License.\n\n   5. Submission of Contributions. Unless You explicitly state otherwise,\n      any Contribution intentionally submitted for inclusion in the Work\n      by You to the Licensor shall be under the terms and conditions of\n      this License, without any additional terms or conditions.\n      Notwithstanding the above, nothing herein shall supersede or modify\n      the terms of any separate license agreement you may have executed\n      with Licensor regarding such Contributions.\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the content of the NOTICE file.\n\n   7. Disclaimer of Warranty. Unless required by applicable law or\n      agreed to in writing, Licensor provides the Work (and each\n      Contributor provides its Contributions) on an \"AS IS\" BASIS,\n      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n      implied, including, without limitation, any warranties or conditions\n      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n      PARTICULAR PURPOSE. You are solely responsible for determining the\n      appropriateness of using or redistributing the Work and assume any\n      risks associated with Your exercise of permissions under this License.\n\n   8. Limitation of Liability. In no event and under no legal theory,\n      whether in tort (including negligence), contract, or otherwise,\n      unless required by applicable law (such as deliberate and grossly\n      negligent acts) or agreed to in writing, shall any Contributor be\n      liable to You for damages, including any direct, indirect, special,\n      incidental, or consequential damages of any character arising as a\n      result of this License or out of the use or inability to use the\n      Work (including but not limited to damages for loss of goodwill,\n      work stoppage, computer failure or malfunction, or any and all\n      other commercial damages or losses), even if such Contributor\n      has been advised of the possibility of such damages.\n\n   9. Accepting Warranty or Additional Liability. While redistributing\n      the Work or Derivative Works thereof, You may choose to offer,\n      and charge a fee for, acceptance of support, warranty, indemnity,\n      or other liability obligations and/or rights consistent with this\n      License. However, in accepting such obligations, You may act only\n      on Your own behalf and on Your sole responsibility, not on behalf\n      of any other Contributor, and only if You agree to indemnify,\n      defend, and hold each Contributor harmless for any liability\n      incurred by, or claims asserted against, such Contributor by reason\n      of your accepting any such warranty or additional liability.\n\n   END OF TERMS AND CONDITIONS\n\n   APPENDIX: How to apply the Apache License to your work.\n\n      To apply the Apache License to your work, attach the following\n      boilerplate notice, with the fields enclosed by brackets \"[]\"\n      replaced with your own identifying information. (Don't include\n      the brackets!)  The text should be enclosed in the appropriate\n      comment syntax for the file format. We also recommend that a\n      file or class name and description of purpose be included on the\n      same \"printed page\" as the copyright notice for easier\n      identification within third-party archives.\n\n   Copyright 2018 Google Inc.\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.","_id":"htm@2.2.0","dist":{"shasum":"d771e8dc0b8dfafdc07062ad4fa8d88aa6a283b8","size":19274,"noattachment":false,"key":"/htm/-/htm-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-2.2.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"_npmUser":{"name":"jviide","email":"jviide@iki.fi"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_2.2.0_1564417449621_0.8252890370974082"},"_hasShrinkwrap":false,"publish_time":1564417449797,"_cnpm_publish_time":1564417449797,"_cnpmcore_publish_time":"2021-12-16T19:20:02.688Z"},"2.1.1":{"name":"htm","version":"2.1.1","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.mjs","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:react && npm run -s build:babel && npm run -s build:babel-transform-jsx","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants.mjs=./constants-mini.mjs","build:preact":"cd src/integrations/preact && npm run build","build:react":"cd src/integrations/react && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^8.4.2","react":"^16.8.3"},"dependencies":{},"peerDependencies":{"preact":"*"},"gitHead":"f0205a718defefef6d9210f68411c97aa4d1c541","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@2.1.1","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"jviide","email":"jviide@iki.fi"},"dist":{"shasum":"5a53e5f2845c3181b1672f95c9bffaf3d621bb0e","size":17718,"noattachment":false,"key":"/htm/-/htm-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-2.1.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_2.1.1_1551395141531_0.45140334603388554"},"_hasShrinkwrap":false,"publish_time":1551395141676,"_cnpm_publish_time":1551395141676,"_cnpmcore_publish_time":"2021-12-16T19:20:02.894Z"},"2.1.0":{"name":"htm","version":"2.1.0","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.mjs","scripts":{"build":"npm run -s build:main && npm run -s build:mini && npm run -s build:preact && npm run -s build:babel && npm run -s build:babel-transform-jsx","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web","build:mini":"microbundle src/index.mjs -o ./mini/index.js -f es,umd --no-sourcemap --target web --alias ./constants=./constants-mini && microbundle src/cjs.mjs -o ./mini/index.js -f iife --no-sourcemap --target web --alias ./constants=./constants-mini","build:preact":"cd src/integrations/preact && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","build:babel-transform-jsx":"cd packages/babel-plugin-transform-jsx-to-htm && npm run build","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","test:perf":"v8 test/__perftest.mjs","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"prefer-spread":0,"prefer-rest-params":0,"func-style":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-transform-jsx-to-htm$":"<rootDir>/packages/babel-plugin-transform-jsx-to-htm/index.mjs","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^24.1.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^24.1.0","microbundle":"^0.10.1","preact":"^8.4.2"},"dependencies":{},"peerDependencies":{"preact":"*"},"gitHead":"a487dda01364598c45d61221eefed940374324af","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"1f7b60c5b7ea120e6d69f2380d1deb9ac9515431","size":16799,"noattachment":false,"key":"/htm/-/htm-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-2.1.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_2.1.0_1551122516446_0.9673208875840966"},"_hasShrinkwrap":false,"publish_time":1551122516582,"_cnpm_publish_time":1551122516582,"_cnpmcore_publish_time":"2021-12-16T19:20:03.120Z"},"2.0.0":{"name":"htm","version":"2.0.0","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.umd.js","module":"dist/htm.mjs","scripts":{"build":"npm run -s build:main && npm run -s build:preact && npm run -s build:babel","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web && microbundle src/cjs.mjs -f iife --no-sourcemap --target web","build:preact":"cd src/integrations/preact && npm run build","build:babel":"cd packages/babel-plugin-htm && npm run build","test":"eslint src/**/*.mjs test/**/*.mjs && npm run build && jest test","release":"npm t && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push && git push --tags && npm publish"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0,"no-fallthrough":0}},"jest":{"testURL":"http://localhost","testMatch":["**/__tests__/**/*.?(m)js?(x)","**/?(*.)(spec|test).?(m)js?(x)"],"transform":{"\\.m?js$":"babel-jest"},"moduleFileExtensions":["mjs","js"],"moduleNameMapper":{"^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/index.mjs","^htm$":"<rootDir>/src/index.mjs","^htm/preact$":"<rootDir>/src/integrations/preact/index.mjs"}},"babel":{"presets":["env"]},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.1.6","babel-jest":"^23.6.0","babel-preset-env":"^1.7.0","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^23.4.2","microbundle":"^0.8.3","preact":"^8.2.9"},"dependencies":{},"gitHead":"1c6849c032c4ab5523f69ee005cd862355d5081a","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.9.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"49f43728074b67be7a2fed996b8f069c030e3762","size":16088,"noattachment":false,"key":"/htm/-/htm-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-2.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_2.0.0_1545337343210_0.02477095970161569"},"_hasShrinkwrap":false,"publish_time":1545337343307,"_cnpm_publish_time":1545337343307,"_cnpmcore_publish_time":"2021-12-16T19:20:03.344Z"},"1.0.1":{"name":"htm","version":"1.0.1","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.js","module":"dist/htm.mjs","scripts":{"build":"npm run -s build:main && npm run -s build:preact && npm run -s build:babel","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web","build:preact":"microbundle src/integrations/preact/index.mjs -o preact/index.js -f es,umd --external preact,htm --no-sourcemap --target web && cp src/integrations/preact/{index.d.ts,package.json} preact/ && npm run -s build:preact:standalone","build:preact:standalone":"microbundle src/integrations/preact/standalone.mjs -o preact/standalone.js -f es,umd --no-sourcemap --target web","build:babel":"cd packages/babel-plugin-htm && npm run build","test":"eslint src/**/*.mjs test && jest test","release":"npm run build && git checkout --detach && git add -f babel dist preact && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push --tags && git checkout master"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0}},"jest":{"testURL":"http://localhost","moduleNameMapper":{"^htm-babel-plugin$":"<rootDir>/packages/babel-plugin-htm/dist/babel-plugin-htm.js","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/dist/babel-plugin-htm.js","^htm$":"<rootDir>/dist/htm.js","^htm/preact$":"<rootDir>/preact/index.js"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.1.2","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^23.4.2","microbundle":"^0.7.0","preact":"^8.2.9"},"dependencies":{},"gitHead":"ad5aaa267af2521cec19c712c68f5bd9381ca543","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"378e99a27da2b3712825313ac5c9c452bc276abc","size":15009,"noattachment":false,"key":"/htm/-/htm-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-1.0.1.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_1.0.1_1542764026704_0.6445605065930919"},"_hasShrinkwrap":false,"publish_time":1542764026833,"_cnpm_publish_time":1542764026833,"_cnpmcore_publish_time":"2021-12-16T19:20:03.684Z"},"1.0.0":{"name":"htm","version":"1.0.0","description":"The Tagged Template syntax for Virtual DOM. Only browser-compatible syntax.","main":"dist/htm.js","umd:main":"dist/htm.js","module":"dist/htm.mjs","scripts":{"build":"npm run -s build:main && npm run -s build:preact && npm run -s build:babel","build:main":"microbundle src/index.mjs -f es,umd --no-sourcemap --target web","build:preact":"microbundle src/integrations/preact/index.mjs -o preact/index.js -f es,umd --external preact,htm --no-sourcemap --target web && cp src/integrations/preact/{index.d.ts,package.json} preact/ && npm run -s build:preact:standalone","build:preact:standalone":"microbundle src/integrations/preact/standalone.mjs -o preact/standalone.js -f es,umd --no-sourcemap --target web","build:babel":"cd packages/babel-plugin-htm && npm run build","test":"eslint src/**/*.mjs test && jest test","release":"npm run build && git checkout --detach && git add -f babel dist preact && git commit -am \"$npm_package_version\" && git tag $npm_package_version && git push --tags && git checkout master"},"eslintConfig":{"extends":"developit","rules":{"prefer-const":0}},"jest":{"testURL":"http://localhost","moduleNameMapper":{"^htm-babel-plugin$":"<rootDir>/packages/babel-plugin-htm/dist/babel-plugin-htm.js","^babel-plugin-htm$":"<rootDir>/packages/babel-plugin-htm/dist/babel-plugin-htm.js","^htm$":"<rootDir>/dist/htm.js","^htm/preact$":"<rootDir>/preact/index.js"}},"repository":{"type":"git","url":"git+https://github.com/developit/htm.git"},"keywords":["Hyperscript Tagged Markup","tagged template","template literals","html","htm","jsx","virtual dom","hyperscript"],"author":{"name":"Jason Miller","email":"jason@developit.ca"},"license":"Apache-2.0","homepage":"https://github.com/developit/htm","devDependencies":{"@babel/core":"^7.1.2","eslint":"^5.2.0","eslint-config-developit":"^1.1.1","jest":"^23.4.2","microbundle":"^0.7.0","preact":"^8.2.9"},"dependencies":{},"gitHead":"c3182e44049301d7a9cc178576c3a2d281ecef3c","bugs":{"url":"https://github.com/developit/htm/issues"},"_id":"htm@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"developit","email":"jason@developit.ca"},"dist":{"shasum":"0c123816b3bc44cf5dbe4f32db7da97672394c85","size":14922,"noattachment":false,"key":"/htm/-/htm-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-1.0.0.tgz"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/htm_1.0.0_1542752064390_0.5084550110056829"},"_hasShrinkwrap":false,"publish_time":1542752064555,"_cnpm_publish_time":1542752064555,"_cnpmcore_publish_time":"2021-12-16T19:20:03.969Z"},"0.0.0":{"name":"htm","version":"0.0.0","description":"dom","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/ergusto/htm.git"},"keywords":["dom","manipulation"],"author":{"name":"Fergus Ruston","email":"fergus.ruston@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/ergusto/htm/issues"},"homepage":"https://github.com/ergusto/htm","gitHead":"7d98ef9cceb9bb3a13a85a49dade7c5d58771ad9","_id":"htm@0.0.0","_shasum":"e0559463f487eda00879c7a22ed5a6a0f2aaf07d","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"ergusto","email":"ergusto@gmail.com"},"maintainers":[{"name":"developit","email":"jason@developit.ca"}],"dist":{"shasum":"e0559463f487eda00879c7a22ed5a6a0f2aaf07d","size":1038,"noattachment":false,"key":"/htm/-/htm-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/htm/download/htm-0.0.0.tgz"},"directories":{},"publish_time":1413208651135,"_hasShrinkwrap":false,"_cnpm_publish_time":1413208651135,"_cnpmcore_publish_time":"2021-12-16T19:20:04.162Z"}},"readme":"\n<h1 align=\"center\">\n  HTM (Hyperscript Tagged Markup)\n  <a href=\"https://www.npmjs.org/package/htm\"><img src=\"https://img.shields.io/npm/v/htm.svg?style=flat\" alt=\"npm\"></a>\n</h1>\n<p align=\"center\">\n  <img src=\"https://i.imgur.com/0ph8dbS.png\" width=\"572\" alt=\"hyperscript tagged markup demo\">\n</p>\n\n`htm` is **JSX-like syntax in plain JavaScript** - no transpiler necessary.\n\nDevelop with React/Preact directly in the browser, then compile `htm` away for production.\n\nIt uses standard JavaScript [Tagged Templates] and works in [all modern browsers].\n\n## `htm` by the numbers:\n\n???? **< 600 bytes** when used directly in the browser\n\n⚛️ **< 500 bytes** when used with Preact _(thanks gzip ????)_\n\n???? **< 450 byte** `htm/mini` version\n\n???? **0 bytes** if compiled using [babel-plugin-htm]\n\n\n## Syntax: like JSX but also lit\n\nThe syntax you write when using HTM is as close as possible to JSX:\n\n- Spread props: `<div ...${props}>` instead of `<div {...props}>`\n- Self-closing tags: `<div />`\n- Components: `<${Foo}>` instead of `<Foo>` _(where `Foo` is a component reference)_\n- Boolean attributes: `<div draggable />`\n\n\n## Improvements over JSX\n\n`htm` actually takes the JSX-style syntax a couple steps further!\n\nHere's some ergonomic features you get for free that aren't present in JSX:\n\n- **No transpiler necessary**\n- HTML's optional quotes: `<div class=foo>`\n- Component end-tags: `<${Footer}>footer content<//>`\n- Syntax highlighting and language support via the [lit-html VSCode extension] and [vim-jsx-pretty plugin].\n- Multiple root element (fragments): `<div /><div />`\n- Support for HTML-style comments: `<div><!-- comment --></div>`\n\n## Installation\n\n`htm` is published to npm, and accessible via the unpkg.com CDN:\n\n**via npm:**\n\n```js\nnpm i htm\n```\n\n**hotlinking from unpkg:** _(no build tool needed!)_\n\n```js\nimport htm from 'https://unpkg.com/htm?module'\nconst html = htm.bind(React.createElement);\n```\n\n```js\n// just want htm + preact in a single file? there's a highly-optimized version of that:\nimport { html, render } from 'https://unpkg.com/htm/preact/standalone.module.js'\n```\n\n## Usage\n\nIf you're using Preact or React, we've included off-the-shelf bindings to make your life easier.\nThey also have the added benefit of sharing a template cache across all modules.\n\n```js\nimport { render } from 'preact';\nimport { html } from 'htm/preact';\nrender(html`<a href=\"/\">Hello!</a>`, document.body);\n```\n\nSimilarly, for React:\n\n```js\nimport ReactDOM from 'react-dom';\nimport { html } from 'htm/react';\nReactDOM.render(html`<a href=\"/\">Hello!</a>`, document.body);\n```\n\n### Advanced Usage\n\nSince `htm` is a generic library, we need to tell it what to \"compile\" our templates to.\nYou can bind `htm` to any function of the form `h(type, props, ...children)` _([hyperscript])_.\nThis function can return anything - `htm` never looks at the return value.\n\nHere's an example `h()` function that returns tree nodes:\n\n```js\nfunction h(type, props, ...children) {\n  return { type, props, children };\n}\n```\n\nTo use our custom `h()` function, we need to create our own `html` tag function by binding `htm` to our `h()` function:\n\n```js\nimport htm from 'htm';\n\nconst html = htm.bind(h);\n```\n\nNow we have an `html()` template tag that can be used to produce objects in the format we created above.\n\nHere's the whole thing for clarity:\n\n```js\nimport htm from 'htm';\n\nfunction h(type, props, ...children) {\n  return { type, props, children };\n}\n\nconst html = htm.bind(h);\n\nconsole.log( html`<h1 id=hello>Hello world!</h1>` );\n// {\n//   type: 'h1',\n//   props: { id: 'hello' },\n//   children: ['Hello world!']\n// }\n```\n\nIf the template has multiple element at the root level\nthe output is an array of `h` results:\n\n```js\nconsole.log(html`\n  <h1 id=hello>Hello</h1>\n  <div class=world>World!</div>\n`);\n// [\n//   {\n//     type: 'h1',\n//     props: { id: 'hello' },\n//     children: ['Hello']\n//   },\n//   {\n//     type: 'div',\n//     props: { class: 'world' },\n//     children: ['world!']\n//   }\n// ]\n```\n\n### Caching\n\nThe default build of `htm` caches template strings, which means that it can return the same Javascript object at multiple points in the tree. If you don't want this behaviour, you have three options:\n\n* Change your `h` function to copy nodes when needed.\n* Add the code `this[0] = 3;` at the beginning of your `h` function, which disables caching of created elements.\n* Use `htm/mini`, which disables caching by default.\n\n## Example\n\nCurious to see what it all looks like? Here's a working app!\n\nIt's a single HTML file, and there's no build or tooling. You can edit it with nano.\n\n```html\n<!DOCTYPE html>\n<html lang=\"en\">\n  <title>htm Demo</title>\n  <script type=\"module\">\n    import { html, Component, render } from 'https://unpkg.com/htm/preact/standalone.module.js';\n\n    class App extends Component {\n      addTodo() {\n        const { todos = [] } = this.state;\n        this.setState({ todos: todos.concat(`Item ${todos.length}`) });\n      }\n      render({ page }, { todos = [] }) {\n        return html`\n          <div class=\"app\">\n            <${Header} name=\"ToDo's (${page})\" />\n            <ul>\n              ${todos.map(todo => html`\n                <li key=${todo}>${todo}</li>\n              `)}\n            </ul>\n            <button onClick=${() => this.addTodo()}>Add Todo</button>\n            <${Footer}>footer content here<//>\n          </div>\n        `;\n      }\n    }\n\n    const Header = ({ name }) => html`<h1>${name} List</h1>`\n\n    const Footer = props => html`<footer ...${props} />`\n\n    render(html`<${App} page=\"All\" />`, document.body);\n  </script>\n</html>\n```\n\n[⚡️ **See live version** ▶](https://htm-demo-preact.glitch.me/)\n\n[⚡️ **Try this on CodeSandbox** ▶](https://codesandbox.io/s/x7pmq32j6q)\n\nHow nifty is that?\n\nNotice there's only one import - here we're using the prebuilt Preact integration since it's easier to import and a bit smaller.\n\nThe same example works fine without the prebuilt version, just using two imports:\n\n```js\nimport { h, Component, render } from 'preact';\nimport htm from 'htm';\n\nconst html = htm.bind(h);\n\nrender(html`<${App} page=\"All\" />`, document.body);\n```\n\n## Other Uses\n\nSince `htm` is designed to meet the same need as JSX, you can use it anywhere you'd use JSX.\n\n**Generate HTML using [vhtml]:**\n\n```js\nimport htm from 'htm';\nimport vhtml from 'vhtml';\n\nconst html = htm.bind(vhtml);\n\nconsole.log( html`<h1 id=hello>Hello world!</h1>` );\n// '<h1 id=\"hello\">Hello world!</h1>'\n```\n\n**Webpack configuration via [jsxobj]:** ([details here](https://webpack.js.org/configuration/configuration-languages/#babel-and-jsx)) _(never do this)_\n\n```js\nimport htm from 'htm';\nimport jsxobj from 'jsxobj';\n\nconst html = htm.bind(jsxobj);\n\nconsole.log(html`\n  <webpack watch mode=production>\n    <entry path=\"src/index.js\" />\n  </webpack>\n`);\n// {\n//   watch: true,\n//   mode: 'production',\n//   entry: {\n//     path: 'src/index.js'\n//   }\n// }\n```\n\n## Demos & Examples\n\n- [Canadian Holidays](https://github.com/pcraig3/hols): A full app using HTM and Server-Side Rendering\n- [HTM SSR Example](https://github.com/timarney/htm-ssr-demo): Shows how to do SSR with HTM\n- [HTM + Preact SSR Demo](https://gist.github.com/developit/699c8d8f180a1e4eed58167f9c6711be)\n- [HTM + vhtml SSR Demo](https://gist.github.com/developit/ff925c3995b4a129b6b977bf7cd12ebd)\n\n## Project Status\n\nThe original goal for `htm` was to create a wrapper around Preact that felt natural for use untranspiled in the browser. I wanted to use Virtual DOM, but I wanted to eschew build tooling and use ES Modules directly.\n\n This meant giving up JSX, and the closest alternative was [Tagged Templates]. So, I wrote this library to patch up the differences between the two as much as possible. The technique turns out to be framework-agnostic, so it should work great with any library or renderer that works with JSX.\n\n`htm` is stable, fast, well-tested and ready for production use.\n\n[Tagged Templates]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_templates\n[lit-html]: https://github.com/Polymer/lit-html\n[babel-plugin-htm]: https://github.com/developit/htm/tree/master/packages/babel-plugin-htm\n[lit-html VSCode extension]: https://marketplace.visualstudio.com/items?itemName=bierner.lit-html\n[vim-jsx-pretty plugin]: https://github.com/MaxMEllon/vim-jsx-pretty\n[vhtml]: https://github.com/developit/vhtml\n[jsxobj]: https://github.com/developit/jsxobj\n[hyperscript]: https://github.com/hyperhype/hyperscript\n[all modern browsers]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Browser_compatibility\n","_attachments":{},"homepage":"https://github.com/developit/htm","bugs":{"url":"https://github.com/developit/htm/issues"},"license":"Apache-2.0"}