{"_id":"buffer-to-vinyl","_rev":"6-c56ca0a8c14164d5b8c7922b09393566","name":"buffer-to-vinyl","description":"Create a vinyl file or stream from a buffer","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"buffer-to-vinyl","version":"1.0.0","description":"Create a vinyl file or stream from a buffer","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/buffer-to-vinyl"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":[],"dependencies":{"file-type":"^2.2.0","through2":"^0.6.3","uuid":"^2.0.1","vinyl":"^0.4.6"},"devDependencies":{"ava":"^0.0.4","concat-stream":"^1.4.7"},"gitHead":"c06a47eff4dea0a2fe2c8d725b13e540fdafd47d","bugs":{"url":"https://github.com/kevva/buffer-to-vinyl/issues"},"homepage":"https://github.com/kevva/buffer-to-vinyl","_id":"buffer-to-vinyl@1.0.0","_shasum":"94d47a9346c741a01951c6a89b1b9d86915f1568","_from":".","_npmVersion":"2.3.0","_nodeVersion":"1.0.4","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"94d47a9346c741a01951c6a89b1b9d86915f1568","tarball":"https://registry.npmjs.org/buffer-to-vinyl/-/buffer-to-vinyl-1.0.0.tgz","integrity":"sha512-20Rpp/1F3gZ6O0XcJRAmxqZAMANc6SZEUJrW4/9NtnFP4Z6MEEw7zbS1BXDfKFs7F/dELOxiZNTDRoGJSmI0QQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUXnfB5lGCZSoaLkXhuJeRsEJ0LPqIAz0oFqxSOJ4yyAiEA31M3Vik7F9f0alAPPpaBX+GrvcwKhQKEDW0ygAxPdJ8="}]}},"1.0.1":{"name":"buffer-to-vinyl","version":"1.0.1","description":"Create a vinyl file or stream from a buffer","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/buffer-to-vinyl.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":[],"dependencies":{"file-type":"^2.2.0","readable-stream":"^2.0.2","uuid":"^2.0.1","vinyl":"^0.5.1"},"devDependencies":{"ava":"^0.0.4","concat-stream":"^1.4.7","xo":"*"},"gitHead":"6872c4b763a80a14c723bc6cea1191aad6017844","bugs":{"url":"https://github.com/kevva/buffer-to-vinyl/issues"},"homepage":"https://github.com/kevva/buffer-to-vinyl#readme","_id":"buffer-to-vinyl@1.0.1","_shasum":"b7647a9b12e8fad7b1ea605afb6d573d8f739060","_from":".","_npmVersion":"3.2.2","_nodeVersion":"3.0.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"b7647a9b12e8fad7b1ea605afb6d573d8f739060","tarball":"https://registry.npmjs.org/buffer-to-vinyl/-/buffer-to-vinyl-1.0.1.tgz","integrity":"sha512-qHmGy8ZRGE2W2YdQbs0eMirvgvv1qyF9pyJBA5qVjl/nnjnjKWUUBHeq4krvg3zsrHDSG6MjPysSOSojWkKsHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPdhikyCy3yENeyRzA+UDNY0eDgTAX+n/xGrcWfmbpdQIhAPR9m2zgLFtf7KZVGs4btbTLrnnwOCSGPqeSUWvsJGA4"}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}]},"1.1.0":{"name":"buffer-to-vinyl","version":"1.1.0","description":"Create a vinyl file or stream from a buffer","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/buffer-to-vinyl.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":[],"dependencies":{"file-type":"^3.1.0","readable-stream":"^2.0.2","uuid":"^2.0.1","vinyl":"^1.0.0"},"devDependencies":{"ava":"^0.0.4","concat-stream":"^1.4.7","xo":"*"},"gitHead":"84e59a6c15a702076ea3a5904579c06e25a26817","bugs":{"url":"https://github.com/kevva/buffer-to-vinyl/issues"},"homepage":"https://github.com/kevva/buffer-to-vinyl#readme","_id":"buffer-to-vinyl@1.1.0","_shasum":"00f15faee3ab7a1dda2cde6d9121bffdd07b2262","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.2","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"00f15faee3ab7a1dda2cde6d9121bffdd07b2262","tarball":"https://registry.npmjs.org/buffer-to-vinyl/-/buffer-to-vinyl-1.1.0.tgz","integrity":"sha512-t6B4HXJ3YdJ/lXKhK3nlGW1aAvpQH2FMyHh25SmfdYkQAU3/R2MYo4VrY1DlQuZd8zLNOqWPxZFJILRuTkqaEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTM1dMsXGDEesRRKvJAdwLn8AZEhW1xcPfixTvazYrgwIhAMsAd+n4Cnkl3Qb0fCNLnVUrGjfUQabtC2bvfbxMzVtJ"}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}]}},"readme":"# buffer-to-vinyl [![Build Status](http://img.shields.io/travis/kevva/buffer-to-vinyl.svg?style=flat)](https://travis-ci.org/kevva/buffer-to-vinyl)\n\n> Create a vinyl file or stream from a buffer\n\n\n## Install\n\n```\n$ npm install --save buffer-to-vinyl\n```\n\n\n## Usage\n\n```js\nvar bufferToVinyl = require('buffer-to-vinyl');\nvar fs = require('fs');\n\nbufferToVinyl.file(fs.readFileSync('foo.jpg', null));\nbufferToVinyl.stream(fs.readFileSync('foo.jpg', null));\n```\n\n\n## API\n\n### .file(buf, [name])\n\nCreates a vinyl file.\n\n### .stream(buf, [name])\n\nCreates a object stream.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"time":{"modified":"2022-06-13T05:15:29.178Z","created":"2015-02-04T19:57:40.792Z","1.0.0":"2015-02-04T19:57:40.792Z","1.0.1":"2015-08-12T07:40:03.750Z","1.1.0":"2015-10-20T12:29:33.694Z"},"homepage":"https://github.com/kevva/buffer-to-vinyl#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/kevva/buffer-to-vinyl.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bugs":{"url":"https://github.com/kevva/buffer-to-vinyl/issues"},"license":"MIT","readmeFilename":"readme.md"}