{"_id":"is-m4a","_rev":"17-3811034cb19193e1448fe91a66f04035","name":"is-m4a","description":"Check if a Buffer/Uint8Array is a m4a file.","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"is-m4a","version":"0.1.0","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-m4a"},"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":["m4a","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-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a","_id":"is-m4a@0.1.0","_shasum":"385a396baa10365b52cc591f6a2c0219cfc71752","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"385a396baa10365b52cc591f6a2c0219cfc71752","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-0.1.0.tgz","integrity":"sha512-So76qRizEIOVp8nCNfAk5VatDjIJgQEwfgkFq4VplCLnB7Big8NzOPhT24bjp/az1DiAO+CtUgwt6G81q9ZbwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1vSCFHEbnapbqWBNDptZKDbmpnAZ8fkI7SXZzyhyzKQIgBCaIok2HQnskhetSIXa4qKKZdQ2WUbsUiutHxYLeQXM="}]}},"0.1.1":{"name":"is-m4a","version":"0.1.1","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-m4a"},"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":["m4a","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-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a","_id":"is-m4a@0.1.1","_shasum":"0da73d4de8de05d704dfc6fa3272f236f66f64a6","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"0da73d4de8de05d704dfc6fa3272f236f66f64a6","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-0.1.1.tgz","integrity":"sha512-O4ZVY+1E+0P62e6ObAFx2TKQeJwJRcB1XKWiXEUvsYvvoDQj8clueYtKLaLkiBETL1kBE44ZOmTaOuvo/9BXSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB69/BsB377/JgSSk2r8d8bupZPS9ytcl2zaCVCRmV44AiEA73tTLaydpFMrPJS6MfN/vm3FdeRjurtsyTa9mW6DKwg="}]}},"0.1.2":{"name":"is-m4a","version":"0.1.2","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-m4a"},"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":["m4a","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-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a","_id":"is-m4a@0.1.2","_shasum":"2f3512cad57f67881936a231bd53a82af658af5a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"2f3512cad57f67881936a231bd53a82af658af5a","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-0.1.2.tgz","integrity":"sha512-Nz17Vgkfmyw1jDqH3dqs+Cb1biUP1ab6+EMfDi6EvllawYcQAmPukZVGWxZIVuruC/urFQ0kYLSm0m2MY+hHbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiWWCNNNKopxZY4Uwia85exPDtb4mA95YlHqRtnCRVCQIhAIOUoNkwqRikivWfM4/Fr0TPkBfQgD/+jQ0SgAMq0mnw"}]}},"0.2.0":{"name":"is-m4a","version":"0.2.0","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-m4a"},"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":["m4a","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^6.3.2","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"0014f5ac08f287f760e2a6f168a6e52b55a95741","bugs":{"url":"https://github.com/hemanth/is-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a","_id":"is-m4a@0.2.0","_shasum":"55949f1977787641d60644e0949a233a47dc4938","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"55949f1977787641d60644e0949a233a47dc4938","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-0.2.0.tgz","integrity":"sha512-PLbyXBkUJE7UcmEs1CQRS+E/mYLIZkyU7BaRn3UcGJurti28qNEnrl0/qEGiOIWc5SDERlOsDUIQUQGIKyTBsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIER+RgqJjyS5YbwkYlWb126MEL28K5hPSa1C/xP1HnsiAiEA5LiFiAYnFB7dyyOrrqmqrTmOSHOgEz9sMBHYl5+bQpU="}]}},"0.3.0":{"name":"is-m4a","version":"0.3.0","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-m4a"},"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":["m4a","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"fa8309250ec7f4e9f8534b786d82f2a938cb5602","bugs":{"url":"https://github.com/hemanth/is-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a","_id":"is-m4a@0.3.0","_shasum":"51fa9ef4970f11a10a0bc4196aea29e707878d56","_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":"51fa9ef4970f11a10a0bc4196aea29e707878d56","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-0.3.0.tgz","integrity":"sha512-qDF2dvr9gDbaloXA1cffP7G/4BNO3aGsUEKeid7l4ViLMQKsJDadV7WRvVANxd+PzWVZhsuUpK0E+wRM2tZHkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJ0tEZxaDmb7eHvcCMDuL3FCTv9qPZUwmxY261iKiqTgIgbRX4/V3DUee9hWf4TlWb46i0wTfCu5UTL4aysTzHonY="}]}},"1.0.0":{"name":"is-m4a","version":"1.0.0","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-m4a"},"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":["m4a","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"f8e973a02542b01e4285b2e5b41f404728bde00c","bugs":{"url":"https://github.com/hemanth/is-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a","_id":"is-m4a@1.0.0","_shasum":"74412aca754e2d91d75d885db3281ddba167c091","_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":"74412aca754e2d91d75d885db3281ddba167c091","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-1.0.0.tgz","integrity":"sha512-ZrSVHn0fs7x1XFxjX76zG40ZkFtINNtZflf2Vxa3jq2SEc8j5aFvhfzyc+5U+qfaIXILzVBDj/IeCYq3woyO5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1YLooORrGUyBMHFylXcaIQErsUf0oIS0CqjYmvJrrFAiEArauAahzfEGOWt2S5hvHwlkggidjB6/R1g5zh2Buf89Q="}]}},"1.1.0":{"name":"is-m4a","version":"1.1.0","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-m4a"},"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":["m4a","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^8.1.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"56195b97e704a334539fc4600a560ba683d9c21d","bugs":{"url":"https://github.com/hemanth/is-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a","_id":"is-m4a@1.1.0","_shasum":"0f16c84b3b9fbf1fdf8c39f8846846264ddbdd3c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"0f16c84b3b9fbf1fdf8c39f8846846264ddbdd3c","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-1.1.0.tgz","integrity":"sha512-8LPSOaBA4OvJYlxVUMKGckZeoJxd0VhTqkb7noLdbcwGJCaYce6KC4GFTcK8H1rmUeXcLcH2ywODpVLJSIbLtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErrt/rts2LATaetPdBlJ0fi4uGnzsOXsO/thNemBlfOAiBZnAM6bB7wMrdu+IAB10R9+D02CODlk2c7TIQzW0huKA=="}]}},"1.0.2":{"name":"is-m4a","version":"1.0.2","description":"Check if a Buffer/Uint8Array is a m4a file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/hemanth/is-m4a.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":["m4a","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^2.0.0"},"gitHead":"765bd8421c69f6b1abfab4d6377e2d545f67bcdd","bugs":{"url":"https://github.com/hemanth/is-m4a/issues"},"homepage":"https://github.com/hemanth/is-m4a#readme","_id":"is-m4a@1.0.2","_shasum":"ed31ddfa14ba48f34406eb2780074442f4a9b4a3","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.10","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"dist":{"shasum":"ed31ddfa14ba48f34406eb2780074442f4a9b4a3","tarball":"https://registry.npmjs.org/is-m4a/-/is-m4a-1.0.2.tgz","integrity":"sha512-LalNEQjCmHT0zNQ3lXCziFvH8UwuCs0BWI4ro0IFq/ftazZKPnRfzUh9Hszy8xOQTk4uBsdJ1mgZGynotN2KZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkb0kHS4QXlqF3+yKCvXUaKMr79/zZjdf3E7OwnsnWMAiEAhW3CXafFv9E46A4N1iqaUpXXIkBR2Uf/uVqTh07WuwE="}]},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-m4a-1.0.2.tgz_1461390568229_0.998394398484379"}}},"readme":"# is-m4a [![Build Status](https://travis-ci.org/hemanth/is-m4a.svg?branch=master)](https://travis-ci.org/hemanth/is-m4a)\n\n> Check if a Buffer/Uint8Array is a m4a file.\n\n## Install\n\n```sh\n$ npm install --save is-m4a\n```\n\n```sh\n$ bower install --save is-m4a\n```\n\n```sh\n$ component install hemanth/is-m4a\n```\n\n\n## Usage\n\n##### Node.js\n\n```js\nvar readChunk = require('read-chunk'); // npm install read-chunk\nvar isM4a = require('is-m4a');\nvar buffer = readChunk('meow.m4a', 0, 8);\n\nisM4a(buffer);\n//=> true\n```\n\n##### Browser\n\n```js\nvar xhr = new XMLHttpRequest();\nxhr.open('GET', 'meow.m4a');\nxhr.responseType = 'arraybuffer';\n\nxhr.onload = function () {\n\tisM4a(new Uint8Array(this.response));\n\t//=> true\n};\n\nxhr.send();\n```\n\n\n## API\n\n### isM4a(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:45:03.127Z","created":"2014-04-29T16:38:32.583Z","0.1.0":"2014-04-29T16:38:32.583Z","0.1.1":"2014-04-30T12:27:34.451Z","0.1.2":"2014-05-07T17:44:36.828Z","0.2.0":"2014-11-22T13:03:35.189Z","0.3.0":"2014-12-14T02:50:34.026Z","1.0.0":"2014-12-14T02:57:55.254Z","1.1.0":"2015-01-14T05:40:59.460Z","1.0.2":"2016-04-23T05:49:28.734Z"},"homepage":"https://github.com/hemanth/is-m4a#readme","keywords":["m4a","audio","type","detect","check","is","binary","buffer","uint8array"],"repository":{"type":"git","url":"git+https://github.com/hemanth/is-m4a.git"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"bugs":{"url":"https://github.com/hemanth/is-m4a/issues"},"license":"MIT","readmeFilename":"readme.md"}