{"_id":"to-template","_rev":"86207","name":"to-template","description":"Convert a vinyl file object to a Template-compatible template object.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:27:59.000Z","created":"2015-04-27T07:19:48.907Z","0.1.2":"2015-04-27T07:26:50.042Z","0.1.1":"2015-04-27T07:22:40.173Z","0.1.0":"2015-04-27T07:19:48.907Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/to-template.git"},"versions":{"0.1.2":{"name":"to-template","description":"Convert a vinyl file object to a Template-compatible template object.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/to-template","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/to-template.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-template/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/to-template/blob/master/LICENSE"},"files":["index.js","props.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-plain-object":"^1.0.0","to-vinyl":"^0.1.0"},"devDependencies":{"mocha":"*","should":"*","to-vinyl":"^0.1.1"},"keywords":["assemble","file","template","templateutil","verb","vinyl"],"_id":"to-template@0.1.2","_shasum":"3835694f82b1b74370306df75f55fc00e77335a8","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3835694f82b1b74370306df75f55fc00e77335a8","size":2593,"noattachment":false,"key":"/to-template/-/to-template-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-template/download/to-template-0.1.2.tgz"},"directories":{},"publish_time":1430119610042,"_cnpm_publish_time":1430119610042,"_hasShrinkwrap":false},"0.1.1":{"name":"to-template","description":"Convert a vinyl file object to a Template-compatible template object.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/to-template","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/to-template.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-template/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/to-template/blob/master/LICENSE"},"files":["index.js","props.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-plain-object":"^1.0.0","to-vinyl":"^0.1.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"_id":"to-template@0.1.1","_shasum":"54036f13a5143b77ba25cc3873090b3cfde51b89","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"54036f13a5143b77ba25cc3873090b3cfde51b89","size":2357,"noattachment":false,"key":"/to-template/-/to-template-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-template/download/to-template-0.1.1.tgz"},"directories":{},"publish_time":1430119360173,"_cnpm_publish_time":1430119360173,"_hasShrinkwrap":false},"0.1.0":{"name":"to-template","description":"Convert a vinyl file object to a Template-compatible template object.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/to-template","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/to-template.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-template/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/to-template/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"is-plain-object":"^1.0.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"_id":"to-template@0.1.0","_shasum":"64534836482bc23260ef61cbf67b6a2d82cc965c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"64534836482bc23260ef61cbf67b6a2d82cc965c","size":2193,"noattachment":false,"key":"/to-template/-/to-template-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-template/download/to-template-0.1.0.tgz"},"directories":{},"publish_time":1430119188907,"_cnpm_publish_time":1430119188907,"_hasShrinkwrap":false}},"readme":"# to-template [![NPM version](https://badge.fury.io/js/to-template.svg)](http://badge.fury.io/js/to-template)\n\n> Convert a vinyl file object to a Template-compatible template object.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i to-template --save\n```\n\n## Usage\n\n```js\nvar toTemplate = require('to-template');\n\n// file = <File \"foo.hbs\" <Buffer 74 68 69 73 20 69 73 20 66 6f 6f>>\ntoTemplate(file);\n//=> {path: 'foo.hbs', content: 'this is foo'}\n```\n\n## Related projects\n\n* [assemble](http://assemble.io): Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… [more](http://assemble.io)\n* [to-vinyl](https://github.com/jonschlinkert/to-vinyl): Convert a Template object to a vinyl file object.\n* [template](https://github.com/jonschlinkert/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://github.com/jonschlinkert/template)\n* [verb](https://github.com/assemble/verb): Documentation generator for GitHub projects. Extremely powerful, easy to use, can generate anything from API… [more](https://github.com/assemble/verb)\n\n## Running tests\n\nInstall dev dependencies:\n\n```bash\nnpm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/to-template/issues)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright (c) 2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on April 27, 2015._\n\n<!-- reflinks generated by verb-reflinks plugin -->\n\n[assemble]: http://assemble.io\n[template]: https://github.com/jonschlinkert/template\n[verb]: https://github.com/assemble/verb","_attachments":{},"homepage":"https://github.com/jonschlinkert/to-template","bugs":{"url":"https://github.com/jonschlinkert/to-template/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/to-template/blob/master/LICENSE"}}