{"_id":"smpltmpl","_rev":"411015","name":"smpltmpl","description":"Simple templates for Node.js based on ECMAScript template literals syntax","dist-tags":{"latest":"1.0.2"},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"time":{"modified":"2021-08-04T05:08:31.000Z","created":"2017-11-13T21:32:58.743Z","1.0.2":"2017-11-14T18:59:52.202Z","1.0.1":"2017-11-14T17:49:34.469Z","1.0.0":"2017-11-13T21:32:58.743Z"},"users":{},"author":{"name":"Artem Sapegin","url":"http://sapegin.me"},"repository":{"type":"git","url":"git+https://github.com/sapegin/smpltmpl.git"},"versions":{"1.0.2":{"name":"smpltmpl","version":"1.0.2","description":"Simple templates for Node.js based on ECMAScript template literals syntax","author":{"name":"Artem Sapegin","url":"http://sapegin.me"},"homepage":"https://github.com/sapegin/smpltmpl","repository":{"type":"git","url":"git+https://github.com/sapegin/smpltmpl.git"},"license":"MIT","engines":{"node":">=4"},"main":"index.js","files":["index.js"],"scripts":{"lint":"eslint . --cache --fix","pretest":"npm run lint","precommit":"lint-staged","test:jest":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","test":"npm run test:jest"},"keywords":["template","engine","ecmascript","es6","es2015","literal"],"devDependencies":{"eslint":"^4.11.0","eslint-config-tamia":"^4.2.3","eslint-plugin-prettier":"^2.3.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^5.0.0","prettier":"^1.8.2"},"lint-staged":{"*.js":["eslint --fix","git add"]},"dependencies":{"babel-code-frame":"^6.26.0"},"gitHead":"5380048b9c116f3fbba5af9977bcb13f50ecb6fa","bugs":{"url":"https://github.com/sapegin/smpltmpl/issues"},"_id":"smpltmpl@1.0.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"sapegin","email":"artem@sapegin.ru"},"dist":{"shasum":"b6e9d0eedab7827455c46c98fb8b9505ae6d4a82","size":2558,"noattachment":false,"key":"/smpltmpl/-/smpltmpl-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/smpltmpl/download/smpltmpl-1.0.2.tgz"},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smpltmpl-1.0.2.tgz_1510685991314_0.6734082056209445"},"directories":{},"publish_time":1510685992202,"_cnpm_publish_time":1510685992202,"_hasShrinkwrap":false},"1.0.1":{"name":"smpltmpl","version":"1.0.1","description":"Simple templates for Node.js based on ECMAScript template literals syntax","author":{"name":"Artem Sapegin","url":"http://sapegin.me"},"homepage":"https://github.com/sapegin/smpltmpl","repository":{"type":"git","url":"git+https://github.com/sapegin/smpltmpl.git"},"license":"MIT","engines":{"node":">=4"},"main":"index.js","files":["index.js"],"scripts":{"lint":"eslint . --cache --fix","pretest":"npm run lint","precommit":"lint-staged","test:jest":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","test":"npm run test:jest"},"keywords":["template","engine","ecmascript","es6","es2015","literal"],"devDependencies":{"eslint":"^4.11.0","eslint-config-tamia":"^4.2.3","eslint-plugin-prettier":"^2.3.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^5.0.0","prettier":"^1.8.2"},"lint-staged":{"*.js":["eslint --fix","git add"]},"dependencies":{"babel-code-frame":"^6.26.0"},"gitHead":"e8c95237600c46769ea0b74b478d0cc416e025e2","bugs":{"url":"https://github.com/sapegin/smpltmpl/issues"},"_id":"smpltmpl@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"sapegin","email":"artem@sapegin.ru"},"dist":{"shasum":"ed0cdf04e5f224c27fa312da75b9b842955b6856","size":2471,"noattachment":false,"key":"/smpltmpl/-/smpltmpl-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smpltmpl/download/smpltmpl-1.0.1.tgz"},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smpltmpl-1.0.1.tgz_1510681773518_0.9420850584283471"},"directories":{},"publish_time":1510681774469,"_hasShrinkwrap":false,"_cnpm_publish_time":1510681774469},"1.0.0":{"name":"smpltmpl","version":"1.0.0","description":"Simple templates for Node.js based on ECMAScript template literals syntax.","author":{"name":"Artem Sapegin","url":"http://sapegin.me"},"homepage":"https://github.com/sapegin/smpltmpl","repository":{"type":"git","url":"git+https://github.com/sapegin/smpltmpl.git"},"license":"MIT","engines":{"node":">=4"},"main":"index.js","files":["index.js"],"scripts":{"lint":"eslint . --cache --fix","pretest":"npm run lint","precommit":"lint-staged","test:jest":"jest","test:watch":"jest --watch","test:coverage":"jest --coverage","test":"npm run test:jest"},"keywords":["template","engine","ecmascript","es6","es2015","literal"],"devDependencies":{"eslint":"^4.11.0","eslint-config-tamia":"^4.2.3","eslint-plugin-prettier":"^2.3.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^5.0.0","prettier":"^1.8.2"},"lint-staged":{"*.js":["eslint --fix","git add"]},"dependencies":{"babel-code-frame":"^6.26.0"},"bugs":{"url":"https://github.com/sapegin/smpltmpl/issues"},"_id":"smpltmpl@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"sapegin","email":"artem@sapegin.ru"},"dist":{"shasum":"ed160098bbdb784794cd44d57608ac853ea1fb31","size":2424,"noattachment":false,"key":"/smpltmpl/-/smpltmpl-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smpltmpl/download/smpltmpl-1.0.0.tgz"},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smpltmpl-1.0.0.tgz_1510608777702_0.34472111565992236"},"directories":{},"publish_time":1510608778743,"_hasShrinkwrap":false,"_cnpm_publish_time":1510608778743}},"readme":"# smpltmpl\n\n[![Build Status](https://travis-ci.org/sapegin/smpltmpl.svg)](https://travis-ci.org/sapegin/smpltmpl)\n\nSimple templates for Node.js based on ECMAScript [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) syntax.\n\n## Installation\n\n```bash\nnpm install --save smpltmpl\n```\n\n## Usage\n\nUsing a string:\n\n```js\nconst { template } = require('smpltmpl');\nconsole.log(template('Hello ${who}!', { who: 'templates' }));\n```\n\nUsing a template file:\n\n```js\nconst { templateFromFile } = require('smpltmpl');\nconsole.log(templateFromFile('template.txt', { who: 'templates' }));\n```\n\n## Change log\n\nThe change log can be found on the [Releases page](https://github.com/sapegin/smpltmpl/releases).\n\n## Contributing\n\nEveryone is welcome to contribute. Please take a moment to review the [contributing guidelines](Contributing.md).\n\n## Authors and license\n\n[Artem Sapegin](http://sapegin.me) and [contributors](https://github.com/sapegin/smpltmpl/graphs/contributors).\n\nMIT License, see the included [License.md](License.md) file.\n","_attachments":{},"homepage":"https://github.com/sapegin/smpltmpl","bugs":{"url":"https://github.com/sapegin/smpltmpl/issues"},"license":"MIT"}