{"_id":"lit-ntml","_rev":"120-0657d3ad83c31f2ba4fa4ae9f55e7400","name":"lit-ntml","description":"Inspired by lit-html but for Node.js","dist-tags":{"latest":"4.0.2","next":"4.0.1-rc.0","rc":"4.0.2-rc.0"},"versions":{"0.0.1":{"name":"lit-ntml","version":"0.0.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"eslint ./src","nsp":"nsp check","ts":"tsc gulpfile.ts"},"dependencies":{"@std/esm":"^0.13.0","html-minifier":"^3.5.6"},"devDependencies":{"@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","eslint":"^4.4.1","eslint-config-zumata":"^0.6.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^2.7.0","quick-lru":"^1.1.0","typescript":"^2.6.1","typescript-lit-html-plugin":"^0.0.2"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":{"esm":"all","cjs":true,"await":true,"gz":true},"gitHead":"379e3780f47aff9e3b257cb617ace706feaa1f1b","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-fD1vi7O4VylNeKvHp+a4t7VWUKE3D7o4tURmeBWfDMh0/G+MbJfWR9iabYWHBjhKu+pHXWCyUukvSX7Cr52QLw==","shasum":"e638245ca83d22a27f885c8e92ed267fce46d44e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfGRApHVBHENFyy0m/sLeREQ8OhBGClI52U7PN/VFRLQIhAK1afVpmkShjNl5rg7wd8RKqsjpzcz9WCLg1qm0/DvHe"}]},"maintainers":[{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.0.1.tgz_1510762068974_0.38036397541873157"},"directories":{}},"0.1.0":{"name":"lit-ntml","version":"0.1.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"ts-node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"eslint ./src","nsp":"nsp check","ts":"tsc gulpfile.ts","test":"ava dist/test"},"dependencies":{"@std/esm":"^0.13.0","html-minifier":"^3.5.6"},"devDependencies":{"@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","eslint":"^4.4.1","eslint-config-zumata":"^0.6.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^2.7.0","quick-lru":"^1.1.0","ts-node":"^3.3.0","typescript":"^2.6.1","typescript-lit-html-plugin":"^0.0.2"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":{"esm":"all","cjs":true,"await":true,"gz":true},"ava":{"require":["ts-node/register","@std/esm"]},"gitHead":"5ea0ac046cc40612953c6e00d79ca03d30826f0e","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-XjBbinHVxGoCH5Wu2gYw6Md66jHvMyYWaPciGSl7F1Th5UCztdJPmI1KWO+8bpMj4pmXKA3kK1bBIREHPgdHwg==","shasum":"451d4a047b0812b0bac19ba49930ec4e2b09ec1a","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBw7ZcU0VKWDwwxsBCoIk3NE7WKWKgI2k9qiiMI/6f0zAiAG2E63JIyffuO3i80oWmwn8VB89s7qVG/mMqVie8v1cQ=="}]},"maintainers":[{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.1.0.tgz_1510851396895_0.8888554710429162"},"directories":{}},"0.1.1":{"name":"lit-ntml","version":"0.1.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"ts-node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"eslint ./src","nsp":"nsp check","ts":"tsc gulpfile.ts","test":"ava dist/test"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.15.0","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","eslint":"^4.4.1","eslint-config-zumata":"^0.6.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^2.7.0","quick-lru":"^1.1.0","ts-node":"^3.3.0","typescript":"^2.6.1","typescript-lit-html-plugin":"^0.0.2"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":{"esm":"all","cjs":true,"await":true,"gz":true},"ava":{"require":["ts-node/register","@std/esm"]},"gitHead":"a048e46b7c6371fefc193e2110dd4e48ada76cac","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.1.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-fHtobb2o6BTVW/AoynBz8ZSaWUOT5fl6ex8DPGyhWQZq8Np9QrBttrWgMGIeudwY4aAhPIULKlLvIczwPLNzSA==","shasum":"bb6e0fdbeec6c548af8dc64f9c995b37f1ce34cc","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1QlyKHOGOXlglkw2LHZxUplWYDou5ERZ9R2f9nIOIIAiEA+au+6SkRNE6R5pDaHgyfDjsHRSDSPhr6S9PLUTHR+g8="}]},"maintainers":[{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.1.1.tgz_1510851850858_0.4165664140600711"},"directories":{}},"0.2.0":{"name":"lit-ntml","version":"0.2.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","test":"ava dist/test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"956004d7ca4369608fab2b7073ed02d015ec2e6d","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.2.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-qkwwCXUa70j8jjRlcn7mnkcRwho277gDgd28sqM3Ac8QOPVl8NjixTLSVIcgvzr/omkGMRwjAb43fNt7Z0ovvQ==","shasum":"ea7505dc3d199429cb6e13a19853bdef08738562","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICzc4oPJDya8u1p8zE+nghAISEKnVwNDwHNUR2ixO8SWAiBdeq7O1SJNgiY461nqufNW49EUVe1dq078ksNb9Je81w=="}]},"maintainers":[{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.2.0.tgz_1511601757910_0.5990198971703649"},"directories":{}},"0.2.1":{"name":"lit-ntml","version":"0.2.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","test":"ava dist/test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"924b50a753f15a66d00c1886f4fce393d0ca5a57","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.2.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-FwOQ0C3nUojVl2ixPUFgxOTqh97TaQHjvU540A6B5DuZ5ewBwwgi2ioDhPscHUNK8tWq8GhIpH7k/bGGReozZQ==","shasum":"d4ae13a137ebce31b584310d790a351e05978772","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgq+wWd7R6E3wgfU1AMldkk5rjgRUfR0FUgfQ/eaChhQIhAKVAiPGqklNKlOTkKPvpoX2HDR42QHtsp4jWg3cYpV9X"}]},"maintainers":[{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.2.1.tgz_1511601843122_0.2583198545034975"},"directories":{}},"0.2.2":{"name":"lit-ntml","version":"0.2.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","test":"ava dist/test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"07d65154cdd6e8bfac56c9bf8a7ce1f64d6c9563","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.2.2","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-Z+cBoZQr6jiu2ulr4NPC0eJiCOBZB0Fc3xXc0yxh3xCK5Ba8qr3Wqne4HRB7AAB5EPkByEkMqEKEGT3mBhaoHQ==","shasum":"10186c1640bc1da1691568fae19c431ebf804be8","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.2.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHubsoNWsSCLqLr/7OYGxtKExI2ZPDmDUL8BK+RE9rDiAiBCXJ3QdELjsofWqpBPHkpPQ6PurjSG13FtDPc/4S7PZw=="}]},"maintainers":[{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.2.2.tgz_1511602421139_0.1470471287611872"},"directories":{}},"0.2.3":{"name":"lit-ntml","version":"0.2.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","test":"ava dist/test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"738939565c0bf41f377612bcf2a953ce8dc1d5b2","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.2.3","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-42g/r+7h17MTSED25FxHv34Vkz6k1L45qn95D9TScOFqmNNqjth8kF48KabW6he72f7ZwdEkcVKZuMnbaHz9QQ==","shasum":"061f86e16daa3a4eb15581868e46acff269b91b0","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.2.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv0HGa+eXxUHpp/ZjwwrIsJhCma0YnI2CDUYTVB6/yiAIgTBpXxJjiFyfiCLBg/FMmbEWmDNHYP+FBvMmmyz4rhmc="}]},"maintainers":[{"name":"igarashimiyabi","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.2.3.tgz_1512137357158_0.02688732324168086"},"directories":{}},"0.2.4":{"name":"lit-ntml","version":"0.2.4","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com"},"main":"dist/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava dist/test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 6.9.1","npm":">= 3.10.8"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"44266d7fff12805f35573771f55dbf08f92d6593","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.2.4","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-9JICMttH+4/8WwHx4U/ncVXlhwvIES9z35c0DfirSd8gcN5LInEgtVlnBlmVMsKxAZS44dSP6HfZ0o1/cTieHg==","shasum":"928517a38a037919e42d04a87285d4926c5ac587","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.2.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3wjCwkWiHUqFdxCvk3jDn+bMe6GkDN3a8rjHtdhA60wIhALV4/pTG0W8gp76ZHuUG/5KG6JKXKUocQLCyWCDXgEFk"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.2.4.tgz_1512395992145_0.9199920753017068"},"directories":{}},"0.2.5":{"name":"lit-ntml","version":"0.2.5","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"df98c9657332c8663381a37d49926ee4c0a9853e","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.2.5","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-wI8xd5zlsBc8jgOnK+GcMxnCVU9MlXW3R+j937rrs4Zg4nXBwPzO/id3ppJgArLtG5H/vgGhqiSkmiYBBRdoKA==","shasum":"c2b36305da8255ac04ba02b40996585a3575b098","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.2.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHk6OOej5dgVIk54jQA3MiyJBbkfvcGlkKhq62nWRcfWAiEAwZHWmt4/4HJoTl7FR5WFarVnef3G44yWGPQuDlor2IA="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.2.5.tgz_1512487793017_0.6054393546655774"},"directories":{}},"0.2.6":{"name":"lit-ntml","version":"0.2.6","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","npm","ntml","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"c9dc76a5be60558ba32b5e7f3cf81051c060218e","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.2.6","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-k639vW/Tcbat1tA0wg1mwt5KAOcgloiajdy0lEPG3/i1tjRHIhI6c0WpAc2mw1arTePhHpu7FzUsXuoeFtAF5A==","shasum":"f9b59a44c662bc1a8985450270382eea5d5ab60a","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.2.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCf+3hAT5/pWWgcfI3FGlomn/bAfPyUw26OBv/PXFjsJAIhALjSNdaRTdZ6zBarRGr04k72MAFxh6ROukUzsn5Ur6cF"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.2.6.tgz_1512570955556_0.33459569374099374"},"directories":{}},"0.3.0":{"name":"lit-ntml","version":"0.3.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","build:debug":"npm run ts && gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6","parse5":"^3.0.3","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","@types/parse5":"^3.0.0","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"8b234b4f84d28eef46c61d9d26d83e06cb0c653d","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-zDTdLubPJFGOoh8z1uufSPRkXqS2Nr12p4cCtHDLHr9nONRNEgJj0RqYx9bDXqdrsBUB2HHDWtG5NrMW1a7TvA==","shasum":"cede209c58c0f4c8e170b19388ee2912f0c28639","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHiuDCuNvr/wWAa4st7LLwtgA+LtSJb0Yiq9E5zpOpoLAiATgyYfbrQbu5Ry2uL2luBRoFxmW24QaE45eh/TvYRCEw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.3.0.tgz_1512670046788_0.10499715036712587"},"directories":{}},"0.3.1":{"name":"lit-ntml","version":"0.3.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","build:debug":"npm run ts && gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.6","parse5":"^3.0.3","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.17.1","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.0.47","@types/parse5":"^3.0.0","ava":"^0.23.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.1"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"8d4ed64a78d895c4bf0e46c3a348febdd079c996","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.1","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-VgpJumIdI9fhp9pgpk/eXKUiJ80bVozyKA1p9VYDpiq/SP0UkWYnpmySFYJc/sxIYydo8w4Z4Hzx0WTizbC/4w==","shasum":"09f149fb7fe2251a3b68f09a649d29a8ba78965c","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjFUREHa/VtbiEXfyHVC3V+PBk++SZT6JBYr5MtSkA+QIgIJV7R+84ewYGbxBvItaou2eHtrgySiaCXSytCe6su1s="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.3.1.tgz_1513177366426_0.9892922930885106"},"directories":{}},"0.3.2":{"name":"lit-ntml","version":"0.3.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","build:debug":"npm run ts && gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.7","parse5":"^3.0.3","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.18.0","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.5.1","@types/parse5":"^3.0.0","ava":"^0.24.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"df3950e796f0fb0f04070de6bdb2382a35bd4f2c","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.2","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-KQwNstZVkwYntZf4rQz+EbLuI3jsKBeN/oRYVgn3cJulnoEHUMMcdPqcjGX0khiob4XdnFeioWpGJe2OpNmJSA==","shasum":"26f8460a052737eeb6ff7026202fdf963b14bbb0","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEqhJ4ScGzJTMeW9+zgYlSAdKd856hxBJFIpiDk3siv+AiEAwoTWfKzXGCQckjOqnqpjLYIOlu8QUjTh9RJKukrdZ8w="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.3.2.tgz_1513347882983_0.8365983779076487"},"directories":{}},"0.3.3":{"name":"lit-ntml","version":"0.3.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","build:debug":"npm run ts && gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.7","parse5":"^3.0.3","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.18.0","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.5.1","@types/parse5":"^3.0.0","ava":"^0.24.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"c00c73acbeb6dfd0a5c9a22a4772a84cda69bcc6","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.3","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-TLFFW4Ggf+QvwLjz6ova5bi9Dw2nFqCsiWhyUOgolk60NDIqHfM3Q3fhig4+GVau5nDrteczY7vnlCNgzT37ug==","shasum":"9249ba876dc4d5ca962850295c7cdb090d7c800a","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBUQs2js/unX59I+MlV+L6zHphcJ4aqQoZV2DxhONZtGAiEAmmnLFyiri4tbV75M+u3Zj0zMZSGvhpn/33LqKGJ7AhQ="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.3.3.tgz_1513435120502_0.9683118890970945"},"directories":{}},"0.3.4":{"name":"lit-ntml","version":"0.3.4","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","build:debug":"npm run ts && gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.7","parse5":"^3.0.3","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.18.0","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.5.1","@types/parse5":"^3.0.0","ava":"^0.24.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"3f249f3806f4fcd059f9318d9302b86f46780077","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.4","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-L784iF8xOJ762L+sPKtcE7DXtOl54sSnBWiN63HT71ozVg5SR6zG7JQWOSTNtDhlk1fb2V7GGvpqYCoJMq098g==","shasum":"97bc7d954d7c07c9eb2dbe8f29ec26c17311e55f","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYia1hO1+Ea9+tmVnE71eF+LYukY9GIewdh9hCa2NemAiEAg13x9DYK3oRPmCdpkEL3nnxReVv9ti6N3mU2wdZX53A="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.3.4.tgz_1513493716978_0.31366345868445933"},"directories":{}},"0.3.5":{"name":"lit-ntml","version":"0.3.5","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","build:debug":"npm run ts && gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.7","parse5":"^3.0.3","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.18.0","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.5.1","@types/parse5":"^3.0.0","ava":"^0.24.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-config-prettier":"^1.6.0","typescript":"^2.6.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"46b6cc663b90183c878cc70b4a0ed0bef920bb87","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.5","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-HFmv5RW/MEUodob/IncDR+blrYIRI9k4hHchQM7RiOlYo/ERVDzUlCDbXmGjyIR5fTHV6oCM4ojmA6TshiFH6Q==","shasum":"8af0650ed719640295698c96c9ca81a032607ce0","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBE35dfOhxss0Vi5r7h7W5Ni7RZPxtCKHAbHmexquLIMAiAxxsqq6+4chOsUKMQzjH2Xe6kCQBpX+5L83CEtnSAfjw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.3.5.tgz_1513781338573_0.8967805653810501"},"directories":{}},"0.3.6":{"name":"lit-ntml","version":"0.3.6","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && rm -rf gulpfile.js","build:debug":"npm run ts && gulp build && rm -rf gulpfile.js","check":"npm run lint && npm run nsp","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"tslint --project tsconfig.json --config tslint.json","lint:fix":"tslint -p . -c tslint.json --fix","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc --target esnext --lib esnext --module commonjs gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.7","parse5":"^3.0.3","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.18.0","@types/express":"^4.0.39","@types/html-minifier":"^1.1.30","@types/node":"^8.5.1","@types/parse5":"^3.0.0","ava":"^0.24.0","babel-cli":"^6.26.0","babel-plugin-transform-function-bind":"^6.22.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-polyfill":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.2.0","cross-env":"^5.1.1","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.0","gulp-sequence":"^0.4.6","gulp-tslint":"^8.1.2","gulp-typescript":"^3.2.3","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.8.0","tslint-config-airbnb":"^5.4.2","tslint-consistent-codestyle":"^1.11.0","tslint-immutable":"^4.4.0","typescript":"^2.6.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"69e61428743e4a1a277f98a28993dce5d9f7e0c2","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.6","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-/hNKNC4n+a5wRSqk++CkJzrwGrBadf70B8vql1WsDMOH/mxG9ycHpGgeEyAjjkJtN08ayUQuw6E+9pjvSXRuTA==","shasum":"1c1415d1442c522a4b4bcb98bedcb09716fa8055","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn9GQVsQI+dTgnTVaDa1Jf0F6jCV6fgFRCiq4KXaejcAIhAIHq4VrQFN4Cga1DcwXq4Y2IoZg3liNGQlUIDY1DrDDn"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml-0.3.6.tgz_1514027517620_0.7675536500755697"},"directories":{}},"0.3.7":{"name":"lit-ntml","version":"0.3.7","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && npm run cleanup","build:debug":"npm run ts && gulp build && npm run cleanup","check":"npm run lint && npm run nsp","cleanup":"rm -rf gulpfile.js","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"npm run ts && cross-env NODE_ENV=production gulp lint && npm run cleanup","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"ava ./test","ts":"tsc --target esnext --lib esnext,esnext.asynciterable --module commonjs gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.8","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.20.0","@types/express":"^4.11.1","@types/html-minifier":"^3.5.1","@types/node":"^9.4.2","@types/parse5":"^3.0.0","ava":"^0.25.0","babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.3.0","cross-env":"^5.1.3","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-sequence":"^1.0.0","gulp-tslint":"^8.1.2","gulp-typescript":"^3.2.4","nsp":"^3.1.0","quick-lru":"^1.1.0","tslint":"^5.9.1","tslint-config-airbnb":"^5.6.0","tslint-consistent-codestyle":"^1.11.1","tslint-immutable":"^4.5.1","typescript":"^2.7.1"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","ava":{"require":["@std/esm"]},"gitHead":"17887ef4121a4ceef5a1b9cb1d22bbadf0741031","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.3.7","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-fQzTfoQlSOzT7Zv0hXRHlof6ec0J8wqLJtsM5oaGG++r54OFch+KcMgFKxo8d2wz0YW16g4kMBuLvBPnMefTiA==","shasum":"3db5b6ae653824666b25376e9d73ffd5f823613c","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.3.7.tgz","fileCount":20,"unpackedSize":42360,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAGMTisCjb7O9sMfR5YUs/FsShpgb3d39Lb6BjMn64S9AiBaGvoQpvzvJPp1U6JJ3cuSRoCXcSJeV63jhVFL9HDlTg=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_0.3.7_1518059272147_0.37247786830251317"},"_hasShrinkwrap":false},"0.4.0":{"name":"lit-ntml","version":"0.4.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && npm run cleanup","build:debug":"npm run ts && gulp build && npm run cleanup","check":"npm run lint && npm run nsp","cleanup":"rm -rf gulpfile.js","debug":"node --inspect --expose-gc --max-old-space-size=8192 -r @std/esm dist/demo","demo":"node -r @std/esm demo/","gulp":"npm run ts && gulp","lint":"npm run ts && cross-env NODE_ENV=production gulp lint && npm run cleanup","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json","ts":"tsc --target esnext --lib esnext,esnext.asynciterable --module commonjs gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.10","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@std/esm":"^0.24.0","@types/express":"^4.11.1","@types/html-minifier":"^3.5.1","@types/jest":"^22.1.4","@types/node":"^9.4.6","@types/parse5":"^3.0.0","babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.3.0","cross-env":"^5.1.3","del":"^3.0.0","express":"^4.16.2","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-sequence":"^1.0.0","gulp-tslint":"^8.1.3","gulp-typescript":"^3.2.4","jest":"^22.4.2","nsp":"^3.2.1","quick-lru":"^1.1.0","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-airbnb":"^5.7.0","tslint-consistent-codestyle":"^1.11.1","tslint-immutable":"^4.5.2","typescript":"^2.7.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"@std/esm":"cjs","gitHead":"8d11e8f573a407a9c9ddc7ab89fcd797d7b7c8fd","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.4.0","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-50xJmB2rSwDM50pePGaN6Re/lKh7rc/0mewv1VneH0n21QNZNf9OgFpYTQqNa4bWZLIXSA6uAZJFQf2g/tOv6g==","shasum":"a2ae686e337d6668a5446b8fe7f7fd1ab1f5a958","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.4.0.tgz","fileCount":18,"unpackedSize":38936,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4BPXQXgtgSHTd4KZinu7IHx+4PbbMkZy1t1vZfbh78AiAf0a7igR7XgQZkIltNbzojSJpizvlwjM0ArUY/VogLIQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_0.4.0_1520608626432_0.19709543765997828"},"_hasShrinkwrap":false},"0.4.1":{"name":"lit-ntml","version":"0.4.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && npm run cleanup","build:debug":"npm run ts && gulp build && npm run cleanup","check":"npm run lint && npm run nsp","cleanup":"rm -rf gulpfile.js","demo":"node src/demo/","gulp":"npm run ts && gulp","lint":"npm run ts && cross-env NODE_ENV=production gulp lint && npm run cleanup","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json","ts":"tsc --target esnext --lib esnext,esnext.asynciterable --module commonjs gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.10","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@types/html-minifier":"^3.5.1","@types/jest":"^22.1.4","@types/node":"^9.4.6","@types/parse5":"^3.0.0","babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.3.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-sequence":"^1.0.0","gulp-tslint":"^8.1.3","gulp-typescript":"^3.2.4","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-airbnb":"^5.7.0","tslint-consistent-codestyle":"^1.11.1","tslint-immutable":"^4.5.2","typescript":"^2.7.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"gitHead":"7d529455a6ef2c4c9cdd089d46a4dac94373f908","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.4.1","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-8+w9ToMIHT5q2dY8WCEC3AynfD9an2E0fsOqC4C+KM4usVPiquq1re5jf/8WTT3/dVKgTao8+QeJQfvCn0Xd3w==","shasum":"c43696eaebbe874d15f6852f332f1c3115822553","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.4.1.tgz","fileCount":511,"unpackedSize":2380831,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFHmIWlXVn9vj8KOFzqEIGiAKduhMNW5RYjs5pepirppAiEA8Izp0qRlh2sodub9CLl+HwZw2Z85yZC66nZN7VuFaSo="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_0.4.1_1521130578613_0.9396310238998467"},"_hasShrinkwrap":false},"0.4.2":{"name":"lit-ntml","version":"0.4.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && npm run cleanup","build:debug":"npm run ts && gulp build && npm run cleanup","check":"npm run lint && npm run nsp","cleanup":"rm -rf gulpfile.js","demo":"node src/demo/","gulp":"npm run ts && gulp","lint":"npm run ts && cross-env NODE_ENV=production gulp lint && npm run cleanup","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json","ts":"tsc --target esnext --lib esnext,esnext.asynciterable --module commonjs gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.10","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@types/html-minifier":"^3.5.1","@types/jest":"^22.1.4","@types/node":"^9.4.6","@types/parse5":"^3.0.0","babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.3.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-sequence":"^1.0.0","gulp-tslint":"^8.1.3","gulp-typescript":"^3.2.4","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-airbnb":"^5.7.0","tslint-consistent-codestyle":"^1.11.1","tslint-immutable":"^4.5.2","typescript":"^2.7.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"gitHead":"908044f9f686934020b73598f83cd97a25b5ee46","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.4.2","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-ZvgURHbM7DThzlhT32lZdhvRc74Zmjs5FKMNp01g/stv50QVmsarivjQkCWNKSW+vrDQKiMSNxQDvCOQ+Cd92g==","shasum":"71aa2559c5e7f26bffe1074501577baacc3161b9","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.4.2.tgz","fileCount":527,"unpackedSize":2459192,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGXHkDUFC7agwBSIjJWgwlfCb14e+5kih/ARNKZ+xXocAiEAkOO3RvBSdlBSgkyoSveCtJAwPSHfbaAs2PryZPUeKYc="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_0.4.2_1521475914631_0.7043118720942707"},"_hasShrinkwrap":false},"0.4.3":{"name":"lit-ntml","version":"0.4.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"npm run ts && cross-env NODE_ENV=production gulp build && npm run cleanup","build:debug":"npm run ts && gulp build && npm run cleanup","check":"npm run lint && npm run nsp","cleanup":"rm -rf gulpfile.js","demo":"node src/demo/","gulp":"npm run ts && gulp","lint":"npm run ts && cross-env NODE_ENV=production gulp lint && npm run cleanup","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json","ts":"tsc --target esnext --lib esnext,esnext.asynciterable --module commonjs gulpfile.ts"},"dependencies":{"html-minifier":"^3.5.10","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@types/html-minifier":"^3.5.1","@types/jest":"^22.1.4","@types/node":"^9.4.6","@types/parse5":"^3.0.0","babel-cli":"^6.26.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","babel-preset-minify":"^0.3.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^3.9.1","gulp-babel":"^7.0.1","gulp-sequence":"^1.0.0","gulp-tslint":"^8.1.3","gulp-typescript":"^3.2.4","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-airbnb":"^5.7.0","tslint-consistent-codestyle":"^1.11.1","tslint-immutable":"^4.5.2","typescript":"^2.7.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"gitHead":"d3a80c98b9b3effb039ee203edb4867a4fa8dcc0","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.4.3","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-V86PifBydY/Gpj+RvHnPAMzOQGmz30zEg1QEiKPw2DEvsU2CTZvSDwm1kYvzIKth+YcPvISfcpuKUX03SquUWQ==","shasum":"3de2410c4a12b38b8a96a086615d619595ab18c2","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.4.3.tgz","fileCount":545,"unpackedSize":2541292,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJIL3LD5zWGcyMVWlBcddMY1AyykYfNavr/CpcTXtflgIgOQlZRhT7G1KZrC2aIkHeNAHvVvymC5a++JXXfpHKsJU="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_0.4.3_1521807464405_0.5521158732028717"},"_hasShrinkwrap":false},"0.4.4":{"name":"lit-ntml","version":"0.4.4","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node src/demo/","gulp":"gulp","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.10","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"0.0.8","@types/html-minifier":"^3.5.1","@types/jest":"^22.1.4","@types/node":"^9.4.6","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.1","tslint":"^5.9.1","tslint-config-airbnb":"^5.7.0","tslint-consistent-codestyle":"^1.11.1","tslint-immutable":"^4.5.2","typescript":"^2.7.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"6dae2e1e15f525b30abcadefadcdb58d10aeaff2","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.4.4","_npmVersion":"5.3.0","_nodeVersion":"9.10.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-aNuR+OzuC8zmGX01vnUj78I5S0AtE1f8SP+rzTkQLMfH1NANcWtrTR39K/FZkAwwlP7IfLgyhvpgrOlFzcDecQ==","shasum":"145de6659ecbea05cbd078b3fb420295cf6da1b8","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.4.4.tgz","fileCount":7,"unpackedSize":16924,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFiapudmCBu8Zc75GP6kwaz+1jIZbuqwz7GcUjFHplUQIhAJ7VJXhCtHxPyUmfjiTrcSQFoCqcA0kpr+bavaWRFt6J"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_0.4.4_1522594481751_0.7804136588684201"},"_hasShrinkwrap":false},"0.5.0":{"name":"lit-ntml","version":"0.5.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node --inspect-brk demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"0.0.12","@messageflow/tslint-config":"0.0.3","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.0","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.4","tslint":"^5.9.1","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"06bab4850ecb96aa2e54dde97fbd1c955152ab1f","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@0.5.0","_npmVersion":"5.3.0","_nodeVersion":"9.10.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-MVmkoMHdsWFuhdJrJ4aNUDKVk/bMpTKypehzuMtM1G/IWXhzPuyjV5arPMJjJc55EKPsFweiPmE3IeN0WFWurA==","shasum":"e59335370cb93e93f3120f6ad932f4ada8b99fba","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-0.5.0.tgz","fileCount":7,"unpackedSize":18058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5BL1CRA9TVsSAnZWagAAqR8P/AnievFCkOoog1DhIk2d\nHdTZISZRa7iWvK/A9ZFcdiEtjD+bFRW6qex6tqSSHFA3T2Ki6B3P2PM5b3lV\nN2ddQteGw+YdIbHpzHYDN8HsxuJSAxuUndpMs6EXO1ESfWQgltY9PxpYYUWb\niQXyh0xC9UGXj9piJTQCHRqHnjVUX4et7Mta1q7lx7Lno+qYcrVS+moTTyQ7\nV3k2PkbTjWhPMNGQ7QXUNhQsHhYPtY2t4yLVpScZpe+OM57uanfdyIgV3Iuw\nRjInsauthRlNEFbPKRAmEuGNbfVJeEgtyQhyyqq/NV+oe6Q08h5GK4taWnvu\nZjsZMMJktZ5mQN1PxbvBmVabOmdeyXcgh4t+PjpmSzGweQsdR3HSuZfu05Br\nVO+2l4Vs/8p7nW7cgJkkfCequ/LkYU1bd/AQ8M2FQ52JPAceJ9JtzA5y9RlC\n+QG5kXpXAq/CzRd7HtNMj3/WkWf9SlRvTtVOLK7ztioR4x71m4mDXK44b1PG\n1uYzzVJrV6MLYMpnBNCUumKHpDaFjUhvC77nYIAbVuqvxif9nAAdl4lSbrog\n6DMe06kr8jeSIZvZoqwGWp9id/+KIbKLTSTBUoaHsTIADu21zG1zE3vjbGtt\n9wdB4bljf8as6CZBDXCpF7RPVP55cPHrbFA7iJcXSGLPoxgk9oI1lG/g/MZW\n0XGv\r\n=cBno\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoXm1Lmegri3ums96SA3ElsBFeisc9PXDxDU/Fv0qL4AiA1pyL96uzQQ/N+UvH/6GTfteyA76ULJ3BF8WLanV/wKA=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_0.5.0_1524896500356_0.025460698385794123"},"_hasShrinkwrap":false},"1.0.0":{"name":"lit-ntml","version":"1.0.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"0.0.12","@messageflow/tslint-config":"0.0.3","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.0","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.4","tslint":"^5.9.1","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"d2641a201bfe8c4fa1555c0271d9a55225d28db2","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"9.10.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-DfFQLc7lV9t4larGe9DV7l4qUS1QySlg4V/uZJVX/43uF7mukXdBJydSEhcgKVE0MRLgnnxzGRNrONSjob6f4Q==","shasum":"a308e2784cfd4d546139dc5438f2ef459a881bd3","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.0.0.tgz","fileCount":6,"unpackedSize":16891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa5f9cCRA9TVsSAnZWagAAuBoP/0XlZdXKt507YPzUXVg2\ncwvxGVVtbvN4rbJmdIfhHnuDURRLYjzn9ulxXl2XhwtClTexmGBh/0IC8DxZ\nEUYIceKJbylRo38+ok+++rmg/MG7l8tcqLFopeyM4TEr3DhItJE1b5zmW23X\nD1Ie9t2H3f0D1tQs6VS606/eDaJqjyl4AWQ2hpY04gHOjErNEho+mxjummbF\naiFjLSt69fqt/E/TcWqAZ1IWd5qMLhyBVzu83m+7g4StiamiR6ITI1JRorUk\n3GFnkRO3zKw62IIFLqtbmG/vZc2A+YDavKX6HRgG6UEZ2DbKPMNzkorKMJtC\nsuPZox+BB4jQEC68X1s5H8oKpb4zLeHEn+1dCIfWloOqt4S3d8fnB6sDIsqz\najBlI2vNc2XMyRO5XjTW+MX5VFs4RqvaYqq7Ot8mOn3SBGoql+jL8EgkPUzG\nsfsWELjoVV0sGUrv32Ib9rgtGHC8jZiRsEFx61rm/CzHEgQ2iAast8Vl4ZY3\nT3f6+ZbolKsg72IaWFtTLdjkMCp2zafWYbH+txpJnQUJDXue27cBcESg9Ukz\n3nr68O8mkkkrBLnrYrHVd021NKQSM8u11rwqB5A0OfhKp+o6DTin0+0whwhe\nyoARq2zUvL/4OjIrDlMuTbZfapha7tVTc2LhmjQHWST2jCCuwlozpakPvgKf\nklB0\r\n=O00R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSGM8bgCgKrzP6In+I1k7wQmQPqjdiW2bwgAj99GefmAiAEaFCTSIc16H0Yva9hVdxG7afPsrw4GV3SrzbG2/FNbg=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.0.0_1525022554621_0.7979963611409289"},"_hasShrinkwrap":false},"1.1.0":{"name":"lit-ntml","version":"1.1.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"0.0.12","@messageflow/tslint-config":"0.0.3","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.0","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.4","tslint":"^5.9.1","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"23ebc1808b9f0336ccc8df1abe8fe6239a545f10","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"9.10.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-YXnT3USUm7EcADhWZTufGx1XE4xELyr/xWWg/PF8+p/w53NTMGHrRcnzH5mmf0mdqDpC+tFS7J4sFRERUCOo+A==","shasum":"d004ef297b7c238c1850f148afa3d2ebb7cfbed2","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.1.0.tgz","fileCount":5,"unpackedSize":17979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa7SgICRA9TVsSAnZWagAAwzEP/i5/nraogpNcqTJmeIkO\noxb9QGvRKUfKCGydahFxCrij10KHRQN9JnjFx+eVX6c+12YSb2hJizfO1hV4\nZikyPK+1ewfU5555Vm4lXyo9Y3KSRNCJDt5ggCtmJgjX6A1aPfnMGvXaxIax\nLkyGVC0Y6wAMJPK1aA1PNXgBET9yIy1ULUGQbj5ZgZgrzkNtrN4QXFCfhVkY\nvHWH43DhLPb2yJjwEYmzEtWMbmSMpZQKPwi668O3A4oQDrhkcaRGfxRcj4kM\nWVzq3BzmD8cCVCokUW5K0NMUt7Ed4RDrDRbSHtBU3fk5+PfxmdjgL76m1alr\nI8s4mx8vqKGmPhAZEs5oaE+JyoK8Pb5IgGjheX7b3FDzfFf6b5LPUOjRT7AX\nxwnUO0+e3Ajxw9LFenMha9LiS5M1BCbcWOvHrIYfEyTAuJ9aV0EJhEx3mTHe\nKAY1SeD3Nnytl0bpK+lMAb26TW8Pc7k20wJNb2Z5Y1+uQPdK+Oz0hlz0Euue\nhi3qCDhLB8UUbeR+dzgqIQgFkeKhdUDjoiSRt42wzCGParkXhTH837AMi82f\n4jLiHDDJr/B0lr7B7o0WrD+jxyhwDu7e3txpCVv7x470xk1TOMSDvQpt+PiQ\ntZ0w9d2QZef/zvxfQXB2N+0U4vDMeUY/ul2ZzPuzbX0pGhss+vs3SHgmHAqa\nYbH5\r\n=c7bn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDXSL7CwQuGm+dxlYg0n/ruu2n01ihw1j7abjbSqphcSAiALPE/ZOflinvuRRspz3A1FDtamPylaVRvsG5jqZmMhhA=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.1.0_1525491719569_0.2634253871032526"},"_hasShrinkwrap":false},"1.1.1":{"name":"lit-ntml","version":"1.1.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"0.0.12","@messageflow/tslint-config":"0.0.3","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.0","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.4","tslint":"^5.9.1","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"83dcb4d837ba95bc40efb34e852ae67126b71266","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.1.1","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-sU76LyLLLRgVa6qKeFWxjr7lagEI7aUiINuJVyUQsy0K2ZGkNXgE3Gl/L5XxmWPARGICea2cqnKRr9VFZssPQA==","shasum":"866226c7cac5493a8f9bf774509a0e7447900528","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.1.1.tgz","fileCount":5,"unpackedSize":17914,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8GdPCRA9TVsSAnZWagAA7EgP/Rtroj1AqQ10p+IzELCe\nPcf5FIecfRU7cGZrTdTY4UI3bNqdDw3ZmGMqb0XFACxKTiMsHAYzsxxWmZGO\nESo8TCm20Cb/Wcim76JhvpuPbE0ZwS4YeHPaAynEX1Wen88RuMa5ghcFBfyI\nstRJd2pN+qF/MvlDxWioKT+IuAHbEJsIwWMgWcyy2J9yw7OcXjsrOViZQgTX\nRqUHKsnIVrKRcOXDN8bee0cAFNPnJl838E/+S0MSp6w2snn3kGEzfKKXSBKe\n1bsAgne34JMwrNbWsnNUqoLZQWV0qLXuo93a5bTM3Im/yFkc0CS3cwbAyIQ4\nyI5RbB/gtLAN52+bdV7bqS1915eDd4zvW3rV/5MRnvFlKVwGXR3n/WdYUhA+\nefOjjdPhTa4vGhwsvMKsUFGUcKQ+KIoI7VuQ8myoeW8ZPlQPC4AQVeuZXquL\nXOfXbuuzJxBLuUMXbDmHicb1kbiJ+GIPTuBJJr2n/OEcWoQg1ihLBiLpCXY2\ndcYT6V4p5PxCOYuxqzvUxceQoabLelfNn4JaeDjDGdh44NRLk7ektdk12hAk\nHw4Sa/fIqI+53/HogBP1I/rFRDtxaPL8mgr6FeaH5gC+xhbCx/G9h1uTNg+o\nDqNVLbdEd2L1UYQ5jlqsJEKkgEi/KIKCWhed5ejDYwb9JDM/JSobP7DoirV8\nj2ME\r\n=UKeq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsSOIObDEt/u1UbJUQ14frtgubZ+ZiyUrcLrcHKw9gNAiEA3UaEkCCLlN0QxX+vHg5PPXJDdzYx6dwd2jTJvxYH+bw="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.1.1_1525704526374_0.152725073080064"},"_hasShrinkwrap":false},"1.1.2":{"name":"lit-ntml","version":"1.1.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"^1.0.0","@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.4","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.5","tslint":"^5.10.0","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"000798c2173a2615e0be2403b363d7fd9f9a4501","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-8Nstnb9JIns8zx1i4yZYzSulFDmjocSEzmxZzmShbweW8s7yUsw6XRX+TNxYL99gd3GeBBFVpaJ7227oKEgxLw==","shasum":"778c404f06cd6c72d784f4840c58cbdf24ed6ba4","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.1.2.tgz","fileCount":3,"unpackedSize":15624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8HG+CRA9TVsSAnZWagAA2asP/1KyHtT4LR7muLBYa2zS\nr6uMfSj0L9QvzLPo4GlUVGh1fPJrDFVlbub4jNRN5f0wq4y3NVVnTAhaPtvs\nrmpdsCSIiqgtAJARxScwcKHa2T6FnbkcakJgWEoUBDsU+0wnEjhVqoqZ4ztM\nkLVYry5wef8BFMg5geYoQiH3SNLKrKvl+MHW3cgFVgi3iMA4u41HYRN24mDx\nCzxi6lCkuNs141NwRkq8Hc+0dBAw7zHjKiT5q129D/62iKXmYS7qyAYsbIYH\nf9uK2NjDGCNaQH0TbRFbVR4ynzoRkosDG37Yd+vNNW1oMHr7Fr+/TLOOBrST\no2qjKFNrxHAKxFdHg8iDTEiGna0rboK7UkPvHc0TLXsAWZehFpfhe52w+ZQc\nYaMJYqvxylqyAOiqXhhX+9iOSK5a7ILCjBc3m76d58iem32dC3PjKA9qVSfP\n28BYDfN9cjjggvga5wMEPP2BckNv6uemHD9ze9RWoPQMJz3xu2+vbJqDWZbA\nd0nvfUgFsAfIZdpAqIm5vfnuVAoORVbRP4VnErDo2m5BLbH+teWcDs5To0/d\ntQhg24hP2qN4n5aztc+/uRwg0a66/DAxo9mHtzdg7moHx3pPsqb17Xr9YIUl\nZ3jQXJbUW0fSJKqRfYm4nnd1n0yF4UW1OrvvSjGX03aBBqRGUlEYPtzjvwFe\n/w/J\r\n=EUol\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCunLxRHf6uUahMdKzkYAhuHt5pT+xMk0RBJ21PUNlNYwIgRoAw/gP0KR7CZZ0u6ehufox6lPb522Axv92B1328EcA="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.1.2_1525707196431_0.3672990102633389"},"_hasShrinkwrap":false},"1.1.3":{"name":"lit-ntml","version":"1.1.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"^1.0.0","@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.4","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.5","tslint":"^5.10.0","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"0266400a329c31a3ae48c4a515ee13cc8bc5b2b6","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.1.3","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-g5oOOSRa1nCB02o6BFft01OHqqjGWeqbE2f/qDKGpOu+WBFtDF1L7mQNXKlpxg8Y3sqUtT3oEYUAKfBpaaMSZQ==","shasum":"2b83526efd9dc7a2598511e89714f6f19cd9c2e5","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.1.3.tgz","fileCount":5,"unpackedSize":17916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8agCCRA9TVsSAnZWagAApJkQAIoo66oXvBRE8FCXKQrr\nNZDTXo9xKv5w749x55uHsDtN9m5ckjq8sY+Tc75jkbNwoUhC2PB4Kieg9474\nmZhfx+hO0FZGo88m5jFHcnKKMMjYV4xFcs8sMpfFe5ATWFw25soJlhI0xEe5\nfWBzJrwxQswk/ZoLeeUEvZUgQv0lWOQNnTJ4qJw22hrn52VKzMQbwCoemLZt\nsxr7jn0QreHZBGR5Qw1GBklJ90egzIA75vf9PaZDGIygWCB4zl2o01AlVO3I\n926oSrGWbLUWU3yN5K7Mpf/1RWovVKXskGIVz3E36aiCKx6qLdH0WFhd6sCt\nZf49QAhDWV5AAQn8Yj2QtIeY1mC04zx4BBcfP7YnoWVDyHMAchY20dvrOCz8\nPa7dFPQOyDdvBKZE1C/oOSQ7tCy9wCBFsX/GBtI/+b3N/JcMy3Wg5ez5antC\ndRocWhaQgnmABMiwR8cIsGv23ElvtVrfHerOcs6lSKsxcZ6upJ0aesZekpmV\naM39BWImM2K+nwDXTuDqORCqqG5LI8/xdYPl9vJJ86kso8tZNLED3SvSD6vM\nDo4b8vmxaR4XCOB9bJfPuVYEopZrpCnx952CkGKPU0vLOoIHtzTeVeeV7PSa\nMR+GvAJ91YY5aqCFB99joEv4IvpGx0zsZRY2gJEjCPkEkSHw3igb3nLrjO9g\nSEy8\r\n=tRN/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHHSuxiW9Dc43serXo2Qkt3OrOt2q8Cr+uTTslpZHdCQIhANOvrqAzOrhtJzsXDBWxIPLXTbsXhXea98RWvHQs7B7n"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.1.3_1525786624259_0.8485564302993285"},"_hasShrinkwrap":false},"1.1.4":{"name":"lit-ntml","version":"1.1.4","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"^1.0.0","@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.6","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.5","tslint":"^5.10.0","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"7e4917ad54a5ecb80fd4f5153fca977454f47b0d","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.1.4","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-GLGC1XPRR+g0csBQ+NIILyRlWBIeRIfPpC+Vm4L1f8fLHtu68yNwYLquiUNBO7gYDsthx0WaVlVBdkqqn+QWxg==","shasum":"f482831443173e841d841ca4ab1d7f243a0f98d1","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.1.4.tgz","fileCount":5,"unpackedSize":17916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8xXVCRA9TVsSAnZWagAAhIsQAIs3a3N9BP62eQLKOriB\n4sS0K/F56WRe7d5dT0gDs9/gdSgJiVzc1a3hwFBk6nyUJ66O/sm0C/cOoz+h\nJ0uawrVy97BoSGUkXhwy9UQ4e+kyrczxg4+QLKuRb2apGAuQXDsJLB5DEyet\nj9uRtkkaeB2uMFV1q+gFPUyr1CqEPDf8q5bF4o7D7DmL7LQeHeMbMvwsQSUG\npT6AsaOS2N9lO/DF0fy3Gx6DGMubiET1mr6/+/hAbf3yXzecByWSrNTqncl7\n82mpUNUlQFnKZJTbWiEGbGUhDk8E/WGOmjbny80MFcc/72DBdduGZNlH6D2X\nh0he+xqRnyUwrkL++P8FFa6fwWRifMTFCvLYp2rwhQDoQuu5OxA+4LuJ2tpB\nbtgsogYXsK80lNsLaER08XoumQ6PBT59Q45maRtLvCOLANoEF8zXm4gTndeU\n8rtrOOqeNkp/Bd+QvQdmWMgmWCP2K7xknYeEdmHyr6xO3+sEzPCW9rJ0zN4B\n9lr9oxD3aXl+udNu3/MvcCfr2dIFIt2671HGpgMElahxoRchlB6rSPf1kf+z\nurr+sKTOqdd3KHCLt2YfPoAngPni6144ln06fcvJRbUnUw4zkbTQXb4eCrcC\n7dhYRCgmI1wLTrEzGnDDrMFuXmTYCucjB1nb8ASwLwuz9RSRikYLcvl0dxiB\nAK74\r\n=hTKy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGrcgIhKyOv9bEMG54NWhkmYuqkZ7/Sco7S6gGRPenkAAiBAN5zyREIa/TPHwS6lWan7tU+eHYXWCyQTu6nAGIqFRA=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.1.4_1525880276522_0.20543358137199808"},"_hasShrinkwrap":false},"1.1.5":{"name":"lit-ntml","version":"1.1.5","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.15","parse5":"^4.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"^1.0.0","@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.0.6","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.0","cross-env":"^5.1.3","del":"^3.0.0","gulp":"^4.0.0","jest":"^22.4.2","nsp":"^3.2.1","ts-jest":"^22.4.5","tslint":"^5.10.0","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"731dce9e46d22dd37cdcf9d425c61dbb4efa2e35","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.1.5","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-1IGMYvi3P0nlEcPR81pOkQTVBlm9nH8WUy2jqVGTDl1Rjx2y4EMDH+7oTWLVwrImF06R8ytv32+P3h+T3q2arQ==","shasum":"6e09ff289df846aa0ca2f9da24a4db3ab0b687ca","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.1.5.tgz","fileCount":5,"unpackedSize":17920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+amcCRA9TVsSAnZWagAAY0QP/3yPypsm2Jsbi6x1NFd6\nyRFikbvp2YkTy7togMlz3EcSOjLkiql2TXKjAszYqaVx+2s/5Eo+QLsXrTbK\nleXOvPNvJKi9ib8fwNU/6xODiDcjv3dOIFlGsS8aYrGw97iMFFnix9TmN2M+\nA7VigO/r/V6nUIiuadwTGNDgls3oYolpajr+W94m1YIg1rS6OMwDQ25z9q59\ni98KLzbX20S18Tvrh91UKc2kqC56f9fUvUgM5Gsw70V94J4kOyPXPWr+zHSq\nWEqWEgAp/G/gMzVjkYsXCIGHBqiTgAfnIbxMP/n4sgpfMkFPFA9QrIw4i8A2\nVypPjxSoAZFBpHQFCVJKiaMobB5uixwK24f+buNV7zxQBPQewDd1rzri4Dwn\nxjk/Ltb0N3nUp/B+0W3eS+ni/XZ8BnMG/uvOVmIUJfPTJ7vciKhH7KXRDKjc\nXaNYf1451lv+vgQT5Prd/EViiD8yduLfRWCtRnwNd8eDKrA+4Pb+F0l63M+T\nnFNCDWWlwIiLdbXp5stRHk2HsNeqN5QfnTxHNokixmuz/7pf5DWkDpVxabOG\nW7ZRvRzZDFRk2rn1T+JpdS5GeVZuaTG/LOWJxz9cyte1OcbkUgfhxBNBCk2J\nFrcKAEREqGE9Z1U3ds40TtswdFQBtvG7oe8yHe1ByQtKrgT2IIFSUTyHyfns\n2gTM\r\n=+10A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn+dWSt7n6c7YOdwYsakiR3OfKml0Xi8CMzrOgwgA64QIgdbWTicvTIylhhdiE+aeidgBCMN4kGbGhmiTot9r1tD8="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.1.5_1526311322423_0.05446090454850627"},"_hasShrinkwrap":false},"1.2.0":{"name":"lit-ntml","version":"1.2.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","check":"npm run lint && npm run nsp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","nsp":"nsp check","prepublishOnly":"npm run check && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.16","parse5":"^5.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"^1.0.0","@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^22.2.3","@types/node":"^10.1.2","@types/parse5":"^3.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","cross-env":"^5.1.6","del":"^3.0.0","gulp":"^4.0.0","jest":"^23.0.0","nsp":"^3.2.1","ts-jest":"^22.4.6","tslint":"^5.10.0","typescript":"^2.8.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"339d527a379b75df115e969daaed4de7bae53e69","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.11.1","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-08mzLb3IxBRTcxFmL+AGzipPcTYGep5Ivrc4uOoUuH8S18oJ9yljaBihnwv3BqjKwdBtcEKDgSa7U7TTeW/yUQ==","shasum":"4448930cdc73d163870d1e49c25bb3f70ddbd39f","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.2.0.tgz","fileCount":5,"unpackedSize":17920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCBQWCRA9TVsSAnZWagAAAEkP/0xugq0emR391/nlipww\nXYSS/7YFw2usEa+7thGVdxRdZK3yLtF2eGEEi4e68nVoJtuZ2WZ7+LFRYstd\n/E+sTeztZgPtY8HFLCjHcf7Wir5tLe93gcpiNNmGNm0a833qzdIwo7hIoB7p\nsMmbSzNtW5HXkmPz5luofVAqZT2PGtF75EHwehk2rsyI+BKmbWfWJezwsUJo\n44KJ5UePsqi/Be4MMtzc94Km7D4qPzDiq4/5h+Wj7XCmN2ENwrRSwyz4gPP6\nwx1/kwipUDnEpch25jvPhREcsHs2Hc1Q0yJd4Q25gxlRNTRUZr/s6XS3PHwK\nKAz/TB/UFvkvf+BsXgiNoAd9Dk//vT0lsOU64UDdoEEEq7UC1xE7Ik58AfVX\nL9WMAa5NPPl+2njM1ctEIB3OeszXP7YiHRWIVPZp++Y8Hx9gbVCs/IcvEU5k\nSb1q8K18Sga9RBSQVv7WlTE8VZNHCc/SOYM87xkXRpbuS02E67k13RlaFBcQ\n6DmxL59rTyGc8lLtWxICm13aDzGRCB+TEu3U9a2shNmrDsqxE8cqW51CXT/X\nYgfyiDhJsJwGZNAYEfItXFFxTYUyHUroAxvvHV086izGuf0PiUFxkdXhXs6c\nS7/mFV6zp4t6HHjStyHyLKhhof61HPL0IFP6TRx5gbnHLjdJJy6HFA9DsSii\nLEdQ\r\n=A8Dd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChy75CfZS+xpnVobCcud8obn20SVPVv/alD0RthZqjEAIhAOb17cQKT5lTT410gBCIZQG/OrMczWjY1fMCVyUWk2+z"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.2.0_1527256086096_0.4267873502918198"},"_hasShrinkwrap":false},"1.2.1":{"name":"lit-ntml","version":"1.2.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"scripts":{"build":"cross-env NODE_ENV=production gulp","demo":"node demo/","gulp":"gulp --gulpfile=gulpfile.js","lint":"cross-env NODE_ENV=production gulp lint","prepublishOnly":"npm run lint && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.19","parse5":"^5.0.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/build":"^1.0.0","@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^23.3.1","@types/node":"^10.5.6","@types/parse5":"^5.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","cross-env":"^5.2.0","del":"^3.0.0","gulp":"^4.0.0","jest":"^23.4.2","ts-jest":"^23.1.3","tslint":"^5.11.0","typescript":"^2.9.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"a41e0d8fbbc66db1aabb3636c7c552c5ea73683d","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.2.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-9ealmQTRWe6Bbf4GKyR7a1h2W0dfsVI7ZpZbO3hYFaTgYxEHLij90ZxW+0sWCUcLjCwaW000I0SVhf0fkTY1xg==","shasum":"32d0140348159709245309418604ba58b9a29416","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.2.1.tgz","fileCount":5,"unpackedSize":18198,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaG40CRA9TVsSAnZWagAARDcP/AjcVSDG1eKOzBz64GNO\nE5QKcIioxnOwTL3oo8aX58wMXVdUuLReIRBQYDYwLOv7QX64NMbf74gdtFtX\nm1b1tFEzSDgQwgeszgd1kt9kL/H41hOoLWdcm8Y+YFC3pyMr8e8Kd3l16ZaD\nUiTTGjYy1rlgCpFjROuLr9LwU5JWo/7pa9SDCCqIvWXx6uiodr2b18mzA7ep\ncR5PYvsaxsq7LQpEuK7lSegPDJWPef5rEwJ1Qj2ZMrLYPpetD/p6lWsdbx3Y\nHXiRb6XAeiEVdPZpLogXZQttppLxM0zFv4G2h+6Zv1wkU32vcqbRjEW0IEpR\nsx++2LhIsYROvxybL0jvWU8ZcS7NmtdT5j3E4BOLIK4yyXOG9G0ZSqXleqOn\nig5p7NkIqZ8UUq7/tZyr2nAQmB0SiHwLJd4t71ZxXoQ8KIW021sVQUQov99/\nSQTPT5KdaJ9a7z9My0LKwiybuM1/igrp/aau7pQ2XfCzGBTemzbGju40991U\nF5nFcryyNcgNp8Ycj/EgPeedQhfGcld4l68EcamQbTTWT8jjeH6aV8yaAYk5\nU8vEsrpdt4Ed8Ot8zKQyKerL8TjDyOSsJFe45p9kODqSkxpVzFLnl3+cAuw4\nOFmQZ9uzd4tSg43sRK+5JzRtoEd3OIa/PVG8rCpvBin41++27NRvcRWeH9sJ\noDfz\r\n=lpTZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlgLu/BjC3B/y3kfTyX6gSPSuleOrNWtyaiL298Nta8QIhAJ812hbskggdhsIamKexZEGrpGecDgdYxiSLZXmPRcae"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.2.1_1533570600033_0.8703649279207946"},"_hasShrinkwrap":false},"1.3.0":{"name":"lit-ntml","version":"1.3.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index.js","scripts":{"build":"npm run build:cjs && npm run build:esm && rm -rf dist/ && echo '[build] Done!'","build:cjs":"npm run lint && rm -rf dist/ && tsc -p tsconfig.json && mv dist/index.js dist/index.d.ts . && echo '[cjs] Done!'","build:esm":"npm run lint && rm -rf dist/ && tsc -p tsconfig.esm.json && mv dist/index.js ./index.mjs && echo '[esm] Done!'","demo":"node demo/index.js","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.19","parse5":"^5.1.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^23.3.1","@types/node":"^10.7.1","@types/parse5":"^5.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","jest":"^23.5.0","ts-jest":"^23.1.3","tslint":"^5.11.0","typescript":"^3.0.1"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"b87b31524394ecb66852c4f5ee7ad9465480534a","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.3.0","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-5rgRaBRyiE3ihVPUiBY/2Y3sIuvW1fQddEufSVQG02rT9RkGH0SUeSLxqvK2Q9wFsFtPGZcOrJgLpuXVSSVqYg==","shasum":"21eda921339fa8fb9bf781f2f91b4bbcfcd779e7","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.3.0.tgz","fileCount":6,"unpackedSize":22170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbd+htCRA9TVsSAnZWagAAWHEQAIcHx5ob3l8tWR+cNUEf\nkKj41Z6s8GNRxapnaSGue67lWmfQDmmhSXa3RbL5LIbs0/v6Jbmfqovbiz9C\nmWOsmwoNPpHOR/kiZ3ZkbCbnFCD6EWJo+bGFFHhaa5IwOqLBJcQXks6hglnb\nK61yIFyI7YwjKi1qOC2M/Y5ToZz61+swD0jEwQiI+tsU+fzC5XJXiYQRlZkP\neRQ+3Dzy/EqvaM0cbIbe3dVwqoBExRWFbcFGZVzMHiqRsN+BFGHw649NJZRh\nau+YmToS+6B6sXQqlpLVLWk9o+KeUW07TuRuFi7xbks5HeH/sFD3WDRGOzVz\nSEV2VcBfWfqMOagTdWVyRSHkg4xYBgEWmk3gR71v6S0XAOe1qB96ubAa4IhI\n5Nuniipg1XCw1G5E5svYk/3E1Ldg6a/lcyE0tdHHzEPnGL0ybx9SFJebV2VP\nmuRgzNBTO52sYD2iIBaAGVtOa304LvVtEOeU8GiYK0bJuFHdeC7y4LMOrrVS\nroBXBkVF2e2FVwP6nucMvdoWeT6+q13FC91FIS/UVGtYhuQi0WuSHiXutp0e\nOaDCRSknruH3vdjDv4Zb0zuACeUzoCs3dUDZWXZVvhj2dCpgtpZoMEqw3rDH\nM24wgxhUe9lqJku0q/y+/Y6nWz8cw1GaZtljM0AK8/I/W9shySoLZzgvtnDH\nCsiQ\r\n=bx1P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxTaF9dKz4JaYIC5+XXbYuvlMcECrXD6KvqcRgDaDGfQIhAMqbXGcMorOO/oeDo3TS36s+5cUUUqDsMzFWuG2OHU86"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.3.0_1534584940779_0.6956007303157838"},"_hasShrinkwrap":false},"1.3.1":{"name":"lit-ntml","version":"1.3.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"files":["index.d.ts","index.js","index.mjs"],"main":"./index","scripts":{"build":"npm run build:cjs && npm run build:esm && rm -rf dist/ && echo \"> [build] Done!\"","build:cjs":"npm run lint && rm -rf dist/ && tsc -p tsconfig.json && mv dist/index.js dist/index.d.ts . && echo \"> [cjs] Done!\"","build:esm":"npm run lint && rm -rf dist/ && tsc -p tsconfig.esm.json && mv dist/index.js ./index.mjs && echo \"> [esm] Done!\"","demo":"node demo/index.js","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","test":"jest --config ./.jestrc.json"},"dependencies":{"html-minifier":"^3.5.19","parse5":"^5.1.0","pretty":"^2.0.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^23.3.1","@types/node":"^10.7.1","@types/parse5":"^5.0.0","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.7.0","jest":"^23.5.0","ts-jest":"^23.1.3","tslint":"^5.11.0","typescript":"^3.0.1"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"721c3121f7ef0dbae8709bf5ab8b595e0ea54c3a","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@1.3.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"dist":{"integrity":"sha512-o26KGF60FtWDWXJZp3xMhVTp/jxbXbwv8TbHixm6mIRaxicrGKcIWnXRLq0FSw/S6kFtqqMVfDCJoMMgrMCnmA==","shasum":"4426f55ae4c1a8a10747aaa4982f6f014c37ebdc","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-1.3.1.tgz","fileCount":6,"unpackedSize":22179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeZpqCRA9TVsSAnZWagAAOnsP/i3XwVpKnT/lY3heZbUg\nZ+iU35VqcJBGsGOCEiO8uNcqbBBjSI0P5DdIYkuj3HIsFwTU/NmFTZpb7P9c\n9bdHbYUf/0gDA7vVaCOLfYUQLQUzFUyD1cBvgIHolQGdt6vbxMPvPIO3ewO2\npBOZOU4tANCQaFAA3vl8wAZvpaEg4/uwOaUQpIQRiDKWuBLm1btjmZ0WTxUn\nCn+5Cna6vy1EieqthPWvGOXwv93yYJgtGB7W/w0IGHeEXXcfM6v175u1XPri\nB6X/z6JBJ/F1WwPdOFyFbBRGjaFO9TIn2vU4RntfT7vxq4xHvQXaV3VeyVuX\nqGWsaLdehqOIgyERPpnTrEc4N0Q7yeiXWJYQ4+S6p3npq4YM93ZzoxNITXMk\nM5D47OJEO1I8+JcyW8Nv/RMu2qnfq/hfgtKXCoGEYbu6Bpf1vMsMHXsoQKqI\nSOwYP5ED20r/AV1TVx96UMGsa8CAXZf/zU6cnoX99w7AJkfMjMHSSG1V6KiV\nsqpxV2gwQGMRZ+P1QxS9C65YIpqP+yCVSmXvSHBigsDIOSy+Pja9SuYCbxj9\n45WqtsLPnJFCTFsn+KN3MMsoNph6vRApbF+tgF1jSlv9sm1dUjPKIBsQ4dLA\nlbNK3FZhGsqw01arUshOEqCdIPGXIzdasiqOootZyheHrzIN8fPFzg2GKPGj\nJdNe\r\n=dAVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI7wS6UzUAWqrlY0M4GXuMBUzsylvmL7g//zbtJ2uyMgIgZ/SpffzskSPYdxHn3Rh/tEN/r3x9oKfOn4+UWbT36Lo="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_1.3.1_1534696041955_0.5856900680944008"},"_hasShrinkwrap":false},"2.0.0-0":{"name":"lit-ntml","version":"2.0.0-0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index.js","module":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.11.3","@types/parse5":"^5.0.0","jest":"^24.5.0","rollup":"^1.6.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.14.0","typescript":"^3.3.3333"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![Build Status][travis-badge]][travis-url]\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [TypeScript or native ES Modules](#typescript-or-native-es-modules)\n    - [html()](#html)\n    - [htmlFragment()](#htmlfragment)\n  - [Node.js](#nodejs)\n    - [html()](#html-1)\n    - [htmlFragment()](#htmlfragment-1)\n- [API Reference](#api-reference)\n  - [html()](#html-2)\n  - [htmlFragment()](#htmlfragment-2)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 8.9.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### TypeScript or native ES Modules\n\n#### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n#### htmlFragment()\n\n```ts\nimport { htmlFragment } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### Node.js\n\n#### html()\n\n```js\nconst { html } = require('lit-ntml');\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n#### htmlFragment()\n\n```js\nconst { htmlFragment } = require('lit-ntml');\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[travis-badge]: https://flat.badgen.net/travis/motss/lit-ntml\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[travis-url]: https://travis-ci.org/motss/lit-ntml\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/CODE_OF_CONDUCT.md\n","readmeFilename":"README.md","gitHead":"4b1c05c65050691034083ba4b0b898531d23d1dd","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.0.0-0","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-RNYe4azw2br93Qe/aiCKuhC2iC+HipAslPetjs7QkOmdGK6XT1nukEhlYJdvf4pPPohx20/yZ1HeA08MyKqEJw==","shasum":"4d8db77a88d0191db846d6af9a21a56c428c5a1e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.0.0-0.tgz","fileCount":6,"unpackedSize":13895,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcioMvCRA9TVsSAnZWagAAhjMP/0g64gDkQhuE5K6dcIWX\ngsrywJco6e99yBekK1Y2G+DJ5qCvkJwT4xhUuNpLy/P5F4raPpk7QLkZ9X2X\ntmTziQnK4iZPxMS+cv5dYka44Srlj4ce0AWiJ2Q5BpfwZfrySFFAg8GMZR0e\n3VpTPfqgcipB/5bDFQkzeun48yTrvbuxmBbh9C+NnDh0/VlTWjsiMB/QV4gz\nY1/z4KbxMCqUyYtPHB4Ifcozq6PgJ44JHQeITKk34ibzLl7584HA49q2AHc4\n5kIFAT3EwWKsWYFUXndAj2ZqA0vygXqtwnX2lhz6yNbbWNW2O9IUefxf1Jno\nMlfcNjdM1rt0+4T6u4AdZKvWAONop+Kel+QgnYvx3B8cIrZkMr/AvFNQ0He/\nAXM9hblJw+z1bDIAgLunb9YQDGD9hvdTs2JTxB0KLo9M5eicRQrlvU0LRbW2\nxr8c19jo4rVyikxWte4+PJ6GstAikJ7fo9v45q4DlWA4m+uBeaccu+ipM/6G\nHAfG+aDuG1DiXrZbLvsqLgsxqBLMPWGlt4R8cKrgRXT/xi2uRQk0YziHxt1T\nU+Q0w0haae46+R4qkvMo8Emwp28rCuzp7QD4G97qXhS38jqw+Skww8rTeez5\nJYlXIHjgUVUg2vC3GNFD/fIpVlosN8fAsLgUvTZD9TKX8n4Blq1zKAhC/VH3\nx9us\r\n=fIkx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhh1Bwdrq5XEmvYacJMTYTOuyABZ2oX+Y/jPN4Tl8NngIgNacSf4hqOtR9TmwFoRQ7zWHPt8dxnnSAxwvP+iHPPho="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.0.0-0_1552581422820_0.14197160712546375"},"_hasShrinkwrap":false},"2.0.0":{"name":"lit-ntml","version":"2.0.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index.js","module":"dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.11.3","@types/parse5":"^5.0.0","jest":"^24.5.0","rollup":"^1.6.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.14.0","typescript":"^3.3.3333"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"b95890703b71272cb3744aeeefe6d3af177e044b","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.0.0","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ul5CijxZ/I63Dqp/x39zQIk9Y6gXIpCIKEEut5GVKmGTxmPMS/vj+uVNGi2i8Tdmnov5QABWOKfOSjDJ49nE/g==","shasum":"f824a6c79a1cbf6befef13c3a2a4d6cd41cb8f0f","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.0.0.tgz","fileCount":6,"unpackedSize":13893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci4zmCRA9TVsSAnZWagAAx2QP/3VYGOOqglahUSN8ibOO\nF+Y+GFRI8UqxKlmDvZGZE/9kqUX6vm+4MKEY4npOmdKZc5g0qM9r25Yr7oCV\n2XDIOVYbx+c37gzqqtd+fX1cLRfvt2fRju5xRGtFayw3kDuO9d2uNJhIZhkh\npjjGwsBHLlRgl3kgif6DMfPKtfVDwM7P4skLjHoROPV3hXl3+6x6ymysZY/e\nF8SUhzxvVWmxII1oGrY2YO0MEuzMM8GJq0VT+nNrSfmpvPx+Ef7ne762ql8U\n9/z8qW3DOmkr83TG4ToEgpO7+iPJsRwlJEQqpOVsZAGKrffuxsaI/U6KrxLK\nBAd0JZ46OBnVCFAiRZoeAbhB7Fm3bH3M/jUIg67F6nxMpSVPsQpaFw7xHeRE\njslo3fXdWVmzX7NJefX7xXU56yJzbFssOEO4RLWSYKspColGB6HaDayUR2sd\n4HnebBz+sXU7dsEff6ZP5L6056nKE2MlU14WUz48NQSpknYOzrV3ffKvftgh\nZHqKeVLp13iezN5xT5Qu16TEtVnKTMfFLX5gfd8Dus6Fn572sVnp4klOZfbe\nflEmEAkCf/7Xz6QtSinosDzqUIjuYj6Q0MuAsCx62Okh8aTaCI7a2R1hHNNY\nzNu/BMYPO6kxAn7jnzFEOwqMPSdHmYUkBbHawiDnGt3p/QjXVTeDolom7FM4\n3vm2\r\n=hUr7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHzyNOrPlsfTeKnKIB6vxa7WLDGqcSNh1s6EPrsEgpKtAiB4KT1yjmzVHGaTCFXiBm0ettL4bM6HYKwO20aP9/xfNw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.0.0_1552649445411_0.32839743065667304"},"_hasShrinkwrap":false},"2.1.0":{"name":"lit-ntml","version":"2.1.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.11.3","@types/parse5":"^5.0.0","jest":"^24.5.0","rollup":"^1.6.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.14.0","typescript":"^3.3.3333"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"7c084eef8ed4c7c4a41c9f194dc6d3759d072e64","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.1.0","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-tPoJlzrm6BvdwT+2yXyTMc7J3gnXnDI+tw/cLjlBdSOgB8PXxzHIIX50kvriKsqDFcWYwbsNDw0pbgfg2RjNXA==","shasum":"5225fd0a1c4d7f2ed791a2f438481b3a8d4508fd","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.1.0.tgz","fileCount":6,"unpackedSize":13916,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjGAdCRA9TVsSAnZWagAAKCkP/R9V29O7p9U22wckSdyA\nDfxsdmLug3KswAFkLmg6XaF6IB+xsZ902JaadsfLUPNcwFVgk6pCNwCd6+h8\nFaySWU44jjn/NM6efTDfUYw44Gq0Pm9tKx3DVXqtjYc32Uj+tXGbrcihYPWa\nW/wjhz5Oy2iy38a95Sl13YmdXj94ni88O09JpUmvmPUsdNPd36frqTJbHUcg\nHUiUIK1q2tjxeGvcmV4yUWF5I9IAH9F9URkKuJ/XOhFk62YJbpPMg8wU6NUM\n/Zf05C3n1N70uJ55n1XqK/WrqpP5LPEB1yxpZiDBYpkP2LXqjZ2ykh8P35I0\nHId91Ej/MAygSv+RoCREYhN8JCfW0b/tFtTN+AWJXGR4twCXbENwvA1i/zCR\nRTKm5z/bL66wvDA8U6/FmELJ6jl+wke4+wYP9TAXd2PB4Xnb//nnCMOKI7nE\nMeAGQSKK4NKaiLGuTezIi+iO3vDBbpcPz8KwJFb2nLPo7i3RZxItRRtCQ5QM\nHz0lCIz4/y/SZmkAYOoF1X6Jo3ZMRTM4BVXnDADUDZTAkGSoK8mQswIYHlCg\nJjN2CvolkPlWqvzAJRxYC52SMAEGwhe56JgcUH/i1vlMqN5QE/r0CJ4S/Vs1\n0Wf/4w7eD/rxNj1g6FyYihXEsF12n6n6ABIiumHyLaicUEcNP47uHw7UuHur\nbSVg\r\n=3bRq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdfXmKZo0D+HM/gt8U/8yDi6ceMRSd3fFJpY55eu6BWAIhAJDeOuL7FHCMrSx4Vrx1jwIO8N2Wv4khYc3fzZ9n1CTW"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.1.0_1552703516636_0.46765146336499686"},"_hasShrinkwrap":false},"2.1.1":{"name":"lit-ntml","version":"2.1.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.11.3","@types/parse5":"^5.0.0","jest":"^24.5.0","rollup":"^1.6.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.14.0","typescript":"^3.3.3333"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"d963a86615f1fbe3dfa4c4e048a068b63ab58fb7","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.1.1","_nodeVersion":"11.11.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-f1EKS39+IfENlsM2fcM8xfWOYGGfFDvyHo4hIzLlEzOWEdBWlSmX2DHJx1HXFraFIoMngWAXAyMteaznsfFCtQ==","shasum":"f20eb2c3ab5a877774c6ce08fe8bcce0d901fc1b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.1.1.tgz","fileCount":6,"unpackedSize":14255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjQE5CRA9TVsSAnZWagAAVXgP/jZeP5J0tpIZYjcpEN9y\n9dhtURHUQU1iKrS9M170/JAoftYLQdL7uJ/0GeBA+FnRCF6yqgcVEndQr/3Z\nfPiUyYR2b/GDW05faQKQOz4wS43o2nwEy3dxBlH4ZoGmqFTqmUS2IwP+s3KJ\naaMuUZmLawZiHNB4P/mcxPTUmPmVWM4/GLkwzBJKNcK1i2km8415WZxgqi6o\ndwTltKjlk/s2Vu4G6fHThYZbBHs3ExNofWGlOeDtSjhdk9tDCy4y89j6fDAG\n/Cq1h/c3H5ax+/HkepTwYn/unMixDNCNIb0DP7hb7jLFqthSHFvu2bXD+FYf\nqCRIxagFnhTz+4U+5P9UBDSkGT8X0n3aRVyQag2nYwy+S2YLbl4okEM0Jw6l\nzhpqyaFu9hGClJKFD5xsD7WcF08UUUe933utjpa+cTrzKnB33gMWxFrceU5h\nqOsGjpwToV9RvvofAQ3efvAfM3DugeiBWT4Yzf4XyRUMjaX9HSDqzOM8FPgw\nXOKeMcxjgSAlfvernYKTwOFWZVup9h/tOch3WkU3pKUw4QJYmeFE3MzGOlF8\nXBGS/LKfBEIqwDiThcptO+tUlXne4WWXaWoZqYoFkS2mkufKU+XZrNAH3dhO\nFvEI1hk3zCON58ykLabUdimt2wuiyDJDTjBrEjrp77G/P2GolpUb9DEXSmQT\nC358\r\n=pnOn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYy2+otwmnOvs4F7DvtMjDvy4QUCRgrHNQMW0HXeviQQIgcV0Lr8C9JZ6kD5ixIXsqiEDdTeSy2YY6cWron/6J36s="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.1.1_1552744760852_0.2531934491220833"},"_hasShrinkwrap":false},"2.2.0":{"name":"lit-ntml","version":"2.2.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.11.6","@types/parse5":"^5.0.0","jest":"^24.5.0","rollup":"^1.7.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.14.0","typescript":"^3.3.4000"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"597c2b899131f4cee17e60b56fc59a81cb4f12aa","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.2.0","_nodeVersion":"11.12.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-d6kc8swd627V+d0XTYGkQ3JtHOgyzbzh9L0seJhxm2pd1lA0StXQ4QP0KKkQrTIFeKA2I91PZjd1GRYVYWFPBw==","shasum":"a551270fe45336be95693fd8a8f78103f9e5c280","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.2.0.tgz","fileCount":6,"unpackedSize":14086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclfAACRA9TVsSAnZWagAAaGAP/iqu9b/f0hnLIA8s7mr/\n1QFb7awphO/Pg2LriwKTFxA9EdbTbof/LdfpRVXMEcBlBKuXNaJ6Ip9eTS9F\nKpkVt3rngEGdK0PSDks4IWFG7BPrgego3FsC0ju216mMTfCj5ch4nPOsaeFi\n7BLscs3eHmonszkcRapNEcjKry5wQ8TusjdjkEIrJwzJN3EJamnCcWPwucEi\nLqD89toqRh6VV5dikMfZhwfkHwjmjzgiVedzQisySw6A2/QFJVFadY8NZmcn\nHnVpX1qhbaJsWaDB3G7psEo5YEGIH36Dt2cOQqo4Bec2FzmPjfkYXdU0ejTH\nTH9czBvTsoRDpeD7OnFDLIsisHxyNGocrshPIwpy2MZ4vEClYKRUUxoX1OkQ\nrigcVR4hI+M4q0XqhzEmHewWWtfVdRcxC5RRu34d4lv+fWE2cJhbaVOJGDs6\nzXnCbwkRSewWRtnmpj1G1Aut7Z1avJ+1o1zSgWMIuMu72/FdNqKovQXbY2hz\nwP7SCfmXyrowpLAx83cabwPxGBfLyDhwhgwqwGv8/f+Yygjg/jBxIQbo6AIp\newwerXqZLYmBmxFRiPVHtKmXLSUoKKd1a9X5bERsIl9wKCup/un/9sWHFoDX\npF4ScPTz30FNHn6rmSAmghpsWEtOyW3DVm/MYLx+dLxV41VukIY56jgivrJA\nz0hc\r\n=PEhw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF7F76ZSe3vtF3djUzqj+YurwxvsASDbvqFHqWYl3yuVAiB4mA9x/Ii7UzMLN9TCnyHhfqOjfHGDnXmDMMUyg41bxQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.2.0_1553330175676_0.8107416920307473"},"_hasShrinkwrap":false},"2.3.0":{"name":"lit-ntml","version":"2.3.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.13.4","@types/parse5":"^5.0.0","jest":"^24.7.1","rollup":"^1.10.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.2.3","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.15.0","typescript":"^3.4.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"34e34641b8a6f3807459128615d632af57f615bc","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.3.0","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-2NdEagp7hecOLETPfUFbllHW7hoiHwkToYe1aXZvOR8gqsG7I/BXcqCGbK0QgucNT7Apd3LoW4Vaiy4/eMdG2g==","shasum":"a8b8e393fe7c5a93cf4581220e03e83ed10fec3e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.3.0.tgz","fileCount":7,"unpackedSize":17400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsWwPCRA9TVsSAnZWagAA/HUP/iOx7wIUvbNdDEhi4mbk\nEOeF6VP4biEY0rSh3U+U8VczH5LOYILzcM1hlb5qHUAoJDYpp3KQydsNvi7+\nJJS9j2+AodsT//MC6pY6RgjKhd9IlCN5VIvMi+fbcaRfuMvCM8e1552nWoNR\nsdzcMEUgzKfK+mxfrIVZIZzi3PHkd0KENkXFQszShOjUvGeNzrBqRuRS5QKP\n8cDkz1e961+OA/SMFV6c2wtx26VojAHANkieID3nyjH4HuuuILr9U9VBPcje\ndOUJ7ylwntM54ndboPGwVUzdOEVEinRSQoQP9ukkFfjNLSoKP2JL/joMTwk9\nbgg6L6PD/EgD9bIRKBjssLDCavNomJq7sYKk+ofLeWhGqtOCUKBBRkWH86i5\nEweMbht6nuVsDKr2cp5nviEdbKVcPKvWKyyfdglUWE4Y8yLI9VDX8DocO8qM\nK94mVd7jKtv81cYIhs4mvFVjZKdq1rW5BFD47T/kEupkcYqBeg+5te4GX0ay\no3uEtzvFHpTab+94soZLOWjNgA0t4+dTlTYRWNbhxzZZ77Z4t9HkKpyK1h+C\n18PcmQc0K1wWrMfSJO3R9LKahntKSxlidgG+9kMKoqgDDRs//y/2izImmONb\nA5wmY3QXOfYMz9oh0t9lhpwt3XCZfsYTqnd1Ub6G3Q2+t0eSsBY7t1MKYYOV\nreld\r\n=R+hg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC/ElIQPcldbCpkq0PVfClI2Y9lWi2zKzwRIDitF3cA4AiAPipw5pmfLRugRhj7u8u6pd3xgDoT1LHloCNlBp8A/hw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.3.0_1555131406495_0.423771339352254"},"_hasShrinkwrap":false},"2.3.1":{"name":"lit-ntml","version":"2.3.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.13.4","@types/parse5":"^5.0.0","jest":"^24.7.1","rollup":"^1.10.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.2.3","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.15.0","typescript":"^3.4.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"571c8e2adb0002262c1dd1f780326ad1c407a95b","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.3.1","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-jk1kmJvi9CkgMuzif7FYu5SJym5W8EvQOIHMVoLXOTk1/SY2U0uOXclBatua1HZ6DcRyXYYu6I/P/GdVmcdNrw==","shasum":"169cde22049a9a215a733029d65790a8cdb7120b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.3.1.tgz","fileCount":7,"unpackedSize":17400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsWyLCRA9TVsSAnZWagAAxUMP/1wLNfjXfjOLvDtALxJL\nxM9TBEx1TbL9wVBGRrB8WKETA+WGF2dGOL5EnVSuhBCq9Whd6tzgafxYPgfz\n34zQLPDSxW7WGh2E++QDbbYFcZ4tZL5yuvTRBse2u/PF4HY12JN/R3rpCE8t\nRZfArDqDwe3Q7ljrVphzlF4cYkhtmx6A3KCc+Ifo8WM7Cyl2wlWcfm+ceny0\nuXAzKlR8t4aQY3U42+lVlPUH3fQtjz15raj0JUmAjDi+fkYP23VWvgcRrhod\nq2kKDZ1y0ohYeMxjTRaZdAt3BLWikiTS25QJAlNF7e75ZxA5Gw3rhEeI7GOk\ndqVOnEY3VYBy2/iVXR2udcJyNr026BxQON9eeUJdfa81R3md7brm/iHRWW1r\n8QNAvU4yXQgc9Ae8vMfaeUB/xHGZhYML6yCmW8k5mYu7jjXawUn1GQ/L9rLb\nMQLzQVl81FnpRYkBsKA+oShbWKjhfkIKUlSIw4QSytmc+UcPrfgq2qABWS/D\nqFoymDpF6znZaNPZnl6qNs4nR1Y1XPqJsqel7OhSO4+gc9uFLhLmaojDMocm\nDxWKAsMssTCM7CsCSSCklL7KaAz4wF3Off77SzMKuzzkBnY/hO2peoz7D93j\necVFOZfjMO8jJsA4iYyzzZr4ciV8HcpwFn/8ZSjH/l5URUExI8Aqgo10X6zS\nnA22\r\n=fl8X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwpWb8kQYLjBUtHICkWNGSQ3aGR0iuD885rseyTC2PAAiAGXN4MWINnJnx7yQ/AVhd/ZwwbaKJlAanSRppwJsklig=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.3.1_1555131531013_0.8104960104270302"},"_hasShrinkwrap":false},"2.3.2":{"name":"lit-ntml","version":"2.3.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.13.4","@types/parse5":"^5.0.0","jest":"^24.7.1","rollup":"^1.10.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.2.3","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.15.0","typescript":"^3.4.3"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"85c808c1c9a21330db445b8bbf86d7cee83b1f83","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.3.2","_nodeVersion":"11.14.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-ZmFdcAkZL1rTq+6Z5JOg3+ziUsOqCKTGiUimfdVLOwRGi/t+YQzg8iG18r6fb+DFG6P9cDeHqeJireZUyqyQ9Q==","shasum":"9dab413bcd09134dac6abede29a1c278a2c19cd9","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.3.2.tgz","fileCount":8,"unpackedSize":20165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcsW0hCRA9TVsSAnZWagAAOtsP/2pqc6Fct42DQWOBxgPc\nxNo08iEnui05QDUN9n1ymNi/Mvi+uPGhu8lwzHrkuEaksqzEiqd0b2HbGT/t\nEnlT4V6aEG8Hq3rX+DEwCnJH8D1S0pwZJurIxlFjunBM0O7iOQz6NtmCiI78\nUGRAoGgIDDVsDMqLKkh2z21snJZV2whI8kgP6ZBopdBwsfNFKxhWqthyFAa3\ndxZNrdNoeQGNYJjon67Pddr1MlSJsxlqAIb5nnak65F84KADbdR9pOC3RKfu\nLAzbiLfSAzSaxMZptlIa4V7eMm6E1a2C97ELNWCHGJqlVXzhdInCjrETmrVF\nZkMLczlr2Bqbjq6WExRXfniS/QpphoLyJMKE752oM4esLFNyz91Lo1Q1z87a\nt+Ut23Z1lj6mu+ZsADE6cCV0u9zUrObLDZV6XMxDkWJkz7gqGkgKOxZGX/gC\nhnc8N2TGUnEchf8AGbuy3IJwURgWhq8fJrhq6QzIBaPnVkweqAm+hcNIvwO7\n4RSawH/debZY1i27qpj8l5YNp1304qedMeX9iFSrJbCPPeGolTfLob2guGpH\nrApKWWOOXkV9jpbdvUdGkcmhZgDpXc+8Zj8dV0wZ31OGk5OTAS2nCYel28Og\n6/FS287fcfAGLDeCaFtpE1rjHZLWlx3WifIs5Xgow0nwZvqa/1CdXDKDVo3T\nbFPM\r\n=QNTt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGpFI/1mhfqxofFPoSJFM+gUOkK5fV1GNfmNYYOOP+PdAiEAyU02P03iLhecqkReH6zZqF3lGdhtC0FqpWtMW3awAgU="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.3.2_1555131680738_0.4513323995207328"},"_hasShrinkwrap":false},"2.4.0":{"name":"lit-ntml","version":"2.4.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"rm -rf dist/ && npm run rollup","build:test":"rm -rf dist/ && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && jest --config ./.jestrc.json","ts":"rm -rf dist/ && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.13.7","@types/parse5":"^5.0.0","jest":"^24.7.1","rollup":"^1.10.1","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.2.3","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.20.1","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"d73eabd0ec438d2aaae1a174208b52d08c241c48","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.4.0","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-fVuOyRVMpY6iMJpqAwB7n8UaeRx6GfLspZYYQbH9xX4nVWHHKIsyymT7jVaoYVqbTQudJ1UdS5h8rlbV/RWbdA==","shasum":"fdd471c50e11e0591b02bdc1c0329c658702ffe3","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.4.0.tgz","fileCount":8,"unpackedSize":20165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwHzwCRA9TVsSAnZWagAARAEP/2j8MNIKzm9eRnQtEPvM\nm0qT0RshI4FN+fWD96fO2ePC3IB/RkD5PmDfYu0Y4AjmDpj0FcGTgBIyOVT0\nGj3xHlR9auR4BXD3oaerpvv1Fh54is7ISAg2akb2c9VzTwMViincO9nVX817\ni28LQKKOEwjw8OpwsbsdzZQ75lONoQNKroOTNEh27ehxQGzp4RJVVRBQrawY\nQQIPSPew+d9vUYiFNfkfh6P5WK/Xc/rKzrJJt6/da/BnOwmxphWXoXDf/foF\nA4hD70IQ+CstcdHojkeplDNQMqfX4w801+zCbJbrfV8fZGWcC+yK7qKk9iWf\nV3i+EuIHWLwpwhavYi1nOtZaFxZvyxjYtCMzVV0RTCTK+C0I50pdC+EfPvc1\nLe1B7Yy54jPglgdSU1nBz6fHrIN9ERjXgEpCszApHTONxqqj7YEk5SZjWjLH\nOf0kHRRlyGtadlz8fbfhJjq6IggAE2Klsm2ztHIp7zyinLHJZV5d33u79JcN\naNifYWb5floKYm1qZyf2odq73iVPLfS9x3nAYK+SFqddbF7Vbigc/avJ1nmm\nx39zJ8QJuHecx4pqy/Vh7pLCMxlyyKUT5HWyGUtuVrNqlX/b1BT02J6CR5Hv\n/f6F+y5sga6nxfz9qXk/fBALzod6xY5TnQcORDqfDxYTyjWwiaSJHzS7MAfd\nWa0Z\r\n=SwA/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2Y/sDWp0bwGvXeXxhV6MSbCUhptgpAmFwl9SUAl/WIAIhAKuYSr2aakGgrf0hPB/8HlFvToDzXu4OLD7VB73cViJ/"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.4.0_1556118767627_0.6913916724215945"},"_hasShrinkwrap":false},"2.4.1":{"name":"lit-ntml","version":"2.4.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"clean":"rm -rf dist/","build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && jest --config ./.jestrc.json","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.13.7","@types/parse5":"^5.0.0","jest":"^24.7.1","rollup":"^1.10.1","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^4.2.3","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.0","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"447e12f0231572e2d70a02a0637f4cd8f9fdc2f1","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.4.1","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-3H2zl4aYeCmTx05J40lfgsx1yrm0dp+Q10TrA6asoZGudbAR6icO0vMgZrf1Htq+N+apU3WfuzVdrBgpFLSQaA==","shasum":"5ab2a1de716d90f11ff44aaf475f2c6341e2623e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.4.1.tgz","fileCount":8,"unpackedSize":17876,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwyI4CRA9TVsSAnZWagAAZUgQAJ0TBOJD+yRmXAiSs3Df\nvRU36SRf2WIfzYc3spQc+Ebtc/o+a3x7wRYgRjuiI7uy78xmIU7Tya1HnMmT\n8BeQTkBtCP0tM1xwyCqv+BKlhE7eqb5o1fphpTcUq0EL5JDMc7VzA6RFi8dO\nfAzUkkt/AG2A3Mb+2SKjpfIP0HYPz9y+AjnJ/fTU3s03Vu2FqMHqHV+pl6Bi\nwXLmZxs5/O1L6wCLRdE1gon320869DHQBQ0KUO80fWU3cvpZoVBKLHRJFj20\nJg2MyiS3xoLW+jE5ns1kBq09IOzk31O+wlsDuG60p+yeP7p81pSO2ItD/R4A\nGLqAxb2VvMn0QdT843iUuWA6yeLychYJxEfVQGTIhUC1tSEXZyQAX0evqVIY\nS+paBvgu3Wfbui1ExVRb+p6++x5G3bh9h/f91QN9iPMF8Cf/0XCP5K5mB6m0\nAQlDB7TTqrl387A/IMlhyknkClS2vHgtaM1eK84TBycQTLmcfs1CYh7aXg+y\ngE5CLFI9yZbn80cHJiZuWrg5+tuXYC5U+7wMhpGq88+PKPScUf8FD99MPf2X\nWyFuelywE1IxWLz7UQiCXWNNM32H6LQhaWfPNavz3KVDkyG1OUp6NmLRbQX2\ndgUP3ZKWddDr1DSPBLYkpbTSAkuUZG8S2MaE6CdLMVTjXaYejZzpcgEcxywE\n5C12\r\n=e8Tg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIESrABXj4Y4hf+1LoR6S6MTEiwY2PLqK4xvk213Ij0uZAiEA7/L6DPDaYnSpW5rF5u+OKrMo3XQzjSywM3PKhxcR2/M="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.4.1_1556292151500_0.7056705736864863"},"_hasShrinkwrap":false},"2.4.2":{"name":"lit-ntml","version":"2.4.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"clean":"rm -rf dist/","build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && jest --config ./.jestrc.json","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.13.7","@types/parse5":"^5.0.0","jest":"^24.7.1","rollup":"^1.10.1","rollup-plugin-filesize":"^6.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.0","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"ec74ff7d72bdace5dd5e8093012c3d3d07a455b2","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.4.2","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-aJC7NsxLW+mxxrY+dzxhjSzFJEB5JfWEGB0QSRtPvT2DUaUO9IibVtPWF/wChPUwYdEpGawIH9WQM4gHBpbRDw==","shasum":"b7be9d08b2e99e66dd9edc1863dc0d8be909d062","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.4.2.tgz","fileCount":8,"unpackedSize":17832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwyVGCRA9TVsSAnZWagAAqXkP/0rMCoipidm5yleGoklk\n4YS/XOS+mJd7VJj6Yn2OETG8CKtCdLIFQXlw7xvHnyy7GsGthvqKGjGlbEMM\nU1TVa2hr83qxJJvKZQQtludilsp+OCc4/fO6pnMF+UQ4KEySzwhPZe8volYB\nsO/VTcs4IpM7m1NfTNgCk89jheKp4cV5Sd5GfYtVcCH53lCz/Ob3Wl6P8BJz\nomOJqKVC9BglD25wYl2PBEsoSaGg6auOVJoopKIGNkS+8YLb6zM5hsr9wIwW\nvD/Jzr3ghfmpQMLgzNI7uqyCWAbt6kwcJMiWvDZBzTtJZmR3d+hx8ZrahXIk\nSq5s1oiDtZvHNofFHI0x7ZfthmwFqlD2JtNiyNWpyBXWQ6RcA4cmNXEk8jm0\nVwuYyUGab6Pa2SfVxm89cyCVvmq6XiRb++3ZiDLmOv3ObZmLUNtGXUI8RKb2\nUzZTa+bupHEZJsOhW7tBw8T/H/zgY3eKMRqsgZXIU9uInfiEWp3Jc0ANAGDw\nwfzLa7xvysBWT7PBKWgttP2OCoAMu1VpmEzbzGmY5GD94t9eHXCTxQbx/Ebq\nSvfjsf5VoIa0Dybfxlw/WlKyrRMwtL0x43wR5VSrT0ktIA/YqRgzgJiwT/KH\nhwU5T8NoDzGG390iCnbzcsZKOKMGen37DO3be90crCF6Mn7dyUFrykfs4xKw\nvjHx\r\n=iUTx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChwSTBbPc1kNqmh443xPXwRjlJsU/OpLRTteXyPmw7vAIhAMHeL2wDu7DwfyLD97aTCCHoIuCPD+NbEG4w8dro6D6Z"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.4.2_1556292933299_0.64449169587227"},"_hasShrinkwrap":false},"2.4.3":{"name":"lit-ntml","version":"2.4.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"clean":"rm -rf dist/","build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && jest --config ./.jestrc.json","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@messageflow/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.11","@types/node":"^11.13.7","@types/parse5":"^5.0.0","jest":"^24.7.1","rollup":"^1.10.1","rollup-plugin-filesize":"^6.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.0","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"2261a65a88e2395c6625d92302bea7e727091477","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.4.3","_nodeVersion":"12.0.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-FHVmMiumdBRdL2Kw0CUSqDny+ej3vkw5CumZspyzE524UU1R8ZNnVFuAwGGbrfxkby6T0kYZJZnc2J4IyB/eag==","shasum":"3d62a9a6888866328e3337e3b68911a945595d61","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.4.3.tgz","fileCount":9,"unpackedSize":20597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwynUCRA9TVsSAnZWagAA0r0QAJPAFjAk1FvG28sygOu8\nE19oR2AyQQywWWrVKZaQslvUm8gtYN5wuzyG+JWOaf2Pgz+jYWg333WyiYCC\n2xQEXOdSGOXk1pCLOxKuAom/jPannMPUW4A+vc4C89VJ6qxWaAV2uO1Hiu/K\nwMnN/naKU6QTuX1QoLGSovSbTi918N0ZKPXjLzyNBkiaRwnppKrQwx2XfQtK\noA+PZkFbFYc/TCNB6kVEpGxP5lKKsamtEkYWx24JYMCJTcGMMNizlJbxpIhU\n5eKl6dMqqS43sp6sQtwimzmZGfnQWg0c5VyBlBlQ1EK9amFoRDYOjoZr4oVP\n4mAeC5KDGur9H8mdYWZpAqpjSrAOPYg4iLjsLGzyAAfqPj4YHBA5E+LJOrkB\nN7maGDGKUNPrRONKKeDHJ0wMN/Jt1Uu3dsaZjjtMJm5F756LozVOd1d1Sdft\nPcyOaqtPJ4gxu/GRV0vQBtR5MyyN3vxnu08ab/9yhILZWroKD0G4R32euSxg\nQsV9ce0eAk21hZxmrlIMWX/k0w1+QrCb2M1ODpUZF5SGRqIMOX95DkxZnHhb\nV4wVq+3XcgJIkaLxk+SIUmhWMUECrF3KRC380FJuPA9PgnkkW5iJuc8OyUEa\nWdyNkSIDia0vPqwSnDcr58KHwdq+vQInnQxy3XobfJqkiaHTpqHnwT+Q33AK\nc2uU\r\n=dbeT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG6ngYhKFG5Puc8sUVvnMm15pBSTX08QV63NlrkmtRRhAiEAqyAQLiGpac6pgp0xyb4EDyhB7vd1vOdzjDLfrYGki+w="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.4.3_1556294099693_0.9928339841342579"},"_hasShrinkwrap":false},"2.5.0":{"name":"lit-ntml","version":"2.5.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.13","@types/node":"^12.0.2","@types/parse5":"^5.0.0","jest":"^24.8.0","rollup":"^1.12.2","rollup-plugin-filesize":"^6.0.1","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.1","shx":"^0.3.2","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"51b42b6e86aca0338e6cb9baed32cafe8cf96e97","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.5.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-0dJphaqWzTnZSZJfCZOJ/Qm5aVmYf2Eu6KkEbVA4q8SWbNfTbpoI4T2aaz6XmRBKhGo+6dm+zKjv/dvtcavybw==","shasum":"1e33d6669d0a394ebb22cbd1b84478e2b7ace7b1","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.5.0.tgz","fileCount":21,"unpackedSize":39599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4C0iCRA9TVsSAnZWagAA2FoP/34I6R8IXXL71auOrPH1\nEo6iite1lzBQJQu0CsOdRLN0tE8SsTpD7GCUTQbu0lXL+0mOksjSvKbePAM0\nkNoyrC31F9pGXU9oyFv/r/HgvKNBMDwlPZnA9L3MK7JWJFCloVS8tu7U4LFs\n4WatCw5Ll9px4UGgwomGHilDCNEDnIXcHBUooxjcTQbCmjLUaM+9KWLIg72n\nREC4bG6SH7XTvfff2kFv9MHbpfOCalz2pzpxU0IXrDi4swPO8rG265qEWM47\nj+zEy5Wut6n7sYU9X4+23yBxoIFyvs0T3HSeRDczCjpDLKXdDb/0/OQebk21\nerPl18CCCBRNXMrEclDwzVP21TtQAiEbI5X4EbVLoPfIO/9m+7uR1KvvtExW\nH7dyknbS4vZyqWl1+m5WUDP+kK5kpM6hAF3oVkqTKtu6nzn6EALZ6BcGLmua\n1y1jlJvMHKtWxFAQi9R3pntwrtdIDh3838VkcWM69FM9rGKw9W91IJ3VyqCB\nAURgEcPUNll06zrygxBR6isXKlV7qcNt1QA1Qf7NpcO2Gsahbw7nws0F+XfT\nYgoVufhpKO6e9FBe/b1Q/kQJcwl7FhGyL7/6GXOGSZ8g5uWwBpbBUVf08q33\nXZvE6Hi3fe/iaZ3K79U0rTQnI7sUaywny9VbcO3UNOmebFViPtxiVEKv88us\nyyev\r\n=Ls/x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjbpbkeCexujdb2OkSYdzZFiom3AA4xLxDDGt6eB9UvAIgYLlKTPr0ssyNrwqjm7etxTlCsecayExoktXchCtva0g="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.5.0_1558195490018_0.08875155463483009"},"_hasShrinkwrap":false},"2.6.0-beta.0":{"name":"lit-ntml","version":"2.6.0-beta.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.13","@types/node":"^12.0.2","@types/parse5":"^5.0.0","jest":"^24.8.0","rollup":"^1.12.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^5.0.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.1","shx":"^0.3.2","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [TypeScript or native ES Modules](#typescript-or-native-es-modules)\n    - [html()](#html)\n    - [htmlFragment()](#htmlfragment)\n  - [Node.js](#nodejs)\n    - [html()](#html-1)\n    - [htmlFragment()](#htmlfragment-1)\n    - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [deno](#deno)\n- [API Reference](#api-reference)\n  - [html()](#html-2)\n  - [htmlFragment()](#htmlfragment-2)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 8.9.0\n- [NPM][npm-url] >= 5.5.1 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### TypeScript or native ES Modules\n\n#### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n#### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### Node.js\n\n#### html()\n\n```js\nconst { html } = require('lit-ntml');\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n#### htmlFragment()\n\n```js\nconst { htmlFragment } = require('lit-ntml');\n\nconst html = htmlFragment;\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n#### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## deno\n\n👉 Check out the [deno][] module at [deno_mod/lit_ntml][].\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","gitHead":"a32555953af9dbd2b7afc94a7c8c9645809d05da","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.6.0-beta.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Zf5HsUohqUxM84jq8c02uDGywetE1xGZhcTyLqcuYvCmEZkaQl2jkhdXuSBfsNKs3R//9ULwF8kyPGayzHhRHg==","shasum":"212e3278a6cfe96367a0190acca9c8fd31a8f9e6","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.6.0-beta.0.tgz","fileCount":21,"unpackedSize":2402305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4EBoCRA9TVsSAnZWagAA26AP/3MIHtsxe2na8wZf1YvK\nRTBuaHeIJFHNf3kRPIqWq69mssA003GvePsveLAL7jEMQHIAkMa1Il2De7O8\nLrwsw0jZTTogJ6fIE//GAdqr/rrpVZzqY6jw52aA8aEPVsu1Kgh6NrKfOLpa\n9FxhsgTB1EwcdMzwpwmvbPm2H/+901H88H6MF9aeZpxj06q3PCXvIKAEZs7c\n2VUdFJ3Rjxt6SvPQ8x/cW0XnnLzGkXha+WAzMf8a72KW5bMCzc0mYgXV5o0t\ntw6vTiACpgjE61AUzb0GN2zUCUV6PeV+4vrnB5qcMs6/FQiVpmCcv72MGoEp\n/PQeRP7bzIT5xF7sJkX0QkNUQ76ofCUkntp/CLTdDBvw3kGJv1wjlmNdCm1+\nusmo9E+s4JosQHsRnKhA07yGGtG6I7bvQdItzVy1tN56nDchz9GP3VzoClG6\nvaOzDjdWUs5DJquf4um95yXXk/pm9QCqHo9lgGoxh7RB8qmN6N38AqAi9n3g\n/E74dbXElyupX98V3mkoMWl5X4P5WXfiEhRiod9XZu9aOex7I9XcBLWUGxQa\n+RD9HeafA+XoX7ec9r9bnxeyL4oGqsEsZ5RIlqmbwvJisa4kXjSO7YuJW9Fn\n97bIN4L+gGQL6x0Nx7lHFG9x5ULOiCvb3ZHFnoEjy++XtS4+d4gs7hvMilJK\nwXmn\r\n=BLYO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqm/yswdzAZRkwcMx1xhkkM00OrcuP8QWS5M8qlkwPGQIhAIM7pDvZph07xMFHRLS8VqaFjGkfu6zw0L7DVdkZm8Tm"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.6.0-beta.0_1558200423609_0.6953103029028036"},"_hasShrinkwrap":false},"2.6.0":{"name":"lit-ntml","version":"2.6.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.13","@types/node":"^12.0.2","@types/parse5":"^5.0.0","jest":"^24.8.0","rollup":"^1.12.2","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-filesize":"^6.0.1","rollup-plugin-node-resolve":"^5.0.0","rollup-plugin-terser":"^4.0.4","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.1","shx":"^0.3.2","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"fdf8a7b069c723e343e6528d536a64cb0e146eca","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.6.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-iIy9gTNHjMbM7NDFUu6dkLE/ZxTC7spP3w02R67k6JZJIYAvMUUe38jtCPSb/K57toTEMaJUNa0DahZq0xpUnw==","shasum":"e8a34549483ca8847c8a8c7e16d6a5732c4b469e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.6.0.tgz","fileCount":21,"unpackedSize":2402298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4EM+CRA9TVsSAnZWagAAUZkP/ikHxyNx/vKxbO9JBh3N\nYTGrHXylbxduX9Nvwp19sq4yhhL7OhZ38clsqc8T5LlrFF73/cPJoLFUciDR\nltJmSyrcJ/IB+GEGRcX9gWxPk4gOCNfD0j5vU47ioo/wYrIRzqUDksTUVnjC\ntFg48JTXAEI0gXjlG0My5pb2SVwvop5ks9GeM/G4BLePY8nGasAVRQ937ONo\nVIywMyh+489BtvjxQ2djMzEtQo2YzNDJk9B2aAN68GyVBHpyGItw8YYTFuwW\nthIWxGRB5xKgH8i1AFJ+FWlnWgShohWT0ZKJM6bjtzg/2YdB11tkZWXRZvbQ\nnLvSk2SYt0+cO+t5CEeJIDFJDmD1j1Ce+gUvFr/A8NDpr1LTZSJWxPKsCzCV\nRsKI0zu4ye4/0k16PiKccxLVKZiAYuFJ4TYEazzzyF0uNIVPPKilwUbLJ7lh\ndM+v56lpytLApBs0R8MY9gHtlOKZkhIFvFzQ3CvBs9s8RVA1YA3ZdADYiTLa\nnxbKXkTPK9CH63znR2qWVI5pD4ztLkROMziLRpxUpD6jZdh3Cq1VkPj56jrJ\nNk+69eccJEJz0xbBX79FjzR3jqLqyPHYi3XUoZo6CXU00BwIIV+Fcd1r/QE+\nv35qENcQoW6to3hIDvdFcHIogbdZmduP/7EFpofnuGgRXwgpJZECbvWAhmVg\nRNPY\r\n=SO7s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0q0A8e4wLNWNbuRYSO+mLjretpd8EyE6xykcutXSJCwIhAPgAT24yCFdKuuRzL9+fftKpX3dBTLYQ1JzKx5ZNlIPZ"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.6.0_1558201148984_0.9238504753857291"},"_hasShrinkwrap":false},"2.7.0":{"name":"lit-ntml","version":"2.7.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.0.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.13","@types/node":"^12.0.2","@types/parse5":"^5.0.0","jest":"^24.8.0","rollup":"^1.12.3","rollup-plugin-commonjs":"^10.0.0","rollup-plugin-filesize":"^6.1.0","rollup-plugin-node-resolve":"^5.0.0","rollup-plugin-terser":"^5.0.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.1","shx":"^0.3.2","tslint":"^5.16.0","typescript":"^3.4.5"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"cc2e71849eae9b96558e1f5695dc865323694bbf","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.7.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+Jp09CpVwT4BThZcdTmBGNfJc8c2LZm/Q7RlwuR66vJHbExqcrL9fVT0i8jWq9MpFnPS7fri05EMdp5hclUK/Q==","shasum":"7c036dff24fcdc9e4d04fcca88c6d4e918b61033","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.7.0.tgz","fileCount":21,"unpackedSize":2402313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6CBXCRA9TVsSAnZWagAAQmUP+wS7kEHZRoEIzuAeE3HT\ntFTylCX+zOTpb22IO70UWKfLoIy6RxtsThRhlt/tHbeIuaUof0qDCGjgPaKC\nGloo8h/cLlQIV+3DCrbpjk9PLTH3y2kF0DEUMgyF9Lf1Jjum6x+4WD8KnNhG\nBWcYNH+GMf/MHAsSMVfZziAikvV7LtnRU4+Jew5dnwge0bk8SbPqM5Wxb24W\nMCWh0+/EKiTZC0lzH0FD1lhuP4Osit6DAGKmnIntki8ed/pmfMm/ByOb+hHy\nkM7iHZWnCFzHTY+Ev5V9/GYL9BfJqUQfZ4FZ0yrm1fvIiJiGH7PvCssymesy\nQAtTlWD7ijrAzENW4SEj1nye1s5cwnanlJ5tiiZAouX7dCrl9mwozBhBYd95\nFMKsDlIDH9jepTnZA++s2YLdoLl57nCcRBUm3JYiNKqzngCxDJD0ESz9+6yA\nvwgexbm/NV/WWeLTp2ydBnaU1i3rPiqEBXS7L3gWV7UvzBPpCdB2Ij2+x6UZ\nIseEVRuJVctYmqD20iE8pclmJAywRaAexE4lO4BAK2C7oZzWW0vegxFcHlDF\nxC7lb3RYkdJKkhpCUatat5E33n2MBTEQxeGo5qZrzCtBIcXcYGsEMIv4giYE\nZ0h7YtQ83TNHiEOpvLFDls01WSdQrayxdRlQWlL26o9M7cTPFEtnH1sfINo4\nKr5l\r\n=uJlk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICoeMZLpl/yqCLD11KS5QIja5L+HxY6cRipQ4rg9Mt7+AiBvG+v1BDK343kYNFm8DH4SiADQPyqiYZ8v30bwDrMvdg=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.7.0_1558716502966_0.7030011181270668"},"_hasShrinkwrap":false},"2.8.0":{"name":"lit-ntml","version":"2.8.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.0","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.15","@types/node":"^12.0.10","@types/parse5":"^5.0.0","jest":"^24.8.0","rollup":"^1.16.2","rollup-plugin-commonjs":"^10.0.1","rollup-plugin-filesize":"^6.1.1","rollup-plugin-node-resolve":"^5.1.0","rollup-plugin-terser":"^5.0.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.21.2","shx":"^0.3.2","tslint":"^5.18.0","typescript":"^3.5.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"8c537184138af71f7567767a6a30d772c8fb071f","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.8.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-IPVlgyWvoxfpuZzMytxvmYbiXrSThxB0xlse7zzR/u+gyBGbsu4en5rFcroGfoGmXbEGICEzVHMtC9hlsCHZlg==","shasum":"0540d60b4b0f7fe9ca2a7bd4edd1fac4d731f6ca","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.8.0.tgz","fileCount":21,"unpackedSize":2402110,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFOEiCRA9TVsSAnZWagAAZu0QAJjytCCwS0R7lp3SX/X+\nqUBjEzThwJ2yzde2yg36Rexg+1U1s3TULwqRD73g4Tq6UnEKdpykprCnKM95\nHCbdscgFVJiSDOn4wz9hbUiIdWvkaci4OQq4tpU3Y4DY/Qku4QqsIbokq3qf\nEa0r1U9b3nmEx4BOQPjtt9xRgQcPt4uCUkdxmoOWgNh2yuxcePcfGEpXue9p\nyaV1mYMHLyJudKtzN1EzTbHTuABA8SP833g6ZoRgWToI5Zkx2R6mVNfIzY8z\negfjCbz+mmyFSwf1UtkhYSqZ2TGhJd0ilDNZbc4o4yXYIte9kRYI7bPY3y1M\nvOGxfGKrgEGg/TJeE3hLSOfYy30aqtb7m7FJZ7Vn7ljoo5JUXWDb+pl/L9d/\n8XXItQDuspIUI3fb/e8JxYnYM+nlIZ/iK4vkiHoMXgkwImFH9fpDLqgfTyST\nGrjdInANSXLNCDBojALwAIIOnI6FZ7S6Lw++jJydXmzrF4OKQgbwlXq6g7cI\noWlt5G9h/h7kttqcqUm2vSSYH0DPln3Z4GqBAoKTIzOQdhd3XPdCy36T/Vn3\n9ogTCEPF9kj/scOZTrS96UJ/3XPwWAYPp6Y3eadwcEFpbA89ZvY/5SHdHmmc\n47VYbM7TSPS+/av/PPuHTSamw1mBLAAKTl6Z/g8d1aBSBHj68G90ShqRThbC\nr4q6\r\n=nHR1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD8rzhsLznH+52Y5eXPqPHNlvVvwkcjujEbigclsC7YXQIhAMUFuPKEPZ9+bwmGUgmywPm63LJVWKVdZgy8OBGeR7Zx"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.8.0_1561649441551_0.9048861200330627"},"_hasShrinkwrap":false},"2.9.0":{"name":"lit-ntml","version":"2.9.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.18","@types/node":"^12.7.4","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.20.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.1","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.24.0","shx":"^0.3.2","tslint":"^5.19.0","typescript":"^3.6.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"258ff7addaba57b3d584a3219ca2e81851e12e1b","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.9.0","_nodeVersion":"12.9.1","_npmVersion":"6.10.2","dist":{"integrity":"sha512-Vz1HzMqQjPlYCrcrwOyXjkM46MZcIGudVvOhAIAITnH2rVqgag/OIb0/346kforWS59i9iR3NHwmwMQooY7QuQ==","shasum":"99bd9ad9a8e15475afb8a1aab5a8bd52e8340a48","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.9.0.tgz","fileCount":21,"unpackedSize":2403834,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcnD/CRA9TVsSAnZWagAAzm4P/3CJJHfgsTlp1dcw/7Mo\nCygB91CdcgpPKCUmxRp8VHcnfPYfxc3MzVm5036Cy9IM/Qau5Qg7ISteyM5n\nQq6A2a/D7VN6sYWbkDQM1qIIO6Npic2Rkk4kkpDm3FjNw3LOKAwQ+IxOkYKL\n8Oi8aeFgI748LI/+09lb+r5AESs2FXQ91PShNvRtlyD0sNynrI6Y5+zmPeCV\nSNOItT5XYWivke/d3hz9C/VLRQRsMX1bm9ld1GK9YJ7fe9Aaq0yvtXOFwZ/x\neta5Red1XVwuZCH847lidQRY6uvPNazIf1qRJeQaESh8cjxW4KR9I2WBYym2\nhVZpc4b1x/gS5BttpPS6PdYnP4gyWOREpEwSP43aXUqUO310UEZ8lv7za/KA\nAK6uTCWYFsmdwOMLpicEw9OwaLTcEZGdROpnvfRsPe+iwzBXmnNeJZQDzavH\nxMhtzH5gBMgxEs2SMQa/2Ck/K6dfyv9lDALw4NeAdvRc2JPiFDygj3ANZeBk\nH7UHo3+Exfawc8Fo8agoPRIRLFsvnF76QbyFN90U/j2bvlrI4twmrrI6aMsM\ntLZqkOvjm991a7bgpymGlST0EuJVV93EbVDK8B0wRHTkF9wEsBmDp279S1Yc\nbVnUmchNc+1HZyMKZQO0CD/JllgG7eRuQuxStk7Yi0r0v5/k6EfWNFRBzw6N\nFooA\r\n=BPL+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPdoqK+uNpHJm2XT835a36OPrs1OO7q3YErnAN4I9JbAiAU+tybyfzhR6JdxuFBzpQQqf6d49KRqbd/4WK1vhf5/A=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.9.0_1567781118709_0.07745871095712742"},"_hasShrinkwrap":false},"2.10.0":{"name":"lit-ntml","version":"2.10.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.1"},"devDependencies":{"@reallyland/tsconfig":"^1.0.0","@reallyland/tslint-config":"^1.1.1","@types/html-minifier":"^3.5.1","@types/jest":"^24.0.22","@types/node":"^12.12.6","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.26.3","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.1.2","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.25.2","shx":"^0.3.2","tslint":"^5.20.1","typescript":"^3.7.2"},"engines":{"node":">= 8.9.0","npm":">= 5.5.1"},"publishConfig":{"access":"public"},"gitHead":"17b5ba2f5e426a2cec7b847e141311f616b965d7","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.10.0","_nodeVersion":"13.0.1","_npmVersion":"6.12.0","dist":{"integrity":"sha512-MFYXghwv1CVxEp0ODrgy+QJetQYY60RIbUz/zAmP2blVEai8XcC3s7Cvt/MzTcoqbvb8Vs5JBf4A7LZfNKJcjA==","shasum":"684e05af04058f9d8fb080c7e2857f714d5887e3","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.10.0.tgz","fileCount":21,"unpackedSize":2401634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxBlfCRA9TVsSAnZWagAA2/AP/ieI45onSoHpbn4nduCM\n++3XornCpCip1igQaxpUTo3l50h2mn5tC/n0vZRO02QlOVBZbaRVOiAFE8Yl\nk9Fjwgc/kXNiZejhcd+5+JwzPa6y+W8ybhgo2K3NBTjpa2kDRTP3v0o87Mos\neKx73psRV1mu5n8b1k+d9DH+e9GYif6SaTM9NFPI+dN4+uVs2+IHNOKKgpE9\nyBA0R7k5F2plu4RFodeVDetM4XW/eJ2MJS7X2HRewb6SADhvZoUAaC8CoZdD\nPD/6UrKMWWqoWGA59NwmAhb2LY2PhChwDGPRO2nTl+Z1AO5VrSjHheqFUIyL\nyzq6ZrsDLaUgwElfjrOz8Cwl5aBubHD4bEZrlSUgGIlsKQN2flRHxp34Qt2+\ntE/uItmtS12S4NxCOVAfgMUZI2ppcCiaklo6ErRbEz5Fz9ZQrUgt+LSroB5K\ntioXNLERDz+itzsxdKwX7XN0tN4DFBYLoaGmMLrcUGNxJBh5jjbvXb7a+vgG\n2uhjeXxw2Wc3tlOAg/FVkkZVzTfvDo88FH06xk9nBUY3etEysPWo7AMAG5xw\nq6zCTiRxQyBowjf8bUmx7CnkSsupxl8RUzfYrmyRKuE69lfKTT7L0tpV32uD\nrvdzpTkuVpf00dGLTlwKVVy0WBxIvYCchsc9WhrJWtPKaJFy74tTQFLQCKVd\nNxDs\r\n=l3KA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIP4tyylF++8ZOB9IMc/w9EKCbAsAI7PheOs2P9zov7AiEAwhA0p2wsBTu1+Ui8efHpxzdvK0V2uqh8Bl7ww58wQmg="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.10.0_1573132639068_0.34069802994423926"},"_hasShrinkwrap":false},"2.11.0":{"name":"lit-ntml","version":"2.11.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.1","tslib":"^1.10.0"},"devDependencies":{"@reallyland/tsconfig":"^1.0.1","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.0.25","@types/node":"^13.1.6","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.29.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.2.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.25.3","shx":"^0.3.2","tslint":"^5.20.1","typescript":"^3.7.4"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"5233554f0b093f69303bb23e126413a31dc0adaf","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.11.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-g0Rlu3A5KTbyhNL4OaWMg+63WI2guOZc0mo8SC5p2jS9jWytOGBIv7Kp63nVY3LH7A0i8g/zzdhPApvustmwBg==","shasum":"503faf0161e383f2082705fb0a85e0a993154fc7","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.11.0.tgz","fileCount":21,"unpackedSize":2382790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeG0TvCRA9TVsSAnZWagAAlu4P/2diuRNFe75MrP8RTlyj\ndbPAgNvmr33NO/cRtER8MhTZ6LdaoIXgJrFaA0DhCoaJ33DpSJFXdYqKc3Ec\nJDinEBS2KgtA4wF3ikpyEHden6+zKS2qd7LbzMqSyPcLCTLQ8W3EgitAxlfE\nGwCDghtufBeMk9xCRaiqFsyPqwiCt0ubQnhNlQ964xvEIWEuGsyfkEFye87b\njNFUyONEs9GFmTDKgLqQJaJYOAXVRwFCBRvCdWBmqR0oIT1+B2QTn3h/LvbO\n6mFfXPl9xQXMltmPFLoTpupuZMIokBYSmLYO6uvw8cEo46z9p3HeRwMckZQj\nZHh3DV5A1nJ5mQY1bsCBRv5ZK12+A3dEqyHHuylnaRn1Z4NRuEb8JTX3JfY6\niiIO1T4nt06wml2SCFbQ12Eo349PNyFPEYtuqBXLY+ob8TIpPFgmH1b7EaNa\n838hFZ3Nb7oZlSn/tGswVBedgeqeB+ToNNH4cq9rkOsDQI4oXnZqQ5funM9f\n+1oi9uJ3GBzlNt7nxi7oED7sskhCSut/8NR2b17qXl4hA4k6aan9V0cYnmXu\nFwuI0ZtpbUWeitIfs+od9fLy62pURz8teJdNphVQ2AcUxb5c5ay2KUHqrVJM\nN0DS9XTz/a+lmF1xVc3Max0e9tuRbGuxSDUaELNAVeHqUZ8KbtwkHFY+r1bR\nUs7s\r\n=bt/H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLtalf4PWATguCtCL4h0EoZKUBp57MBiLvepY/md9jTgIgBPA91r0pYWmDS9f0ShY/PZUWDa6+elMLht0i7f4YEEw="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.11.0_1578845422453_0.9280164106120234"},"_hasShrinkwrap":false},"2.12.0":{"name":"lit-ntml","version":"2.12.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"parse5":"^5.1.1","tslib":"^1.11.0"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.7.4","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.31.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.2.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.2"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"919a5af194511361e0675653c05cc34846248708","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.12.0","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-CQz5w6Y4Pot7Ej5ZJrmd5oFWcNh5aHrsxpyCZ4fttJ4w31kT7BEw+6+EsHuV02eBqDDcqll0fwST+NdhJPKmiQ==","shasum":"0526ebb4f9cf726b3834dbf921169e24ce31e63f","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.12.0.tgz","fileCount":21,"unpackedSize":2383054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUj8eCRA9TVsSAnZWagAAjokP/js0ViwUF8oaSfbMvSNC\nnqmohwMxYxtQb9JkTSRjCr5Xefg7G5NrExFD2kIhIjc5TNfECl2iwB8Vnhgm\n1dByMgG+6qXP0rK0n8okcNpmxEs8CGEiILyETbbZeR37nTnKunXMRoeniy8z\nU/hNw34NAwrs5IVJMyx3cGOSKj/UoOEjQ2VFEgABecC9AemQIvserCKAZN+P\nFrKLV48JBxodXn3Ut6Rk24t/lMHQ/TdWKkyivR1AcmucwsrSbE6EHEpVnMwi\ncJNqW7chRskkkka5sMUTt1jIswS9hvOynY5074M/ieMQfOEnRt/3dEeGO+u4\nFT+m2h41HJHHnvRM5sHxTs3uAPII/DFTz0ji87daj/3tZb5NNBN/LtRfuFsu\ny7S33KsCafsB2BEg/+OV+OR5yRUu/5B+0DCzLPE40NjFc1/eIBy0ocQDVn2O\nkg7asIV6GmAjkK7jJWo4WXfKsizNBKBBZkAEBiNlDN1ZGP3ZpjbOmJ0dmBFV\nRC+Ojwi7Q1AHNyjExXwK9EGbvTv+I20sNvlBxp6FdJf5aKy/C3yjklySU7Dk\nNOiESs8/yPr03Ws77Y7OWn0U1Xp9gVKJIwXvR1ZHSyqi+JJhaFvX+kAASJHb\n2EqZ5HLnkB4vw7djoY/2YJ2YnKeKLQorp9Ewi8LF8XF27pN5fgiVijQIEPAz\n1bZR\r\n=isjH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8nztu6W6l3miIjQnzzUnfRpxhT5O/ZXZK+9dWmWdQkwIgXvjCEv4upaEWsdyTPkuiY5VSQRTYAtrQEJAVsPoIhOo="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.12.0_1582448413583_0.014821249767690503"},"_hasShrinkwrap":false},"2.12.1-rc.0":{"name":"lit-ntml","version":"2.12.1-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.0","parse5":"^5.1.1","tslib":"^1.11.0"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.7.4","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.31.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.2.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.2"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [TypeScript or native ES Modules](#typescript-or-native-es-modules)\n    - [html()](#html)\n    - [htmlFragment()](#htmlfragment)\n  - [Node.js](#nodejs)\n    - [html()](#html-1)\n    - [htmlFragment()](#htmlfragment-1)\n    - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [deno](#deno)\n- [API Reference](#api-reference)\n  - [html()](#html-2)\n  - [htmlFragment()](#htmlfragment-2)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### TypeScript or native ES Modules\n\n#### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n#### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### Node.js\n\n#### html()\n\n```js\nconst { html } = require('lit-ntml');\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n#### htmlFragment()\n\n```js\nconst { htmlFragment } = require('lit-ntml');\n\nconst html = htmlFragment;\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n#### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## deno\n\n👉 Check out the [deno][] module at [deno_mod/lit_ntml][].\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","gitHead":"3f2663ebd276adac6e126ae3988840df6d3a1065","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.12.1-rc.0","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-WxeeBKgsYgUH0pSrfFFMiGRWTMVvQvZruL/KfefZhUp9Oq1Dy8cll+TvwOsmSXugWNZbstoUcsDq93l0k+BnaQ==","shasum":"34c7f7f93fb3cc5d4988351f529dff008e0ee4e6","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.12.1-rc.0.tgz","fileCount":27,"unpackedSize":998840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUlLACRA9TVsSAnZWagAAZbUP/0V9j2o9yEQEE/T3v+9u\nv2OUIZc83OEHEwm1LF0LTmI6XklPvI8DnBd9fDZnfA+VhDK1i3BEUApHhN6w\nLJ0bcvfA8g0LM1dTnnTKC8XRgYJoHR8sbh3l1wFx9nmhJm1CPzlm/QxEwr7o\nOZyPbJ3E8G+sLWr60xhEWIohCjPu99jmnj77lJwJxpvuXRXbJq92GpDudOdB\nI+OtU1GWSd4031Rz7IyFW/7+vmF1QgDO5A78iSbwrqOoVckzN7GU1kJkePv/\ny/eAmjqzMZj1ecp81j9B+KZyojoAqrnDkfzdcYOeXRvHQyE0ojtlfA6UP8aL\nqmo64QUl+qr3x+jlsvfFimwe9y7Q7yz3SzBoliZE30dBVlwgpQpPM/Ue416j\nQlWN77IC0qvqrHEvYS+UgBeWXhMg8+NrGZ1cRtdgEjLg6wI53sSx8do2kRQq\nZp+YeALPuq7QIhc7Go2U83jHSYNgL0hzh3UG0hQXmlCFERsdfqhKKeNVOoSg\ncxhuvWdIyI8YalhJa0ks6MjU7zDwyBpZCUehZDAWDKUzkt1aKSbfJfzXHhmR\n9u7qx3X55+b8ags//IREtlXzNTIcaz8eGzgQ3LmPnOraPScNBRDDDnR+ex+p\nXiM0koA/+3Ooufgiv2YtkldemzgmuBMkinckLT8cWElA/na/TUbcoF29n+wu\nm8Ly\r\n=2qgo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4Fi+lBOoaNbvlvfTBi2yUKPE+9jHX93st/suOZPTQMAiEA/WcXB5j7WGAdXNdiznxdnvIVm0JrBDa5IBiGfrQxSG8="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.12.1-rc.0_1582453440370_0.029594070967285724"},"_hasShrinkwrap":false},"2.13.0":{"name":"lit-ntml","version":"2.13.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.0","parse5":"^5.1.1","tslib":"^1.11.0"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.7.4","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.31.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.2.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.0.0","typescript":"^3.8.2"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"fc0dde18f41481dfc07f2da6816107f3b6cefb09","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.13.0","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-vGT/v5d74PNvjYelX7eEdal1ostEqRb6k33EYk1RUCgfN5k2c8F6MGNaf57COj6BWrXaU1Tu1G9BzHVvziCq3w==","shasum":"058bdeaa996ca8c327fd73569c5cad43e272f9b1","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.13.0.tgz","fileCount":27,"unpackedSize":998835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUlOfCRA9TVsSAnZWagAAL34P/2FmGhPFULUsVmPZum6g\nbat5/i9MbvPXVgLXXfpwwoyLM1IdWHpdf6PVHamgoEIwB8R8oY7sQG4Zv5IE\nuv9APP/9LeU1pAI+0nSqRHtxexuDbLb4d/oFTf+k/gbX7Y8NJEirrVY6KrVl\nIboN3t31iFIfS5kcslGuCbbDAgXYFwpn1PLgFzs+zOrqYH38IulKQdDNrQMR\nEqTHDZn7mtkv8QazT6bbtF9M5kuaros20X1DIkWuKmBFxzX+IFy8WFQ/h22W\ntxC40o9QtfuUHtPiL8749fyBLc2kCu+0oe8xB6qRu/ac9BQhvVkgwZTNal+X\nuZuVZ3TH/EW5IX6Lmn7JIMWheLtjIvA6qEh+rScj1YXtvTIUjTwfiwK6W7oc\nRuek+5TTMQAMIQoUq7dCg5EGnCDx+qtGM9doIlH6vFphgH9i7r3h7ze+mb3F\nYj6qTllzEkjsABmwQj/+jPe32TLPCm99OMh5omcwAegyfz4yTHT1+/vAGdWR\nZ3rgDf6eHM+b6Fiu0NXWZbcFQzzXqw3m5jB/LBcpOu6kFf5oNFXOWDEIo5ND\nPmV5Eb/WlOF62BdFanHTQ7gumWpJ1/rcaPPV1mUYkWujZm0FF455JlHjtFUd\n9T7RHnkMRGslspL6v6iWSVB7bF/fXovaXmyQ8Cl7GnN9W7bFuhmcQH9qDTcC\nAAjI\r\n=6G0c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrWYGj0Y/9ZvQwPKCjA3PjTFWWc06MDQCb60ox6h+DRQIgRIpYQwXgtYZYhgPQ4Zx/3rW6CFamNBai7Y81E1AeqQk="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.13.0_1582453663087_0.34244358024587784"},"_hasShrinkwrap":false},"2.14.0":{"name":"lit-ntml","version":"2.14.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.1","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.32.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"d929212a7f44af47be4b0831eb1fe00a05f683fc","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.14.0","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-0rabLTLeGGgYt/yQnZah9oUEFNC8KBVxegiLOiZQYs0D9oo1Gty2tZHvrEnSC85Z0snH7DXx9uxiIMGZXXwYEQ==","shasum":"08ae1bf48bafba364b9cf750fb4a09c657df6d0e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.14.0.tgz","fileCount":31,"unpackedSize":1015440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb5ydCRA9TVsSAnZWagAAlmcP/jUz10LwIpOCyJs2niD7\neMsrl53gCbs08zSYMFaBN4NFsrpHNe65Ls28DpuKBJD9KZPhblCmD6KsV85u\nqatnrviZ7savBUp4aa1zt5ICdR24IP2P9hBY2ldN+NSNbomt00DWfQcNBxsi\nVAGwjOZJGlG2XZc/DmBUoDyWjHBSZqGdUMzvElnLrWW4TGrcrGlLyIYE7L4K\nkEddAcgmyFIwATvHVGCozuYYIPevt7KSjrKPlHq+QltaBWjYgwqyHMIOL5PK\ntmM8rCCWWxIhAWGVWUK0cTJjIac/XXiAaGxUhf97JYwr1e1QV2NuVdw8N6Pw\na2ctdtCpKIUgRATdyJ69gsslRAFen27C7nK4VghY4DQ14UMb8c0lPlOJat1s\nBjEinY6ea/f0PZpHcWFX+e/YzgDWqzTK8CmPpa/r+pj9xjhgTmn+b0a+vOfM\nK0bgWTRGdNIY5n/fp9gfChZcCC8Mg7uaaWKL5dwp6pR0/28iC52VwyHqU9LA\n7tZFjyx5WUKvZVWCsQilidnHksHK/GG2hetZHb42Wo3pFtb3BK8EV+cF0B8s\nKvVVP2d1MfnkDgF+GNqyooQfkcrOJxAFxtAZReQUyhG06uoSu5nEHLdeTxy3\nbVSTI/c0aewnKC5TW+Noy2VM0CcCsWg3G8vD7zuYsgLhLoxtZKfI0I50L8Qb\nJCWi\r\n=ODXP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCo3uJ+cmxAQu1sQ60HhuvyeQEnzTCiYWiIsSNZ3RwaVQIhAKqCKBfSk8uRq4MwZ5U8ZXT0dlpRyEQr8B03ckGB7+nw"}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.14.0_1584372892498_0.1411331230692534"},"_hasShrinkwrap":false},"2.14.1":{"name":"lit-ntml","version":"2.14.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.1","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.32.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"3860def2b13ba9c01dae50c8b2830742b8d996c2","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.14.1","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-8LaMoAQzFj092cMsoQcjMLjG6+VPAzbk34GR/eFJDQBUUpNIEj9RCMem2ejeCaTR65YDfuKoEp/kF/WiMMQhEQ==","shasum":"4144ed172093458c98ef755676ab8762870557d5","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.14.1.tgz","fileCount":31,"unpackedSize":1015439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeb7EDCRA9TVsSAnZWagAAnkIQAKTQ7K1DnoLr06I6RViG\nZY84eDcBMiwFVw+VY+xG8tZ7XQYTe0bX5SIcaZ4j5xoW7EhzKOPBPgqAkQF0\n/GvHF86vTGDlk9keR5FBe9Vuy8cHJYaUayFY1ehq2QUETx26z91GVFyxZPFk\nj4qMSwjq+ame7rMcrCjybRGjiE7NjRohi0S3y1hUbj2uoBW1rynP3Q9I/hF3\neTexDjMSrGS1DTsJ9+SkLY0Fkw3CbbGdnZaf2Ojt/QGyg6B3vcVdfhloRkh0\nRO2pGu2fOvcbzp3IFtuNF74CHmNFwDXUTLlTyvYhdGraD0CX61E5TqgtD0S8\ndCP+xViPNcVHPb121ipQGrW1y+p4nNnm00Jb3CgRPv9QG1gyjLzQROr7e7St\nMI5dMpThf3rZbIk5ak5GGLuwkwS2PEoqaCuK3PvkDDqknY4b+iyVDBYNDCQk\nAqCg1cbQ8GGI+z5vt2zaG/a3m5L2Z7jtb8dN+RLETng2BaR217ipq5Tem8Ti\nsCsu1O/fdB5A4v2PWCPeiayKBibxvXCKx5QLJF3M3fy3zQC8cEQVAkKNc+IP\nwE4JiCpC3t4f5cHi1ws21e6xEpKo2Pigs3WEo+UrlpT5LffEPdXLzj0bYfcO\n6yrgMdcu5bHS9FY+RQf/ZfveZ/Q2JsNHwG6sRLlkmYH1aA8VbZY1V6LRjTbW\nx+W0\r\n=Lg9T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHD0Q0WgNQryueIXjHrrNcdlHEZQVCKqX+eFYfujvukbAiBPCZUeBN+6Hm9BSYOYTKUEAWacJDk2FuHX3UwMUcGhwA=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.14.1_1584378115277_0.01620258971953281"},"_hasShrinkwrap":false},"2.14.2-rc.1":{"name":"lit-ntml","version":"2.14.2-rc.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.1","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.32.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"192806ee9336551af1da41920276e1f6656be0a5","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.14.2-rc.1","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-PB/HlQnC9T7HnpnTyTfDARdnU0uvlG2LlbUh1bPN8xAmWl9/QWBwaoEfCKO1w6z6mwHS4nAjVfAxPssKxQ3sew==","shasum":"a97266d0f340ca20586a8de3fb9fad7b0e63264b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.14.2-rc.1.tgz","fileCount":31,"unpackedSize":1015436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedxxBCRA9TVsSAnZWagAAiu4P/0shywjigbo06sHCmFhS\n0f6ykK16dpSORCNScD2f54m8eCGuy0oKCTZsvjJ5syR+5Q0eCt16zdRQY1DO\nSzmxpNHjk4fgSK5bsjzGtC8gJv54/bCteCuvw16YNsKJdySy1+1Bh19UAAQ+\nA9//qlZEbrpLVpeqk92vY1S51gaOPvkiAPCmp1AujyBfuKZTHTj3Zx+HkitB\nPP6MdXm5yXrmsxaWPStoBehbjjGEEHThFpr8gLj6r+3BkFfaCR5fQ14CPvdL\nbFsr1Yr6EGxyjs0j6vWq3ZyeLpRuTDw5WnfUKf6UlSiUXG/J4zX71IYS4h3x\nv+P1riWr0+yU2iM70ECYpY/ZoalH5InMOaCfcfCDbL6r1K3RVSxiV1xSzCDa\nO+G635hd+DLEu7gxFYo6+YGnsAlBm79fkny+nh3opEL5t9tpEPuML+bLXdpI\nCo4R76llR5+0omyN2lGATCfiTPcySMNZa5yyplOQlsm4W68OS24rJ0VuPkb2\nb1TmwmEGxpyVCeSYB9o676DqSRCwJgUd7Hkzuixt3WAC/HrYZJD+yR3yOY2x\nEcJ7++6ptcpQF925vt3ENWlDUV9zwiuOOYNvvkblyCAleS+mLv/nnT5MFHoN\nT2I0VPHIDCUUye9cvG+uHz9Ay75ZJ4mIPczpLo3YtFvWgCQNLaBAjLKsNTC3\nLQ9y\r\n=Yy7z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbdeUO6aWYwZ+97mCLeKcX5OdIgUYHoSROIvKo1xCE1AiBb+16IB69G+3RF3UF1x29QYh8RQeBrpbikgCzVVbBqPQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.14.2-rc.1_1584864320688_0.7408557196220358"},"_hasShrinkwrap":false},"2.14.2-rc.2":{"name":"lit-ntml","version":"2.14.2-rc.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.1","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.32.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"1ba1b97192036847bfce6e5f96199d39dfdd218b","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.14.2-rc.2","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-lZ2Og4R2/5LFiniztlgm+Sp89N+3HMPaTAvtSEKLNXyA633h7x22nfmBLuYRK8joYB28oPZTVQYKjCOojvjmMA==","shasum":"2b5e5f7fda05553ccc0c105cdc4f5f1e7384a31d","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.14.2-rc.2.tgz","fileCount":31,"unpackedSize":1015436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedx9dCRA9TVsSAnZWagAAo5IP/0QJBCTmP/qPS/2qh24V\ne5gvyxvZO26Srj7N6huuniVaKHIyB4G+7cNLy1Cl6Cs7KHQ7HYzHdE8CfJjV\n6Ke6bVTG5qM9zgILnLebadtzlsHJJLizNcf9/cNKoVIAxTx0XkyEj+8HcK0U\neV50P7Ktz7VPu+3G9gcvqyD+2lDIiLPJkYD07Th0Tz6oUUIneSkeOMJCzJOE\nGBzMwTEQkoxzPCQpL33bxle8+M1YUbO2DTvMVWx9XaDkJSd2kXFoe5hirbcF\n4dmMYiOKRc9YXbCyixyzaAC96J26aRPsj5lO2DkZdFE5MT+RAKkxeWLs3aZl\nCuJGvQ/tGvjNTGaC9KYqtHoty3E7dixhn5kKVeu0m763eN1k8hVvOtAw+uJ8\n5nelFqqm6llEjtn6LTRYthtv7thftJJG4STqxIn56knwIPahGx7H1yQjsn0I\nu4Mdwr9Ppm1warcvuHJObVjMnTl6ruZNXO52oSs9e2SNXbQurh7Dh3TMfs3O\n0Ylz630f8vlVUnvgXm/pKcFsgVCKYYKGTfqCho8tjZdPrPNeUm5/rpD9Uc1G\nTfRKrrwVidayhma+ns4vkfbCbwx5SHW74PoF6qT3+RJCo8bqaM9uXqURSmsQ\n0O1hQInpFv2qlPNlbK0s6ajSe53eB4Nj89cNgfR0HOvEgX4blqDS7bbNkQ6F\n6coH\r\n=Pw6B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEj+o+FHQZ/j6QwHoj3KvdEUqP3EB0OmhrAcCX7sdNhNAiA8j7eoTv/t2QzVhMQ86rOEphAXff6+hxVuta7tXHsZfw=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.14.2-rc.2_1584865117112_0.2603729766648277"},"_hasShrinkwrap":false},"2.14.2-rc.3":{"name":"lit-ntml","version":"2.14.2-rc.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.1","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.32.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"51945f1943a8702eb03969eecc2fa8a8aee8c1b0","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.14.2-rc.3","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-l104MXNJDU/gph7wv62+dHi01v1yGhcrKxjhUH4qjsa+78VhmEdWWkNfjpAYD8A+xTnZnNy+dm57EOnsMAw8dw==","shasum":"b535ae24f7f8f111111653a89020c3539ec50fd2","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.14.2-rc.3.tgz","fileCount":31,"unpackedSize":1015436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedyC8CRA9TVsSAnZWagAAidoP/21mfIH+VYrhdxBFKS5Q\nE/6XoabbbAOtkuuel/bvjfDgaqZSI8X0+4ijFTfWGOZ8EXQWqivYA70Tp9TA\nUt9EPq+vj8VK+z7K4G0zYQhOEmEn+uEjwAOpvX5wFwM7VwibgVLDpKPdLOD7\nsxvoMZmGkzsVqibn63Yw4hovFIdHgRX3tVc/t2uhUsR4wYFibxLZijWuWZ98\nmYWyGXBHYL9lcZSZwIs6S2a5+NEWONBU1GVHOZmRrbx4hddwd4RrLq6zKVXc\nbJPCYqOQoscSIRYfTDPcqCVamGmAdDIofL4AR+ZN4oKmkjOZgGKYA+tccYBX\nk2+E6YtCUM/SrpTnIYOFb3GjeTyaUl0SUUkNzJIZiqHwxvr65IZjHUMP+1pU\nqTMT4yDaxOLHx2vaGgwSwToeN27aRCS3yiJwFqiZL5Y5IB6cJpIQNcsEwwCs\nrDpkMhegAvy/3jK1okBSzGcESbZfBiW3JgFVhQXQGZtC5dQG83sBUbq85tW/\nufwClegwE/l5xYZAiAyv+pQWfdOg60FbpcX86k52paBKRGciuYs49z8JoXrD\nzFeNMwPr/C9Whdb6qzhX+l9MmqzVweLd4GfqBST7CjckF4uHYiHfxIcxZON+\nUDJ/CVqLTqCTAyayqZZB+0VKBfsDVoXl/T9JeBlA9Nn2TPn8v4fZMfXh0e9n\n41HC\r\n=e7+n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa9IGqMynwy/0GWL1DX3sUZZlNi1ywwUew7kB/Ii8vxQIgJ/LB0ZE/f9YMSSexiSuyIqsT0LBYxGIR5ai2WlWH7wk="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.14.2-rc.3_1584865468349_0.38785319886855407"},"_hasShrinkwrap":false},"2.14.2-rc.4":{"name":"lit-ntml","version":"2.14.2-rc.4","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.1","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.32.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"1bc35f956d52daa236f4a4026f41bfedefea49a7","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.14.2-rc.4","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-/+oHZn9WF/+eFdLxRKkONCHhw3XNDKx/O3d+Ucy5LQTwnvvb6KylrgZPwU9Wv74jAmO6p9V2PObb9zGd+8jwvQ==","shasum":"a241c803b3e3b94e872909d0d8fbf22cbe4cfb5b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.14.2-rc.4.tgz","fileCount":31,"unpackedSize":1015436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedyHxCRA9TVsSAnZWagAAKtYQAKLO3/qc/XQ7xO8g31XL\nokV8r4Ie8IxGoV/ma7qmUVYMF9z9xxLRVlu//er7Js+l2aFxtQIWMpa8XYJD\nA42gOl9so9gXxn54YAVxBJpiCOF4iA3/LIBob8qxtbx5NG0WP8dXP8nGSRd7\nZlUAtkDwYXCdrj4nctFb6rP6ftUznM89c0tsJRYd+PeHWL/BhwZHTmZMFvTX\naQx6pHO2xu+APvGlBNEyW04szYRHKtdtRQxidrdIIFWGjGFRP7/3UcbPSwUX\ndUVquRpQoLjBtw91TcpfVzXwHTyD3+YkjD2zpDyFG56cL0kk54Csx7nUvcyQ\nCieKxwGtq6DY+/mCFQErShFCxlDP5Lu37M1p4pgdqLD2CsrMIb0Olmvz7r6B\nB5S/YPiyioE9UAJEFPbxZ+5WOIM0qaNQBZFRK+M20SUnzDxngn5EWdf3qXe4\nUCFCQNFqmi2VMzQu9YcnBV0jmbmK+xZTHHF2e8mbiuvzoUXnIsU8Uz9DhALo\nE0F016bTSINxKjdIrp0aPkRvh7dzlIuoaf0zKm8H6HtXqYCet5ePYgJDbiVY\n9gGesj4kQC40KfbxYXuwH9s8mb1jhG5tPx/7bMX6jPwY0Dw5LnMosO0VuQwL\nAWEmpXg9BdlPHEzsBP7UIdPFNU9qDgNI4ok219Flx/PjOQXQ4MNuLdbzp1P4\nBD6i\r\n=kQmv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOqqFh0In7kCGXM/DEgq7dBm61Gaz3y2NrtFqvUi3RXAiABPBrxg6TJSXytUX1zZwnRpo1GQi/qDybzPeE9/YP5Gg=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.14.2-rc.4_1584865776668_0.6581496239338138"},"_hasShrinkwrap":false},"2.14.2-rc.5":{"name":"lit-ntml","version":"2.14.2-rc.5","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.1","@types/parse5":"^5.0.2","jest":"^24.9.0","rollup":"^1.32.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"73c0d03f8d7c3c348bf0bfe2069c884f0e2c65dd","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![CircleCI][circleci-badge]][circleci-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n[![Coverage Status][coveralls-badge]][coveralls-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[circleci-badge]: https://flat.badgen.net/circleci/github/motss/lit-ntml?icon=circleci\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n[coveralls-badge]: https://flat.badgen.net/coveralls/c/github/motss/lit-ntml?label=coveralls\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[circleci-url]: https://circleci.com/gh/motss/lit-ntml/tree/master\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n[coveralls-url]: https://coveralls.io/github/motss/lit-ntml?branch=master\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.14.2-rc.5","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-LzHXXlfBOR/WkAhLmCSW4OGxfEERtit3J2Y+YHUcMJEsfeVH5HZMHGexXZXKHt3tXfrf/Z1cg+5+EWS9r+Rolg==","shasum":"cce3665fc4ba164b710ba002f1a0fae13df200a5","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.14.2-rc.5.tgz","fileCount":31,"unpackedSize":1015436,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedyMhCRA9TVsSAnZWagAAbe4P/2SPNq8iPGev6/uxwb45\no1+ONScmI1DwKo/eoso/H8N6rgCgTZC2rQexBEOA8Bkro1hhTvGaDkmKrGcM\nVD+o96cixh5lhSSnjYU762Oa0nHr/70oF7/NQnSl8m+gDX/6lvvxtZi8dc+f\npuq51vWE31O7j1Y+2Vq6IHUk3t2AofhpSjWKHVBcvBrlSjFPrGMfCkMuA+by\nqNi1w0JZg6qiq6MiiZaZL5iD4O1T+hMmTuKMWZxyt44yVIQWh/rrcv6EBHqa\no2hRitewXT7owBdTtUVxlnoo50X+AerlCeVZa/Xk1uDtkWDqb1OMUdvhPtU/\nVthSQrZSiTrNzBRggXwW2jP8PzydBjO6d6Dzfi1pVp0iUlGLdU5pxkEjGysz\ncc4Hsdb+z/0ZNrDlH2GUrDUVLINGTUAiq7cXEhW9eaS8KXuINnraVED7eTYu\nN7cSZOgTRXu3CGnBxwbDkdtLAeW3uvlbJirb7XeKT/RUu43tzt26S6hSUg6c\nWThD4zwdgJqsIshnm81W4Sj2SsP+2tQLAg7ViBZWh1dFzY2IWotKx+NBZFkZ\noD0gyw4rYvlFFJzsxG4ATDnjfWTZe+5fdceYaPzgDqF4R6+b0VDqAlWfhEtV\nz4wEzVS8Z0+q7axXnifqJ7LoULTjok9uPWvx+sDy06FnVzVVp9oeK5eQb+3F\nIE6e\r\n=8oDy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFeh/zNqrd6SaxF9tpfelHG7UDE4CUs/gKjtMhGd+rOEAiEAyjgfv5O9ERKPPjiTdx0drW9J1ApX1SDFgFK7y98gk2Y="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.14.2-rc.5_1584866080544_0.7003527156394302"},"_hasShrinkwrap":false},"2.15.0":{"name":"lit-ntml","version":"2.15.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"nodemod":"^2.4.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.9.2","@types/parse5":"^5.0.2","husky":"^4.2.3","jest":"^24.9.0","rollup":"^2.1.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^6.2.1","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.26.0","shx":"^0.3.2","tslint":"^6.1.0","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"f8daddfcfc385e26f1e991d22fd6e06b897c721a","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.15.0","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-SzLzThcISyLbkoFRz5R7C94itV0xbPbbbXVW26fZJjBUV8nB0vsc7XcxCHGsYhdN83ryYUFf45GQM3CCHOpWag==","shasum":"5e3b38c34b2ed37cadb3d9a3a490210af39d42d9","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.15.0.tgz","fileCount":31,"unpackedSize":1015298,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedyzQCRA9TVsSAnZWagAAXcIP/1ve8OPk5uzfw0JEzb6o\nm4iVn8VeNWe/y92qTTcZEzqXtAzXOtdgts9/YvPYOeiOo8Fdvg05kZry8xja\nHU/qVRLKtDKQuyE0CKCSKAOnHtklgpJx/YE0iJtgUiNhXjsnt8eH88bLgk2C\n7+DChfFNPvZSxdiRsmxhHOOx5fmrLEdX/uY22k5t3zSrB7B3DbApw5f/IEUx\n7lLIFd37TM7f+KwvdubKJmpFx9/4lAW/WCMr8sFkbdNhO6TkfErWBvjW3JDr\nWbTZuLMJ2IJLW7QpYY1u6hPXeqV+TgR0Dl99NRmGmGmlEodvlDTdk+sXfiSG\neJb6893Dtsg/W7qGVtwHHdAfISVyx8ZTlNL1lA09lGSNr8QCom2luA7VVe4J\nezr8DpyHhm1sbBMvUvhL9UskpYANF5nK+FHzovf1k17wPghRkzHEI/C5mxoG\n+UDWUgT9xaBm2XQx+tvobES5bAszXoAfSp6+P96RJhHfKKAgnZ5CpwU6wTaZ\nk1cWwJqXTj1QL73VwDu8lh9vURSq8KghXeYlFcOE3tyfySY1oJ8kT47Osg0w\n250hbP54r2f3BYimWHQlAeZcZvwQk1e6bt2guBBSJbYdiro5QU1q0pKjjIDo\n5/YPggap4RxH6NzwmqfJ3Q1M5ZwWkxR91PZt3PAbBRuAcYn0/vQeYfp27fUr\nGzPc\r\n=goDM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9Wei6rodUcNjYjRc4jMJA85YXiH9+EaLVQon2p627QAiBwyjywleH9oj5SxZ70fwCPg/NAhPLlcsocGmwPxfAukQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.15.0_1584868559799_0.393755871850465"},"_hasShrinkwrap":false},"2.15.1":{"name":"lit-ntml","version":"2.15.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"nodemod":"^2.6.1","parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.13.0","@types/parse5":"^5.0.2","husky":"^4.2.5","jest":"^24.9.0","rollup":"^2.6.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^7.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.27.0","shx":"^0.3.2","tslint":"^6.1.1","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"2862fe62675c0a0d94f5368e9bf4a7cab766c03e","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.15.1","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-DHk26pOaceoWCqEG5FkySc7IlFsCxRU1TuNNWeZSHEH16hKp3dFxc7XCRhJiBv+gFrfAJarhys/s8wycs/IRUg==","shasum":"6755997ca8f36899568f250047837cca2929ebae","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.15.1.tgz","fileCount":31,"unpackedSize":1015506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemthMCRA9TVsSAnZWagAAZW8P/3HC4HaNtIcIW3+Hr41r\nDLqq0VjCmev0ZF0nwVJT/M3sTdt34EpVfkDc0ZuG5k4iZOP012nLe7fuGk+u\nneJKD2T7q8c9JIhw+zwLcjpT/GGqQaU0CZQ82m9lY5r1lpmkKV5c5GE/Wydw\nSn2YS1qcS/vDRqz2XIOodo+W9iQyVB3bKARLh/XvID8yvJQ/JHcDScftOd2r\n4FWyLGp/+IdCVCzDm5cqw38L6lBIjHZI8e2oAjfdYqvrPu4WCA4jW/2cTyxi\n345xH7lwneo/OeGuCubDCLGw5pMlEXKUavctwVsAid1PHSyjHu4O/y55F6VD\nLwHKAdE0Rb/ObLKX1CdR0IEix8McjZg7zqVc/9Y6nEKyi8r4SoMRvDvgOFs8\nl3jBGwRVw8QHIzPl4kefefA0RhvPCePchcVX/T8ho47Umsbl5ESNJuGZd6YV\nK1ftTsSHT3CQRYhnbCatOKPTsHoT6q9ZQvinQSNt+FRs3T35Cyy7gvOwApEU\nCN/yhOeG0L4JYn6rJ47axEQDPJZV4wNnOJnImrPKJMXIvxkU57wXO3xK8BCx\n32SMxmgCG4OTcNHg/AtiN+sytY/B+7aIaYKoQ6/gnaAlsInLkvBfcdASY7Oc\n9CWSvgYw9db9kJ8HU3vCoE3DtBrwiV4p9RjdixfbwQgYnrTc5SUO9007PgRM\nO+MI\r\n=fYla\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPXx8yYB36zOfIVUvlnmyAZU0hx13N022J2Ihsxk3OXAiAkXk82eLlEriNdjkp3Le+Zowi3HPbFtT0QiXL3w3KiIQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.15.1_1587206219425_0.904094346097216"},"_hasShrinkwrap":false},"2.16.0-rc.0":{"name":"lit-ntml","version":"2.16.0-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.13.0","@types/parse5":"^5.0.2","husky":"^4.2.5","jest":"^24.9.0","rollup":"^2.6.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^7.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.27.0","shx":"^0.3.2","tslint":"^6.1.1","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"8c4ec49239dd4017248934e9fe015f528b825102","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser](#browser)\n    - [ES Modules](#es-modules)\n    - [UMD](#umd)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser\n\n#### ES Modules\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://unpkg.com/lit-ntml@latest/dist/lit-ntml.min.js?module';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n#### UMD\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script src=\"https://unpkg.com/lit-ntml@latest/dist/lit-ntml.umd.min.js\"></script>\n    <script>\n      var { html } = window.LitNtml;\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.16.0-rc.0","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-94f+jMCXI11SARnCcwlyJvINkSBLtMFzav7pCjYDEVCDpcYydZ2nTGUMywpMkH+I1vRS3h3rCHo9JEzFttyBIg==","shasum":"83b7c260ed1fdb64ca3f99e525b5b088c05192cc","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.16.0-rc.0.tgz","fileCount":31,"unpackedSize":68558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemtteCRA9TVsSAnZWagAAtI4QAKJ+YYEoyFhJOv/Mdtpk\nQFmnj3KHN0eSmGFdNel2aMh7LyQZSAvAmgaRM/1yDVTIJC8jGmxsf/G+dZbM\nhug5n2c8FmmLFzuxkmwYAzsA1V3tvI/ljC8iVC3szhXWxl9FOBRbxlUJY7x2\ne/eG6skMcX484dnr3Q1KM7oD6rzvbRyi7umpXofcMWPBzuepqEtsCPPMUR0z\nXSteWUruVK6z5TKbX4X5H9xSwiYRTXD901TD8Scm+MYiA3qxOpXFhc3WRirw\n/S6gedyPEJlICk8SACYaxSBKVCblrnhK5h4h8u4baNWXUId32jpyyKd9NGkZ\nBLiQYKH9EGYF2RGFwRC8U/bp+G4aBeVtYfT5nw4no8bJSxe7i7x4xChUMoby\nJo/ak2BXupSKPk0X38F6tYsXXLz8eHxetVLwPGG+yyOIkq/M3n3FocEiNxv3\n6HEvRZMBNWlHKF622WLVCX1yS8/GC6G0sOn5igq6CNCxQRWu/2Ps229JUiJU\naU/dW2vAaqleKpzux3Wdo2z67dh+b9+7hQtLQMY3f3XGjEUiN7VuRZZCxxNC\nbNKyD3lVx6wwLjXnWTSp3ybFMTR5GeyiOrjIJ3D9+k39+Ku3XpQJOxjJcspU\njcvYvUZrBbDl6OrtqYM1IWIQw/2rtjgdLNX4DsJ1x8E6e4pVehZwDpEQ85ki\npAkX\r\n=Lwm1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3y/ynQhUNI7u6Q0U/9g49PtdzVcWC5DELyS6BmUAY5QIgKGnq5ThYpFLbMxACBrD7KLv+KT+QT75nwwKKuSIRwl8="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.16.0-rc.0_1587207006192_0.10789726923668685"},"_hasShrinkwrap":false},"2.16.0":{"name":"lit-ntml","version":"2.16.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.13.0","@types/parse5":"^5.0.2","husky":"^4.2.5","jest":"^24.9.0","rollup":"^2.6.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^7.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.27.0","shx":"^0.3.2","tslint":"^6.1.1","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"591897551161970d6699c9e4ce13fb977ac64f83","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.16.0","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-zNT6lYb6HGzeSGlEj9CB8YWOj0hVsvgklqwaHvi0tF71MTwDZNrv9EAPNo/beHEfts8NPuZD7R/TMjwDddr9eQ==","shasum":"7a67d891966c0f2043330acbc6055f5cd84203f8","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.16.0.tgz","fileCount":31,"unpackedSize":68553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemtyICRA9TVsSAnZWagAAUDMP+gPYgll4UcIAePQUDhvU\nxqeMNEI7LC7bZVlN17T1cVL7tppe3VmLMErVbO1nJoF8trw2U0/rS+J+q/jv\nRptHQu167yEE8aEzfv4aSxJeuv2T6swx0hJxqCLwvfa12g/xdRGEmu/DwutM\nm0HoO9NIQg0dwMxaip3h6YDYxXOcwW52JyHtJb0H0SOvcKyt8VLw7pru9UxC\nucF1M15jSRkgHY6Ob3+gexgkpHc+PRRcpyXmg5gnA9NVrW4qHmoxGJ3H2/0t\nT5l7X95dwK1lnsQwPCQYkGBaRLPY6KZHIJONWxmTFhDklDwqM0tKSDV03hf2\neTmmEDqXcptc1pTusPQo9we+TEY4QD/L7VvrlAeEonFBCmk8sCSM/8ygCsVj\nGCLxpebOukKgJ7gG+Fj8bYova/rOsgkj+W73s5fdGca+VYsscasnCSPNc6BK\noRVwYtD5vKsXWNtdQoDQk7MUHcSXHsLnwE8ad0XAxKyvLj7/42ZETZDrKjP6\nM2geyTMxJMntL82NdLnD24kYqqQOQdfYCq/OInnRITPjPw+ZriAsU5MpcEcH\nbrRW0rY9uzfV/I83/LeFQ738A1Wt7I/6bD4yzTV8Lub/ItVa18ao2PABRLpt\ne2dvHtxo5UElNV66NjPAy7EkhdDlay+ZfmDrIiHPikXU88SwJseUcxrPOz0r\nTGDh\r\n=Dbp5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHT2bFdhNmNzDuPy3wN7ScHykVg9D4MZg9HAHEvZuaZsAiApgBGGDQoWkkrSQ4HbjeFez5Z13Mu7ZBq1UD2rjPq4HQ=="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.16.0_1587207304348_0.8936294302273118"},"_hasShrinkwrap":false},"2.16.1":{"name":"lit-ntml","version":"2.16.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^5.1.1","tslib":"^1.11.1"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^13.13.0","@types/parse5":"^5.0.2","husky":"^4.2.5","jest":"^24.9.0","rollup":"^2.6.1","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^7.0.0","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^5.3.0","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.27.0","shx":"^0.3.2","tslint":"^6.1.1","typescript":"^3.8.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"c62dd27b5fcb559623665d9b976085c9991c63d4","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.16.1","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-/GEAN03HOoqhTHocxCX9cBiXrZupMsfOnoIEsXsnW1yJ1JakjMnoO7knrb5igLyQGSiDOUXxFm4Agzl60YZaVA==","shasum":"191d1c8515568fc853ade1867272193283707af9","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.16.1.tgz","fileCount":27,"unpackedSize":40691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemu8mCRA9TVsSAnZWagAAW7YP/1AZFscQWT5KT2EeHTlx\ndkKuwS3p0T1S7QCXlP3bqoGriBD66tZTN6xNPW9o0y4MyveQv9yqyLarbKCC\nYTfse5cFT1PdUtWg5FQOPA/5KLTgkOW6RE3DfeGLyboCAy4PByeH9M59fuOH\nwLPbSjBVAaSfJDY6v5fgJIU6L0gKsWpljczcsCLQpkp4Mc2xfVJntkxFHcYz\nu64tqFdBcejYnPbtnjLdIDg6BA8xJo/aQeHqe3cVH5E7HAXVsRMjthF0dFL/\naTAkTsTnBVbfLwuE37B9ZvY2cprw7AyJj0+gZofF2EL9kHCzbRzsby1l8wnH\nH3velL2++xr9ro5xhM0zx5dScuwS3w2OeCCPrzYJCAWhxap9H7hX6vJ4L1dx\n8sSIYBSHrWx9i5tkqyDK6A9+OCEJyiDpkEeGGRR8azIEJ0HvRtVDQKKSTqTW\nUHxw98pdk2b4Nza7t1IqvjXoLAQPDhHg1iJszG1BU12zncEIJT61AsmmAgAB\n+GWvOrUulwZeK2IKe5OIXTFVjGE3XlPwSTpk8NBP2NoYZOIoxtIOvUkQA1fc\nk08R9tJJvVSKTAH04L06MaRzTaKGgsoo316Z75D5BSalUhTlO9xAJaIHsQsz\nfK7faZZjZaYFzZqNMXOtWLepl6xORZRG5631tfMyOgwapz50op3h1g0zs1Mw\nqJUn\r\n=1sJN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGwmXaDku9vSrQuqduETJhU9VSLVKRGCc1rmmsUgcLIaAiEA38EFG6qCK2ki8KeGdKT8r0UtlQ+nRUZRli+h8pwaWIs="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.16.1_1587212070052_0.22965434870075385"},"_hasShrinkwrap":false},"2.17.0":{"name":"lit-ntml","version":"2.17.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"main":"dist/index","module":"dist/index.mjs","typings":"dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","build:test":"npm run clean && tsc -p ./tsconfig.test.json","clean":"shx rm -rf dist/","jest":"jest --config ./.jestrc.json","lint":"tslint --project tsconfig.json --config tslint.prod.json --format stylish","lint:debug":"tslint --project tsconfig.json --config tslint.json --format stylish","prepublishOnly":"npm run lint && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run lint && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^2.0.0","@reallyland/tslint-config":"^1.1.1","@types/jest":"^24.9.1","@types/node":"^14.11.8","@types/parse5":"^5.0.3","husky":"^4.3.0","jest":"^24.9.0","rollup":"^2.29.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-tslint":"^0.2.2","rollup-plugin-typescript2":"^0.27.3","shx":"^0.3.2","tslint":"^6.1.3","typescript":"^4.0.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"e4ac07d1b4ced3731fd46ff3ad78585d8fae9b0d","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.17.0","_nodeVersion":"13.14.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-NLxNGUYsj4Beba7YkFAv7DY81SSXhPlu8dvgrmmNe1Y12VgZzunYFy8xK4gkUxzYo/RBJGvY1Wmou7LoVlHKLA==","shasum":"e81f379b3ccc3414c3201cc54aafd2e6f072daa3","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.17.0.tgz","fileCount":27,"unpackedSize":41054,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfgD0yCRA9TVsSAnZWagAArkwP/ixBQiMlXDXcDsWoSCzs\nT/RIE4WHpLI3dY+hJHwxy2Wo/0IeIaLTx9EPLpe8e6q13n3RVtq7faK13wwp\nmPGy4v3PwOkHyZjGb2TNdXJu0onwZuLh7LKqGKlVaqwpyD6oga2AqtCRas9/\nA3TBoojAGKI37iv4CYXoT9eAqjJ5TfptCdnw31rPPCDWzcsb9mq/WHcyq4tX\nVhqk/qhU6yXcmBb+1PK+7BYubVOYhefx1DVgKZ45thISc6BkNcyGowGNu9CT\nyatfC1iJhuPy9DtRLB33RBFUmHd/Yg6zXW12/8ZF0mt6kNly47tOnPTxf2Kp\nCFvNpljqpVwH0T4o1nHT6p6JUfmubZcEujBzziFFOdUxSlfrBq2qkb7v5/18\nXMpgOB8vD3FRJj10lDCOub8f2AtvtdgrtfNh+EtJ/duYVKO8hNRvPJ6X8sic\nYQXJmbRhnBoniiPO1QHisUmQVBDH4gUMXDNBNZDJ0By2E8rC8sQpUjWUW2J3\nS4gSCYweRBLqs25o3Gbv1hu7pLeCibHvXMN4NVhugktLKK1Js3+xzSU+1Dn1\nYz71t7F6tNpWImGSpyjE1Xnb+oPHBuDL6DqHPTODyyqNhl0hgVQHmN84Bfro\nIXQLbre2Cq8ilJ03EnrFwZAt/vngWdAxWADdsZT5qoiX6aGy5C111KXKfXny\n3xVr\r\n=wWlu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAzaD5OlbsEMo5W1J8d0cRONlRYMZf0HRM64+WoHiAI2AiEAhapEhqKeya06npxQfPTw4+tMFkgA7NI8gYdbLr0H05M="}]},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.17.0_1602239794267_0.6545079198206936"},"_hasShrinkwrap":false},"2.18.0-rc.0":{"name":"lit-ntml","version":"2.18.0-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":"./dist/index.mjs"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run rollup","build:test":"tsc -p ./tsconfig.test.json","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","jest":"jest --config ./.jestrc.json","lint":"eslint src/**/*.ts --ext .js,.jsx,.ts,.tsx","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run check && npm run lint && npm run clean && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@types/jest":"^26.0.15","@types/node":"^14.11.8","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-regexp":"^0.1.1","husky":"^4.3.0","jest":"^26.6.3","rollup":"^2.29.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","shx":"^0.3.2","typescript":"^4.1.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"219277c543b7352bd9dbb0d6eeb9322de8e7501e","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native ES Modules support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.jsdelivr.net/npm/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.18.0-rc.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-6VTQX2h4HyQrEfNxfRUbOYcmQlfshJP4zSFypMbE+dJyA3YZETwmzrUKVdEdeXSio6tCFyockD/a2d3q7kXWRA==","shasum":"da49fb845738aff688f58035bef4984bc5e768fe","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.18.0-rc.0.tgz","fileCount":27,"unpackedSize":41599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/cLvCRA9TVsSAnZWagAAp1AP/jkuvKG+DpgC4S8slgtR\nkkSjpQbc0XpP0njQ6cfnpapY5vMrSmhJXZ/XfC5O9z+An/XlMhlmjw7o+Pvh\nctuogiM1w/kv2AzjQLUvpqaWEgMvVa3MdHK63D2otUEBPKjevvzbolEPEHHd\nJlWcEb8uNCZQSYBDFaD7e7VVdPoKW9LQxW0n7gPbCzK3JE0stavO6AyBbyJ6\np9kfBlB4F7DhTH1Gf1YrzCdAlykQcZ7pFa+mb8H5dwv/qGivZ4pY2d1kUdyO\niRpwOzu1pjWlnoYHhqXEQCapFoFsg61jlzN98WDEcFNAjbiP9/wLdPoxVDRV\nDt/ZC5plJclED/LSVFEpJFXECYujPegC8XNySp6zjzW2cJgn6+3+wqT+eNIe\nR+GRdj/SNGBspjxUeSdcwEaODBrNqQ9IpnjijbzguFVkmfzm4O2OHuVD/oSI\nFcRRhDveyTJLMVZpbQUUMZoacKcMQmFY5Tvo1Uv71QYsKp26HH7HU+ZIZxhA\nh1nxpYfYiwqpqjIo9qSyZYi1t5h3iwcsV53K+znn1HAdJgXm+1dVprCdctGa\nxGm2MWg80tkauWs2Amd2Wc47/q17j5Jg1gpJ9we/HikjqFlarNukBB1CUK2I\ndtjWbBu2zoJ6Wr0+c7b5BBP68d3pLt/uAkkIul2TdRSoTYxTehwhyf2jczSE\n/XEL\r\n=AKsl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFnqhs7+dQnXFYYnk5VJrZzw3Si6qJuksgjlh4lrmM0wIhAIsNzESbEpFFw30RUnytF0XmNXxlG4DBRFzVplpq1UTG"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.18.0-rc.0_1610466030869_0.8594697194763348"},"_hasShrinkwrap":false},"2.18.1-rc.0":{"name":"lit-ntml","version":"2.18.1-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":"./dist/index.mjs"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run rollup","build:test":"tsc -p ./tsconfig.test.json","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","jest":"jest --config ./.jestrc.json","lint":"eslint src/**/*.ts --ext .js,.jsx,.ts,.tsx","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run check && npm run lint && npm run clean && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@types/jest":"^26.0.15","@types/node":"^14.11.8","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-regexp":"^0.1.1","husky":"^4.3.0","jest":"^26.6.3","rollup":"^2.29.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","shx":"^0.3.2","typescript":"^4.1.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"76490299f5d579c4027339604028efbdc33a994a","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native ES Modules support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.jsdelivr.net/npm/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.18.1-rc.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-k4CBB3xRXgweQgwEwzQ3NnluSSLfBWqf6/wtKn94Y/QPl3voAY5XFjmHleX9awbrnt10p8ynoGgoYdyRSxCF+A==","shasum":"5d35f43c4c02a4abd02c3419da6836e9f00d85aa","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.18.1-rc.0.tgz","fileCount":27,"unpackedSize":41599,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/cUOCRA9TVsSAnZWagAAB+cQAJqZbnDJwLyfdcBzp5sU\nj76hjOY8eTnHqemJs+Mz/pAq+bA8L5v6Rrs+o3DzcObapAcGt/OLqjtVjdgQ\n0MX6N+fkfQuTp2BF9NacBr0J9QpaU8P0Nq1GCvMFF2MDHE5IWA0bt/5z8t1w\nDxOJXoJs0bDWv9jCkv+3r/eFaBgxRfiA9kavtpnb3ak9odetDvwm2NoS4JHL\nF037h33FSnYXHdAEMZdB1inAAGy9o/yF3tttUdJI1TnFWEtoty8oybD1utwY\nta8dNaHx907Zi/2zr/U0cw1pga7q2MzcyCKQ9XviaeefcFue9vPU5WZQErRO\nmImkwTyvS1d4BBstKv+WfxsvgNW661UAMSFzM4MEjRZv8Ch0EMtwOY0zrPuu\n2Lf02/TF7qOYYNZXk6V/tjLeGT22mZIbLOhr0qQy5EhMA7EU2hBx54+mO1Mq\nDUas+CtXY6QtrMk6xjkYy7W0FJwomyBHjj6IpHImaXJnNJw0KCH685GGoee0\nSjCPinboIRXBsKmJ1Dwz4d4/7CSLFTLz5wCnH+GizuYDj4Yq31MNTiDZUKc2\npvU6loUXXv/pFDkY1jzoJNBNbMY0XlZWvtXDou5XQrzw+WcEDjq/P75Jg3NU\nXhbfniUOLsmUAe9yi8hkauvIdbJwacK0fh2HJVUeuD9gS7BtbsCNLgmcRare\nVaA/\r\n=lkO6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGK4hX/0vWbCdm7KolWPRydHGB9o2SZyo9vheOS1RulNAiEA+ZfVta3aDyTA8ijJzUr6+RDWn/kFwFTx6DEOPGTOf5g="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.18.1-rc.0_1610466574159_0.41332338210527486"},"_hasShrinkwrap":false},"2.18.0":{"name":"lit-ntml","version":"2.18.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":"./dist/index.mjs"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run rollup","build:test":"tsc -p ./tsconfig.test.json","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","jest":"jest --config ./.jestrc.json","lint":"eslint src/**/*.ts --ext .js,.jsx,.ts,.tsx","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run check && npm run lint && npm run clean && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@types/jest":"^26.0.15","@types/node":"^14.11.8","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-regexp":"^0.1.1","husky":"^4.3.0","jest":"^26.6.3","rollup":"^2.29.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","shx":"^0.3.2","typescript":"^4.1.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"c4cade0447f83248fb7b60361384a1a06f9317d0","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.18.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-TRRBSADH5yaVl269ypt6PdF29d8iC0TOmXPmTP1cUYFdhYKQ7kMNH1mNg0ZrzZDZzrLMwbQkWf/rICO4QSPaeg==","shasum":"952e0d587cf30bf0fd5c0e98b5d5641ca661a23c","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.18.0.tgz","fileCount":27,"unpackedSize":41594,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/cWGCRA9TVsSAnZWagAAFGQP/RbY2ddDzVMKBE1fSWRl\nJ4lDyEMbxzquscv83z55cNy85dDw9xFK0eh0OTnyeu1XpYQYzGk7cbaO/q7X\niH5o6Ee87HPnpfMIBu1qN7Ka/2blJ0Ygdhu+bvST++CMviC0NjB2QEXey8XU\nRCsWAyF+Rt1XSfVeQJiNqZUNQY6lYZJMEvTD/F//R6yT3DsOG8xfS87FRuhB\n7X2nNMRXiTJIxinURJ2yV7VO/H9Cgfhl+w0ieGCTvyx5XpFDK/3XkTNojMqJ\nNvRF7vsAqNa3Izi9PN1tNMZ2gI9m+8pOsUkRZLTJOXtXDy0QUZJQVder9RsC\nSjN4QNVZd2QMMO/6ROFHJY9TVEeljNrXu64a4Zf3iNHLEOJGWZT8NIznIseJ\nR+1xKnHU0QEVsmKWlmlxgOVVneGJudtWRm6FgeSWzsDqYaXtIPerEsCx8PPq\n9X05plp5pMApcsAHNZV5i4mHxS6zRfpVvH+ulaJfrNLsDUJj4+d2vCkH+Guf\nH0hAbc5Eztni3YOMSgjg96jBjzAzs0FnnzG2o+2U2+pOe58iAyWMkt1TaPE9\nZS24Cjs/MMcYf5kAWQnktJTWVqxY6mwF22dSYF/rzevUJ8lXpBv5vFqA83d2\n4q4vukX/c3aPoldFeN1geVAdUYIO2FN5KsEnjcMg4ZXlsHOug6ewzxZs8IDl\npl5K\r\n=OncD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWyhz1pciRH5cncRGs0jw6/JjMBziU8CN2F+NuJfo+EAIhAOD+zO7uYOd1rMdwOAq5KW3oD84zZ6pnwFUHDXFjC6U4"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.18.0_1610466693949_0.742652354287624"},"_hasShrinkwrap":false,"deprecated":"Use >= 2.18.1 for improved node resolve in node@14"},"2.18.1":{"name":"lit-ntml","version":"2.18.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":"./dist/index.mjs","./dist/*":"./dist/*"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run rollup","build:test":"tsc -p ./tsconfig.test.json","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","jest":"jest --config ./.jestrc.json","lint":"eslint src/**/*.ts --ext .js,.jsx,.ts,.tsx","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run check && npm run lint && npm run clean && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@types/jest":"^26.0.15","@types/node":"^14.11.8","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-regexp":"^0.1.1","husky":"^4.3.0","jest":"^26.6.3","rollup":"^2.29.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","shx":"^0.3.2","typescript":"^4.1.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"40a4d2b53bb890ecbc1cadca8092371bd54109b8","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.18.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-lsUOjQsqE0mQXeLFC2kFkr3WAgu04yG0/I7w0k98fxCBjXV6e5CpZD8bA5AbQStoMxHI3P3H5gOnwxmdYNN/pg==","shasum":"8f05bd5bb6095c2fed2e0db949d9c7fdfa9fccad","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.18.1.tgz","fileCount":27,"unpackedSize":41622,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgA98QCRA9TVsSAnZWagAAzKgP/iUsl7PLEaW0ozpC689P\nT/1wjUNcF0S4ORZ6PC9uWhLndd/NRULbXyv3rU3c1PbQNitdpq3niUMYR1d8\nPainb7nfkdgXIKSHM515oxGZDwtXYFhg42rkz8kTo4zUB2P6l0vnFFE9v4tG\nnRaRFBMr/9L1COi2JKM1t2t11v5NZ0Ru+gp+c7Nn2/71RwVaMARlW7x5BzKK\nEP4qy9dcL55HKZrNUTi1KvTs5wA2qJPKTfkTOjP6t1If5Op1FwBfn1+bUByX\ncBsSIHXPIp9WzTvlx4Ogxsh0w7Aag/nnZTzKrZzd7mwWUUsnIX7Okeyc5DOM\n2gHOgowkdarCRK1mRAYGuvULCpq9SmarDkjREwEqOfR0riRTXJUmzehWn6HS\nWfaRTC5dkaixN9VbYf97Sou7n8STTHSH4gwv+9KpBlUVfadwidnSFpst1PBT\nL1ZAJLyguG3xMgjxPwM6BZ2ASZzUbBAiRHyCZwe/vvqk6OKov1D3a2VN6Prg\n2TDUwBycF4ernLa0NBA6CiiamnCy9KYNXhQyPpkAJ+6YuK6AfLEerW4/YfhZ\nmj4+t2G4S6IbNkYjyawI9oo8cxBIWKXmdd+cn7iX4e6FwNPeJ152oTTtl2rP\ngq9MgYb0CSGkc3Z8X0KzBDFJAK7XgTIatqLprfg+93NK5lrEgX8Je2YLvnqV\nz34a\r\n=88qx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4ibcG/kcrXyceqfsf1JkpWxM50SK1D7EMCmYuG++LQAIgVtImkC1yt8tI/w0Rx3w0sCFJJjJK0JmPwdR3Iesayvo="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.18.1_1610866447555_0.040254581768117914"},"_hasShrinkwrap":false,"deprecated":"Use >= 2.18.2 for node@14 and above"},"2.18.2":{"name":"lit-ntml","version":"2.18.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.mjs"},"./dist/*":"./dist/*"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run rollup","build:test":"tsc -p ./tsconfig.test.json","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","jest":"jest --config ./.jestrc.json","lint":"eslint src/**/*.ts --ext .js,.jsx,.ts,.tsx","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"npm run check && npm run lint && npm run clean && npm run build:test && npm run jest","ts":"npm run clean && tsc","watch":"npm run ts -- --watch"},"husky":{"hooks":{"pre-commit":"npm run check && npm run lint && tsc --noEmit"}},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@types/jest":"^26.0.15","@types/node":"^14.11.8","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","eslint":"^7.17.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-regexp":"^0.1.1","husky":"^4.3.0","jest":"^26.6.3","rollup":"^2.29.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","shx":"^0.3.2","typescript":"^4.1.3"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"601511dd74d75d44aed587e8a7b57bbec50f0b59","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.18.2","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"integrity":"sha512-5jJwlcFvamwzv55HFpNXpYTJRTXKpkLXZrr4gh+Vkj+3VrjbdpMOgZSKHpNZ5j/uVccEYTadM34UR9k++94lDw==","shasum":"85e52659f0449bd553f500930b4b0cd551e06bd1","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.18.2.tgz","fileCount":27,"unpackedSize":41719,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgILU8CRA9TVsSAnZWagAAphAP/jmjR5FOEpyUG8C0NUtm\nHc+EIbR05kfhIRoMjXAz/HKfuq4bBWQ8A1vPkUAoOV0E4694tqpeCuZ4LBk8\nsLX1M5s5vw3240RLGAn+LWhBYFeSaKyZcSYug/5YnDAj62eStkXxD4RmCI2L\nCZNwp8xqTdrI4wSlQXNhB6He93mdsOiX4WrutfQ6Fqbn+WPjIJ/GgIc7uRZS\nb8r6JGG8iYbfyQVM6jP5slV+TOqB3BnX/kKaf67tD+aBaj0vtuC/QBFmjvpl\nylFuxWgJ55VEnxInQgYGL2lhsLsvqL6CsBcglLMyO7YOx9+wGehThs1GpDjC\nz9X7uB0ryhSGSC466oPv81AxzLUayB8XBhIxuXHlARSYubsfDAxo6cUiGK1L\nmah6DSIYghLHEoFCviBxFRz//fwl22gELQPVMXGEL2iTeDi9dO8JdLMn3RZL\nPUc63hL2OL1DapIazlS/nX6EXLke8MNeysYAkSO2LqOQZj7YVX7Y9YmEcIB/\nGnrYUFhJlPSAipu4DezL33SJQPAf75IETF3tW6wekAMKy3DWNpNkFVrTxC/m\nawt80POToGTHACWNz0TUnt3/n/isDG2MA9uXFp1zY1skkhv8xmpEELzfDwOj\nIWrvtTyb0p1E2MTy7sGJgYsqyMiJ9bJTaSRXhErHCJWLwkP4DGGXhDMbAjlR\nd3g8\r\n=O3FQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpCdsD/KcYp/T0M/W+1/URb5cOfzmk9W0Pqwnpq3gWOAiEAikg7lvJhhVs3KhjMpCbnK9y9c+2N7wUEJ8ENA+2Ql8k="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.18.2_1612756283618_0.7377674269497341"},"_hasShrinkwrap":false},"2.19.0":{"name":"lit-ntml","version":"2.19.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.mjs"},"./dist/*":"./dist/*"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","lint":"eslint","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run check && npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","prepare":"npm x -- husky install","watch":"tsc --watch"},"dependencies":{"nodemod":"^2.8.4","parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.7","@types/node":"^15.12.5","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","c8":"^7.7.3","eslint":"^7.17.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-regexp":"^0.12.1","rollup":"^2.29.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-import-map":"^2.2.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","shx":"^0.3.2","typescript":"^4.1.3","uvu":"^0.5.1"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"21f88a4159141edb15712c60b03a5bbb0b82e7c8","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.19.0","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-cMg0cLMWsm1yvcBo1rUHgZTMQYDMVu0veYojymyKkgoS7mE4rkh3iDpQzrp3vlJlSrkGqN/W+EL35qMUlzvZ7Q==","shasum":"916ae1f2ec8f7a21e1d4e6525bb02140152fb594","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.19.0.tgz","fileCount":31,"unpackedSize":49179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg2fMACRA9TVsSAnZWagAABHYP/0uCCC+iHp+E/5Y0pnt7\n8SRvwxpBcCRWiDtbaI9cwx/L/HlwYhI74rQUbs6CaSch8sAB/d3wE6dAEcPP\ncM4rktlzlzeX/dPwMh+3ymQ3rHDkBsp9VW13BkRimkpQPYbSkUmMMlGmelUi\nGwlhhKpDL5X/qtBTNUaAr9MyKBkTS9dT3LdB6FQv7Qv01WZnWkS6/w3L+mnd\nD6qg3YCW2Cb4ATAjJIGiZAIPOO662FwLqf09nqUFl4Ow32kGM/Imip/lNZ2a\nvKHmQONqxkZYGRCIv4wSGAZIgZjGs/LNrsgS1d1+zLV5Phboy7EN5IJkEcWJ\nlYsIYXXj9tRB6ghQB1693RqDN6vTxgTQ9kDlp2iUlsACu9dK4h8Bc4WV/sNf\nRSydlkr5AAaE2gzLQND67CxIMMPZWZnRaAhaugYLGCmmLGuh+ENpl49IRDa/\nQ+p80u30zlKw1xCdJaSNpjUhb9j64nLrIO7E6TpzsVw/jyM32mPI8IlSkC6e\n720Jmb9mU7T28ovyIJc0HtV/nq+E/P5QGa26tzJn2IVOSbjARjSU3uWAqtOg\nxnxF0kCY1EhoALu1EmoVJV79snZ/lGBvRSe3Gwj4F0o/ovE+DzlaIcfxmJAA\n5y51ywIYeo15mSo+p+2Sd2/IFpllVWEO57JiR4eUpTuD8DKlmudd6FINabBx\nR/2Q\r\n=BOOe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAhrJ87PUbAyAfra7FBM1WRrSCUWU6VjUeAF+0zxNX1dAiB6is9m1iqw6lAfsJCt+4P6/VbL404mFpSS7u/XzrET9g=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.19.0_1624896256202_0.6981417079732906"},"_hasShrinkwrap":false,"deprecated":"Use 2.20.0 and above"},"2.20.0-rc.0":{"name":"lit-ntml","version":"2.20.0-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.mjs"},"./dist/*":"./dist/*"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","lint":"eslint src/**/*.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run check && npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","prepare":"npm x -- husky@latest install","watch":"tsc --watch"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@reallyland/esm":"^0.0.1","parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^12.1.4","@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.7","@types/node":"^15.12.5","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","c8":"^7.7.3","eslint":"^7.17.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-regexp":"^0.12.1","eslint-plugin-simple-import-sort":"^7.0.0","rollup":"^2.29.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-import-map":"^2.2.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","shx":"^0.3.2","typescript":"^4.1.3","uvu":"^0.5.1"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"82969398f3f3cd8aa3be44c33a40687cf6725342","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 10.18.1\n- [NPM][npm-url] >= 6.13.4 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native ES Modules support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.jsdelivr.net/npm/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.20.0-rc.0","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-rsNdeVk17Y+caZT+x5Y8uWGHqXHjq1zvRjqNXcGUr9mPUiuBftVuCAcceFCmIHdmm7Bk36M8Ymnlw8QyKkexsQ==","shasum":"07791dc4129928bfbc9fbd96f279e1f7aa88bbfa","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.20.0-rc.0.tgz","fileCount":31,"unpackedSize":49457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg3dSsCRA9TVsSAnZWagAAlsYQAJPhGUB6M9i0Z+rB2019\nTsE7bU+2ruUB3s0SxoUVFho7AWHPrG257nvjqvxALm6E8dtSmg9h9+CUkyCc\nUkXvRLRN34T11ZqR+yiPkld0GCv+lKH7RUdKPiq+efKG9XDYXPqo+t722Fib\nefeWCH/oTiGOFoVqDoWa2EiSZGlQzkAA0F9TaWFrzWfW8IAfAq9NK0ZONfqI\n/X8K21y4eFGzXX2SyLEADSeAAPlsOcvljDwI/3LO3qAT/J/QBavRKbmPUJWE\nIWeeJL/kohWaHBihxPSNDO0mzrQmAjFzS+0836PTJC9aYA0PhXUJjiJPc1lk\nsC7dv4It40feQsYQqNXMLD8YkNjblarijQIEvtXdacY9OtadFWgVw/wr7/GQ\nYHh+KAiaEL+tIxYTkFqrsAYiWLxEsDFLql1/ITOVTwAWXAaNV4hFMhTGOA9m\nHcl2i+BPjMjru5k2MAN1ByWuJMmQC7EnHZfleXPbOlSMHKjRtCCiICQDhOd1\n2nZiU3I92Yl8KPbOv35egENk5b38/TILAyh0MaqhLci9ZDqj3v/UNAeEPYnI\n+rqt+OHWl1VpP0YUZlltljgUISeo+s+ehFyUJ6X8KI04Xb8hCdtUPtc8S8G5\nWQMp+xLjLWLYqYdOEdjYc/tjp3wcJ7BkVrvojL+d1drRa0GnLLOhOpwFMYaI\n2A0B\r\n=96cm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk/txV3yhjjhD6zRrWBsYrMjoewEJwHXEzxhkTrpxt6AIhALtsjZQjkJt7yK2QLqYIugXiQm/cWE4ikwXOzKGwASYY"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.20.0-rc.0_1625150636029_0.39723540449902095"},"_hasShrinkwrap":false},"2.20.0":{"name":"lit-ntml","version":"2.20.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js","default":"./dist/index.mjs"},"./dist/*":"./dist/*"},"main":"./dist/index","module":"./dist/index.mjs","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run rollup","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","lint":"eslint src/**/*.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run check && npm run lint:build && npm run build","rollup":"rollup -c ./rollup.config.js","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","prepare":"npm x -- husky@latest install","watch":"tsc --watch"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@reallyland/esm":"^0.0.1","parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^12.1.4","@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.7","@types/node":"^15.12.5","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","c8":"^7.7.3","eslint":"^7.17.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-regexp":"^0.12.1","eslint-plugin-simple-import-sort":"^7.0.0","rollup":"^2.29.0","rollup-plugin-filesize":"^9.0.2","rollup-plugin-import-map":"^2.2.2","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.30.0","shx":"^0.3.2","typescript":"^4.1.3","uvu":"^0.5.1"},"engines":{"node":">= 10.18.1","npm":">= 6.13.4"},"publishConfig":{"access":"public"},"gitHead":"a609b721566d74e1a88b5261c1e43416045d39d3","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@2.20.0","_nodeVersion":"16.4.2","_npmVersion":"7.18.1","dist":{"integrity":"sha512-63NEDdePOrNGTx933Kd4ylK9FeAh1VnRdNC2QAbdSAi3V2hqZ7J38yLhSG8IPnc2tK/zrGy1KEN9a3HDBZodDQ==","shasum":"5467cd157d75f71675f4d3de617882bc887496e3","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-2.20.0.tgz","fileCount":31,"unpackedSize":49452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5SLJCRA9TVsSAnZWagAAuNsP/igFl67lwHfyLN8tUSUF\nXjDUt+8fUWVTm2abrqyYhUkZfCJrE+EC0k2cZvsNbxCyIXU92SMndbMw+T5e\nkHus6c+6MhzxWJWam/mnfBTaDJghHsi46AtsdlTPvrfERRbKhsYSrE7LQOWh\nYumIMC7f00CksJX5unP2rBsiRbbOXcvt4MlRcLX9o4OGyYHobS9H0qrpN/MO\n3qq7S63WJO9wHfBUVz7zDao8kIeXIHqT4yvd7OFH2MwX5OfLBcPGw4RMbI/P\nc208lKGtwyVcLE3krUYJz1moAQHVdSZhgbVB72qNW2KpgiHIIG7mJbylkLqM\nnfEj3Uh6TL4XauyOvw3qOzRimyzBYs5JSE0z+znnt50nRq8MzlxsgFk/BATX\nK59BTTCeocQMVT4vwKRXAWtbcIZJqdtPS7/zgmbk3hjd7qWHqtoip2YW3jlE\nZ5VxndpmzuK+/neKmYDwcFvxQwZtt52U3ZJTcE7LEkk79pGzEGnDR9ep1Uqz\nnWdupO51gHXQpjIVCjKk10+fmnt2aquOS6/5HrqSqFEPLTn9DT+Su906Q0tb\n68+Rgdl3jQuziaCJiQ4OHV5NDZDT8XsFxSld0oTbSDfjL8F+cA8+BPmwTNa2\nkBEYRre+nnHyNqFNeqdl9UeoAgYMUidjapCzymTyikNEWhKOyEo8nmWE6uy0\nanys\r\n=mbgU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNDm2QPB5pm3yN6IdcmmDv2lJRKdWIrXG7zHrGqjHatgIhAIPlCqT/WEpooZKelSwOh7UJNIMo45DR0BbU7K/haLQk"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_2.20.0_1625629384856_0.6613235757116771"},"_hasShrinkwrap":false},"3.0.0-rc.0":{"name":"lit-ntml","version":"3.0.0-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","lint":"eslint src/**/*.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","prepare":"npm x -y -- husky@latest install","watch":"tsc --watch"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"@reallyland/esm":"^0.0.1","parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^12.1.4","@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.7","@types/node":"^15.12.5","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","c8":"^7.7.3","eslint":"^7.17.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-regexp":"^0.12.1","eslint-plugin-simple-import-sort":"^7.0.0","shx":"^0.3.2","typescript":"^4.1.3","uvu":"^0.5.1"},"engines":{"node":">= 14.17.3","npm":">= 6.14.13"},"publishConfig":{"access":"public"},"gitHead":"25ae5e20b352aa1898d974b505b7d35be56bd27c","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\n// const { html } = require('lit-ntml'); // CommonJS import style\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\n// const { htmlSync } = require('lit-ntml'); // CommonJS import style\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\n// const { htmlFragment as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\n// const { htmlFragmentSync as html } = require('lit-ntml'); // CommonJS import style\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.jsdelivr.net/npm/lit-ntml@latest/dist/lit-ntml.min.js';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.0-rc.0","_nodeVersion":"16.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-a0ZhoYEcnpoYd40q4Iddd8LL3x70eCGJXVGaNl76EUlxQA4382Uvhht8OldvubY0XwMUYfP0Q9aYMvxYuRwBig==","shasum":"ed699a0c7576ff6a2bed0e6002efa1b711dcd991","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.0-rc.0.tgz","fileCount":27,"unpackedSize":31364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/Xn+CRA9TVsSAnZWagAAVj0P/RqXpbUz5q0Ta9zYhawW\n/W+H0Rh2ljE7rEGZgfpBZDjFptGCV12zkNssqEfmvDtDHNhavfIDRpAjXs4w\nd83kkZ2EOXRhPmcERXxV5bjIU5ltyLNH1zo3tMU2rhXiL2dXd9NaI8qE4QXu\nDhz00Un6tIqTgpNveR54pZw7QgVduM/bnSC50VL0srCnrBI8C6YVYlwRPlwn\n68mDA0GTFHeNhQN10m9u4B1jznTHDRdqASR30pLSLgFehCKdJQ68e1vSBNjI\nYsF5LfemShzmztmIF2TgG8WDi31uVaAjOOdrqqD92rKj7NjxxF5Ik7VEgIx8\njnyaTbGp0QB+qlXcF0OYUFEER+CXjd2LjeoLglxJmEz5NNNGM8p2zj3g/a2h\nTqA1Mao04RWEbter3iJ8ok8KwRZbtz1/aNreBw9lRGOc4iTjS00vc+YhBbXa\nahkryTC0FZape3rxVit5q4SDFXjPueQaEcEixpYtFD2PgTaxDlrBhpikh0g0\nrc7Vht7496xJjooKFq/TugthmEvZIVBmsArQpvMMDvSdLUYlxAX22HSl7ijH\nKEIeNUU9Sc8hc82Zc1DeWN8ZLrB+qaYDSgtiNQR/GIN+i4GiLIryjD292XXw\nPqz8Fo+E7lYvdprWUmOekemNor7Y4FbmtxuuvkXptIgaeZiNq98i8aMgf8aN\niIpS\r\n=jTuT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6iFFTB2sIeU+Dfxy19teIeLPiJdoVPnEa6s4xUpHp4AIgFBtLl8oefrPqyag7nRYgytpXMa4f4pVMIP70zSUg3KI="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.0-rc.0_1627224574844_0.7385185446085358"},"_hasShrinkwrap":false},"3.0.0-rc.1":{"name":"lit-ntml","version":"3.0.0-rc.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","lint":"eslint src/**/*.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","prepare":"npm x -y -- husky@latest install","watch":"tsc --watch"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^13.1.0","@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.7","@types/node":"^16.4.5","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","c8":"^7.7.3","eslint":"^7.17.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-regexp":"^0.13.2","eslint-plugin-simple-import-sort":"^7.0.0","shx":"^0.3.2","typescript":"^4.1.3","uvu":"^0.5.1"},"engines":{"node":">= 14.17.3","npm":">= 6.14.13"},"publishConfig":{"access":"public"},"gitHead":"a80897d86f0d3914dae1d2a219fa0886addc26dc","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.0-rc.1","_nodeVersion":"16.5.0","_npmVersion":"7.19.1","dist":{"integrity":"sha512-2ebBmq6c4otCrWP7+79KTTs9Lww5KyNj9GsxG6dUqw3wPf5wetOXWeg5xPfywrb5XRzv6PKzCvo0Qxrmsp95IQ==","shasum":"d0c1058d6b5482708c053e0ee935b3bcddfaf4a9","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.0-rc.1.tgz","fileCount":23,"unpackedSize":26568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAXb4CRA9TVsSAnZWagAAjqYP/0ePsDlAj7HnWJS5abX0\nKy+e6mGZ36pbVplPwSIVT96f/6jmEGRDjjOpCM4H92dP0FrhVrdjmVzVRdvg\nz5fj5/cwOlttgPQEWZrwuW9FeTaRIi3PUoJeNjE2pXUsfRG3cPDJbUGhTJx2\nU67ZGwQiEiiYTbILG51Gnezd76GServTTC8Qtn0d/BbiRnbdsNIeJ5SoDGjJ\nkUoBrNFu5svPTp+u6rMqsMktgiWIbew2sKMO0duiZASpSnUZ+f3E4hGeAfh/\nY30/CgMBMAT7pR7/rTx9VXk2hI/jY3ULlSQMbzco0sjR5Py8x63NdpEmAhzF\nEgEoi+XXjInkH3U5l6U92CeT6aivJd+kBikZsrSjTwtKjnGMX9qdcJaCm8tP\nTilwQs9mC64/8g3AdAUUfIKKB9gWZyLX6Ja9243tdLkQG4q/3wpanfh87Q6Y\ngEPgmzX2snDqu/nIMHDNYkd30/hjKqnc3nSjhfQxzNnuILihS1WR1Aq1eXM3\nu3r00tAo3wCp6dypr2Y1AcbgndwT4/+1Mpju6qUmowlqD5Wy/j1dA49a7J3R\nWyUdfTg9eREdpruoSD3gaOXEVPcKooMvN6e2PCbeMEjpe6/ShdF+Y5n3QnuC\nsK4QnOYZjnZezVSqcYvJliKo5UtxiDGhS4DVhGZNcL7AB+DaoOyTHcuSJYH3\nmD69\r\n=qoJb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3BgwoZefJQyzw5353sEpK62hD2ax4pJf34qqkPPcQCAiEAj6ysBCmZVp3+iQrOo7YictuCbQCAfQJHiIVSYCSb2Fo="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.0-rc.1_1627485943927_0.28145664131569625"},"_hasShrinkwrap":false},"3.0.0":{"name":"lit-ntml","version":"3.0.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"shx rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm dedupe","lint":"eslint src/**/*.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","prepare":"npm x -y -- husky@latest install","watch":"tsc --watch"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^13.1.0","@reallyland/tsconfig":"^3.0.2","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.7","@types/node":"^16.4.5","@types/parse5":"^6.0.0","@typescript-eslint/eslint-plugin":"^4.13.0","@typescript-eslint/parser":"^4.13.0","c8":"^7.7.3","eslint":"^7.17.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-regexp":"^1.0.0","eslint-plugin-simple-import-sort":"^7.0.0","shx":"^0.3.2","typescript":"^4.1.3","uvu":"^0.5.1"},"engines":{"node":">= 14.17.3","npm":">= 6.14.13"},"publishConfig":{"access":"public"},"gitHead":"de22d88834eebc731af28a177deab37d9c2f6ab9","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-P8dUUgGmvu8fPgJoiXyfwG/kevbarznOkygj9AHhSdr1DMwwZkvoUJdTnQi06tjUeARS5z6OOHGZwJHzu2i+NA==","shasum":"d941fdcc33aed1cd8831bf70a286bc5823c3178b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.0.tgz","fileCount":23,"unpackedSize":26562,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhK4PiCRA9TVsSAnZWagAACKIP/0PMAQJj6mMsNn9R3Sx6\n4O8cs5j9tBnzT64bRbiqpneI02LNbrO76HauVYQ7ob2Ug7h3vMbNk+6dFwS7\nGG2TxWsEriU2MJz4xHU3pUerOoeyx76PHm/0T8n4FdJkDeBeyXEGctQo04S0\nj9HfETKsAZ3C/c3Sh9aqlXmaF93+GWgMrfYi+qSr7C9e3/Suhaz0pgJrNrM9\nCGgZJY3Cxqg87kmYHONaOWz7XS+BQc4z2Z1daH9+++8cL29MUeP26X+qjiM4\nprdZFhgN8pmEJGZX1AZ2O5GYFVaxTeA/7mHPq6r7MgTen3PZgmI7gsqfTF3M\nQ46mWr6Ax3CTN22zF00pAB3LWeQbbrsra33EKqSxVgjJjy3nw7BBlxxkFuKT\nOCHm797BQfz5+DWFi7j6EInLE2dRa/p/vLGDsml/P2GplsG8ajL9sO4sxNQ4\nGdM7qdOAFw8rRTXD/gOFLmym+/kMTt6rnSnltuqrVk8xk4r68P569dFwOX/q\nzCMG2NOowoAVTAT2WLUyGfw1jcYjTBXZtijYKen1cSJKhbmzRAOJtMQ1SGJo\n0DElX2YDHXPufLQ6oDyHzGy1xx5EYNPe2IAB+iE7zMnHYHcQfboVRkMOw8Jp\nUg09GIC2RQCplXtCai91jcYK9CIniKPUOi77F63StPc5jw7lFY8k/TjAO9XU\nQvQ8\r\n=yvOa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUjJ2kQt3scVEWvmScbW5UE1rIA4USMnes6OFq26UIgAiBnB2wj6sk9giX3lB2QnS5vI7m9mvfgTDgQzTP0InBFxA=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.0_1630241762006_0.3933944195788641"},"_hasShrinkwrap":false},"3.0.1-rc.0":{"name":"lit-ntml","version":"3.0.1-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm x -y -- zx ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint --edit","pre-commit":"npm run check && nano-staged && tsc --noEmit","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"vitest --coverage","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","vitest":"^0.2.6"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"8b6408f508768fcb0c5dc9197c2c76cdf37ea189","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.1-rc.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-XC1OXtZXctmYegmFiy6mSAT1swLgZj2Y92cyyrp0IuyfWUpQz85rSSUyKTkCFuyQrh4qSLVaPqe/AxiYKXZ/IQ==","shasum":"7a59646797c76f4c30248db1ef937698e66e3657","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.1-rc.0.tgz","fileCount":23,"unpackedSize":26556,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+5SpCRA9TVsSAnZWagAAoo0P/iJs5S9Qo975ZrufZnIN\nsSSa3iwPNBBNWU/7JwKgMFrvYNOokNCYibW3VvmOL3aeYeTnYTUh4GritDvp\nrO42GJrYhZJDVmrQClw0SovyqqsSBnOLRnxjrzjsLmXv8fZZzu5pS+xYvPO+\nXTmR0KF3+gv/ArrkOMytwpQsxVydhR9UIZyuFr9Hy33NVXn9B+tO0myirGDo\nDWNirBbqu0r3onz0sipunDQpcOG6H4YXbTzH1594f15Oi2OfkaKEizpP/Lxt\nxehXlm2OQdjrX1gvThuaLJhF2MBLg63GD8f8+vvWU1MIazgNU7LbtduWy/rr\nHej9+/Z7EJVCPCMBx1E98HV/FF8/yoYY3l3dGODeaevVg0Tz7KbI05hBkZOp\nIyoUMxwHb8RQ+MkRCP5015/H2VMQ3XJCTtj+GkSR1KgKnpGmX4d+m8+JlJx/\nRFjvYiLiG9UJJSLZj+nFSPZenr6dmWz4kZezte7Oo+CN9kDu955wVnkua2nZ\nOIGBLrQq3pw6LgKoNj/mPHXh6FaCjqpFCoLvRhOpeY8ZnM/323vFWXEq3kXd\n9++eZ1u9rP4YCjaU5EoAi+3lwnb26zZEb5vPY1cEf58AJRJcOsUBIoEHKhWt\nNNvyYMOtUba1N8XNd7hUTxwWZRKvDBe0hHZfPoSeT6nXnT3OTZFfTRJIEKhd\nKvzU\r\n=Z6Zf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOHRWM6y9rsGq5f2yxpPlku6IzmrfEXjtu/elz1cgc/gIhAPtZEQA3rKFFQqMdgAcvhFuBtUJlZdjmJav2UnIR0G/f"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.1-rc.0_1643877545409_0.47101042741806887"},"_hasShrinkwrap":false},"3.0.1-rc.1":{"name":"lit-ntml","version":"3.0.1-rc.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm x -y -- zx ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"npm run check && nano-staged && tsc --noEmit","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"commit-msg":"npm run lint:commit","pre-commit":"npm run pre-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"62ce8c434ec74b184951e619fa051397ac4cdb76","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.1-rc.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-jHY8aDDYjH6Dk8ZTkVVGkfrcuU/VOrqQWvcTgUDk/i5o6hhoJFWNbuQyYNfAjMexDWcg9xtjIeupCNRKNlOE6w==","shasum":"57f54c72d90bacbe2289da385eb4852da1a1a687","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.1-rc.1.tgz","fileCount":23,"unpackedSize":26658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+5UYCRA9TVsSAnZWagAAK68P/0lrE4oZrSbim2NixQnL\nGOg3xtaR+wrz7OoW+y7lca976JKU6Tb1VGuW9Ilge2JcXwjbtUk89YKUDajs\nDVZ1s5pVeC0M3IfMvqGQG+DVlPdljB9in9d/CXt1L8nh3Gzy2Yj1IvG+znWT\nSGOg9OoLlIQUSCbd90t6qGFZno4QYOhXBUwvMjnoGKjJ3tNbYzb655Oak5vb\n2ifyxNtw5Pby9X6ZRGHAe/Ke7DvM4HDGWgt8IS918WnBd+pe/X5DmyraIs1z\nPVTZ2JqdCt6GThis63p1aUnLjb17aTH7Ez8tiEYJK5to5jZWjWQH9Fc+w2v3\nm+BlIODLBKZzPp4XPzzndwAayy1t1tkCP+VnhiaapHA+4BS2uQoNUtMQQhH8\nwVG8njeJyHLKHQ1rosf5mDlW7VJVKxg1GnICuWp8TvoSX5KqOYIo6xWTXIiE\nFM83HDtZo3HD0jXiuh6ANWqQFUKYykekvBKSIDIDKpqCZl0TTvZ1l6vlgiVQ\n55eBC9DIhXG1tvhFV0dgcYdoywyOtyTaE0E3n/fuAtJFPYhREf40iqKERBJj\n1EPYanY9ecSuXErnt5znr/aWjMnL8xPGzFCSym5q+ic0GCh6sg7YI7ULLYR6\nI+PEkzSUqaGVzcjPv1Li4fl+8eD8mNXiyOiKNY2s2M50P1Bad2XwTPg4JMaz\nAToT\r\n=HuQm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDOJcmOqRfSzfy/ub2vUbv9BEpo4IrIY2pq8IGXEviYNAiBXWWK0DqG4LigiZrj7Qcn5eGZVUf+wuLVF5HUWSUPrQQ=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.1-rc.1_1643877655924_0.8768941797517174"},"_hasShrinkwrap":false},"3.0.1":{"name":"lit-ntml","version":"3.0.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm x -y -- zx ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"npm run check && nano-staged && tsc --noEmit","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"commit-msg":"npm run lint:commit","pre-commit":"npm run pre-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"d833f115974e44ad43fcf429d2fc80ed26684bf5","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-Pn+Kjk34i2Jw6T3rEXJqzUP52+OUTn1jLXJ49WUCdEleFbzl/hdNEe04UA7HZnmssN8d6t1jaDlaMlm6Lu/bMw==","shasum":"4c560509ba46dfaff53c8dbcbb716809ee76ec71","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.1.tgz","fileCount":23,"unpackedSize":26653,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh+53ACRA9TVsSAnZWagAAcm4P/RfXjxJNAcT+OztZiNtc\nu56Sp9pRUWO4lv6IfaUIJrjk9/vGCgTQpKGtaMJJa2sM9qdECR9wPllrtDyW\n3PmrQKWAUvSmJaawZ3Tgg+hs21krh3ESHP3mGJPiFK4A+LdmpWkAWKMOzVkA\ntK87z2GFp18R4shE7gR7PBle5ek4bu0FqtOhelMsy5ismFSQ4GZRsjZwbpsC\nKvwCp5HN5EJES7P7UAl5qFvG/MxJdajWVORVJ0udimNiI45gB2DKx3TlG+VM\nU0mga2b63C7Lhzrr1FpXuF7VN2HW60Br19Bme0sDq1gxD53pjkOg2H3YAdS/\nqQug/rHljXuNmVGPMVW2y6xn8E4Aj+wFSnKr9wPM8CTxq70S6skKVpHysXSy\nh4kJZNx17WTWtTy9cu2z9zoIKCql6UfBRDlalrdAnGve6J+HaATh902UiJx5\nz9VxBozPi3qHNu+Goj4JxYa+F3uPx2EqIt7WY0N2CpUEWisNzNs++sUV1RwZ\nfL7IdFMwhed/Vpp8x4fJ3CEf4WB+zomnj0KuvNL0dTeylQ+wcGUPDcixApSF\nS9x7/EpmYmGf5f6VkmCFu9cqaeK9Y8bB0cGodb6HOSWj7gxwBSFKNS4/mXqT\npxAiiP8a7evsxtVc1lNtCW8N9T9CqVGQYzesECbrWE9IcAwUe+uBR63eAskd\nbMzu\r\n=CZ36\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB022y2os0SGs2YLBrm2wjLXl7oGyn4PS1q3j0N9/WebAiAlEPS7uXnYwxWA28wPW2hPgJR+O8SE+Sdk5NY+Px8p+g=="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.1_1643879872469_0.9125153935159169"},"_hasShrinkwrap":false},"3.0.2-rc.0":{"name":"lit-ntml","version":"3.0.2-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm x -y -- zx ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"npm run check && nano-staged && tsc --noEmit","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"commit-msg":"npm run lint:commit","pre-commit":"npm run pre-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"faed4fc4ea9fb402dd5b2a8653e1b270d950b3d2","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![Dependency Status][daviddm-badge]][daviddm-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![codebeat badge][codebeat-badge]][codebeat-url]\n[![Codacy Badge][codacy-badge]][codacy-url]\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/workflows/ci/badge.svg?branch=master\n[daviddm-badge]: https://flat.badgen.net/david/dep/motss/lit-ntml\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[codebeat-badge]: https://codebeat.co/badges/46b91b60-804d-4909-a647-1784ae283f19\n[codacy-badge]: https://api.codacy.com/project/badge/Grade/bb0c739bc5144a8b80197f3fa3bb2273\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions?query=workflow%3Aci\n[daviddm-url]: https://david-dm.org/motss/lit-ntml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[codebeat-url]: https://codebeat.co/projects/github-com-motss-lit-ntml-master\n[codacy-url]: https://www.codacy.com/app/motss/lit-ntml?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml&amp;utm_campaign=Badge_Grade\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.2-rc.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-x8BaY2IFTruMtlEBeVtH4LrjRh8nU6JiX1ZdHWLq1qDBgKqzoSwe08iGku1qKYr9MNEE2+EOwjpq+z1SfQHfKg==","shasum":"fb6c151b43b201bef40c7517e12b27b49c5c4566","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.2-rc.0.tgz","fileCount":24,"unpackedSize":27007,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh++K9CRA9TVsSAnZWagAAmoUQAIud2ryi1OVg0hA0xbQR\nK9brU11Y2ZMYC+S37oRoCdM+wqOj9ERuN6z/UH1fctN7T35Kf8AMbFzLdTXc\nXHCaThTr3B0adRDlFGZduKpoMrkwZW29q2ltIBQfSXaSTQcVY4J92sePP4id\nedW3z84K5B1AoFHUMh7MacxSeqCPlI4BSTH/8XBkZa6Ec7CSktZ8YEPmiAzF\ncGbP+4UWAWV6AkTEYBYVtDpmIiIeJzrjS7+vAEzFTuEQM/Q/n5NWqfVIw3pG\namhkTlcQ5xx31AmNA0g1QYGmUXA8dk2Qu1/AC0ZvOs8XlzgL5JwE5vNTL6fo\nNDs9jltI177k5NqLNIcdusB35IEe/Pcf32WQLX5BOlp9RPnia2gO35EAdAyW\n2S+Evl0+Xb/jE26+settzX9ZvZ0v3fOHENJbm3OKvfbGy+8O2elQu7pPPGAR\nJ0kviC/2eErV1Bk5TQhuP+URGIK9hVcs/zxrWHwqYHFChsc0kn+IsqdxWePp\n79XNZC/A+ievRWj2l9VclrQUuIEnP431OBdAPjEOZYaYxjKwuyeuVjq2mNue\nC+Y/4jrzuGTH+Aeyba+l4NxoYMTk+nju/knZmFQ6NHsxS/xsoDIUf/YQwECU\nssqY9NeLErqdvSJf2sVGhI8+shWhQnkCzLkDDyg4S51PIbJ5JrqRPefV+mEY\nzjKE\r\n=TO9Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSF6qDmQWLNNluI5keib9EhAbOHLqGmVwJo05QzlzmogIgPEyE6UOCzd4i6UZ57Huvhc1tBHVCazZhfH4/bI3LTOM="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.2-rc.0_1643897533036_0.1382605088277662"},"_hasShrinkwrap":false},"3.0.2":{"name":"lit-ntml","version":"3.0.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"rm -rf .*cache *.log coverage/ dist/ logs/","postinstall":"npm x -y -- zx ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:commit":"npm x -y -- commitlint --edit","lint:build":"npm run lint -- --config .build.eslintrc.json","pre-commit":"npm run check && nano-staged && tsc --noEmit","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"commit-msg":"npm run lint:commit","pre-commit":"npm run pre-commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"9263465c92568ca254b1b56be0e30ea47694d64c","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-v5mKo8qvJQGO7E91udCgmgFEFmpwFfgY8dbp6Sp5u7zq8ObeDekygruIK8ueM0lLxi5bK5k1hm23/rtD05+VuA==","shasum":"3d88d7d6d4827f0b7edd3f9e16aabe1269615f15","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.2.tgz","fileCount":24,"unpackedSize":27002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh++M3CRA9TVsSAnZWagAAG/8P/23USx6mm3+drwiXDm2c\nv5gFcT1W15bpLRhaEbU7ulZmsyTNtvVgFTka37DYpXcFHczsb9CalJYN4rNR\nT1Fulhz6TzvrJCgTZH0c5YX8VCTW8SYaqCbQrS0Putm4hJxs6kfLVbAkFRCO\nDnUFtNOl7y5W3M3t/j4+aw94jplazfXxYpfdqGI6qzUbxox9WSWzhBvG13YB\nAyfiDLjKHvcT7L9tc3EBqe3nGyq0dRbon86Y2SAemU9zRtwoxG0grWtzqwcY\nCDccU2pvaBl19799ePuOZCbFqfJV0768s6Tw4vYiSOl8ZRJW9A+ePf7HLB3A\nnc1FQAPZVjocdoRx2ABL3j0ciNqPv2Nil1Gv7mbsuLmKvQiJBuKWKB0kh8h3\n4oK9s4nQ10vuEHtRxSqRV9dxOpKeCxS6VE5wrG0S5u9j4my8VapTwlJvbf+l\nGbgwYx27GHoUvtt14jIVWf/e2r3PBEAHrv9+1h5MTYumbIQlD/ewWNMv1XOi\nTPE3WS64HTdbTJMwBav1PqBqosrSkZ8RdIoeYeKzCLVPOGi95rVIQAYW/LU8\n6rhh+5FAL8Wy4flWVyw5xxB6FSYjwk/sev4CWVfr62fQc3K9QcTE/JnU8EbX\nbTEhza5TA88PwNDY0L/7ABPlLRIa1Rom386x+3ey7RwkLjityG9sGvzDV16w\nYjLa\r\n=+Rs7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCg6Scn/CYZpROAr3pQP3+/Kyn7MtzUFaNUMoCz0ObQlAIhAMfLOKts5gN7gBvJPm7j0vLvCF3Kp/n4HlJWhv37yYz6"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.2_1643897655191_0.6539930632906641"},"_hasShrinkwrap":false},"3.0.3-rc.0":{"name":"lit-ntml","version":"3.0.3-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y --prefer-online -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"c8 --reporter=lcov --exclude=src/tests uvu -r @swc/register src/tests","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"86ab3f366d40363a12172abfec0a4a912b8cdea7","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.3-rc.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-WXJV/Us6atfV+FQDyLkfL/s0cNt0KYeuGnKvZSaNyAKjls4296B02lPudgBA5i8tLV+DED/7pmZB38NIpxPC8Q==","shasum":"37da340ecf8b3f928f1abd1df3aa1ae4e8631c90","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.3-rc.0.tgz","fileCount":24,"unpackedSize":26425,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/Nw8CRA9TVsSAnZWagAAoV0P/1QROpzgXS/TkOcr4pSy\n1RCIa3iCsdgnNztN+tVz1ftpo3Ywy0DnsebyFH1aBFtOZX04IdfMHY0ya+ic\n/gWm1fE5n0l/WL4uHL0/GUa21Le9XE7f6npDcGlTD0WnNN7m+ZoUHHutbQKs\ncZkenr8UsFDkKQLmebPInGmy6r5NWRineMPqKIkYxnWsttlWd5hoT47wzDcT\nZed7oFmR4KpjWLEpih4B1BcILroZ1mM6Kcfx0L/msUhPaM7B5rlaVBdeicPF\na8XQ3lA7YvquinMuF0rr+WAj6ZyAQFmWjg7haCo/oBIEo8T4HOhiWuDNikj5\nNXwlcvuZzpg7gTanZBJY96zbnZXgF5X4JywpD0QmqD7kT7DhT2BqJQ0PU3Z0\nrKFfUdQdeXswwiB5DRcb3TDmL2nPOozMy3QmMC48JbKbTX8kMSo8ZVn59hvG\nVFea59/YDwjieAPom/ocY0ANVG/eZVvhO6TRmg60KgcAGU+V1969xnQ68YE9\nOPmYjvUBDJ5jH3DkpBwZ2x2ts0W/ecE9h0sBv0k5YZjNaaLqGfSrzSmZnVHo\nYttxOFJpdlQm3EpCq8Kdt8NibBMbg4VFHJvsj3vvUUwMHgeF932R3s31lS5i\nfmQsO/fcMuO7/qN9CTReifRxaWt5Vlp2QfP8bEI+ToVwE8mC52nkjZ1BRtAC\n+zjo\r\n=fV5x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsSd6XfaH0KuHsZX4xw9YJUKppUy0bfTJ9O3jK+k9+bAIgZTAReWP1e9Xl1k8/ls5c9sWXjAxF2uK6Z2AvQ/git6k="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.3-rc.0_1643961404436_0.5220782213786459"},"_hasShrinkwrap":false},"3.0.3-rc.1":{"name":"lit-ntml","version":"3.0.3-rc.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && npm run ts","check":"package-check","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y --prefer-online -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm run test","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"0f17f5acf0c64b9d784d9343a732a50eb5239ca2","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.3-rc.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-7Nm8zkeEbPY6Wudpd5XwVK3qZiSbRdYIW4jHZirBYkyUwBOwMADEbNhGdRRS/uOqkgm6a+Sb4fNW/0UduefyFw==","shasum":"0c11064c2e96bc565654c7d7521afe3483f9fd22","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.3-rc.1.tgz","fileCount":24,"unpackedSize":26462,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/N87CRA9TVsSAnZWagAA5VoP/2PAjG0MlHkxIhdRUzZU\n0tl7nv1ajnzrTBtDt3r9AT6wj2YCjnx55b7wOZffiBEv/J8msCNIHFltOefS\n/gLvWT+wc64zGoLMHd0Is6C8s1klWRVbb52X2Blx8wvb2QHydjr2p1FJCTLu\n6iHpDyF2IIgTPfKJD6GNIv6yWylsZzzFp7W7Ucx9hPEUglXu/uXPAMAwZgLO\ncMP3M9mIdIEZtMT0cUd4OAcytzCUdd/L0Nk5rcLMp0x1CtICwlqRps3ojZ0q\nLgOb0uEUIXCo2d4OP6sGr7kejplsWkMDPFA4j/+ub/QdikvMrjU+eihi3cS+\nSVnsgGf6CfUiwp68jSdPomPOKlc++4zXuIvmq5Cv2rkHHT7Q4RgC2zNA/cSp\n/BUQdf6ciPB+S5IoGIK+D+ZtW4zVawgnu+L6hhsc6eJffefjzjvg1r9kIot2\nSpSqLF7dAUDsvDFWFSKIAPFt+2Rj4d4RyjShKE5coWjN1xE24a+53pddP36p\nmSmxbpT3BVJ+ptZ83oRiIMd6l8A5OCwgMLBQKz9cnfUFSFmNUNdg2giXW53L\nchHwPnAt0HmHd+sm47kbYcsaeUoUZdbmiijLmX1LZQx6SBBFzh3y53u3sWqx\nddeZjvkJny5LRqTKuNtV2NJOE6i/aEHpAlyj1mqAkYlYs/XSw3YreYhB7L7/\nw2su\r\n=0hms\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdbxY1WbmLaxABSeb4KsILfnwXigGX2gX9Oql48czWSAiEAplUbJamLOJNNXIKkIIQdh1WcqX4Z1nGlDRr6b1zs5gY="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.3-rc.1_1643962171654_0.3312188898185262"},"_hasShrinkwrap":false},"3.0.3-rc.2":{"name":"lit-ntml","version":"3.0.3-rc.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y --prefer-online -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"27d7cc5186c4ecbe36f7fee8b08808ca55ec7af0","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.3-rc.2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-5P/XS7Q4WML2dQgRgUwjd5l9PK9DjcKspx/FueCBrIOcSZ8QkZYy8rGCuhsTXulfsDmmLMo5MMnRc1AeqzEtFA==","shasum":"3b797b704b27b0ea677919c9af222e58e2ed8b96","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.3-rc.2.tgz","fileCount":24,"unpackedSize":26397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/OfhCRA9TVsSAnZWagAAg9AP/21svkvi4s8sdIuwJbRh\njGVp6rOSjDAqTe4ne/EqfcQpguEe2e1gwb8pS7cuSlNHf6EzETH7hOjIDC2t\n2uubOOkAWO0ShKWPUVOQRcat2WpGq1d1RkSV4fti56dJ7mVbTjmd9feLQLhl\n/pyFNGpqNHtPnaaRftzT6SM6X7HDiF/kn9SMvqA0RSNpGHDFiehyyRY9VYTS\nPYNbGm+Px+ZyAnWCRaiuw2R+xCz+Jt18+DeYZh6CFQGfAEI0zIh8fefiT9Xb\n0F1ChCJ3IYwYGHsoA+bHybOVGOUBmDdKgJWE3CBOZ2QjJtTVAvYMsUFJP7Jj\nD8oEyBe9abX0/XMF6dwHAC1DOyCYoRkQ6hlmePoFuJxC5PjtNvEkezOu0Ect\n+16QLnmuGSA2Xd+t5tsU75MQ/s1S4oXG7+DpaWfU+ldhedsqbryEenvUsAL3\nC/hjQCAqD6x9FVD0yPO3sWfQSvkGsVvUJaDpbFovnIR5fsmYGRFufX45ChWp\nLeHmfZoDz9VB4Bf596dGpcv1i7dcOvw99gjZTqMLdsJDQXZ3KEI0AF5MAOwC\ngZXY54hZpG4KVMjPzYg0PYg3/JjduSlgSW/NPyI6k2efdsIhx11WyEaFy5uJ\n7NeHxMKVv9EJn0K+G4wiOzob037fkAVw3EoUF/FSxMXZmmI8GqXPJhvb8qEG\nbNb8\r\n=XQvq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLtIrc/MC7NaSsuq6v4VNsaPbjXmlhyqFLau+aJ++TVwIgfbdbnIMTG9z+Zy7x6O4Bz7Dj0vD38xJJgrFSEFFcf/s="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.3-rc.2_1643964384988_0.10432738993103685"},"_hasShrinkwrap":false},"3.0.3":{"name":"lit-ntml","version":"3.0.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y --prefer-online -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"72790ed437a8574ef325007961827d82d1112bd1","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.3","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-xpr79PwKj35AaC/0UketnrDRJjHSEVVJEptAHvmH9kW7EGcGKM1vcs//7zVZOID2IPr5kWo/hgJJ6UmAlOWQbw==","shasum":"29c524810d471edc4936df66c16d75e70dcbabcb","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.3.tgz","fileCount":24,"unpackedSize":26392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/SXnCRA9TVsSAnZWagAAOy0QAJERO2BDMI66GEyrwoa0\nBIoIFW/TUcxCOq193IhiIU5MYzG3MWJtshf6xOHC1qsNRB0uFktP29uu5C8g\nQs00A0bEGQfrM36vgP/OEzS2kcRReoP4ggXTXWz8SFhw3hkjNcGZRk77z53e\nfIMDY6b2eEBH5CbsA2h3QBdWyuAhgQyNqZhpCzcCM6D7fDExFWp3BVb2McND\nradbnAH9vdBjwcCkyJiJ54NP7fHtwFM8qtE+xplKxjEeZ4l/FE/XlpZ0bAbI\n9OZUA4oYMnDQr3u+JckG7YH2IHErhBPwhNDl23mi1W+giBTVDchPyL8qMc64\n0VqlylD+OtSYCH317cNqEsZZRRhF/lPt+J1FdEGj6MzFekRhJEcAFfw7LwQF\n0xvBjbVyfd1Jmyftz9pr/QZoka4hJy4dagQVATt6K2eWfmHViczfoCnya4VW\n8OO40gXv7Sj8ANo2aDVxZbI244QLsNA+n2ePIXAgTgZHvhx9VRL0tvyjRp+z\nnahxWFW2iGKx83ACXvtmlO008RtX87NvrZWDQ14t585R0ghx+HvWEBqBmuLp\nEJDBVqgLaiCJsnmjFKwDYmmjmqFKdz3gBzFHEGbfNObUZex2PeUSYmU6/3ob\nwuL1PPV++V7vu9BjCUtZhKrjnUFvNYvo+va2t27D/qTM49ZTUXkbcSb09q99\ncP6x\r\n=d9zj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU3AyRmlu4OuueeIsYXy48M/kTfvXykAQ7Xim0XEMkKAIgAPzzzqOj5zbUraRj6MeJUNFP4QSjeOo+HIKnF5qpm/o="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.3_1643980263515_0.7412060049896041"},"_hasShrinkwrap":false},"3.0.4-rc.0":{"name":"lit-ntml","version":"3.0.4-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y --prefer-online -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"517af9d5a799fccef19c945f053cd21f73c07944","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.4-rc.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-J5KkqH7D40hEi6LoBMpDtQEwmBPMTD10P3DiM+qkxXpLaImU2SfJqk0ESvCyg2+3Zq+jhk27HO+FY4fWmlXE2g==","shasum":"233b20845e1d095435df7c11c67ec4dd197a86ef","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.4-rc.0.tgz","fileCount":24,"unpackedSize":26397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/TIgCRA9TVsSAnZWagAAkL8QAJWcpcgbuHUGIEneEB+s\nSKZ/VC0ZDIo6doXXCORKy7Qm8IfGkWJFI2sNTgwnNo7FSEsO/WAi3WHd6R0x\nnKQPDSqsutjBUJ8J8/7KYpetqbBqpkdwa74bI+GBijiZr9UIV6fRhXCxs7k5\nqePBsiFEWBycA56v4HSB0Q3aPj0mQih3hmVXwcVscBXZXCck5S5QpqPxsApb\nZBNMjLGwbhgmOcQ0dBuLz2L61bJxoLsTe+uZi3EoWsFPc8Ydh8CFNhC6yj2l\nzjsyCSRkSxHAIQPv64jNoNI/Nt06Cj9skufCc2vrJGfDXTg17SXISINGEh6M\nLUzPxdlFaOiRiu/TU16MZksSslSXavV25QJOqDHsUL9R64d2+bNVqpyHlU8D\nKRBQToTeZpWzf7QzD1fQm9t5UURIEGHmIqCZVJRTkHkYusLNowJaMB+ooFuR\ntXoeF6aJdnqi2YuSpvfuorLzt8u+0rm38Uxl8H2eSbWBQ/4SjfKee/RqfkSc\nls8hvn63CT80dwP2qBl43wsiUT9EJcTr3vRzMSQs9aw4GbQtxRHsoJtPg5KX\nVniXa1siyS5ekLoaLQfokJR6ZYWUaryhA/V6gijR9WqVs1cQ3ruHWrSRoq19\nuHQY6IDdpo42ErRiOJBvTKpuAbt8u6iPLXqwwS+AqrvKUemOxSYm2Vrq+TCo\n+Rdg\r\n=X8LI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHILOkDPc4iOFS7FvuKxwsctxA1xOzkZpwFKdHXGG/EVAiEA85oA7dl6/r/vAExzeQ7sV5XfDoQ6oZ6psHkBpAT4th4="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.4-rc.0_1643983391900_0.6144690986345922"},"_hasShrinkwrap":false},"3.0.4-rc.1":{"name":"lit-ntml","version":"3.0.4-rc.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y --prefer-online -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"93427e62042be9ab977b26d25c25b74a9d2df48d","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.4-rc.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-kBDWG/CbmZZzyS7pikRGd+OUT26NzAt98Yqzft8B2BDgBejNrOZQPDwWO5gj56tQOdMJGUj/k7u7MQo3ez7jcA==","shasum":"083f1a9dd6c3a7eb737ee011c9d764eeea298b50","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.4-rc.1.tgz","fileCount":24,"unpackedSize":26397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/TVjCRA9TVsSAnZWagAAHPcP/ib8KO9tQH9OsMFt4/np\ntNVmBhhx4WDUxlh7XsziAznpcCWNqAS/fhdvyj6xV6a15Mj/YTQG212bWEmh\nysuZieUR0U+Reazf09tQsvXeYpkJt5O+AzdhGBvIgJsMR/7E3ZHFrCtUjqrV\nlkzXj6li0ELUOtB5MTtFCMQa6XxQkRjW9ZJdFOZLVqG6hUQrvt+d0J28/4St\n4UpMLw34Z2Qt0bPOBB1tmJZb5uH0CJd3tRKzdXGOaC/LJHXsMmMFSJBOoy16\nrbOEUIRYgXSrg/1kSacj/IZI/EauzTL5IpVx3mWegKpzXzNvtUSoI8sQfHBa\n8hUjT4dhJEXhmYEO2SH8+R5YypnM9YRRqzcM05BtK/of+GSD2AeuzCZZuLLL\nIl1/CqPn8WKbmmplixUonYRrc6LL8gZ+N6WvtfAvxUljBoiwkQmsA6kbJ8rf\nMRncihYRr8YCPp1V06J8r8Tvc/4N9MvgAO/QJFVxKyCoq+vtPVWxwCL9N69M\neFr55litE7q2hg9rPGkN3AEZ8WMaH2iLSDE9SnmdYN9/Ax3PEpV9uY4pvklj\nrczaI2DCX4H9Yq2aSni1LRgOUjiU5fVa0WmodrgKRHCORmg6/vufJ8RzjanE\nWXBNkwzGtvmw5RTPVuBTduhkN/Cu6Iw2oNEnHqpS1BzfVW/1wQsi8Amnbwb7\nBQGy\r\n=GvUf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTZ1F1b9OWg8q1XUtdHu4+Z7Eh+c2yX3cCoKaai5FGOgIgW8IT0cvAk28gvoby6/kxkdFbIn/yPAPuh3/KmhhxER8="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.4-rc.1_1643984227776_0.27474599216706097"},"_hasShrinkwrap":false},"3.0.4":{"name":"lit-ntml","version":"3.0.4","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y --prefer-online -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"c4e8d43d5bb1d4b9c0511245ac25733b83a64d14","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.4","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-3S6rGgaOQmbBkKiOk+0SuSlivTDCQFvIOkssTnbRRbNa/h1IqUCDttwIAULEzSqyOdePlE6Osc9bPnSTmzXLiQ==","shasum":"48ff301f8636cf6bc574b23a8aa1ddb939c6b09c","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.4.tgz","fileCount":24,"unpackedSize":26392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/TXPCRA9TVsSAnZWagAAiz8P/1JRPZOdxaQFBElGdxxA\niZ4niUXmk62JvIIVbCcFVcobF8N6yo3zQniWei3eiw4t8SFh0hwWaka2l+2+\nWf3Mar/cQ3hA9JNwDpvIAmUDvz721UOlFaqb0Tg/87n6WI54XKMXJweGw0Zx\niUir0nZzxQE3/kM4pbZS9SyN2VTlscTpWgsnPr/cwk5nSIM37uTu06mkv9ya\nCCZnSWZc6CXHJyQIaRvxkXG09D/uOFIIYygko1YbD1S/m4UlnCSb7fg4VceW\nInSlI2zqzIv2O1gFb2TVc4E2NpX4nh5hKSbOruE348sJWZamifpuJPI3Av5s\nuM6uK5vQn5W0+/SBfe7zHoT+wfnTzS66Z1dgxmAMSde9zHTL+ocg+9VklXVF\nsgiUbPYpabkmxnCqHjVBWLmr0mzhCmhnz7S8QdPobue76xsC9rlj+EP8EKlc\nZAMgTdWqitY3ToZPnteAA2tLBF17h7l25WPKO+ifw/9mRzanSpNgP8k8P3h6\njht4d+Gpa25Hzp+b3j3FzTvmQ6OW9bNHphNj8VoRIVp05zLsLqcnledIgcvr\nKnSdzrkjw7iK3Wi1Yz7hdxOZASKbzq7nZ9OvNDFUaHjqzZqDsBIO193lqNp9\ne7dQ0RWd+aD0+Fee1AIr0niyLpQbmOY1xpZxFiSrKUdGBxzLBpgaB6t31mH2\nf92D\r\n=aCp4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuxnfqAn17bMvkLj/skS1fhX8RN/wUrCsVZd5zW2oPLwIhAJyUChoO6nnBRQvrdvnxbkE3jrzOZkACzSpuZPEdTm45"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.4_1643984335095_0.6685929091742042"},"_hasShrinkwrap":false},"3.0.5-rc.0":{"name":"lit-ntml","version":"3.0.5-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"npm x -y -- zx@latest ./postinstall.mjs","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.14","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"f8d4a94d4fcee60502700255b504866ba929c551","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.5-rc.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-HyoA8X+tSOWGPLsLOaGevrs+vggS5wGknm08mYrsH+UvLdpvPPGWwmc9oGYVcu/xotL4xEA9G3cpvoKBawHrYw==","shasum":"ee487bc99f4ef2e359c3a32deb595b87a673993f","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.5-rc.0.tgz","fileCount":24,"unpackedSize":26381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/pw/CRA9TVsSAnZWagAAnLcP/1cpjyomyG5w/JG4SXIy\nopk237ctxNuMIDDQa+Wt2/f7shqQZQ72RmTYQ+u6BQFeti8/kZlQhU+isAiT\nIutBgFTaucqTjZ0ODWEl5thNe67bkY8birI78+DM7oR98ZIR00Tc8Unlsalx\nfQaMGP8bJ/qdPxbg5cVnwpkAuckS7/kq505p1S3WCp95Q2bU52nWHpg8vEJJ\nQlVjESuDV70HvCpcBlramn7aR3eyRY/+tRP/aBsgQdaGBMu0Yqq6HUfen7/e\ndyQIBapSdvjCNo6eTPZBupV8MJEzkHXtGY339hFyAynugGbfwN8VJANjjGU6\n5Btdpwvt0od03Q3lhZva+c9KArkCzy23fESeNHMMOSGvxkZRp+7oQP7/CiTp\n9X0upoO/S12D6HMJV53XI1w8iOzpzkBTF0yM75RQL/Y54e3/P0lm8URvmmhw\niJ0SC7ZmUi7PjXcJde0AJdzaNqypytbeGywX2kHJX8F1bxp+y6LhEXxrKEfG\n+Pmwo+382XPSmBcwjIR0f5NpoY3+mKXlsX9WLxnukDxwKA3vEA36KykuYQgy\nSYPFMI9wK1Bew7MW2Ys0dOJQqsp87Oz++jLGxPkk6GrYo7OImKQsc9rnqKW+\nbbC8o1hXuQ/QvdFnH34NTZzwCrPCEF4chXTwHzRm+M7RrmNQNsNgH6cMh6Qj\nC23W\r\n=+s1M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLSf0tM5vL5TbmTjVKDiZ6vcZI4P8+IFjnhdGbvuhydgIhAK5RufvgdzPy6CXCDtAHdnin9dWOuiiPlL6G0ucEf4GD"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.5-rc.0_1644076095321_0.3603693346268757"},"_hasShrinkwrap":false},"3.0.5-rc.1":{"name":"lit-ntml","version":"3.0.5-rc.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.15","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"5247e174ae20e796fcd02ca836e411fa8af8f10c","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.5-rc.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-n1nnU2OU4rD2wcq0P7453l2GjIIdcn0vyn3St+N4VYnRK/yi2q+EiJiyvQ3IziCoXctjT4Qv/Ff8XHY41gOtCw==","shasum":"87699afb995dcf54232371eddc914aa94b8eb40e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.5-rc.1.tgz","fileCount":24,"unpackedSize":26363,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/4AVCRA9TVsSAnZWagAA+BEQAIp8jayEwumqXcVB63mH\nRAKneP/5VmTBjyGqBhsQVypSckWZ914McdpROeTN/GqCLk63aRQBzCvb/FVg\nszooT02g/kvQQzYl314dWuev6RrSxEcyZa7KWiyIm8EXpvBuhc6Od5+soiVG\n0WYkDXTUje5Hv4ZvwX13TwMtnfOVnxEkYpgqLAKS6buJNGLGREFnlQlQo1py\nvCqt6GEjxFmwKnSyyLDBRJ1r54zGgdNDpIV4R7LPjCKaxFvnGHSBd/X/OTFO\n0SjtjyD62wCJNr0GECUqcf6shMWg2NDay1Az6lWAMWs+TLsMjaqQ7W7O847M\nDXCgCnOPnynOibyGAJd9QDI6SSPMflgg9Rn3tWTj1ZNbLdcgdM/FkTD3qkKM\nY0HgYQ7DybMOXbbxYKqI3igiBecoNf8y3nOoC0b/0Adp7QuiHFDg4DBiMNh9\nFBlmNxo5B2lj8A1wX/KjuM5AqtUpxB6N0edjWE4uNcqhkpVZeex/O8Q/Mcjm\n8etM4/h+9i608JmHaIKuUZMxkBK7aVfBRX68rUz8AW7sybbq5JnO0YlFvQ1L\njP+l1pU2vxn229mOPgWo4hQwVyOnBBVq3vaiNlaRrIRN7Ixsf9h2rk+zQERy\nmrznVvXegXs9OibUIXJDaKNleo0z/JZJkAn/mli85zkkifDa6d31r5GIj71n\n0NzI\r\n=n20Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBiFxFdgCBvmnmOl2Xt4MYlFOilx9lMdW5mM5sxMtdj+AiEA0XFy4nXE0nLnrg8PP4fJ0nPGHKtWbxKW9HchhzAW544="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.5-rc.1_1644134421732_0.8902327297439678"},"_hasShrinkwrap":false},"3.0.5-rc.2":{"name":"lit-ntml","version":"3.0.5-rc.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.15","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"77fc3923357a7f937217e79149173c0204f7a70f","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.5-rc.2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-ZCb3zD4UXfRden2RqwhYD0xiKFjZeYZVPgbSIlFoZ3I+tFjf1SOmXCgWGOFvaRlgtcLOcR57Fp9kuBCN0rd78A==","shasum":"6aa8af1929e2355c0876cc208157cb4b3ac23899","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.5-rc.2.tgz","fileCount":25,"unpackedSize":26439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/4NlCRA9TVsSAnZWagAAxfIP/RPD26PSdhrnHvde3I0p\nQnRcoaJv9OS7gPQixjiaS6Q+UtxfCAgVkLT5uQIcvqtkYM+nzs2nktkUH/FR\nhibbSQLVHtMCcu68MbU5DZFTxkVeXZ6GFS00V+Up15zJF1+ohp9qDakR96d9\nie1/RIXOaNL75kKnW7IeNCIi5pFInuGZd3aVzdAxI5hjAgl9x9+EX0UH3pB7\nM1DkyGROCjt6wDPJFFMyVEd3KjdzR56vtkipOBpSJoSxuLgoWqFLCHscvSfw\nQbYkY8Q59FZWhwqHhrFCaVVbsW/OqPGN4UJzL1OmeW2u1UBsGuP60V48yLFk\nv0/Vv8zJ/80z0hzHv5oybmmFWlviLgwcmkX97DQjcrf1KaPJPTZqXQF1Z9F1\n7HJrt6NHzbNdPDF09Ig/Zoz+HUFG751xiMgMCbSW29zwoXODPbcGj5mT4GpI\nJtCY+AXTL2pCf+L+2O1teNhdq8OUm+Msv/awqX984Xfzdu+mNsmVCfp/HaKG\nEimLMKi1IY25qsLojs0TSPKXt7U8DuWkyn4FyiB1rvyTfda3mPWW11jly7wn\n5Zalc13BDDeTVqou/wpVmuuS3OEzSviclrjfqkVUdOOwqu/Fj2lLIlhBFxeT\nZ4jV5XkDD6ubxy4cG5xO35M5jkfo2IiZ3CAFaOexeGxJMoOrgzDDjVysX4MV\nv31S\r\n=DI6b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGgi3srw5Ft/flh7ktTpHEJvQ4Y/do7AFOFabn49QlseAiEAo14Azzv3cWHXBwVRWLGQVp0mgHeymoFNgGNuuIV7Jcw="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.5-rc.2_1644135269066_0.508912954860405"},"_hasShrinkwrap":false},"3.0.5":{"name":"lit-ntml","version":"3.0.5","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.15","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","simple-git-hooks":"^2.7.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"8f8abb0f0d702fe23a69b21021013b53c8c87fab","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.5","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-UL6RQlcR0T4UmY69WIoshUsXe9Q5QQ8OAq7r1JBmyU70cLwhuVQXY0o8T1Qe6vhM0DjYLTmCtGMzU5p0CZKPsw==","shasum":"74fbe59237e85269b2015cbdf9ccc70e28b7fdad","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.5.tgz","fileCount":25,"unpackedSize":26434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/4s/CRA9TVsSAnZWagAAx3kP/0ewb0wTOMPmr7y6+H8+\n5FFKl67JnRD3hGown+cGgAk9dBPEXQB1t191Cm1HfqIjKVRErHA7xvtRmuG4\nKmnpLv7DslaZVmurhDQTDGjaLImXwTCcogT9Q7woAkN3/aDGUvETIYym/+4F\nh2zIdmZYmVfE+1wRYS5gENA2RD9eXeDdkj++rDk+k3qfwQqukRREvBM6qixo\nhahm0EpxGuee1id9Vr6DE1cgztFru/1eR1rT7giz5rEeFElErkqiPPG0hNJS\nu7+WyOdzT97LVlDIh3EsZoTKDvHm87WtS+KGUh6CAOGrXa0undDrFaEDGU7a\nAi4Ym0E8THP59YFLocvE/AaVdies+E6Rd57L0g8Ja8Mr1dUYteMtU0biEIki\nEr+pSnu5/rRAuzP43eFXrnzard57Myu3MVdI6e+UftTSuvd52Eultf7bb8ek\nC/aWz6Yy7uFuo3IDWfoLpbgLN2zsDdlJDBSPchv8Fx/AZQ4g1IXWCCQfbcax\neaveWYNh1bvfdW0+IsSnuGc/uhRRCVg0mAg0LlxhM5EjZ0RPv6KHLEsJGx/4\nm/6yyOi+bXQbtLzZ4ylmECWOBP4I9C/wzXVL6gIs+6LhDJk22u8LkmUrKdFp\nN6OqFiwEtGf6MPMHZHIJw/Y3WPf5g4MQZiDoxDtZ1MGveUkwK+gHbGvVbWme\n7TBh\r\n=223U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+mV+1Qwf245B2/80P1WRGfr0ExlF2S9C2gVg1zSeUBAIhAMMByh9M74+P7KvO8QzT0vV2R1PxPFlB9sAdwPS/OeDR"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.5_1644137279079_0.9512696640509437"},"_hasShrinkwrap":false},"3.0.6-rc.0":{"name":"lit-ntml","version":"3.0.6-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.15","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"bd6d5713ad1eef02869160b06412fc6dde6ae575","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.6-rc.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-GNuBPS9lcvp/aL61KdpShffUbUVE0Kq4PZqa9NqJZKLHPGJsvY231FwHRf8JDBkoj7wOufzdR0byMPIPLPgZTw==","shasum":"fb6b0f9184bfcd27921676d721c58686e4163b8b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.6-rc.0.tgz","fileCount":25,"unpackedSize":26712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/9MyCRA9TVsSAnZWagAAc0cP/jyRnoBGujjThiTeSB7B\n1oN6nHLG4T4Io47IJNy76898LfRYi7UV46nwoXRSYzuXVtUERVCMFzYHhsLB\nJj0la+JUNYRgfG4UJu+sTMFcH5RgdB17oHIqPz8iVLk7DkFv5iufSf1IUGxD\nTz77+q42hRf3eS6DhAMmmtxIlILR9gm7kx1tchsSqJjWs3fgJTjB4dg7yBzX\nOErkE3czj+Ycw8fgakpht5XTUqQD1hxzaWyCbv6xcKKYJ3FVd14YfZ68lKPG\ngitoQhGisNwPyqCeOIjQYWRs6gy6vrtMAw+XwYDTQcIKqWPcRetv6BH/AHLh\nQS0gmoxrL/cpiA8FexbqEQyMH5lzx0T/Pbblsac5iMcHZRVtk+xR6tYqaHwq\n3jt4l1srPeQ6oGyX1V9HcqeU+qqLnguvutJczzjxS9pG5hl4ghr+loKxO23C\ngfvxwNI0IJWm5f3pEit+2Heyi2cDNE1E6GCdr8jj0wC4hmUnWYq4Xsg0cQNF\nqkMP6r/pGNe9u25fNx43TQm8lvH/GkO62GrfCV5lx89XD2i4SI7elRwwj1/6\nGQeQWDNlCswrL7wB8xHXRZ19APa2OXTGB0rg+/xYrjddwEExFkxE6APJ+k9A\n2PjmxiqG2PfV535c7iXGlRi59ga3FfZ29ciUouUlU62viGUhIm86Q78Xt/5B\nfa2D\r\n=bm4G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq23myfY3ufNQU7cLAAX3tCB/LeY9QIXgeOGIx08BMvwIhAMaW0LhTB9sI4k9tFqTq1kheJmoiEZT1GFRq4hFeLPSi"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.6-rc.0_1644155697922_0.6019728925449643"},"_hasShrinkwrap":false},"3.0.6-rc.1":{"name":"lit-ntml","version":"3.0.6-rc.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.15","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"ccd9806abcf8e9a811fa0773f31422c11fdaf139","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.6-rc.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-KLJOGfcSwef0XNvO/vI7DZzr8RhkVhbK8x/NCsyEmUTnp54Deo1q7gm6sS5CPb8V4q6Sk5P+cqMAZpVAE/aaGA==","shasum":"f24f47f620371484e3d72d5fbaba67879849c832","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.6-rc.1.tgz","fileCount":25,"unpackedSize":26712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/9YCCRA9TVsSAnZWagAAGWkP/3qztzwwwefd650yZtO0\ndOP+k+QdNiKg1qpeI58SezdSxF8gR+zJK6ZHoa2OZL2jzq022NF0QF4DL3KR\nZvY9EyZ11/jVB3ZE8EdcB0Y/1ZdwWVyuJRtI87Z1eVX6CvpLL17USdNU48oJ\nqpu4uSmAYsAAa00zRE7306Nl2bri+I5aLGWn5UKVEXGUHQtFtI+SG2pKyIGD\nPVS2nE8fd20L8nCPwY7IhaPl3lEDpUPi6vAe93GV5lG5DfUkSAcH/dnu8ahH\n6iQ9p+socOHP4yhIWpMEgmu6ndx8rY0V8fvtKBGNywDZY1cl2z5SrQfRcrIU\nPvFk1sW2os9k/Yw54mRlGoS54BWEPbcl171ICXFHYMunFvMpZxbbp00zZ0pj\njkIRHjNS+IqyB28c/mSUF+DMFuqUeexkigYxyoq/pp+MyIriO4FZXaQGHBKq\nafSUTXylHUkVuFOQiv1uvjSx1MEU0SJhxwQRevgBLF2jU+A5HxEW4DNyM0dB\nANdTk5uGgX45WPPe2gBnm7apAxgBCJBSBPKbplToK6iBrH5KVANtOw1oW3Ho\nagLBrvk9/xhN2E8acxIdTZR0jeNU8JVVLkoEqUpRx79UlflzPhJv3tIq3xDF\notja7RsEqpnlClR1Phi+qyLJK1hOoC0e4L0VAi0cR85yvqnzEI3ErO3L3wkf\n7JTC\r\n=poPl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDv3mh+tRQVDafTFynAuZheH4gJyhEDXLiEHfiSuJ26WAIhAKlO8sTIUnAhNjK0aNBWQzlh7WxN524u1RFxCTTfIAvd"}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.6-rc.1_1644156417910_0.7256769516058403"},"_hasShrinkwrap":false},"3.0.6":{"name":"lit-ntml","version":"3.0.6","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"bash postinstall.bash","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint@latest --edit","pre-commit":"package-check && nano-staged && tsc --noEmit","prepublishOnly":"package-check && npm run lint:build && npm run build","test":"uvu -r @swc/register src/tests","test:coverage":"c8 --reporter=lcov --exclude=src/tests npm t","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^6.0.1","tslib":"^2.0.2"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@swc/register":"^0.1.10","@types/node":"^17.0.15","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.10.2","@typescript-eslint/parser":"^5.10.2","c8":"^7.11.0","eslint":"^8.8.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.5.1","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.5.0","typescript":"^4.5.5","uvu":"^0.5.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"595e0ae4cc9fa6c3b0efb91eacc3fada791c342e","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.6","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-PTxjoB1rgwGkfd8lN8agw7MeCojG2voJRBl2G/HBWH6mwsFobqUs+8NSymwPuFCFaAOuxlIVn42aahi3NhD0yg==","shasum":"e57e77b11aa6878a6e49a9953822485e2e435a39","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.6.tgz","fileCount":25,"unpackedSize":26707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/9oHCRA9TVsSAnZWagAA3hQP/08OyNZLDWUKe3K3w+Az\nzIg+AmD8mvTY871dHanJe5biI7O92dO3aSJE4L/vRIH505ONgdDfYvPphOxR\nkomT+voD8gsl75IhRy7flX79MtkxC2bGCFJ0rJZ2ipoDn60CTuOJjLKERDvf\nEuUlZlakssGPQikhyq5Eo7bn/0u6G95GmauTmXp6X2CtHjV4bP8jW+pkqm2D\njamNLUy5Dy2UjQcKKFZD+ILaRDaOs1zV2e5Tdy/9ZVw0Ru2y0htgyl/Pxs2G\n6DOWjgPxL1bQKSWIYLk44hamBwRDdjAlSrSg06QFzEgTSgKil7FJcsI29flx\nCxfOgk5MB/A7f+B8Ddii505ejcSY8hqccgfuY+m42zkaXEZ+3bv/g1REhlAz\nq/1x0abdnh0ocWQOsxnVE0i7FhkyjVVLOfU5zHPDNrU3vd6a/+gmlZ8W1GQL\n4tIZJlV86lXuILldxzhWLRn/CZqFsggkrRhg3s/tgJ5c5OjpqWpmu0bhXr9q\nCTn8aX50yemJspiFx6C86oWUwAAJPe14YZ5kumcEJtwPfahou4a+qlIzAc6c\nM+3FAQMLlD0CMft5HBgqq4S+z6W0Mr/LUTIdwa7Ehlt7m48N+2q/XKvbxSCT\nULfavE27XyPZrUzSADA8vcU+MYRkJTdvpbskYQqMjzG4O/tWfnI9als5biPB\ngwrD\r\n=Zwrl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3ClqDJDfUNaNpJkvmvmXv7GBU/LIf+0g1fcHJ+F5mcAiEAvbo2NTwQcKQO4Jjahjac0uL4HRJBl6UcXlRUR9EJ/r0="}]},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.6_1644157446862_0.41748584696814883"},"_hasShrinkwrap":false},"3.0.1-rc.2":{"name":"lit-ntml","version":"3.0.1-rc.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"build":"npm run clean && tsc","check":"package-check","clean":"rm -rf .*cache *.log .swc/ coverage/ dist/ logs/","postinstall":"sh postinstall.sh","lint":"eslint src --ext .js,.ts","lint:build":"npm run lint -- --config .build.eslintrc.json","lint:commit":"npm x -y -- commitlint --edit","pre-commit":"npm run check && nano-staged && tsc --noEmit","prepublishOnly":"npm run check && npm run lint:build && npm run build","test":"vitest --coverage","ts":"tsc","watch":"tsc --watch"},"simple-git-hooks":{"pre-commit":"npm run pre-commit","commit-msg":"npm run lint:commit"},"commitlint":{"extends":["@commitlint/config-conventional"]},"dependencies":{"parse5":"^7.0.0","tslib":"^2.4.0"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@reallyland/tsconfig":"^4.0.1","@skypack/package-check":"^0.2.2","@types/node":"^17.0.42","@types/parse5":"^6.0.3","@typescript-eslint/eslint-plugin":"^5.27.1","@typescript-eslint/parser":"^5.27.1","c8":"^7.11.3","eslint":"^8.17.0","eslint-plugin-promise":"^6.0.0","eslint-plugin-regexp":"^1.7.0","eslint-plugin-simple-import-sort":"^7.0.0","nano-staged":"^0.8.0","simple-git-hooks":"^2.8.0","typescript":"^4.7.3","vitest":"^0.14.2"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":"npm run lint:build -- --fix"},"gitHead":"89770ef943ff25c6e4e2c717adb13eff3baa0316","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.1-rc.2","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-jUpdHVBXS//wMbIo/66qvt9Z/antr2bho1wCsSFYoG2KNgwE+RuAnFFsnIxf1vmsLXG2ggwVcCX+M5lliuGg0Q==","shasum":"e4905c045705c90104634ebab72af6422289f37b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.1-rc.2.tgz","fileCount":25,"unpackedSize":26669,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCb6G/8uNtdBse2nP47jQfe2dquJyrRxrKbo/ezTQiK9gIgMR5V0sMgYAsKuc9dfvHq7x8m27g1+M+3R8E9PR9ZnZI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuDNKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqY5g/9EVx/jGpXp6nBT5QWfQjrXNoS1Pix64zyOCRuGNzv0vbtfCIz\r\n3gVS6bcCw5OjVAE7qmk9YZgJSaur3fWen1ldY3AN3mneabQEnWzZPmB+XEfu\r\n6KdNmJ8dwDHN84bw+/bi9F7MWN2+3N0hDz9OH3jjtQSy12myoJq3yVeWSlyv\r\nok3I4CKaRmwgU95AOnKcpyw5Y9jywGrkW8kHOcqbtOk2B9h6XyVOLljRov6z\r\nR9C5jf21ZlfFJH4R+1xvnDpRIwX2m3ef14GyYiEXXnz5SW23hLVKTwSayliP\r\nrCV3arEnLCgZX82EelfmOb+F0/KdxJVRZW5Zqfc7whcwjLh1uXQ9v/uUDeIT\r\nswgchUg6O38xJBsB4JCcQ4UzRCpt/3vZNzRmoGzS26Da0x/ZoaKFJKRCWI7J\r\nev0BXNtorpd1qMKRR0r+zzQH+iCk76Br6s/hz+vupMwwFzlYgqXkoL0DBt8E\r\njdTQgDRBcBjZ/v/FRnsq8AMtiScuEsFmbgDwvjIIqJYThof1cDHPErm5KIIR\r\nN5zVzfxw7jNeBXTM3d/toGe9JiOmmXXOskZQq/cQsLfT/fTsTtLg161JlPJ9\r\nMV0+8Pb/TI7GbVJ233OWBK7Nqjgu7NQuWCLlA7mfBKchYRBUqAO244Rbyx4o\r\n/5YXG7N7XEhIB0y/gtu0HjdPd//Uj2vREsA=\r\n=a5Pu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.1-rc.2_1656238922230_0.5302254689815622"},"_hasShrinkwrap":false},"3.0.1-rc.3":{"name":"lit-ntml","version":"3.0.1-rc.3","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"funding":[{"type":"buymeacoffee","url":"https://www.buymeacoffee.com/RLmMhgXFb"},{"type":"github","url":"https://github.com/sponsors/motss"}],"license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"bench":"vitest bench","build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/.eslintrc.json -s 'src/**/*.ts'","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","test":"vitest --coverage","ts":"tsc","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md"},"dependencies":{"parse5":"^7.1.1","tslib":"^2.4.0"},"devDependencies":{"@reallyland/tools":"^0.1.0","@vitest/coverage-c8":"^0.24.3","vitest":"^0.24.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- -f 1","git add"]},"gitHead":"21de90e98716c905fa2bc393d9f856c158f5cd25","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.1-rc.3","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-9MqNsD3bd0vi8RDANUNzNz86qJ3+9aaeXlma/OT2LdGJ3YgmS9xOVb5vOhbm0xte8hKLXV/SZ4gpnpbGjm9wxw==","shasum":"781278ac63a5f72604cd95f110e30867cf249ec8","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.1-rc.3.tgz","fileCount":23,"unpackedSize":25904,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfP5Qt3invgYG6qjttrcPwi4e2x4qOApSNnmOQauGaxAiEAnWcRiJOV6OmoDjt+jtUHmtNgt0Ww34QOTqhKloruUVU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVkWuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2RA/+JgO9R+YPHH+vmNn/MkMi90PG4leRnfGHSFRy9cNSmW7apBK0\r\neK0gVyea4yE5qXDugTHBV54NpRMDSbN906yYV0hu1WGdXKkynbwSf9mCkyhG\r\ns5QNOaI46r1tbN6qBfDBIy1hK+0U0Ip9waslytm5rGMFl+sKSCodWVMQBIjz\r\nGQXVARI0q6c1vGyPjzNxz6C1ijwxxEZmhocUAZkDDdLD7frGPulSLzSZ5zhG\r\nYM9oRd2bz8MolojucQJvkpKQ5VYcX8GFxdfllcAJpd4CkiIt2GWILXQfYFJA\r\n2Yfjmh8whc6kbbNtItkhala89G0ESugIghFKXolvyg0Pq+kroBA+JdGeltb7\r\nIbA4FaO3XNkiZE49nr/3a06Fskb+6LCc3vedCMgEeEItcaoN3SbalDlfUmyq\r\npG3BjsZ5egU4vIO1aWuARNcABlf+yV2mXYZHnqrgYtNKz2QiO8+0G7xSDyzo\r\nm5NrL6lDPFsXk+Bcrbdox1C5ruhfgiugHAn4uGALbTq0LYZBWDIqe3ngyo91\r\nNalpWIsIDGOlCB0ZinG020iENdRN04+z9baJMjJnrxI7jy+JU9yohfVxcD4s\r\nqskte96YIsAAObFhEOnMwY6wz9dw8K5/TiAIKWX+wEv0PdO8CzZVMNMWE1BZ\r\njkhJUwSXdGpq70z0KroeHQf3yl7N8CIftaM=\r\n=Kvln\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.1-rc.3_1666598317877_0.650829379034318"},"_hasShrinkwrap":false},"3.0.1-rc.4":{"name":"lit-ntml","version":"3.0.1-rc.4","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"bench":"vitest bench","build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/.eslintrc.json -s 'src/**/*.ts'","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","test":"vitest --coverage","ts":"tsc","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md"},"dependencies":{"parse5":"^7.1.1","tslib":"^2.4.0"},"devDependencies":{"@reallyland/tools":"^0.1.0","@vitest/coverage-c8":"^0.24.3","vitest":"^0.24.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- -f 1","git add"]},"gitHead":"eb1a116dd269b90f292f302f67d8c491451c1c51","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![tippin.me][tippin-me-badge]][tippin-me-url]\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 14.17.3\n- [NPM][npm-url] >= 6.14.13 ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\\\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[tippin-me-badge]: https://badgen.net/badge/%E2%9A%A1%EF%B8%8Ftippin.me/@igarshmyb/F0918E\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[tippin-me-url]: https://tippin.me/@igarshmyb\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@3.0.1-rc.4","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-WW1e0lsW/teIeRwJSnbZgDn0PP3nyqaDdM2M0PyVOqdBT6CdYgJzN698pUVIBTXyR7FsOHtcxI5CnTlXxsJy8A==","shasum":"b856f9586c3ff4ff8c857c768fb869be43bfa43f","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-3.0.1-rc.4.tgz","fileCount":23,"unpackedSize":25786,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOeyv3blS8wqhE/3GWR/wj+0spIp6g3WZUypio4WpvMQIgL2qQZ796jKtfgIAdTAwCuIYiC6ygSqjVnjyymifXvco="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVmu9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqAxw//YiKRbSjouRVj7QIdwwEFbq3LUEWD2mL2evPyTUW4nMxPu8Rk\r\n298bT3mX1X+ga1wJ1tlOOCBTXDmoC5KIfyQIko4MP8zqPYGBV3yau+pekvxf\r\nHW6IJV2gSBUwd/LyeFD7eR+xIo7SugnE/SzwOJxVkNcM+dMX1hvbCzSJStSB\r\nJOul40BPEXO31RCaIlFtsXXtwi8BegD6E4/ZCz+e8bvqbIHbxCbN8u08ao01\r\nufT+pjYY/iz4iRh/5WIo4HY4f0umOVsNRKkmdEephJ7MuxTQmVnBfbhqdRcN\r\nW6QMdjp758erPQNjsk+mVpj8rJucWLKAlW4RdJirdii0rMJEbMaEKOe3KJLb\r\n0djsr4PUbYoHsLhYgFohAgrOzMkiMPdprb508uC/u7bujrFjAAe7E1uOQQPJ\r\nqbZDBcUlmet7246BswqGFA1NDdSq8gvvXJZ4+QF78BvhnYO5bPptig2L9Wb2\r\nvNgVmQLGZwfP0YaOh/RxJ9bl/YPv65AIUXxNCYapjIq/tgoNmFg+sRhFeimt\r\npDn+XYQLxl78ieI2x9s/sumbGBvhzYtlBXJ0n4LZ+sQYXyuAqHxv9Zs50STg\r\n/qyN3b8xku/M7sOuEO/p8wJf/rvF1diVKggZsOSRmF+/rU4eCgNLkLid8PmB\r\nHjmRDqToLyavK87JNcR9UCTIxu65o71LGUI=\r\n=JpTf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_3.0.1-rc.4_1666608061179_0.35542818543388366"},"_hasShrinkwrap":false},"4.0.0":{"name":"lit-ntml","version":"4.0.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","scripts":{"bench":"vitest bench","build":"npm run clean && tsc","clean":"sh $(npm root)/@reallyland/tools/cleanup.sh","postinstall":"FILE=\"$(npm root)/@reallyland/tools/postinstall.sh\"; if [ -f \"$FILE\" ]; then sh \"$FILE\"; fi","lint":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/.eslintrc.json -s 'src/**/*.ts'","lint-commit":"sh $(npm root)/@reallyland/tools/lint-commit.sh","lint:build":"sh $(npm root)/@reallyland/tools/lint-build.sh -c $(npm root)/@reallyland/tools/browser/.build.eslintrc.json","pre-commit":"sh $(npm root)/@reallyland/tools/pre-commit.sh","prepublishOnly":"npm run lint:build && npm run build","test":"vitest --coverage","ts":"tsc","version":"sh $(npm root)/@reallyland/tools/generate-changelogs.sh && git add *CHANGELOG.md"},"dependencies":{"parse5":"^7.1.1","tslib":"^2.4.0"},"devDependencies":{"@reallyland/tools":"^0.1.1","@vitest/coverage-c8":"^0.24.3","vitest":"^0.24.3"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"nano-staged":{"*.ts":["npm run lint:build -- -f 1","git add"]},"gitHead":"befa9f97a746a759786a07c40a197ec74b2a2907","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@4.0.0","_nodeVersion":"16.18.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-KubrbUzmtVvXdCy/J57XpbI6Qm8w6dvXeZBoN10tXFZrvDi+Frg7bNrCIXUnSHx1D/K8sKsAxI4W96J9clrpFg==","shasum":"f49ff1bcbfd09e5d614615c364ce77e307bcdc7e","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-4.0.0.tgz","fileCount":23,"unpackedSize":25781,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC516ul8ATRRTz/pUzH9WmlbDxiMmgxq9IjAfBILGsR0AiBlTtcWP6dALzD/Hf66HINdzZPJgQ4p6/0aU2kVgzbHKw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjVm+jACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp7cw/8DYTJQ41H/exa4du7WV5NH9zY3uj6vLFY8bAuCDjM0k2bHqCe\r\n0WmP1WV600dgupnAhhIBuwsTWl5fQ4LBEQFaT08hNZ1z+hgCVgZjea18mGkN\r\n/AZMWq3adKtl+rhzMcOh2P67l+om40robLp3t+yww5hqOLSSk2VKl+AWjz5M\r\npEb5Q7TyAsm18CYtgqR6qdhR7l4r0+KgRJNc79EaXiS0mXEqya+iEjwQokCl\r\niXruaVV5Zy1F0CpwbdDNYKrxZWrZg5sBna+AUli64ATJjTuiN2hzFL8e4L9W\r\n6x8rF/zXDu0tBaMU0V3WwtymKF9GL1xHPCY4uo+6+jZZLXpj5VttLSzlVJ4c\r\nRETVjfDhy609ikY1XmtFUsTrxj9EaE+sGxscWpnKvTVTyLM6mq3acuci3TFe\r\nsUKNeGC4GhQoKlw331UOnKlibLDEjbE91RZbpQqSfiZtTKkn7jltN0H/4Ti7\r\nuihzwV+7ib9KmmLsU5bdrmzK8p8AUekS4U5YJ09xykhYHpaSCwpuN+ArmEb6\r\nwTGDCO6uwbOxaqDOxFPujMPRNvXoKR0Rs+O/9FvpYm/07g32A6hPDnexBn/F\r\nyXtThiYWBwjkuNME5y3VtsvLQe50kWuwPp7j23njnrPdFVHPyhNMOntjZkSo\r\nrmwfAqGUilScXP1/Zf9IoD+5O6b6eYTYeYg=\r\n=f1oR\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_4.0.0_1666609059219_0.41605801276577714"},"_hasShrinkwrap":false},"4.0.1-rc.0":{"name":"lit-ntml","version":"4.0.1-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","dependencies":{"parse5":"^7.1.2","tslib":"^2.5.0"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"d3400ee2733a69e45afc68b12bfad9373476a296","readme":"<div align=\"center\" style=\"text-align: center;\">\n  <h1 style=\"border-bottom: none;\">lit-ntml</h1>\n\n  <p>Inspired by <a href=\"https://github.com/PolymerLabs/lit-html\" target=\"_blank\" rel=\"noopener\">lit-html</a> but for Node.js.</p>\n</div>\n\n<hr />\n\n<a href=\"https://www.buymeacoffee.com/RLmMhgXFb\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 20px !important;width: auto !important;\" ></a>\n[![Follow me][follow-me-badge]][follow-me-url]\n\n[![Version][version-badge]][version-url]\n[![Node version][node-version-badge]][node-version-url]\n[![MIT License][mit-license-badge]][mit-license-url]\n\n[![Downloads][downloads-badge]][downloads-url]\n[![Total downloads][total-downloads-badge]][downloads-url]\n[![Packagephobia][packagephobia-badge]][packagephobia-url]\n[![Bundlephobia][bundlephobia-badge]][bundlephobia-url]\n\n[![ci][ga-badge]][ga-url]\n[![codecov][codecov-badge]][codecov-url]\n\n[![Code of Conduct][coc-badge]][coc-url]\n\n> Lightweight and modern templating for SSR in [Node.js][nodejs-url], inspired by [lit-html][lit-html-url].\n\nThis module also gets featured in [web-padawan/awesome-lit-html][web-padawan-awesome-lit-html-url]. Make sure to check the repo out for awesome things inspired by [lit-html][lit-html-url]. 👍💯\n\n## Table of contents <!-- omit in toc -->\n\n- [Features](#features)\n- [Pre-requisite](#pre-requisite)\n- [Enable syntax highlighting when writing HTML with template literal](#enable-syntax-highlighting-when-writing-html-with-template-literal)\n  - [Visual Studio Code](#visual-studio-code)\n- [Install](#install)\n- [Usage](#usage)\n  - [html()](#html)\n  - [htmlSync()](#htmlsync)\n  - [htmlFragment()](#htmlfragment)\n  - [htmlFragmentSync()](#htmlfragmentsync)\n  - [SSR with Express (Node.js)](#ssr-with-express-nodejs)\n  - [Browser support](#browser-support)\n- [API Reference](#api-reference)\n  - [html()](#html-1)\n  - [htmlSync()](#htmlsync-1)\n  - [htmlFragment()](#htmlfragment-1)\n  - [htmlFragmentSync()](#htmlfragmentsync-1)\n- [deno](#deno)\n- [License](#license)\n\n## Features\n\n- [x] `await` all tasks including Functions, Promises, and whatnot.\n- [x] Compatible for ES Modules (`import { html } from 'lit-ntml'`) and CommonJS (`const { html } = require('lit-ntml');`).\n- [x] Parses `PromiseList` or `List` by default, without explicit joining.\n- [x] Support HTML syntax highlighting + autocompletion with [vscode-lit-html][vscode-lit-html-url] in JavaScript's template string.\n- [x] Support native ES Module via `.mjs`.\n\n## Pre-requisite\n\n- [Node.js][nodejs-url] >= 16.x\n- [NPM][npm-url] >= 8.x ([NPM][npm-url] comes with [Node.js][nodejs-url] so there is no need to install separately.)\n- [ES Modules]\n\n## Enable syntax highlighting when writing HTML with template literal\n\n### Visual Studio Code\n\n1. Install [vscode-lit-html][vscode-lit-html-url] extension.\n2. If the extension does not provide that syntax highlighting and autocompletion, try writing your templates in `.jsx` file (or `.tsx` file if you're [TypeScript][typescript-url] user) . That should work.\n\n## Install\n\n```sh\n# Install via NPM\n$ npm install lit-ntml\n```\n\n## Usage\n\n### html()\n\n```ts\nimport { html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncLiteral = Promise.resolve('<h2>John Doe</h2>');\nconst asyncListTask = async () => `<ul>${peopleList.map(n => `<li>${n}</li>`)}</ul>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1><h2>John Doe</h2><ul><li>Cash Black</li><li>Vict Fisherman</li></ul></body></html> */\n```\n\n### htmlSync()\n\n```ts\nimport { htmlSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\n\nhtml`${syncTask}${peopleList}`;\n/** <!DOCTYPE html><html><head></head><body><h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise]</body></html> */\n```\n\n### htmlFragment()\n\n```ts\nimport { htmlFragment as html } from 'lit-ntml';\n\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;\n\n/** Assuming top-level await is enabled... */\nawait html`${externalStyleLiteral}${syncTask}`; /** <style>body { margin: 0; padding: 0; box-sizing: border-box; }</style><h1>Hello, World!</h1> */\n```\n\n### htmlFragmentSync()\n\n```ts\nimport { htmlFragmentSync as html } from 'lit-ntml';\n\nconst peopleList = ['Cash Black', 'Vict Fisherman'];\nconst syncTask = () => `<h1>Hello, World!</h1>`;\nconst asyncTask = Promise.resolve(1);\n\nhtml`${syncTask}${peopleList}${asyncTask}`;\n/** <h1>Hello, World!</h1>Cash BlackVictFisherman[object Promise] */\n```\n\n### SSR with Express (Node.js)\n\n[![Edit SSR with Express and LitNtml](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/ssr-with-express-and-litntml-4tbv9?fontsize=14)\n\n### Browser support\n\nOnly modern browsers with native [ES Modules] support requires no polyfills and transpilation needed.\n\n```html\n<!doctype html>\n<html>\n  <head>\n    <script type=\"module\">\n      import { html } from 'https://cdn.skypack.dev/lit-ntml@latest';\n\n      // --snip\n    </script>\n  </head>\n</html>\n```\n\n## API Reference\n\n### html()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document string.\n\n### htmlSync()\n\nThis method works the same as `html()` except that this is the synchronous version.\n\n### htmlFragment()\n\n- returns: <[Promise][promise-mdn-url]&lt;[string][string-mdn-url]&gt;> Promise which resolves with rendered HTML document fragment string.\n\n### htmlFragmentSync()\n\nThis method works the same as `htmlFragment()` except that this is the synchronous version.\n\n## deno\n\n👉 Check out the [deno] module at [deno_mod/lit_ntml].\n\n## License\n\n[MIT License](https://motss.mit-license.org) © Rong Sen Ng\n\n<!-- References -->\n[nodejs-url]: https://nodejs.org\n[lit-html-url]: https://github.com/PolymerLabs/lit-html\n[npm-url]: https://www.npmjs.com\n[parse5-url]: https://www.npmjs.com/package/parse5\n[pretty-url]: https://www.npmjs.com/package/pretty\n[vscode-lit-html-url]: https://github.com/mjbvz/vscode-lit-html\n[typescript-url]: https://github.com/Microsoft/TypeScript\n[htmlminifier-url]: https://github.com/kangax/html-minifier\n[htmlminifier-flags-url]: https://github.com/kangax/html-minifier#options-quick-reference\n[pretty-flag-url]: https://github.com/jonschlinkert/pretty#ocd\n[web-padawan-awesome-lit-html-url]:\n https://github.com/web-padawan/awesome-lit-html\n[deno]: https://github.com/denoland/deno\n[deno_mod/lit_ntml]: https://github.com/motss/deno_mod/tree/master/lit_ntml\n[ES Modules]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules\n\n[parse-promiselist-or-list-url]: #parse-promiselist-or-list\n[ntmlopts-url]: #ntmlopts\n[default-minify-options-url]: #default_minify_options\n\n<!-- MDN -->\n[map-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n[string-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n[object-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n[number-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n[boolean-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n[html-style-element-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement\n[promise-mdn-url]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n\n<!-- Badges -->\n[follow-me-badge]: https://flat.badgen.net/twitter/follow/igarshmyb?icon=twitter\n\n[version-badge]: https://flat.badgen.net/npm/v/lit-ntml?icon=npm\n[node-version-badge]: https://flat.badgen.net/npm/node/lit-ntml\n[mit-license-badge]: https://flat.badgen.net/npm/license/lit-ntml\n\n[downloads-badge]: https://flat.badgen.net/npm/dm/lit-ntml\n[total-downloads-badge]: https://flat.badgen.net/npm/dt/lit-ntml?label=total%20downloads\n[packagephobia-badge]: https://flat.badgen.net/packagephobia/install/lit-ntml\n[bundlephobia-badge]: https://flat.badgen.net/bundlephobia/minzip/lit-ntml\n\n[ga-badge]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml/badge.svg?branch=main\n[codecov-badge]: https://flat.badgen.net/codecov/c/github/motss/lit-ntml?label=codecov&icon=codecov\n\n[coc-badge]: https://flat.badgen.net/badge/code%20of/conduct/pink\n\n<!-- Links -->\n[follow-me-url]: https://twitter.com/igarshmyb?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=motss/lit-ntml\n\n[version-url]: https://www.npmjs.com/package/lit-ntml\n[node-version-url]: https://nodejs.org/en/download\n[mit-license-url]: https://github.com/motss/lit-ntml/blob/master/LICENSE\n\n[downloads-url]: http://www.npmtrends.com/lit-ntml\n[packagephobia-url]: https://packagephobia.now.sh/result?p=lit-ntml\n[bundlephobia-url]: https://bundlephobia.com/result?p=lit-ntml\n\n[ga-url]: https://github.com/motss/lit-ntml/actions/workflows/ci.yml\n[codecov-url]: https://codecov.io/gh/motss/lit-ntml\n\n[coc-url]: https://github.com/motss/lit-ntml/blob/master/code-of-conduct.md\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@4.0.1-rc.0","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-aonsPpy95mhNkVM+U+I6ucF0gHfZ9Nd+Urv1M737MXHKtYRT7Nfx2cjhsFA0p5egypWvEp5w2IumKJLR2At+kQ==","shasum":"c92078b7356b1e53ece8b724ec485a44df1998b6","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-4.0.1-rc.0.tgz","fileCount":23,"unpackedSize":24530,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHSVL6YXzJRodCT5psNlszERMDdiUeoC1tbI6gvKqC/AIhAKtAsyXtBhanThtNj7LPXRs84WdX5Ib33eg0Ah1bqWoB"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6N02ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpxBA/+OuCjYpseSZaF9EVaAQ7CY1HUvg8OtmYPbci365mcOq3ebsgB\r\nHlLeXZtCx0mFTTSqCSPUGoLxFfkGZFWb5rQlxGi4N0xT00pgt0olL8KTsgwp\r\ndOrmEHeZIp3feJScnQqc0glez9r5fKk6JXPhIuQYkThCgfI1Y+1/f41Yr0rL\r\njxXVwfMvnWeVepuGFc52J9WMBS/9Oyuhpwut7PJywBhIuRSPNiXS/H6dNz6g\r\n4qDfRiaGf0Y/moKsKRlWjXfibZhIi6KO8kC/ZFp/FMzy/IGvwVHf+VXSz99g\r\nNRDX5bqDzVkhulJyJ61ztsjfZE+40u43o5nf3jYgtGzVUPPu+7XjxZG3aST+\r\nLzNJaQXCGo+18jaafSAlnwdiRdGJOWy8ztG1YGSqTq/e6Wi2LEsZkTo1HpQm\r\nTLUtCDmYa8jIxwd7PqD/4Gzqxq7zLv0uEmfjdXys2gd85RUYk3DmVCNGHj41\r\nfhwAjno0plGzOQh2Xkznix22MCz6eI/wuhXAhxd+pTNndidg8XuPxOlbI2ME\r\nqG0BJvl/n2h2jSEBFdcs4lXE2V3YKpTmAT8Se7UVgFngif4zfb5/VBLCuzUd\r\nN2jiNc4Qnrnc0B1BotnGMz44ZbzsLm1pAVLqAKTtxmtNV5tl+qJC1kf81IuL\r\n9lCVoBvvkzioQTGmO8sOzOrgXkMQ+dztNyE=\r\n=Nt1h\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_4.0.1-rc.0_1676205365852_0.696057503880708"},"_hasShrinkwrap":false},"4.0.1":{"name":"lit-ntml","version":"4.0.1","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"https://github.com/motss"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","dependencies":{"parse5":"^7.1.2","tslib":"^2.5.0"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"3296a7cfb3c5e67abb07b5ae625c713eb8ee1222","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"_id":"lit-ntml@4.0.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-Acbx9SOI09ryNz4F5fME1sADoy1Uowak3ns5ejFXCEGb3110ZuDLLCncd0pwA/Skl42pvddUxUdtoUMojwx4eg==","shasum":"a0cbdd515d443d8f7397ad045f95aba5d20961f1","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-4.0.1.tgz","fileCount":23,"unpackedSize":24525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlwV21mLS2anzBXodsz/p79WKq41SD8372HLzU7lZtbwIhAPBq60B27IzWgGM86fHY6B+JL+M0pc4ewF0d4dAjuP6e"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6N4DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooFw//ZCRbyx4Piod8ZKxRHkmmAao+kVtYC3flXGhm63Lxbqa5NfZH\r\noXYL+7QtRAhcWW5flMZcdiARTHMOnttyLhy+jfQXo3Is/Ko2JFLtjJtT+6ti\r\nQ+RVYaUcFez7edfUPNVk/Hh9gYVIHZIdFe+jM3UiS9W8dxeJlNyzqpLkT8Aa\r\npKgvh62n2W1+bm8rr1c79p4ZlTD4WcShzqcMVXrjpg3AhzNTiirxV6CaZc8Z\r\ne30Gcy2VOrLu3LDtIHP8dY/osWi7ky77pvhXn48oyEc+MsXb7JppVf4hAwDe\r\n8ZnoIrHZ7UNU/Jw3shriBvhLdWaZMtubK/Z1Z3/rnznsarrotyk2Y6GIGQvX\r\nX0Vi3aCIu4i5JKgtJCCMUBTVQTAgt7I/10CEXvJf5otIlv1apF6vIZuYRAwL\r\nl1Y0vE8Zi+Um/zfCc76cuRa3zTDBbVls2+i0jtmu4vNZLVAsZyI/4GAmHarz\r\n84GkFHrKtAi5voUNb4idNT39rbJUvID9y6T4TWUKOSBmIEydikh+YMkqS5nY\r\nBtBq6vkIx7ovhnItCxaYkzktv7xHu/Tq0FvklOyRtNtO1jxiQNmg/js/tY/m\r\nGvdqsxWPvE4WwCbfjK8JZvgVgkxhl4hlOhI1QDlEPv1PKGPkcxbsRPJn3kpF\r\nQNMruo0A1WlZFtv1HMM/PaEsVXYmFS6V27I=\r\n=Qk3F\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_4.0.1_1676205571542_0.1281219788235577"},"_hasShrinkwrap":false},"4.0.2-rc.0":{"name":"lit-ntml","version":"4.0.2-rc.0","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","dependencies":{"parse5":"^7.1.2","tslib":"^2.5.0"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"readme":"https://github.com/motss/lit-ntml/blob/main/README.md","gitHead":"a7c4b444af9db6c824a7734c279308215b3ea0c9","_id":"lit-ntml@4.0.2-rc.0","_nodeVersion":"18.14.1","_npmVersion":"9.3.1","dist":{"integrity":"sha512-4BDB5FrSGnfLnFXurWH0dIFRgRyrRUZlbNygvZ/dHF/URDGiJtxJyakvbCeLrRGzAUTjr7c1N8+efQu5cIWI5w==","shasum":"6f7fdff388886fd4ba811edaaca560be9e32b02b","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-4.0.2-rc.0.tgz","fileCount":23,"unpackedSize":24228,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8A0vQtQhwmy9AgaLdzdZnqap0A+972U7Fx2jm+ZAv3AiBR2gvYEeiONbCfedUDAwGmiiaQvvrpb6CJB8U1sUp04w=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9N4mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrSvg//S0L+pFh1gdNGUgFeuTMV/AytAFWG8GSEyugfgEa7TLT08uaP\r\nVYDJEtFuIb3dLC9UBUjKG29YpBjtIVCNHwAB1HBvtiHAHkyhKKXeBFiALTtA\r\nqgqdT9BeGjWM5QN3ma9ir0ReLR0Gjk5Zccs7CW0Cnxp1JjBQ5NWZYFVlW9mA\r\n71NkzE+Lk+JipvC//6iDHn11RnAWjUkkaVyXBIKcoQa3i+aq4Av6PPpbpfyH\r\nb9zN90/Wcrl7VscVMP8PaEmpzUM2Y6n4Y7G68xQThzFFW/N00UETA1zrLIHn\r\njlGoZyQ3f+fdgWzSUO+m3c2WHiSs2OgG4oHa+2WMufpFHu4MVG/EnZgOMb53\r\nkOvPoIDbwZw90xt31nALtlRM7gfdk1Icy9SOKkEOZZzIHLrjOZG9BEPPgY4j\r\nNf6qAs/MTgJlHc975FzMArvoe/d998A02/Uy/VsUE66Oy8plc7p+fKIzTQg2\r\nYHiITwIJ3rf4qy7RBRjU7/nLpwX67cmctPzFplpfHvGIsZDfkLFxK+dO7HLy\r\nzonkBm4lSMa9p3/7i9mJQEFrKEd1Y9pWCNvJ3JbavjjaXMvrJk0R1kNMCUcc\r\nE4x0P7tR4SropSq1UoLd+NqBh6sJZH4fis2D4xKSfM6cw3f1b72uel4tDeOb\r\n5HmnxDsH33bpzvWHAElGcjUaT2Q2uTaue5I=\r\n=Tc38\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_4.0.2-rc.0_1676992038454_0.4366851580240214"},"_hasShrinkwrap":false},"4.0.2":{"name":"lit-ntml","version":"4.0.2","description":"Inspired by lit-html but for Node.js","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"homepage":"https://github.com/motss/lit-ntml","bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"funding":"https://github.com/motss/lit-ntml?sponsor=1","license":"MIT","author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./dist/*":"./dist/*"},"main":"./dist/index.js","module":"./dist/index.js","typings":"./dist/index.d.ts","dependencies":{"parse5":"^7.1.2","tslib":"^2.5.0"},"engines":{"node":">= 16.x","npm":">= 8.x"},"publishConfig":{"access":"public"},"gitHead":"c4f8983ea36d132d6280fe89ac6e68d9679f62a1","_id":"lit-ntml@4.0.2","_nodeVersion":"18.14.1","_npmVersion":"9.3.1","dist":{"integrity":"sha512-j2Vs7grCdDDzBecAD/Uk2A6ORE8VFJ0Y3S8NA5Rs+kXH+otcUB1/OIlFIHCn3e9nQ+WDOhU60jUfIIAfqfvTKQ==","shasum":"f6453f4261834529f7e502418cfe16379ed08d02","tarball":"https://registry.npmjs.org/lit-ntml/-/lit-ntml-4.0.2.tgz","fileCount":23,"unpackedSize":24223,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBfyLNFfZM7f6rdQKPXEvH+boVc1dbVICifCM/SwpBx3AiEA6jl+mInsFlYBSM6EC9TUoWemP0W106RyXHIzr8gMDqo="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj9OdpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmobaw/+LtBP74J+252dHdionIRRO4I/O3R8lSAjem8hTQourQuEpPox\r\nGyTP7fu1UAt4UlnjsYuCnTb3FELmDLd7VsMrDWueeOS5g4iGkh0Wqn6CiTDk\r\n1aBi3qW5ndDwJ5c0ECAkBxn/tjwpH3Zv3g0fyKx7qMw9+4r0xWUXGHL6eGu1\r\nBdpNMwPK0u3wQKTWJUAXThO5gnJR2dH8awwRnJNXxI6PadbvQIB2DXD4cN62\r\n8zLEo7KVnUiY+624yvssDhmgpk/w3Ajts44hKyNuIafFaxyBBjtatEzA4sNR\r\nN8jR8ehVm1zL4nGJV5+MYxiSC5LWWEgLY9NEfJeomnGpaQ9d7X22pTan1rD2\r\n/wo+GK0Y+7PL4r0uYJgOLD2IRiZAD0ZBbv7v2ooRxqm5x+pembAhxbUBwra7\r\nD7OG91SOob4PzDyko/wcYER7AoMmILst7Bmy0eoETlsayV/hqMYyGU8dcGYE\r\ns0PIj/sR2UogxvIY+tj2brEmxvZJ7XZwK9tgPDNW7zv36zT/6akqpr178VHF\r\n8sRJ3kpA6/Eu3W3ybUfz1kXxIfxUwP2DGNYg8uPclLy6ODUnvD5yX5qtW0Ps\r\nNgI9TFdv/sdVL27UvqEVUzx3hdbjcDFR9eM7IDGhaRSTH54VhfgPjSBdjgDo\r\n0UEJN5e9OfjuOhDU+W0wPvVjVydmzlmEw64=\r\n=4SGu\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"motss","email":"wes.ngrongsen@gmail.com"},"directories":{},"maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lit-ntml_4.0.2_1676994409166_0.4805930927416848"},"_hasShrinkwrap":false}},"readme":"https://github.com/motss/lit-ntml/blob/main/README.md","maintainers":[{"name":"motss","email":"wes.ngrongsen@gmail.com"}],"time":{"modified":"2023-02-21T15:46:49.394Z","created":"2017-11-15T16:07:49.051Z","0.0.1":"2017-11-15T16:07:49.051Z","0.1.0":"2017-11-16T16:56:36.974Z","0.1.1":"2017-11-16T17:04:10.977Z","0.2.0":"2017-11-25T09:22:38.027Z","0.2.1":"2017-11-25T09:24:03.208Z","0.2.2":"2017-11-25T09:33:41.226Z","0.2.3":"2017-12-01T14:09:17.261Z","0.2.4":"2017-12-04T13:59:52.267Z","0.2.5":"2017-12-05T15:29:53.120Z","0.2.6":"2017-12-06T14:35:55.627Z","0.3.0":"2017-12-07T18:07:26.907Z","0.3.1":"2017-12-13T15:02:46.833Z","0.3.2":"2017-12-15T14:24:43.097Z","0.3.3":"2017-12-16T14:38:40.656Z","0.3.4":"2017-12-17T06:55:17.123Z","0.3.5":"2017-12-20T14:48:58.720Z","0.3.6":"2017-12-23T11:11:57.760Z","0.3.7":"2018-02-08T03:07:52.279Z","0.4.0":"2018-03-09T15:17:06.506Z","0.4.1":"2018-03-15T16:16:18.803Z","0.4.2":"2018-03-19T16:11:54.766Z","0.4.3":"2018-03-23T12:17:44.614Z","0.4.4":"2018-04-01T14:54:41.849Z","0.5.0":"2018-04-28T06:21:40.452Z","1.0.0":"2018-04-29T17:22:34.722Z","1.1.0":"2018-05-05T03:41:59.659Z","1.1.1":"2018-05-07T14:48:46.443Z","1.1.2":"2018-05-07T15:33:17.343Z","1.1.3":"2018-05-08T13:37:05.030Z","1.1.4":"2018-05-09T15:37:56.577Z","1.1.5":"2018-05-14T15:22:02.544Z","1.2.0":"2018-05-25T13:48:06.161Z","1.2.1":"2018-08-06T15:50:02.412Z","1.3.0":"2018-08-18T09:35:40.887Z","1.3.1":"2018-08-19T16:27:22.037Z","2.0.0-0":"2019-03-14T16:37:02.983Z","2.0.0":"2019-03-15T11:30:45.574Z","2.1.0":"2019-03-16T02:31:56.771Z","2.1.1":"2019-03-16T13:59:21.018Z","2.2.0":"2019-03-23T08:36:15.857Z","2.3.0":"2019-04-13T04:56:46.644Z","2.3.1":"2019-04-13T04:58:51.180Z","2.3.2":"2019-04-13T05:01:20.902Z","2.4.0":"2019-04-24T15:12:47.902Z","2.4.1":"2019-04-26T15:22:31.636Z","2.4.2":"2019-04-26T15:35:33.467Z","2.4.3":"2019-04-26T15:54:59.789Z","2.5.0":"2019-05-18T16:04:50.177Z","2.6.0-beta.0":"2019-05-18T17:27:03.780Z","2.6.0":"2019-05-18T17:39:09.123Z","2.7.0":"2019-05-24T16:48:23.221Z","2.8.0":"2019-06-27T15:30:41.821Z","2.9.0":"2019-09-06T14:45:18.885Z","2.10.0":"2019-11-07T13:17:19.300Z","2.11.0":"2020-01-12T16:10:22.723Z","2.12.0":"2020-02-23T09:00:13.844Z","2.12.1-rc.0":"2020-02-23T10:24:00.601Z","2.13.0":"2020-02-23T10:27:43.262Z","2.14.0":"2020-03-16T15:34:52.660Z","2.14.1":"2020-03-16T17:01:55.455Z","2.14.2-rc.1":"2020-03-22T08:05:20.849Z","2.14.2-rc.2":"2020-03-22T08:18:37.281Z","2.14.2-rc.3":"2020-03-22T08:24:28.514Z","2.14.2-rc.4":"2020-03-22T08:29:37.019Z","2.14.2-rc.5":"2020-03-22T08:34:40.723Z","2.15.0":"2020-03-22T09:15:59.983Z","2.15.1":"2020-04-18T10:36:59.585Z","2.16.0-rc.0":"2020-04-18T10:50:06.372Z","2.16.0":"2020-04-18T10:55:04.536Z","2.16.1":"2020-04-18T12:14:30.214Z","2.17.0":"2020-10-09T10:36:34.371Z","2.18.0-rc.0":"2021-01-12T15:40:31.058Z","2.18.1-rc.0":"2021-01-12T15:49:34.327Z","2.18.0":"2021-01-12T15:51:34.049Z","2.18.1":"2021-01-17T06:54:07.685Z","2.18.2":"2021-02-08T03:51:23.803Z","2.19.0":"2021-06-28T16:04:16.360Z","2.20.0-rc.0":"2021-07-01T14:43:56.155Z","2.20.0":"2021-07-07T03:43:05.009Z","3.0.0-rc.0":"2021-07-25T14:49:34.954Z","3.0.0-rc.1":"2021-07-28T15:25:44.075Z","3.0.0":"2021-08-29T12:56:02.158Z","3.0.1-rc.0":"2022-02-03T08:39:05.816Z","3.0.1-rc.1":"2022-02-03T08:40:56.070Z","3.0.1":"2022-02-03T09:17:52.800Z","3.0.2-rc.0":"2022-02-03T14:12:13.201Z","3.0.2":"2022-02-03T14:14:15.335Z","3.0.3-rc.0":"2022-02-04T07:56:44.827Z","3.0.3-rc.1":"2022-02-04T08:09:31.829Z","3.0.3-rc.2":"2022-02-04T08:46:25.146Z","3.0.3":"2022-02-04T13:11:03.682Z","3.0.4-rc.0":"2022-02-04T14:03:12.038Z","3.0.4-rc.1":"2022-02-04T14:17:07.935Z","3.0.4":"2022-02-04T14:18:55.215Z","3.0.5-rc.0":"2022-02-05T15:48:15.505Z","3.0.5-rc.1":"2022-02-06T08:00:21.956Z","3.0.5-rc.2":"2022-02-06T08:14:29.212Z","3.0.5":"2022-02-06T08:47:59.236Z","3.0.6-rc.0":"2022-02-06T13:54:58.097Z","3.0.6-rc.1":"2022-02-06T14:06:58.087Z","3.0.6":"2022-02-06T14:24:07.034Z","3.0.1-rc.2":"2022-06-26T10:22:02.344Z","3.0.1-rc.3":"2022-10-24T07:58:38.073Z","3.0.1-rc.4":"2022-10-24T10:41:01.343Z","4.0.0":"2022-10-24T10:57:39.413Z","4.0.1-rc.0":"2023-02-12T12:36:06.041Z","4.0.1":"2023-02-12T12:39:31.687Z","4.0.2-rc.0":"2023-02-21T15:07:18.631Z","4.0.2":"2023-02-21T15:46:49.302Z"},"homepage":"https://github.com/motss/lit-ntml","keywords":["html","lit-ntml","minify","npm","ntml","parse-html","prettify","tagged-template-literals","template","templating"],"repository":{"type":"git","url":"git+ssh://git@github.com/motss/lit-ntml.git"},"author":{"name":"Rong Sen Ng","email":"wes.ngrongsen@gmail.com","url":"motss"},"bugs":{"url":"https://github.com/motss/lit-ntml/issues"},"license":"MIT","readmeFilename":"","users":{"igarashimiyabi":true,"aggre":true}}