{"_id":"@blakeembrey/template","_rev":"2999272","name":"@blakeembrey/template","description":"Fast and simple string template library","dist-tags":{"latest":"1.1.0"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"time":{"modified":"2023-08-29T08:47:33.000Z","created":"2019-02-17T02:59:53.337Z","1.1.0":"2022-03-07T05:39:51.796Z","1.0.0":"2019-02-17T02:59:53.337Z"},"users":{},"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"repository":{"type":"git","url":"git://github.com/blakeembrey/js-template.git"},"versions":{"1.1.0":{"name":"@blakeembrey/template","version":"1.1.0","publishConfig":{"access":"public"},"description":"Fast and simple string template library","license":"Apache-2.0","repository":{"type":"git","url":"git://github.com/blakeembrey/js-template.git"},"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"homepage":"https://github.com/blakeembrey/js-template","bugs":{"url":"https://github.com/blakeembrey/js-template/issues"},"main":"dist/index.js","scripts":{"build":"ts-scripts build","format":"ts-scripts format","lint":"ts-scripts lint","prepare":"ts-scripts install && npm run build","specs":"ts-scripts specs","test":"ts-scripts test"},"keywords":["string","template","curly","bracket"],"devDependencies":{"@borderless/ts-scripts":"^0.8.0","@types/jest":"^27.4.1","@types/node":"^17.0.21","typescript":"^4.6.2"},"types":"dist/index.d.ts","ts-scripts":{"project":"tsconfig.build.json"},"gitHead":"1f9118745a4c486ef9ec35b2bcbda7e487944750","_id":"@blakeembrey/template@1.1.0","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"shasum":"fbea7a688ffedf0763085b2cda8efe6fdd54d4c4","size":3082,"noattachment":false,"key":"/@blakeembrey/template/-/@blakeembrey/template-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@blakeembrey/template/download/@blakeembrey/template-1.1.0.tgz"},"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/template_1.1.0_1646631591630_0.3176036448241233"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-07T05:39:58.446Z","publish_time":1646631591796,"_cnpm_publish_time":1646631591796},"1.0.0":{"name":"@blakeembrey/template","version":"1.0.0","description":"Fast and simple string template library","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"prettier":"prettier --write","format":"npm run prettier -- \"{.,src/**}/*.{js,ts,json,md,yml,css}\"","lint":"tslint \"src/**/*.ts\" --project tsconfig.json","build":"rm -rf dist/ && tsc","specs":"jest --coverage","test":"npm run lint && npm run build && npm run specs","prepare":"npm run build"},"repository":{"type":"git","url":"git://github.com/blakeembrey/js-template.git"},"keywords":["string","template","curly","bracket"],"author":{"name":"Blake Embrey","email":"hello@blakeembrey.com","url":"http://blakeembrey.me"},"license":"Apache-2.0","bugs":{"url":"https://github.com/blakeembrey/js-template/issues"},"homepage":"https://github.com/blakeembrey/js-template","jest":{"roots":["<rootDir>/src/"],"transform":{"\\.tsx?$":"ts-jest"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{js,ts,json,md,yml,css}":["npm run prettier","git add"]},"publishConfig":{"access":"public"},"devDependencies":{"@types/jest":"^24.0.0","@types/node":"^10.1.2","husky":"^1.3.1","jest":"^24.1.0","lint-staged":"^8.1.0","prettier":"^1.16.1","rimraf":"^2.6.2","ts-jest":"^23.1.4","tslint":"^5.11.0","tslint-config-prettier":"^1.17.0","tslint-config-standard":"^8.0.0","typescript":"^3.0.3"},"gitHead":"d027f8adbc8d41490283ef26192037bb07e42289","_id":"@blakeembrey/template@1.0.0","_nodeVersion":"11.10.0","_npmVersion":"6.7.0","dist":{"shasum":"bf8828bc3ae8004d97904d78f64e3cc2cd216438","size":3129,"noattachment":false,"key":"/@blakeembrey/template/-/@blakeembrey/template-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@blakeembrey/template/download/@blakeembrey/template-1.0.0.tgz"},"maintainers":[{"name":"blakeembrey","email":"hello@blakeembrey.com"}],"_npmUser":{"name":"blakeembrey","email":"hello@blakeembrey.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/template_1.0.0_1550372393119_0.11767047413301746"},"_hasShrinkwrap":false,"publish_time":1550372393337,"_cnpm_publish_time":1550372393337,"_cnpmcore_publish_time":"2021-12-16T16:39:18.445Z"}},"readme":"# Template\n\n[![NPM version](https://img.shields.io/npm/v/@blakeembrey/template.svg?style=flat)](https://npmjs.org/package/@blakeembrey/template)\n[![NPM downloads](https://img.shields.io/npm/dm/@blakeembrey/template.svg?style=flat)](https://npmjs.org/package/@blakeembrey/template)\n[![Build status](https://img.shields.io/travis/blakeembrey/js-template.svg?style=flat)](https://travis-ci.org/blakeembrey/js-template)\n[![Test coverage](https://img.shields.io/coveralls/blakeembrey/js-template.svg?style=flat)](https://coveralls.io/r/blakeembrey/js-template?branch=master)\n\n> Fast and simple string template library.\n\n## Installation\n\n```\nnpm install @blakeembrey/template --save\n```\n\n## Usage\n\n```js\nimport { template } from \"@blakeembrey/template\";\n\nconst fn = template(\"Hello {{name}}!\");\n\nfn({ name: \"Blake\" }); //=> \"Hello Blake!\"\n```\n\n## TypeScript\n\nThis module uses [TypeScript](https://github.com/Microsoft/TypeScript) and publishes type definitions on NPM.\n\n## License\n\nApache 2.0\n","_attachments":{},"homepage":"https://github.com/blakeembrey/js-template","bugs":{"url":"https://github.com/blakeembrey/js-template/issues"},"license":"Apache-2.0"}