{"_id":"eslit","_rev":"12-9995983fc97d502516346b3a00b9d6df","name":"eslit","description":"Write templates with embedded JavaScript expressions","dist-tags":{"latest":"6.0.0"},"versions":{"1.0.0":{"name":"eslit","version":"1.0.0","description":"es templates + async data","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.cjs.js","jsnext:main":"index.js","files":["index.cjs.js","index.js"],"scripts":{"lint":"eslint index.js && jscs index.js","prepublish":"babel index.js --out-file index.cjs.js --presets=es2015","tape":"babel-node --presets=es2015 test","test":"npm run lint && npm run tape"},"engines":{"node":">=4.0.0"},"dependencies":{"babel-core":"^6.18.2"},"devDependencies":{"babel-cli":"^6.4.0","babel-preset-es2015":"^6.18.0","eslint":"^3.8.1","eslint-config-10up":"github:jonathantneal/eslint-config-10up","jscs":"^3.0.7","jscs-config-10up":"github:jonathantneal/jscs-config-10up"},"eslintConfig":{"extends":"10up","parserOptions":{"sourceType":"module"}},"jscsConfig":{"preset":"10up"},"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templatings"],"gitHead":"cce06691a298bf16c06958ed5d250f1fb6293c30","_id":"eslit@1.0.0","_shasum":"3da3c9c1ecc24d77c13dd6521356b7c3f2ed94d7","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"3da3c9c1ecc24d77c13dd6521356b7c3f2ed94d7","tarball":"https://registry.npmjs.org/eslit/-/eslit-1.0.0.tgz","integrity":"sha512-eoAOiuEYaUgK/OKHxv60qiEuCsL3MwW6d3x0/blAfQ2cAaIGpUarcSV1BO9G2LtSHlUeHmbAQwL1E7ST+zIoYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGb2HthszlsTeacOwU6VhJ7TlpfYSKoe6ngOMeMQ/HOcAiEAvNPkTXr5XkIfK8DgsjnEIeZ0cb3bWhX6BxSVKi95HvY="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/eslit-1.0.0.tgz_1478554247085_0.0668581600766629"},"directories":{}},"3.0.0":{"name":"eslit","version":"3.0.0","description":"es templates + async data","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.js","files":["index.js","lib","prototype"],"scripts":{"lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js --cache --ignore-pattern .gitignore","prepublish":"npm test","tape":"cd test && npm install && cd .. && node test","test":"npm run lint && npm run tape"},"engines":{"node":">=6.9.2"},"dependencies":{"babel-core":"^6.18.2"},"devDependencies":{"echint":"^2.1.0","echint-config-dev":"1.0.0","eslint":"^3.8.1","eslint-config-dev":"^1.0.0","jscs":"^3.0.7","jscs-config-dev":"^1.0.0"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev"},"jscsConfig":{"preset":"dev"},"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templatings"],"gitHead":"6093156b6f5a6a82943c477a04af77c6343c2df2","_id":"eslit@3.0.0","_shasum":"7ca4b7cd90e5ac4cfaea20048213e77c080efc79","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"7ca4b7cd90e5ac4cfaea20048213e77c080efc79","tarball":"https://registry.npmjs.org/eslit/-/eslit-3.0.0.tgz","integrity":"sha512-/pzcgu6gVUgK+QHXsg7sS6vbBdwMq5U4hKt6GPTMOWsDGw8VCOtP68UzlcvtdSA0LGg/1hMc1q6P5M7MZBNr8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIATcqsL5q0qKUOORmxRoA200H4i76l98AuPkMIdT2PTUAiEAtUYtK+nzaa7JZgxPVMXRiceS7UnjdLJo18x14f7Bzc8="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslit-3.0.0.tgz_1484362269779_0.7633215193636715"},"directories":{}},"4.0.0":{"name":"eslit","version":"4.0.0","description":"es templates + async data","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.js","files":["index.js","lib","prototype"],"scripts":{"clean":"git clean -X -d -f","lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js lib/*.js --cache --ignore-pattern .gitignore","pre-commit":"echo 'Running pre-commit checks...' && exit 0","prepublish":"npm test","tape":"cd test && npm install && cd .. && node test","test":"npm run lint && npm run tape"},"engines":{"node":">=6.5.0"},"dependencies":{"babel-core":"^6.23.1","glob":"^7.1.1"},"devDependencies":{"echint":"^4.0.1","echint-config-dev":"1.0.0","eslint":"^3.16.1","eslint-config-dev":"^2.0.0","pre-commit":"^1.2.2"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev"},"pre-commit":["pre-commit","lint"],"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templatings"],"gitHead":"e5d1f2f1ddadb189c53e3a2229d521ee2617e75b","_id":"eslit@4.0.0","_shasum":"0718bfcbf5fe3fbb8de7192770a0eee328bfecf2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"0718bfcbf5fe3fbb8de7192770a0eee328bfecf2","tarball":"https://registry.npmjs.org/eslit/-/eslit-4.0.0.tgz","integrity":"sha512-ajbXiKIb3WxdMrk0IUddPHcjV5u55jBurVTS8/Hb3pt3EBIdMAnbHyBxI+Ika/djWQBd8DyyOsguA92jMTBOeA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkPAH3AXnrxW6iw6bdWOX/qTPGpRXm3zTyQC9Cm2se4gIgMURd3qXKjPryYhI0n2M5vyiP01PrsfrP3M4NGaCouuc="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslit-4.0.0.tgz_1488569071221_0.4915510816499591"},"directories":{}},"4.0.1":{"name":"eslit","version":"4.0.1","description":"es templates + async data","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.js","files":["index.js","lib","prototype"],"scripts":{"clean":"git clean -X -d -f","lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js lib/*.js --cache --ignore-pattern .gitignore","pre-commit":"echo 'Running pre-commit checks...' && exit 0","prepublish":"npm test","tape":"cd test && npm install && cd .. && node test","test":"npm run lint && npm run tape"},"engines":{"node":">=6.5.0"},"dependencies":{"babel-core":"^6.23.1","glob":"^7.1.1"},"devDependencies":{"echint":"^4.0.1","echint-config-dev":"1.0.0","eslint":"^3.16.1","eslint-config-dev":"^2.0.0","pre-commit":"^1.2.2"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev"},"pre-commit":["pre-commit","lint"],"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templatings"],"gitHead":"eb741cf4f676657f5888c2392eae2ffb3068f3c8","_id":"eslit@4.0.1","_shasum":"e4203bd05fb1296802610c74a9acd8dab40dfe3f","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"e4203bd05fb1296802610c74a9acd8dab40dfe3f","tarball":"https://registry.npmjs.org/eslit/-/eslit-4.0.1.tgz","integrity":"sha512-7qYAzwxCmyokPb5IBwlFLXWCXoxPFcqN6vXj0AQ/6mN5FXV6NOfIjsQKHylX8GPb+9k2n/988oSa/9hEhIlT6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDq5/UYINndoFbcECQnNLzxX9dNQj7WL6jBDFQbvcRg+QIgRMkabA+CusV3i6rsfXLz8OJ9K4b20rCGJD3HI4baIxE="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/eslit-4.0.1.tgz_1488572851412_0.475270533002913"},"directories":{}},"4.1.0":{"name":"eslit","version":"4.1.0","description":"es templates + async data","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.js","files":["index.js","lib","prototype"],"scripts":{"clean":"git clean -X -d -f","lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js lib/*.js --cache --ignore-pattern .gitignore","pre-commit":"echo 'Running pre-commit checks...' && exit 0","prepublish":"npm test","tape":"cd test && npm install && cd .. && node test","test":"npm run lint && npm run tape"},"engines":{"node":">=6.5.0"},"dependencies":{"babel-core":"^6.24.0","glob":"^7.1.1"},"devDependencies":{"echint":"^4.0.1","echint-config-dev":"1.0.0","eslint":"^3.18.0","eslint-config-dev":"^2.0.0","pre-commit":"^1.2.2"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev"},"pre-commit":["pre-commit","lint"],"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templatings"],"gitHead":"aafc3d6bfddd9a9b5afe3f3db46d676b4c5add50","_id":"eslit@4.1.0","_shasum":"3ca83334b6dc0e82f6c6f3167bb1d387d2d2f1a9","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.4","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"3ca83334b6dc0e82f6c6f3167bb1d387d2d2f1a9","tarball":"https://registry.npmjs.org/eslit/-/eslit-4.1.0.tgz","integrity":"sha512-7d3T7Ora/1U6B3b1IOzKEXe5jKLdbtR2qkLdi3JElI02Mv8oZYO1/nkNrS7iVQbtu4uQbMyC4IeZIUSMqiKIsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDmO2PzWWJpLRVeiuIpt3YwPimTE2tTmQgHWGK25+UDAiEA3Dne4nSU2682FZG7tvcNTT1VJUAs2b79xeIlztfdrR4="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/eslit-4.1.0.tgz_1490897570665_0.31654965365305543"},"directories":{}},"4.1.1":{"name":"eslit","version":"4.1.1","description":"ES6 Template Strings + Promises","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.js","files":["index.js","lib","prototype"],"scripts":{"clean":"git clean -X -d -f","lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js lib/*.js --cache --ignore-pattern .gitignore","pre-commit":"echo 'Running pre-commit checks...' && exit 0","prepublish":"npm test","tape":"cd test && npm install && cd .. && node test","test":"npm run lint && npm run tape"},"engines":{"node":">=6.5.0"},"dependencies":{"babel-core":"^6.24.1","glob":"^7.1.1"},"devDependencies":{"echint":"^4.0.1","echint-config-dev":"1.0.0","eslint":"^3.19.0","eslint-config-dev":"^2.0.0","pre-commit":"^1.2.2"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev"},"pre-commit":["pre-commit","lint"],"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templatings"],"gitHead":"5474d89fc94dcc9fd797749384c8764b9db732c5","_id":"eslit@4.1.1","_shasum":"2489b3e82ca94840d79e70fb787916a146247ed1","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"2489b3e82ca94840d79e70fb787916a146247ed1","tarball":"https://registry.npmjs.org/eslit/-/eslit-4.1.1.tgz","integrity":"sha512-iiD+M5UTx03kiGtwoBCp2veu3iubkxd4gEVAw45pJZd9npdzFFfo2AgEl62VQm4ByK7lNrv6Uj8VjTNOjCXT9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD31wP8OneQhLVQqrxUBNyUSqU0NKArJL+Q76kA+uv2qgIhAMfuYl2tn6oAC5S6NRdU2Q02V19oGb8oJl/VZ/N9E3oe"}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/eslit-4.1.1.tgz_1492261429950_0.42326457635499537"},"directories":{}},"4.2.0":{"name":"eslit","version":"4.2.0","description":"ES6 Template Strings + Promises","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.js","files":["index.js","lib","prototype"],"scripts":{"clean":"git clean -X -d -f","lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js lib/*.js --cache --ignore-pattern .gitignore","pre-commit":"echo 'Running pre-commit checks...' && exit 0","prepublish":"npm test","tape":"cd test && npm install && cd .. && node test","test":"npm run lint && npm run tape"},"engines":{"node":">=6.5.0"},"dependencies":{"babel-core":"^6.26.0","glob":"^7.1.2"},"devDependencies":{"echint":"^4.0.1","echint-config-dev":"1.0.0","eslint":"^4.5.0","eslint-config-dev":"^2.0.0","pre-commit":"^1.2.2"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev"},"pre-commit":["pre-commit","lint"],"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templatings"],"gitHead":"a054a63b0285c32b005c96ac34db9a81871a66a1","_id":"eslit@4.2.0","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-xGKqocxz7/XAY+QcvCIKBxJeK5+02vAokc/DcU/XkG5P5JGduJ0p42H/DHJi1Ut85c5FeMUHIIIiDlVr0CXdPg==","shasum":"8b442281ceab03730962d20aa2c9156d2a1c0a13","tarball":"https://registry.npmjs.org/eslit/-/eslit-4.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4ZTkyiOBx/D+1Juv5QZhTp3Em416bjcqWAJKZ2Caz+AiEAtmW5H3ItQ/gv5UQvHK5m5FgCwKsUhr4wQeCntsCQ/xY="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslit-4.2.0.tgz_1504191239547_0.2179446192458272"},"directories":{}},"5.0.0":{"name":"eslit","version":"5.0.0","description":"ES6 Template Strings + Promises","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.dist.js","module":"index.js","files":["index.js","index.dist.js","lib","prototype"],"scripts":{"clean":"git clean -X -d -f","lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint index.js lib/*.js --cache","prepublish":"npm test","prepublish:js":"rollup index.js --config .rollup.config.js --output.format cjs --sourcemap --output.file index.dist.js","tape":"npm run prepublish:js && cd test && npm install && cd .. && node test","test":"echo 'Running tests'; npm run lint && npm run tape"},"engines":{"node":">=4.0.0"},"dependencies":{"babel-core":"^6.26.0","glob":"^7.1.2"},"devDependencies":{"babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.6.0","echint":"^4.0.1","echint-config-dev":"1.0.0","eslint":"^4.5.0","eslint-config-dev":"^2.0.0","pre-commit":"^1.2.2","rollup":"^0.49.2","rollup-plugin-babel":"^3.0.2"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev"},"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templating"],"gitHead":"477564a8e20040557ba58acadb0151093b76e1fd","_id":"eslit@5.0.0","_shasum":"d0f58b177723eca7910b0ababb9f190ba2a40327","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"d0f58b177723eca7910b0ababb9f190ba2a40327","tarball":"https://registry.npmjs.org/eslit/-/eslit-5.0.0.tgz","integrity":"sha512-29s1ChkawlYS7q5X1ZjFwOhoqYz71dpWQHRZ2bSIZlytc7/HohzKvqkcmAbsGBwZAfTmmmeqICPBnoKZaq5SYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZr6LXFEHW06S6tffCnfW/EQ2ixpZWO9OpFzXSBQVHDAiEA/JTMtz9v4LqeT6JD40X644rH4eM1ZLXOTezMfkfr9z0="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslit-5.0.0.tgz_1504239182584_0.7099698425736278"},"directories":{}},"6.0.0":{"name":"eslit","version":"6.0.0","description":"Write templates with embedded JavaScript expressions","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"https://jonathantneal.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"homepage":"https://github.com/jonathantneal/eslit#readme","bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"main":"index.js","module":"index.mjs","scripts":{"lint":"eslint src/*.js src/**/*.js --cache","prepublishOnly":"npm test","prepublish:js":"rollup --config","test":"npm run lint && npm run test:tape","test:tape":"npm run prepublish:js && cd test && npm install && cd .. && node test"},"engines":{"node":">=6.0.0"},"dependencies":{"@babel/core":"^7.2.2","@babel/plugin-syntax-dynamic-import":"^7.2.0","glob":"^7.1.3"},"devDependencies":{"@babel/preset-env":"^7.3.1","echint":"^4.0.1","eslint":"^5.13.0","eslint-config-dev":"^2.0.0","pre-commit":"^1.2.2","rollup":"^1.1.2","rollup-plugin-babel":"^4.3.2","rollup-plugin-terser":"^4.0.4"},"eslintConfig":{"extends":"dev"},"keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templating"],"gitHead":"c6a77028bcb2f4ae6c9864cecb345eb3e70332fe","_id":"eslit@6.0.0","_nodeVersion":"11.9.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-uDS+V9CJWX4fCfmJ50exSRkn5UTA9dx5RPPtGpmGwb1yniw0Gu9BGx3XmvaVDByL9pq22B7GnajaLm37BOEb4Q==","shasum":"eee0c78a9ca238cd8ecaf414f34921babf3ee485","tarball":"https://registry.npmjs.org/eslit/-/eslit-6.0.0.tgz","fileCount":6,"unpackedSize":18825,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYHPYCRA9TVsSAnZWagAA4iwQAIn2W2HfhPQ9t2rXwMLH\nDY2e3nb7sS14algh1YfF5/S0eHYshN7r/Ay8SvcpdhsyN5PhpayuhXuPyFXN\nmN5LEGiB1rqk0adRG/fIHZWMtZPa0u/Bxxe9WG32Rr8zo1mWG3S1mtYJhUNg\nDpMvn0f+gV+9AqnwQ+tLzZH4+tBo4DK/1uE1pfS624hXWVOeMkbiG3bEl+5c\nQR23U0SURlGuJyE6aZWTgaZwUeuBkX4Ls7W+pEDI3j22woWmZup2jY4COOJk\nGHP4WYlU8EQCyf/QZRYYdS/KGMOt8V0hSR+1b4a+rMM514bPq1vRyuvO0fgf\nvNcrTn5JnNnqGP/ZrSZifF1p25VrBDyJWks4fh99U9CRyxY/VSmiMJjOn7Kp\ny9lIdhblBsyAOI5SFJfq5UXd7mnuUcbmDOR3ofw6WhZSBbe8ymTJztLAuRfx\nO0GPVw+ExAcL7TjfUgFKDigREbSncQdHgmIMNgmTM3ywsfV1T4notXOlw74f\nXBJx3Ot7fpJ/jMsx9mzLOFzoWetpKIpID49A3GNEbr6nDajf4cp4xSWrHEer\nts68dGWub5W6Ku/7HYyQM4YU/0yNz9Jd+9sH5F/reMTV38Ul5Y7F6YMu/Mbg\nQNQlWWpjpAIfRJ7XeKMtcuyjlid9+J3mURRa61rzQLRLC9ITxHiRd/YfHb+z\nb1GZ\r\n=5F5T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/1Nx0XMK7N0Toqy2ipUvek0LeWxOjAYA4v1ItG4bb/AiB2ZVMATRJPnA3UmtO1CM2wuANCxPDa6PXlAXka35+9Sg=="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslit_6.0.0_1549824983027_0.3581431276422258"},"_hasShrinkwrap":false}},"readme":"# ESLit [<img src=\"https://jonathantneal.github.io/js-logo.svg\" alt=\"\" width=\"90\" height=\"90\" align=\"right\">][ESLit]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Licensing][lic-img]][lic-url]\n\n[ESLit] lets you write templates with embedded JavaScript expressions.\n\n```sh\nnpm install eslit --save-dev\n```\n\nESLit templates are easy to use because they’re powered by web standards.\nContent is read as [Template Literals] with automatically resolving [Promises].\n\n```jsx\n<!-- some/template.html -->\n<h1>${heading}</h1>\n<table>\n  ${people.map(person => `<tr>\n    <td>${person.given}</td>\n    <td>${person.family}</td>\n  </tr>`)}\n</table>\n```\n\n```js\nconst eslit = require('eslit');\n\neslit('some/template', {\n  heading: Promise.resolve('Guest List'),\n  people: [{\n    given: 'Martin',\n    family: 'Brody'\n  }, {\n    given: 'Bruce',\n    family: 'Shark'\n  }]\n}).then(console.log);\n```\n\n```html\n<h1>Guest List</h1>\n<table>\n  <tr>\n    <td>Martin</td>\n    <td>Brody</td>\n  </tr><tr>\n    <td>Bruce</td>\n    <td>Shark</td>\n  </tr>\n</table>\n```\n\nYou can also use `import` functions to include other templates.\n\n```jsx\n<h1>${heading}</h1>\n\n<table>\n  ${import('./some/table') /* includes some/table.html */}\n</table>\n```\n\nAlternatively, the `include` function lets you specify additional data.\n\n```jsx\n<h1>${heading}</h1>\n\n<table>\n  ${import('./some/table', { additional: 'data' })}\n</table>\n```\n\n## Usage\n\nESLit returns a Promise to render content once its embedded Promises are\nresolved.\n\n```js\neslit(src, data, options);\n```\n\n- **src**: the path or package id being imported.\n- **data**: the data used by the template.\n- Options\n  - **cwd**: the path used by imports (default: `process.cwd()`).\n  - **prefixes**: the file prefixes sometimes used by imports (default: `[ \"_\" ]`).\n  - **extensions**: the file extensions sometimes used by imports (default: `[ \".html\", \".jsx\" ]`).\n  - **globopts**: the options passed into [node-glob].\n\n*Notes*:\n\n- *Paths are relative to the current file or the current working directory.*\n- *Paths may use glob patterns or omit prefixes and extensions*\n- *Node modules are supported, using the package `template` or `main` keys, or by using `index.html`*\n\n### ESLit.parse\n\nThe parse function returns a promise to render the template string once its\nembedded promises are resolved.\n\n```js\neslit.parse( string, data, { cwd, prefixes, extensions, globopts } );\n```\n\n**string**: The string parsed as a template.\n\n### ESLit.resolve\n\nThe resolve function returns a Promise that is resolved once its embedded\npromises have resolved.\n\n```js\neslit.resolve`Template literal to be ${Promise.resolve('resolved')}`;\n```\n\n---\n\n## Syntax Helpers\n\n##### Sublime Text\n\n1. Install the **[Babel](https://packagecontrol.io/packages/Babel)** Package.\n2. Select **Tools** > **Developer** > **New Syntax**.\n3. Paste [this syntax].\n4. Save the file as `Lit Template (Babel).sublime-syntax`.\n\n[ESLit]: https://github.com/jonathantneal/eslit\n[Template Literals]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals\n[Gulp ESLit]: https://github.com/jonathantneal/gulp-eslit\n[Promises]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n[node-glob]: https://github.com/isaacs/node-glob\n[this syntax]: https://github.com/jonathantneal/eslit/blob/master/Lit%20Template%20(Babel).sublime-syntax\n\n[npm-url]: https://www.npmjs.com/package/eslit\n[npm-img]: https://img.shields.io/npm/v/eslit.svg\n[cli-url]: https://travis-ci.org/jonathantneal/eslit\n[cli-img]: https://img.shields.io/travis/jonathantneal/eslit.svg\n[lic-url]: LICENSE.md\n[lic-img]: https://img.shields.io/npm/l/eslit.svg\n","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2022-06-17T20:47:14.269Z","created":"2016-11-07T21:30:47.670Z","1.0.0":"2016-11-07T21:30:47.670Z","3.0.0":"2017-01-14T02:51:12.067Z","4.0.0":"2017-03-03T19:24:31.481Z","4.0.1":"2017-03-03T20:27:32.073Z","4.1.0":"2017-03-30T18:12:52.643Z","4.1.1":"2017-04-15T13:03:50.696Z","4.2.0":"2017-08-31T14:54:00.730Z","5.0.0":"2017-09-01T04:13:03.510Z","6.0.0":"2019-02-10T18:56:23.180Z"},"homepage":"https://github.com/jonathantneal/eslit#readme","keywords":["babel","imports","literals","lits","parses","parsing","resolves","resolving","sugars","tagged","templates","templating"],"repository":{"type":"git","url":"git+https://github.com/jonathantneal/eslit.git"},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"https://jonathantneal.com"},"bugs":{"url":"https://github.com/jonathantneal/eslit/issues"},"license":"CC0-1.0","readmeFilename":"README.md"}