{"_id":"typo","_rev":"68-cd5d4093b9aaafa9618c5cef5e7e3219","name":"typo","description":"`typo` is an extendable template engine designed for the future","dist-tags":{"latest":"1.0.6"},"versions":{"0.1.0":{"name":"typo","version":"0.1.0","description":"Make typography beautiful in command-line!","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","color","template","engine","typography","cli","command-line"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"BSD","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{"async":"~0.2.9"},"_id":"typo@0.1.0","dist":{"shasum":"4d74bb5dc88cc13aff2d17c7a65a14437d0a9c88","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.0.tgz","integrity":"sha512-/73q3CRDTCjcsyNbKj8PAo1gsVSFLor/+Os5uzfoLcMNzsf4DKYqoi4lGHEr5o7Wj/flf4JrQU6o3wOE8s0M9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUvv6ARlsSvObGrnrkrvCEV0VZCGy9Hitk3TJPWRkS2wIhAJSl4iIXXd8R2HxISE4kEPMJ3/y5xztrkhijSO6yVUi+"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.1":{"name":"typo","version":"0.1.1","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports basic ANSI color(background and forground), underline, italic, etc.","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"BSD","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{},"_id":"typo@0.1.1","dist":{"shasum":"5a0ee4fefd145697ea185c207d181511fcf02966","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.1.tgz","integrity":"sha512-FAbd5Ew4TopgYHop3BE6SMDCnwnY7104OjEmPiZx9WN8zKEVrIZYA7/nkYmqMKS82YEF9B6A8vAQBrA21Wy/Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7dbtwhILS6YRM0g8Tqr91ZYjadWSYhT4/pG1sgXw9ZAIgI+jd1pBnr/OIOj3ab3C5RpQu+fEZFcKbsE1bLQBm3Vw="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.7":{"name":"typo","version":"0.1.7","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"BSD","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{"color-diff":"~0.1.1"},"_id":"typo@0.1.7","dist":{"shasum":"04a39496e57ab34dc7a46762c8b986868670f3e7","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.7.tgz","integrity":"sha512-/GW0dmT51gxljvSzKIRKuvSP38XWBcMXLrFIrlKtvVDxrOoEt7IGX72haTt0quM0B14/57TqVMe5ijtb4Oz7Xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpGwJq9KloGH+YuAZfUzEHywlWIT65cXR7n5fDNQbKMwIgEm2SD3qjd09nEjr7MYEXEPgaD1EKrF1X72fVRf1FL2g="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.8":{"name":"typo","version":"0.1.8","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"BSD","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{"color-diff":"~0.1.1"},"_id":"typo@0.1.8","dist":{"shasum":"feb72f7a98f15adec2df7c8c7e6a2ca294cb68d7","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.8.tgz","integrity":"sha512-WSqOGjN/HjWsoJ/psS0WzBW+NlRdhf5o9Y+SMWJmmF8rLJfZt3KMWvFLaN5DP8ZGH0CT5efArhawi4XC+HbKlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgjkSIok3fPgc/XkEN1oIH+LoNCohY5HT8XzYiKlDgeQIhAOvU5GDy6YwPTu3BsaqXMtd3iimF42ryjocM2rkrHLuK"}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.9":{"name":"typo","version":"0.1.9","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"BSD","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{"color-diff":"~0.1.1"},"_id":"typo@0.1.9","dist":{"shasum":"2c3985c328016fe2d66297ebedc7cbe28f5fb369","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.9.tgz","integrity":"sha512-kIO8Yi0Hrnx5cugmXDNgJi1DGouSLd/iGBwf35e4zXbMhmsIb1I+J2KTraT3WFltXTEJxez5brTRAFcwEB+mmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkciusBBrXJ5eSNDuHFqOEE5hqL/BVzaCXoDT6+FH8VAiEAptBz0bWJBwfgOKhTcmmpiSyDZSNPMSdXaZRcsSEv9yw="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.10":{"name":"typo","version":"0.1.10","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"BSD","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{"color-diff":"~0.1.1"},"_id":"typo@0.1.10","dist":{"shasum":"e4c0aec51864e69b9841c4fe78b254d1aef20c0a","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.10.tgz","integrity":"sha512-5P+L3bi5L4LghUK7NxW2DztLS2YoOv7aEnmsPuVpKUHsCdOrUHhzMfX/BSODtxgCdHSa14PvzFY0MgbalAyjDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD01P3DAAZO2fMND9fvGy5zmIjD37S31mvrcvFQvViH5wIgSv4z/1HQLoEWScIC6X4wIU8J0i71tUJl6a6zj3YsEz4="}]},"_from":".","_npmVersion":"1.2.25","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.11":{"name":"typo","version":"0.1.11","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{"color-diff":"~0.1.1"},"_id":"typo@0.1.11","dist":{"shasum":"1229d041c1abbafee4030a188e280e2e2ac62050","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.11.tgz","integrity":"sha512-NR1HjteJrIAKmyw5z3AzjRydsrkjM4A4dYMbwmVwmRvW+5DXwJ9Nt4LcmYR7+Nj5KMKPJWMGAs6RvCSVvLvj2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+dBjf7pOapq1Gis33fn3TCzbiSYJYbFV7uZELJ+P2TAiBf5Zu8MkRv0C1+h6jaO5maCudLlwg4ShLHex8QAstUYA=="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.12":{"name":"typo","version":"0.1.12","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{},"_id":"typo@0.1.12","dist":{"shasum":"7fa069c19310fb01514cbb2df93c63826cc55b72","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.12.tgz","integrity":"sha512-CiIW/8CtXlpq2np0DHQIurkZEexMSlXrwfDJ+5PAMJNLexVTXnSMrob+T4WCBDoZm+zTyr/5uSFaRVhsV+kmLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDwx/BRoIPipJQA2bv9u0GZskkuap7bnkIKNSNCTumXiAiEA1Myexr8a3OqaY1uledUeFAuuoRjzjWtIa/FHy52R8Yg="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.13":{"name":"typo","version":"0.1.13","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{},"_id":"typo@0.1.13","dist":{"shasum":"a04d5c545e47b1519d08117b25eede820d88cc04","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.13.tgz","integrity":"sha512-DFpDk7PvGjde4dD3IkXw6DboAcVxzq6rB5M8y8MqR3HeE0y+dyhg2rHJKoSaxHND2+51VZgDcorHaBOuEWT9Ug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGsfiOoNTOsSSjvBRS3V/ORQmdhSgbZG4975f71VroxuAiEAiKJidSeZrKPag3sca6x5bdM0Y7GL25ZP0qhpg/PBM8Q="}]},"_from":".","_npmVersion":"1.2.21","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"directories":{}},"0.1.14":{"name":"typo","version":"0.1.14","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{},"_id":"typo@0.1.14","dist":{"shasum":"962dc4eaf985355c11a94ef891658124188f1d16","tarball":"https://registry.npmjs.org/typo/-/typo-0.1.14.tgz","integrity":"sha512-HK6vtn9A8W6AWpqjOOzX00h4so34AdB/RbBvny5AvI1eJn/xf7QPeWSkU0aTwVlCnx2nrKn3tHxx6qW5WBfMDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRAtfh3Vf4TrQu9PmFzQWVsDGly72tYR3bZJ4ea0UulgIhANlNDNH0b5TE1KIvuAYAI6vI8DEy4agkAs4vt1eWJY0X"}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"0.2.11":{"name":"typo","version":"0.2.11","description":"Typo is a scalable template engine designed for cli, which help to format your console output! Typo supports full 256-color ANSI background and foreground, underline, italic, etc.","main":"lib/typo","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["typo","stdout","console","console.log","ansi","color","template","engine","typography","cli","command-line","handlebar","mustache","template engine","format","bold","underline","italic","background","ascii","plugin"],"repository":{"type":"git","url":"git://github.com/kaelzhang/typo.git"},"author":{"name":"kael"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/typo/issues"},"dependencies":{"color-diff":"~0.1.1"},"_id":"typo@0.2.11","_from":".","dist":{"shasum":"0dd6cafa8d807efcaa325716b8c84f0ef5078d4e","tarball":"https://registry.npmjs.org/typo/-/typo-0.2.11.tgz","integrity":"sha512-xNmU/isE6U2nxrYu82SqBZzd16YXF/Biq+7ED5V/ADED8bUWY6G5cxHnu376kcsSGXTl8SMk6llweJfFB2Iohg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbfdfrTeBhvLjoXW9MfllzMqWjAQuSKTxYJaHoXZtnVgIhAOXnfkc93Cnz3+S+WNHh3+UzXICqQvdg2Dm6any4mLtr"}]},"_npmVersion":"1.3.11","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}]},"1.0.0":{"name":"typo","version":"1.0.0","description":"typo","main":"index.js","scripts":{"build":"babel src --out-dir lib","test":"npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"keywords":["typo"],"engines":{"node":">=7.2"},"author":{"name":"kaelzhang"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"ava":{"require":"babel-register","babel":{"babelrc":true}},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.16.0","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-async-to-generator":"^6.22.0","babel-plugin-transform-class-properties":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-inline-environment-variables":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-preset-es2015":"^6.16.0","chalk":"^1.1.3"},"dependencies":{"babel-code-frame":"^6.22.0","escape-string-regexp":"^1.0.5","object-access":"^1.1.4","p-map":"^1.1.1","p-reduce":"^1.0.0","split-string":"^1.0.0"},"gitHead":"fc572fe323110545bb9afac57f348e629fae67e4","homepage":"https://github.com/kaelzhang/node-typo#readme","_id":"typo@1.0.0","_shasum":"ffa74f81fab007574fd48b87b0985647ba64a887","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"ffa74f81fab007574fd48b87b0985647ba64a887","tarball":"https://registry.npmjs.org/typo/-/typo-1.0.0.tgz","integrity":"sha512-riYbrzCI+3epGaT/LNkPb8QARpCO3Il8rkftpqBmt0eSPOT2PzKkqnRRxVFk3D/zC/ziqRD1FZ4zV9kjPATarw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID6UwH81FeTxNmqaugIYuSQ3wiSWBYDZCoTL697G+dseAiBiJ/9zWXxgM+Diud+vBC+VAqrBnzgnxLcUS79iwJsVyA=="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/typo-1.0.0.tgz_1487995136990_0.19459586846642196"}},"1.0.1":{"name":"typo","version":"1.0.1","description":"typo","main":"index.js","scripts":{"build":"babel src --out-dir lib","test":"npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"keywords":["typo"],"engines":{"node":">=7.2"},"author":{"name":"kaelzhang"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"ava":{"require":"babel-register","babel":{"babelrc":true}},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.16.0","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-async-to-generator":"^6.22.0","babel-plugin-transform-class-properties":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-inline-environment-variables":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-preset-es2015":"^6.16.0","chalk":"^1.1.3"},"dependencies":{"babel-code-frame":"^6.22.0","escape-string-regexp":"^1.0.5","object-access":"^1.1.4","p-map":"^1.1.1","p-reduce":"^1.0.0","split-string":"^1.0.0"},"gitHead":"701e31e8cba98be086a6cb770572121d3dbb146e","homepage":"https://github.com/kaelzhang/node-typo#readme","_id":"typo@1.0.1","_shasum":"565536e7ef3cc97a8e2e09cca53165f4ccf38f8b","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"565536e7ef3cc97a8e2e09cca53165f4ccf38f8b","tarball":"https://registry.npmjs.org/typo/-/typo-1.0.1.tgz","integrity":"sha512-6bxPQcuKRpv9qHS8LiB740iCdWl4yVtcG2F/BurfugRKGCzaeIZ4zt3tM/hgOea5EFKjEK8lr7boIzD/KTIi2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJJ/fSYR9GwZxtgEjkva4VrEo4GHV9FuUpEfCazpEw9gIhAIjeG+xgJBPxoUxHwUnCywRocX1IxLAF9G/Mtb8dJOpy"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/typo-1.0.1.tgz_1487995194111_0.8191340728662908"}},"1.0.2":{"name":"typo","version":"1.0.2","description":"`typo` is an extendable template engine designed for the future","main":"index.js","scripts":{"build":"babel src --out-dir lib","test":"npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"keywords":["typo","template","engine","template engine","helpers","scalable","custom helpers"],"engines":{"node":">=7.2"},"author":{"name":"kaelzhang"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"ava":{"require":"babel-register","babel":{"babelrc":true}},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.16.0","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-async-to-generator":"^6.22.0","babel-plugin-transform-class-properties":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-inline-environment-variables":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-preset-es2015":"^6.16.0","chalk":"^1.1.3"},"dependencies":{"babel-code-frame":"^6.22.0","escape-string-regexp":"^1.0.5","object-access":"^1.1.4","p-map":"^1.1.1","p-reduce":"^1.0.0","split-string":"^1.0.0"},"gitHead":"701e31e8cba98be086a6cb770572121d3dbb146e","homepage":"https://github.com/kaelzhang/node-typo#readme","_id":"typo@1.0.2","_shasum":"9bebc990f83c3d121d6993fae924ae219fa6270d","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"9bebc990f83c3d121d6993fae924ae219fa6270d","tarball":"https://registry.npmjs.org/typo/-/typo-1.0.2.tgz","integrity":"sha512-dMCVKEP7TmQ3T2qOPOP+Sjhu9h47u7SCEc+bTD6srlisZcJp8xVSkI3tfRmeLHyadX4qrlbBPaw4TJR1zErg0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFf6F7qg6IG/ukVLP9jyqeTaA40b1UqD/kPEm0Urx6OgIgcvRZFwFuaGieayKBrQu9MyMyaRP0+smTyirUFbjhdUU="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/typo-1.0.2.tgz_1487995279994_0.464307414367795"}},"1.0.3":{"name":"typo","version":"1.0.3","description":"`typo` is an extendable template engine designed for the future","main":"index.js","scripts":{"build":"babel src --out-dir lib","test":"npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"keywords":["typo","template","engine","template engine","helpers","scalable","custom helpers"],"engines":{"node":">=7.2"},"author":{"name":"kaelzhang"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"ava":{"require":"babel-register","babel":{"babelrc":true}},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.16.0","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-async-to-generator":"^6.22.0","babel-plugin-transform-class-properties":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-inline-environment-variables":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-preset-es2015":"^6.16.0","chalk":"^1.1.3"},"dependencies":{"babel-code-frame":"^6.22.0","escape-string-regexp":"^1.0.5","object-access":"^1.1.4","p-map":"^1.1.1","p-reduce":"^1.0.0","split-string":"^1.0.0"},"gitHead":"76c877e1e7c1393c998860beb98b0aff913bc5e0","homepage":"https://github.com/kaelzhang/node-typo#readme","_id":"typo@1.0.3","_shasum":"5799b7201b126036ea45307f5bce032c3e46579c","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"5799b7201b126036ea45307f5bce032c3e46579c","tarball":"https://registry.npmjs.org/typo/-/typo-1.0.3.tgz","integrity":"sha512-IPBFeWShtggpmf1wMgwLm8fLkKrNOm0sbTZ0s0hZ77jg/HLkEuCVCv/nS2zkJ+V05481SXobjiXCWbM5fwGpCg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEOKravIghy2GZPRagE+PGMXdntkzkmMhU4TNLq4wpWhAiEA/BDvucpfYWFtLufX1HPrtXG/g9R+LII9CZ3LvibMd6I="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/typo-1.0.3.tgz_1487995303746_0.18969376478344202"}},"1.0.4":{"name":"typo","version":"1.0.4","description":"`typo` is an extendable template engine designed for the future","main":"index.js","scripts":{"build":"babel src --out-dir lib","test":"npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"keywords":["typo","template","engine","template engine","helpers","scalable","custom helpers"],"engines":{"node":">=7.2"},"author":{"name":"kaelzhang"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"ava":{"require":"babel-register","babel":{"babelrc":true}},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.16.0","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-async-to-generator":"^6.22.0","babel-plugin-transform-class-properties":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-inline-environment-variables":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-preset-es2015":"^6.16.0","chalk":"^1.1.3"},"dependencies":{"babel-code-frame":"^6.22.0","escape-string-regexp":"^1.0.5","object-access":"^1.1.4","p-map":"^1.1.1","p-reduce":"^1.0.0","split-string":"^1.0.0"},"gitHead":"19d187a9af6d76a4fbbbb8db85e5135b42dc2c09","homepage":"https://github.com/kaelzhang/node-typo#readme","_id":"typo@1.0.4","_shasum":"386c437179c80af7c28976a957edee69c5bfd0a6","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"kael","email":"i@kael.me"},"maintainers":[{"name":"kael","email":"i@kael.me"}],"dist":{"shasum":"386c437179c80af7c28976a957edee69c5bfd0a6","tarball":"https://registry.npmjs.org/typo/-/typo-1.0.4.tgz","integrity":"sha512-xmT5DeZtkK5qCYarEvMWfwq53KQ5/mxbGRXh8UmzMrP3upVUs7HVE9xv0KhaLQ51hbMgtXORg6ox+djbqRXCnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD35vNOIno2uG9toGU+NZluyNh1w5o/smHLC0sz1W/ThgIgIEcZfuOZPgrZy+MjDaJh2gMu9pPWM9ZpwV8P0Wiy6Mc="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typo-1.0.4.tgz_1487995562167_0.22111459192819893"}},"1.0.5":{"name":"typo","version":"1.0.5","description":"`typo` is an extendable template engine designed for the future","main":"index.js","scripts":{"build":"babel src --out-dir lib","test":"npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"keywords":["typo","template","engine","template engine","helpers","scalable","custom helpers"],"engines":{"node":">=7.2"},"author":{"name":"kaelzhang"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"ava":{"require":"babel-register","babel":{"babelrc":true}},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.16.0","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-async-to-generator":"^6.22.0","babel-plugin-transform-class-properties":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-inline-environment-variables":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.16.0","chalk":"^1.1.3"},"dependencies":{"babel-code-frame":"^6.22.0","babel-runtime":"^6.23.0","escape-string-regexp":"^1.0.5","object-access":"^1.1.4","p-map":"^1.1.1","p-reduce":"^1.0.0","split-string":"^1.0.0"},"gitHead":"ba6bdc12aed8710d19e90cf0bce218144ffd36e5","homepage":"https://github.com/kaelzhang/node-typo#readme","_id":"typo@1.0.5","_shasum":"b14fef8d05fc6b80f6b79217ed87be48a09693d2","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"kael","email":"i@kael.me"},"dist":{"shasum":"b14fef8d05fc6b80f6b79217ed87be48a09693d2","tarball":"https://registry.npmjs.org/typo/-/typo-1.0.5.tgz","integrity":"sha512-5ofFuY8LWAhF39MQOdXhuKa0VRHv3M3hwe/Aq27+QGKfFIF3JKIXmq44fGJY+uwwsrQe5WfS7T915rye3Sz+/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0vD4uZT8TAKH3s8+RSf05RF5DfJUD9p6I8g2KdSWTqAIhANuYL15shJvSOgsaXcIz7Brla/XP66yce+veopObSMTk"}]},"maintainers":[{"name":"kael","email":"i@kael.me"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/typo-1.0.5.tgz_1489744296161_0.21609533741138875"}},"1.0.6":{"name":"typo","version":"1.0.6","description":"`typo` is an extendable template engine designed for the future","main":"index.js","scripts":{"build":"babel src --out-dir lib","test":"npm run build && node --harmony ./node_modules/.bin/ava --verbose --timeout=10s","prepublish":"npm run build"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"keywords":["typo","template","engine","template engine","helpers","scalable","custom helpers"],"engines":{"node":">=7.2"},"author":{"name":"kaelzhang"},"license":"MIT","bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"ava":{"require":"babel-register","files":["test/*.js"],"babel":{"babelrc":true}},"devDependencies":{"ava":"^0.16.0","babel-cli":"^6.16.0","babel-plugin-syntax-trailing-function-commas":"^6.13.0","babel-plugin-transform-async-to-generator":"^6.22.0","babel-plugin-transform-class-properties":"^6.16.0","babel-plugin-transform-es2015-modules-commonjs":"^6.16.0","babel-plugin-transform-exponentiation-operator":"^6.8.0","babel-plugin-transform-inline-environment-variables":"^6.8.0","babel-plugin-transform-object-rest-spread":"^6.16.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-es2015":"^6.16.0","chalk":"^1.1.3","debug":"^2.6.3","delay":"^1.3.1"},"dependencies":{"babel-code-frame":"^6.22.0","babel-runtime":"^6.23.0","escape-string-regexp":"^1.0.5","object-access":"^1.1.4","p-map":"^1.1.1","p-reduce":"^1.0.0","split-string":"^1.0.0"},"gitHead":"f9fe4bc9abc02ed846063b4b49a999a0e45d3226","homepage":"https://github.com/kaelzhang/node-typo#readme","_id":"typo@1.0.6","_shasum":"fafff9affa9b40a548283276ee650689109f4747","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.3","_npmUser":{"name":"kael","email":"i@kael.me"},"dist":{"shasum":"fafff9affa9b40a548283276ee650689109f4747","tarball":"https://registry.npmjs.org/typo/-/typo-1.0.6.tgz","integrity":"sha512-XrssjPzBHy8y2qQ01p6c3UbVE2IBXKCrzgYoZsii5vIzoXHY7rrS95wngn2RyMqeQ3twz4Mc6dBkWacZyYyw1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4FEdsM3oHpSULr9Aw4NIBEu96DSPb+ZGt5a3NHKfr9gIhAPovnFPPqXxK5GO1GV8idM+/6HEof0Nuhwi8rYxTcKNh"}]},"maintainers":[{"name":"kael","email":"i@kael.me"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typo-1.0.6.tgz_1489899167845_0.12156171048991382"}}},"readme":"[![Build Status](https://travis-ci.org/kaelzhang/node-typo.svg?branch=master)](https://travis-ci.org/kaelzhang/node-typo)\n<!-- optional appveyor tst\n[![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/kaelzhang/node-typo?branch=master&svg=true)](https://ci.appveyor.com/project/kaelzhang/node-typo)\n-->\n<!-- optional npm version\n[![NPM version](https://badge.fury.io/js/typo.svg)](http://badge.fury.io/js/typo)\n-->\n<!-- optional npm downloads\n[![npm module downloads per month](http://img.shields.io/npm/dm/typo.svg)](https://www.npmjs.org/package/typo)\n-->\n<!-- optional dependency status\n[![Dependency Status](https://david-dm.org/kaelzhang/node-typo.svg)](https://david-dm.org/kaelzhang/node-typo)\n-->\n\n# typo\n\n`typo` is an extendable template engine designed for the future:\n\n- featured with `Promise` and `async/await`.\n- powerful custom sync/async directives(helpers).\n\n## Install\n\n```sh\n$ npm install typo --save\n```\n\n## Usage\n\n```js\nconst typo = require('typo')()\ntypo.template('Hello, {{user.name}}!', {\n  user: {\n    name: 'Steve'\n  }\n}).then(console.log)\n// Hello, Steve!\n```\n\n### `typo` with chalk\n\n```js\nconst typo = require('typo')()\nconst chalk = require('typo-chalk')\ntypo.use(chalk)\n\ntypo.template('Once in a {{blue blue}} moon').then(console.log)\n// Then it will print a blue word \"blue\"\n```\n\n### Custom directives\n\nBasic:\n\n```js\ntypo.use('upper', word => word.toUpperCase())\ntypo.template('{{upper foo}} bar').then(console.log)\n// FOO bar\n```\n\n### Asychronous directives\n\n```js\ntypo.use('fullname', async name => await getFullNameFromServer(name))\ntypo.template('{{fullname name}}', {name: 'Steve'}).then(console.log)\n// Steve Jobs\n\ntypo.template('{{fullname Steve}}').then(console.log)\n// Steve Jobs\n```\n\n### Compile the template and use it Later\n\n```js\nconst template = typo.compile(`Once in a {{blue color}} moon`)\n\ntemplate({color: 'blue'})\n.then(console.log)\n// Once in a blue moon\n```\n\n## typo({open, close})\n\nCreates the `typo` instance.\n\n- **open** `String={{` The beginning of each directive.\n- **close** `String=}}` The end of each directive.\n\n## compile(template, compile_options)\n\nCompiles a template into a function.\n\n- **template** `String`\n- **compile_options** `Object`\n  - async `Boolean=true` whether should be compiled into an asynchronous function, defaults to `true`\n  - concurrency `Number=Number.POSITIVE_INFINITY` If compiled as an asynchronous function, the number of max concurrently pending directive functions.\n  - value_not_defined `enum.<print|ignore|throw>=print` Suppose the value of an expression is not found in `data`, then it will print the expression directly if `print`(as default), or print nothing if `ignore`, or throw an error if `throw`.\n  - directive_value_not_defined `enum.<print|ignore|throw>=value_not_defined` Tells `typo` what to do if the parameter expression of a directive is not found in `data`. And this option is default to the value of `value_not_defined`\n\n```js\n// default options\ntypo.compile('{{blue color}}')()\n// prints a blue letter, \"color\"\n.then(console.log) => {\n\n// value_not_defined: throw\ntypo.compile('{{blue color}}', {\n  value_not_defined: 'throw'\n})()\n.catch((e) => {\n  // code frame and\n  // 'value not found for key \"color\"''\n  console.error(e.message)\n})\n\ntypo.compile('{{adjective}} {{blue color}}', {\n  value_not_defined: 'throw',\n  directive_value_not_defined: 'print'\n})({\n  adjective: 'beautiful'\n})\n// prints \"beautiful color\", and the letter color is blue\n.then(console.log)\n```\n\nReturns `function(data)`\n\nasync: false\n\n```js\nconst result = typo.compile(template)(data)\nconsole.log(result)\n```\n\nasync: true (default)\n\n```js\ntypo.compile(template)(data).then(console.log)\n```\n\n## template(template, data, compile_options)\n\n- template `String`\n- data `Object=`\n- compile_options `Object=`\n\nReturns `Promise` if `compile_options.async` is `true`(default), or `String` the substituted result if is not.\n\n## Syntax\n\n```mustache\n{{<directive>[:<directive-params>][|<directive&params>] <expression>}}\n{{<expression>}}\n```\n\n\n## License\n\nMIT\n","maintainers":[{"name":"kael","email":"i@kael.me"}],"time":{"modified":"2022-06-28T02:11:16.778Z","created":"2013-06-16T17:37:54.647Z","0.1.0":"2013-06-16T17:37:59.137Z","0.1.1":"2013-06-16T17:53:23.070Z","0.1.7":"2013-06-17T19:06:01.113Z","0.1.8":"2013-06-18T04:15:39.863Z","0.1.9":"2013-06-18T07:54:56.347Z","0.1.10":"2013-06-18T09:41:32.570Z","0.1.11":"2013-07-30T17:28:02.988Z","0.1.12":"2013-08-03T09:32:21.559Z","0.1.13":"2013-08-03T16:46:36.222Z","0.1.14":"2013-09-26T02:35:17.576Z","0.2.11":"2013-10-29T03:14:38.458Z","1.0.0":"2017-02-25T03:58:58.850Z","1.0.1":"2017-02-25T03:59:56.169Z","1.0.2":"2017-02-25T04:01:22.040Z","1.0.3":"2017-02-25T04:01:45.645Z","1.0.4":"2017-02-25T04:06:02.398Z","1.0.5":"2017-03-17T09:51:38.127Z","1.0.6":"2017-03-19T04:52:48.118Z"},"author":{"name":"kaelzhang"},"repository":{"type":"git","url":"git://github.com/kaelzhang/node-typo.git"},"homepage":"https://github.com/kaelzhang/node-typo#readme","keywords":["typo","template","engine","template engine","helpers","scalable","custom helpers"],"bugs":{"url":"https://github.com/kaelzhang/node-typo/issues"},"license":"MIT","readmeFilename":"README.md"}