{"_id":"to-vinyl","_rev":"86268","name":"to-vinyl","description":"Convert an object to a vinyl file object. Safely mixes additional properties onto the file object without overwriting properties added by vinyl.","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:28:00.000Z","created":"2015-04-27T07:19:35.393Z","0.2.0":"2015-07-17T06:03:30.819Z","0.1.2":"2015-04-27T07:41:48.247Z","0.1.1":"2015-04-27T07:25:01.707Z","0.1.0":"2015-04-27T07:19:35.393Z"},"users":{},"author":{"name":"Brian Woodward","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-vinyl.git"},"versions":{"0.2.0":{"name":"to-vinyl","description":"Convert an object to a vinyl file object. Safely mixes additional properties onto the file object without overwriting properties added by vinyl.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/to-vinyl","author":{"name":"Brian Woodward","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/to-vinyl.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-vinyl/issues"},"contributors":[{"name":"Brian Woodward,","url":"https://github.com/doowb"}],"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^1.0.2","lazy-cache":"^0.1.0","vinyl":"^0.5.0"},"devDependencies":{"mocha":"*","should":"*","to-template":"^0.1.1"},"keywords":["file","object","vinyl"],"gitHead":"430b4af433ed1c6297a1e6473c84cdbe93b84561","_id":"to-vinyl@0.2.0","_shasum":"9dbe34f854f2c45b00cd11c31a1d9d8d1eb45513","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"9dbe34f854f2c45b00cd11c31a1d9d8d1eb45513","size":2427,"noattachment":false,"key":"/to-vinyl/-/to-vinyl-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-vinyl/download/to-vinyl-0.2.0.tgz"},"directories":{},"publish_time":1437113010819,"_cnpm_publish_time":1437113010819,"_hasShrinkwrap":false},"0.1.2":{"name":"to-vinyl","description":"Convert a Template object to a vinyl file object.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/to-vinyl","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/to-vinyl.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-vinyl/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/to-vinyl/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^1.0.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"*","to-template":"^0.1.1"},"keywords":["assemble","file","template","templateutil","verb","vinyl"],"gitHead":"2267b84fdf664e0c34e6f6650819d094d980287b","_id":"to-vinyl@0.1.2","_shasum":"edb56bb664f860ade174d9884ab69541b77e4453","_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":"edb56bb664f860ade174d9884ab69541b77e4453","size":2253,"noattachment":false,"key":"/to-vinyl/-/to-vinyl-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-vinyl/download/to-vinyl-0.1.2.tgz"},"directories":{},"publish_time":1430120508247,"_cnpm_publish_time":1430120508247,"_hasShrinkwrap":false},"0.1.1":{"name":"to-vinyl","description":"Convert a Template object to a vinyl file object.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/to-vinyl","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/to-vinyl.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-vinyl/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/to-vinyl/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^1.0.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"*","to-template":"^0.1.1"},"keywords":["assemble","file","template","templateutil","verb","vinyl"],"_id":"to-vinyl@0.1.1","_shasum":"f395bd6040ecb12548d4d98d3fb631f88f9a8678","_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":"f395bd6040ecb12548d4d98d3fb631f88f9a8678","size":2243,"noattachment":false,"key":"/to-vinyl/-/to-vinyl-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-vinyl/download/to-vinyl-0.1.1.tgz"},"directories":{},"publish_time":1430119501707,"_cnpm_publish_time":1430119501707,"_hasShrinkwrap":false},"0.1.0":{"name":"to-vinyl","description":"Convert a Template object to a vinyl file object.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/to-vinyl","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/to-vinyl.git"},"bugs":{"url":"https://github.com/jonschlinkert/to-vinyl/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/to-vinyl/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"isobject":"^1.0.0","vinyl":"^0.4.6"},"devDependencies":{"mocha":"*","should":"*"},"keywords":[],"_id":"to-vinyl@0.1.0","_shasum":"213e64b990747e8d79652ca51d6778f1ae5215f5","_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":"213e64b990747e8d79652ca51d6778f1ae5215f5","size":1966,"noattachment":false,"key":"/to-vinyl/-/to-vinyl-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/to-vinyl/download/to-vinyl-0.1.0.tgz"},"directories":{},"publish_time":1430119175393,"_cnpm_publish_time":1430119175393,"_hasShrinkwrap":false}},"readme":"# to-vinyl [![NPM version](https://badge.fury.io/js/to-vinyl.svg)](http://badge.fury.io/js/to-vinyl)\n\n> Convert an object to a vinyl file object. Safely mixes additional properties onto the file object without overwriting properties added by vinyl.\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i to-vinyl --save\n```\n\n## Usage\n\n```js\nvar toVinyl = require('to-vinyl');\n\ntoVinyl({path: 'foo.hbs', content: 'this is foo'});\n//=> <File \"foo.hbs\" <Buffer 74 68 69 73 20 69 73 20 66 6f 6f>>\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-template](https://github.com/jonschlinkert/to-template): Convert a vinyl file object to a Template-compatible template 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```sh\n$ npm 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-vinyl/issues/new)\n\n## Author\n\n**Brian Woodward**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Brian Woodward\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on July 17, 2015._","_attachments":{},"homepage":"https://github.com/jonschlinkert/to-vinyl","bugs":{"url":"https://github.com/jonschlinkert/to-vinyl/issues"},"license":"MIT"}