{"_id":"is-mp3","_rev":"16-04a3a3b83b65506968c5ef709d9097a2","name":"is-mp3","description":"Check if a Buffer/Uint8Array is a MP3 file.","dist-tags":{"latest":"1.1.3"},"versions":{"0.1.0":{"name":"is-mp3","version":"0.1.0","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-mp3"},"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":["mp3","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-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3","_id":"is-mp3@0.1.0","dist":{"shasum":"70fb0f0079b15a0c37605631030b4bc7e389d807","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.1.0.tgz","integrity":"sha512-/wIzLTTEwM63duu6Qql9+BoiE00IaW3qLzYFe9VQx53Gumrkv/uWEnwM3E+/AOzopodqFhzUJH60cCkZR0oY+Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICrxDPK8Rj9/5oVhGxL6TbV2JCMg+O/Wd3+jqp9x3wg1AiBguQZLA7xETc5TnNPhZm7J06kuRmo03DHtpuQNJP2KUA=="}]},"_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-mp3","version":"0.1.1","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-mp3"},"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":["mp3","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-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3","_id":"is-mp3@0.1.1","_shasum":"91b90d2d1e08efd9f45e42b05c6420939639ef4f","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"91b90d2d1e08efd9f45e42b05c6420939639ef4f","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.1.1.tgz","integrity":"sha512-16s9+54Lk+0TlsS0YuDw+F9MmzkgTx7F3dlyI3GCxSzhxMJdwp8otAu4P41VNCK5W6yZNfGnhXPVRnfqguQBjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9M0IutvCGZK0w79KIT9TlARTYf/b8Jjx0d/8FKupN9QIgb0Lr/7inn/xMmAcivHAYxiwfeRYv+1ktbRIk3aXtdA0="}]}},"0.2.0":{"name":"is-mp3","version":"0.2.0","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-mp3"},"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":["mp3","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^6.3.2","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"dc585bcd7d5b1cb3e470c838174c052088165ee0","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3","_id":"is-mp3@0.2.0","_shasum":"702fb9ebad0cf845673a91ac5ac8e88a9aefcdb9","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"702fb9ebad0cf845673a91ac5ac8e88a9aefcdb9","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.2.0.tgz","integrity":"sha512-zOSMm+WaOntk7OICCCgsX7NPrOdZ4Bj9NqBFezGPI0CMxtuGtgiO803PEca26wYNHOEAGChdzDAqUkxprbu0lA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4qqfs1VjuPSsODtfR/iXNNWZaUIgOq+P/JjDNJPRUUAIhAOOL6AqjDo/hNt7PChbauhRVQNQpVI+RWLwOg94MyoUd"}]}},"0.3.0":{"name":"is-mp3","version":"0.3.0","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-mp3"},"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":["mp3","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"7f6d2943040068671fc449428719f509ee780c4b","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3","_id":"is-mp3@0.3.0","_shasum":"999b60f47e2fa729d57aeac2a889acf252c1fc96","_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":"999b60f47e2fa729d57aeac2a889acf252c1fc96","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.3.0.tgz","integrity":"sha512-a9xsN3NKA0vdquuPn9/EJWjKc13ha3T+T1R5Pt+istYpKHavTbNoIojDJYV2REeN95yaOJReL7wKUQiJdArkYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD75slKHBB4kKQQoWYYTGcEzomydiEORpXwmQak8mtfIQIhAIxSKfMRf0v0rcfkIEIm8CGv9l40/1tGVLntMC5il8yg"}]}},"1.0.0":{"name":"is-mp3","version":"1.0.0","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-mp3"},"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":["mp3","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"f4614ad375ff9b0a2938638512e2c51c60052306","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3","_id":"is-mp3@1.0.0","_shasum":"56ea5ce2753798ea02e2c493a5c0d6faba681ed1","_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":"56ea5ce2753798ea02e2c493a5c0d6faba681ed1","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.0.0.tgz","integrity":"sha512-9m/Nr6QH6m5dIY4CgPAhT8435vcJt2BUNtdSGRfmoWYfMzacq6ZIwe//rynk38fzlUpx7RBRo7eT1yipecnafQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAmiRgcBPZSiRy+5WK0ddxuoJyZGfRWjyf3AlsRZ7ha3AiBViN31WCz9e83PpkZEiqM5zrufZM8djC+jGHz0BmVhdQ=="}]}},"1.1.0":{"name":"is-mp3","version":"1.1.0","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-mp3"},"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":["mp3","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^8.1.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"8be203e6c2a3407a547b8d71c4ef1e10a8f3f186","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3","_id":"is-mp3@1.1.0","_shasum":"d6d13fc4e995ced8e40ad6a18984c0f27662d23b","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"d6d13fc4e995ced8e40ad6a18984c0f27662d23b","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.1.0.tgz","integrity":"sha512-XNNEhp8njWVmt6mk9b2L6deVvYBxZuUYmB+XVU60JFKjqyAPG6bnouoPnFn3UPED7Cl1eRvCl65PZg7V2aMQmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHx5uw7niXJVzEB+k6WmfDqxRPRCg7dT8oCjcv53jEYyAiBQriZ6cngIRzqQuCAM6fncZ9UpkyIYxnGWsyJOklBkPA=="}]}},"1.1.2":{"name":"is-mp3","version":"1.1.2","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/hemanth/is-mp3.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":["mp3","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^8.1.0","mocha":"*","read-chunk":"^2.0.0"},"gitHead":"fb0e53105509a888d23f07c8afc3a46974b56cdf","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3#readme","_id":"is-mp3@1.1.2","_shasum":"b2a3af7251190850fb0ac02a0b8e1b1dd5e19f8b","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.10","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"dist":{"shasum":"b2a3af7251190850fb0ac02a0b8e1b1dd5e19f8b","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.1.2.tgz","integrity":"sha512-lGEz5x/dHBZ6OlV8AWNkdOZxGSi3gV183GeQKieNUqvFdUhwqZ9EUB5ON1/fHwMXd9vnYtdQ07NArgXnATO6LQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB3hMGwfNj/clG2VGc0qneEhyUqFXsYOUHA2BUXYJ3sTAiBmdAradf5v6A0HL3lXB4h9QvnCPgiIe76/aKuI/69CDg=="}]},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-mp3-1.1.2.tgz_1461390505941_0.21663657948374748"}},"1.1.3":{"name":"is-mp3","version":"1.1.3","description":"Check if a Buffer/Uint8Array is a MP3 file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/hemanth/is-mp3.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":["mp3","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"14.0.0","mocha":"*","read-chunk":"^2.0.0"},"gitHead":"d54e0489b4fae0396bfbce070023ae21550566f6","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"homepage":"https://github.com/hemanth/is-mp3#readme","_id":"is-mp3@1.1.3","_shasum":"62a1e73c20601f46cb1f1bf592504f939f0bd4c8","_from":".","_npmVersion":"4.0.3","_nodeVersion":"4.2.1","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"dist":{"shasum":"62a1e73c20601f46cb1f1bf592504f939f0bd4c8","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.1.3.tgz","integrity":"sha512-s9jAf4qmxd8MCOE0BRLzs9uZMM+hWWkIHBkPFOLU5NPT0ooCOaINRQ8ePBKWsfh1jOZr7Y7zFXpWxtIKaJhn4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrdjfbceNgNyDiWEK9WSl5uR/qxOXM/P1FiD9lWZU6+QIgL0KQFC7ekYbsnrV8BMBsds3SGWs+TbLaaxjBjhPOoGc="}]},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/is-mp3-1.1.3.tgz_1493695800663_0.7255766408052295"}}},"readme":"# is-mp3 [![Build Status](https://travis-ci.org/hemanth/is-mp3.svg?branch=master)](https://travis-ci.org/hemanth/is-mp3)\n\n> Check if a Buffer/Uint8Array is a MP3 file.\n\n## Install\n\n```sh\n$ npm install --save is-mp3\n```\n\n```sh\n$ bower install --save is-mp3\n```\n\n```sh\n$ component install hemanth/is-mp3\n```\n\n\n## Usage\n\n##### Node.js\n\n```js\nvar readChunk = require('read-chunk'); // npm install read-chunk\nvar isMp3 = require('is-mp3');\nvar buffer = readChunk('meow.mp3', 0, 3);\n\nisMp3(buffer);\n//=> true\n```\n\n##### Browser\n\n```js\nvar xhr = new XMLHttpRequest();\nxhr.open('GET', 'meow.mp3');\nxhr.responseType = 'arraybuffer';\n\nxhr.onload = function () {\n\tisMp3(new Uint8Array(this.response));\n\t//=> true\n};\n\nxhr.send();\n```\n\n\n## API\n\n### isMp3(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:44.140Z","created":"2014-04-26T01:54:00.544Z","0.1.0":"2014-04-26T01:54:00.544Z","0.1.1":"2014-04-29T13:42:41.860Z","0.2.0":"2014-11-22T13:03:51.418Z","0.3.0":"2014-12-14T02:51:04.953Z","1.0.0":"2014-12-14T02:57:56.985Z","1.1.0":"2015-01-13T15:03:32.262Z","1.1.2":"2016-04-23T05:48:29.159Z","1.1.3":"2017-05-02T03:30:00.912Z"},"homepage":"https://github.com/hemanth/is-mp3#readme","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"repository":{"type":"git","url":"git+https://github.com/hemanth/is-mp3.git"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"license":"MIT","readmeFilename":"readme.md"}