{"_id":"is-flac","_rev":"17-192da4ed3dfd1bccc4ec20dc95e87bf3","name":"is-flac","description":"Check if a Buffer/Uint8Array is a FLAC file.","dist-tags":{"latest":"1.1.2"},"versions":{"0.1.0":{"name":"is-flac","version":"0.1.0","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-flac"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^3.0.0","mocha":"*","read-chunk":"^0.1.0"},"bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac","_id":"is-flac@0.1.0","dist":{"shasum":"cb6b7c541c4e0a874f7ffa367467ebe7db6d3d81","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-0.1.0.tgz","integrity":"sha512-s5e5DSqbYwljmp4QqzioYCrXSuXAindqcuwnXSSIDaSxvE3qZxtre4tL9HNBv3FJAN9VssfX/gvfVBYiGrROJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWQMsV+PwqzwjuakZJEcoiBTmbeyemMoKBF4OVK5rXQAIgaN6ijAnUzEVJkuQAUWRmtZQ2DamTnvX/CX0Y6iCqygc="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}]},"0.1.1":{"name":"is-flac","version":"0.1.1","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-flac"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^3.0.0","mocha":"*","read-chunk":"^0.1.0"},"bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac","_id":"is-flac@0.1.1","_shasum":"ed685582021ad582bdcd8322f25ff74f8cdce755","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"ed685582021ad582bdcd8322f25ff74f8cdce755","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-0.1.1.tgz","integrity":"sha512-NE3ezyHmrc7AQfN+grkmkAEgkH0GWQ4Q2/ApBLWFPaAZDLmNhirmRrYrGiibhxSElPEzlklkFVj2uJy8C/MBVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzeWxtphAMv4aFTyTnBegtWtf2sl1UovNraDyFQ9uBbAiEA13NdW8soC9zc0e+3qXBLhQkvj5M4KzbY1yJQiIYVwac="}]}},"0.1.2":{"name":"is-flac","version":"0.1.2","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-flac"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^3.0.0","mocha":"*","read-chunk":"^0.1.0"},"bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac","_id":"is-flac@0.1.2","_shasum":"c561211e02f1235aa83b285b1c17ac55bebf8dba","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"c561211e02f1235aa83b285b1c17ac55bebf8dba","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-0.1.2.tgz","integrity":"sha512-CeuRMKV7yAv8HmXiNDYfVA8ngtbzOeD/tAnek+cT9YC1/7Qlx614mOigD3CFj97VC5Ml0NtkgcRX8UaqR2byZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHTSyNJU9y0Ka51Nryeg/8afCx228KZGxFZfTbrAMM9gAiBcPdaFhmnO8pYVXwE/4sgMTX033AKCAU2J1Mhci7ib8g=="}]}},"0.2.0":{"name":"is-flac","version":"0.2.0","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-flac"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^6.3.2","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"a59c8e3c386449ff32955194c58ac90ba7387834","bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac","_id":"is-flac@0.2.0","_shasum":"de8cc46b7442ac14688944873f7a7bf115252d23","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"de8cc46b7442ac14688944873f7a7bf115252d23","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-0.2.0.tgz","integrity":"sha512-jTyouKIOUkeMj+7PC0agxxKq19dUtZWsJn/j+jchPSbl1y7SJMm7taaQcYcioaDuIZZ5TeIuguw5fE2/4upRrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIMf8Uzr0SRbg/QCz/q+tvWxmmjTiSsaXGcBFrzoWOkwIgb6gUdC/h1PQU/ky5h51pSgp4YywbaBmQVKxYxxlEZDw="}]}},"0.3.0":{"name":"is-flac","version":"0.3.0","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-flac"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"251fd25397331db68df0f6d84330513321c6bf68","bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac","_id":"is-flac@0.3.0","_shasum":"c7988f6227bf2f0d1c7317806b4b4e802ed47cea","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.11.13","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"c7988f6227bf2f0d1c7317806b4b4e802ed47cea","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-0.3.0.tgz","integrity":"sha512-HQAS+tmV76ryOf+goPfAjy72vOnw9+VqstKnQGHVzZbfbxUvGlLDIQV1MeEMcG14XtSOPIi8cGpZvEAzrt84Hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+LEg43KnHIdjE+PN+NTrEs2rUNmaATDs4eoWT3o/vOAiEA8OXTQQr4EbixukGkerq0ZqO0l/C2CWirnIIpYFgyk60="}]}},"1.0.0":{"name":"is-flac","version":"1.0.0","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-flac"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"e488336f1148fb95d5f72a555a522040fde07ace","bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac","_id":"is-flac@1.0.0","_shasum":"b26c4aea6011bfacf3bf0b554917d97981bcfe14","_from":".","_npmVersion":"2.1.6","_nodeVersion":"0.11.13","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"b26c4aea6011bfacf3bf0b554917d97981bcfe14","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-1.0.0.tgz","integrity":"sha512-dMLI5zni277dzX7gRnw3ZqONq68gUMauB2v0KJVQnWdZqqJqTydvj6v1lJ//WQiGPeL7eDOv/3sbJKE8b5tTlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWpk5f8uyqUlMNhuNdA0wHKn191DXQ/+BfqjRSTe5zlAiEAi8t3jGvBg8wParSofm2JSgTQG6//YBX6FkUig4E2Z1c="}]}},"1.1.0":{"name":"is-flac","version":"1.1.0","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-flac"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^8.1.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"69451bfa778344588e7a5266b57af04b6ea39b02","bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac","_id":"is-flac@1.1.0","_shasum":"1325bb6cef6c3cc60eed1d82882cf9e512001bf7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"1325bb6cef6c3cc60eed1d82882cf9e512001bf7","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-1.1.0.tgz","integrity":"sha512-GN/RFxGndGIAfePFpQwq4MwlrtqBXAd95YXhlogn/ZjufTOQRZcnclfasI3/Fo/zU2NxJZjCdOOEGy/4YSP1fA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgre1jhInCYvvm0kzZsNrP9OaSq0XI9ZHXNnafp9KbvAiEA9Adn2i0EtoalR3Rp7gqftG6HwkY2Hvj7kx/junR95ks="}]}},"1.1.2":{"name":"is-flac","version":"1.1.2","description":"Check if a Buffer/Uint8Array is a FLAC file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/hemanth/is-flac.git"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"engines":{"node":">=4"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"files":["index.js"],"keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^8.1.0","mocha":"*","read-chunk":"^2.0.0"},"gitHead":"c265012b4d4f89e178fe17edc1b93dc68daa7c74","bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"homepage":"https://github.com/hemanth/is-flac#readme","_id":"is-flac@1.1.2","_shasum":"c4c5918fa211e51b7a6e9a7cc751809eae8c002c","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.10","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"dist":{"shasum":"c4c5918fa211e51b7a6e9a7cc751809eae8c002c","tarball":"https://registry.npmjs.org/is-flac/-/is-flac-1.1.2.tgz","integrity":"sha512-bMCyh610qy9IAHHHxqMskwTbTHipJLRdcjrNkQjlwMJgAiA5DyVkBXF545xX+n/PFdlmUtG/2wAEV4WmdiJyrQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2NOi6shQPELVZ7+B8j0lFE5NKGrKveakeA1hbElevzwIhAPRg2M8xhJ9yLNfJYW7Gfv6tWTSdPb1ymMSAeK++2Ntr"}]},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-flac-1.1.2.tgz_1461390538934_0.03779662260785699"}}},"readme":"# is-flac [![Build Status](https://travis-ci.org/hemanth/is-flac.svg?branch=master)](https://travis-ci.org/hemanth/is-flac)\n\n> Check if a Buffer/Uint8Array is a FLAC file.\n\n## Install\n\n```sh\n$ npm install --save is-flac\n```\n\n```sh\n$ bower install --save is-flac\n```\n\n```sh\n$ component install hemanth/is-flac\n```\n\n\n## Usage\n\n##### Node.js\n\n```js\nvar readChunk = require('read-chunk'); // npm install read-chunk\nvar isFlac = require('is-flac');\nvar buffer = readChunk('meow.wav', 0, 4);\n\nisFlac(buffer);\n//=> true\n```\n\n##### Browser\n\n```js\nvar xhr = new XMLHttpRequest();\nxhr.open('GET', 'meow.flac');\nxhr.responseType = 'arraybuffer';\n\nxhr.onload = function () {\n\tisFlac(new Uint8Array(this.response));\n\t//=> true\n};\n\nxhr.send();\n```\n\n\n## API\n\n### isFlac(buffer)\n\nAccepts a Buffer (Node.js) or Uint8Array.\n\nIt only needs the first 4 bytes.\n\n\n## License\n\nMIT © [Hemanth.HM](http://h3manth.com)\n","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"time":{"modified":"2022-06-19T02:41:30.062Z","created":"2014-04-27T10:15:52.663Z","0.1.0":"2014-04-27T10:15:52.663Z","0.1.1":"2014-04-29T13:42:10.934Z","0.1.2":"2014-04-30T12:29:54.625Z","0.2.0":"2014-11-22T13:02:58.103Z","0.3.0":"2014-12-14T02:49:16.794Z","1.0.0":"2014-12-14T02:57:51.381Z","1.1.0":"2015-01-14T05:39:58.879Z","1.1.2":"2016-04-23T05:48:59.463Z"},"homepage":"https://github.com/hemanth/is-flac#readme","keywords":["flac","audio","type","detect","check","is","binary","buffer","uint8array"],"repository":{"type":"git","url":"git+https://github.com/hemanth/is-flac.git"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"bugs":{"url":"https://github.com/hemanth/is-flac/issues"},"license":"MIT","readmeFilename":"readme.md"}