{"_id":"is-mp3","_rev":"18-92d912fdc614e83128afc0f52b9ca4d0","name":"is-mp3","dist-tags":{"latest":"1.1.4"},"versions":{"0.1.0":{"name":"is-mp3","version":"0.1.0","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@0.1.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"70fb0f0079b15a0c37605631030b4bc7e389d807","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.1.0.tgz","integrity":"sha512-/wIzLTTEwM63duu6Qql9+BoiE00IaW3qLzYFe9VQx53Gumrkv/uWEnwM3E+/AOzopodqFhzUJH60cCkZR0oY+Q==","signatures":[{"sig":"MEQCICrxDPK8Rj9/5oVhGxL6TbV2JCMg+O/Wd3+jqp9x3wg1AiBguQZLA7xETc5TnNPhZm7J06kuRmo03DHtpuQNJP2KUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"git://github.com/hemanth/is-mp3","type":"git"},"_npmVersion":"1.4.3","description":"Check if a Buffer/Uint8Array is a MP3 file.","devDependencies":{"mocha":"*","browserify":"^3.0.0","read-chunk":"^0.1.0"},"directories":{}},"0.1.1":{"name":"is-mp3","version":"0.1.1","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@0.1.1","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"91b90d2d1e08efd9f45e42b05c6420939639ef4f","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.1.1.tgz","integrity":"sha512-16s9+54Lk+0TlsS0YuDw+F9MmzkgTx7F3dlyI3GCxSzhxMJdwp8otAu4P41VNCK5W6yZNfGnhXPVRnfqguQBjQ==","signatures":[{"sig":"MEUCIQD9M0IutvCGZK0w79KIT9TlARTYf/b8Jjx0d/8FKupN9QIgb0Lr/7inn/xMmAcivHAYxiwfeRYv+1ktbRIk3aXtdA0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"91b90d2d1e08efd9f45e42b05c6420939639ef4f","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"git://github.com/hemanth/is-mp3","type":"git"},"_npmVersion":"1.4.7","description":"Check if a Buffer/Uint8Array is a MP3 file.","devDependencies":{"mocha":"*","browserify":"^3.0.0","read-chunk":"^0.1.0"},"directories":{}},"0.2.0":{"name":"is-mp3","version":"0.2.0","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@0.2.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"702fb9ebad0cf845673a91ac5ac8e88a9aefcdb9","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.2.0.tgz","integrity":"sha512-zOSMm+WaOntk7OICCCgsX7NPrOdZ4Bj9NqBFezGPI0CMxtuGtgiO803PEca26wYNHOEAGChdzDAqUkxprbu0lA==","signatures":[{"sig":"MEYCIQC4qqfs1VjuPSsODtfR/iXNNWZaUIgOq+P/JjDNJPRUUAIhAOOL6AqjDo/hNt7PChbauhRVQNQpVI+RWLwOg94MyoUd","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"702fb9ebad0cf845673a91ac5ac8e88a9aefcdb9","engines":{"node":">=0.10.0"},"gitHead":"dc585bcd7d5b1cb3e470c838174c052088165ee0","scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"https://github.com/hemanth/is-mp3","type":"git"},"_npmVersion":"1.4.28","description":"Check if a Buffer/Uint8Array is a MP3 file.","devDependencies":{"mocha":"*","browserify":"^6.3.2","read-chunk":"^1.0.0"},"directories":{}},"0.3.0":{"name":"is-mp3","version":"0.3.0","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@0.3.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"999b60f47e2fa729d57aeac2a889acf252c1fc96","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-0.3.0.tgz","integrity":"sha512-a9xsN3NKA0vdquuPn9/EJWjKc13ha3T+T1R5Pt+istYpKHavTbNoIojDJYV2REeN95yaOJReL7wKUQiJdArkYw==","signatures":[{"sig":"MEYCIQD75slKHBB4kKQQoWYYTGcEzomydiEORpXwmQak8mtfIQIhAIxSKfMRf0v0rcfkIEIm8CGv9l40/1tGVLntMC5il8yg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"999b60f47e2fa729d57aeac2a889acf252c1fc96","engines":{"node":">=0.10.0"},"gitHead":"7f6d2943040068671fc449428719f509ee780c4b","scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"https://github.com/hemanth/is-mp3","type":"git"},"_npmVersion":"2.1.6","description":"Check if a Buffer/Uint8Array is a MP3 file.","_nodeVersion":"0.11.13","devDependencies":{"mocha":"*","browserify":"^7.0.0","read-chunk":"^1.0.0"},"directories":{}},"1.0.0":{"name":"is-mp3","version":"1.0.0","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@1.0.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"56ea5ce2753798ea02e2c493a5c0d6faba681ed1","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.0.0.tgz","integrity":"sha512-9m/Nr6QH6m5dIY4CgPAhT8435vcJt2BUNtdSGRfmoWYfMzacq6ZIwe//rynk38fzlUpx7RBRo7eT1yipecnafQ==","signatures":[{"sig":"MEQCIAmiRgcBPZSiRy+5WK0ddxuoJyZGfRWjyf3AlsRZ7ha3AiBViN31WCz9e83PpkZEiqM5zrufZM8djC+jGHz0BmVhdQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"56ea5ce2753798ea02e2c493a5c0d6faba681ed1","engines":{"node":">=0.10.0"},"gitHead":"f4614ad375ff9b0a2938638512e2c51c60052306","scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"https://github.com/hemanth/is-mp3","type":"git"},"_npmVersion":"2.1.6","description":"Check if a Buffer/Uint8Array is a MP3 file.","_nodeVersion":"0.11.13","devDependencies":{"mocha":"*","browserify":"^7.0.0","read-chunk":"^1.0.0"},"directories":{}},"1.1.0":{"name":"is-mp3","version":"1.1.0","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@1.1.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"d6d13fc4e995ced8e40ad6a18984c0f27662d23b","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.1.0.tgz","integrity":"sha512-XNNEhp8njWVmt6mk9b2L6deVvYBxZuUYmB+XVU60JFKjqyAPG6bnouoPnFn3UPED7Cl1eRvCl65PZg7V2aMQmg==","signatures":[{"sig":"MEQCIHx5uw7niXJVzEB+k6WmfDqxRPRCg7dT8oCjcv53jEYyAiBQriZ6cngIRzqQuCAM6fncZ9UpkyIYxnGWsyJOklBkPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"d6d13fc4e995ced8e40ad6a18984c0f27662d23b","engines":{"node":">=0.10.0"},"gitHead":"8be203e6c2a3407a547b8d71c4ef1e10a8f3f186","scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"https://github.com/hemanth/is-mp3","type":"git"},"_npmVersion":"1.4.28","description":"Check if a Buffer/Uint8Array is a MP3 file.","devDependencies":{"mocha":"*","browserify":"^8.1.0","read-chunk":"^1.0.0"},"directories":{}},"1.1.2":{"name":"is-mp3","version":"1.1.2","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@1.1.2","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3#readme","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"b2a3af7251190850fb0ac02a0b8e1b1dd5e19f8b","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.1.2.tgz","integrity":"sha512-lGEz5x/dHBZ6OlV8AWNkdOZxGSi3gV183GeQKieNUqvFdUhwqZ9EUB5ON1/fHwMXd9vnYtdQ07NArgXnATO6LQ==","signatures":[{"sig":"MEQCIB3hMGwfNj/clG2VGc0qneEhyUqFXsYOUHA2BUXYJ3sTAiBmdAradf5v6A0HL3lXB4h9QvnCPgiIe76/aKuI/69CDg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"b2a3af7251190850fb0ac02a0b8e1b1dd5e19f8b","engines":{"node":">=4"},"gitHead":"fb0e53105509a888d23f07c8afc3a46974b56cdf","scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"git+https://github.com/hemanth/is-mp3.git","type":"git"},"_npmVersion":"2.14.9","description":"Check if a Buffer/Uint8Array is a MP3 file.","_nodeVersion":"0.12.10","devDependencies":{"mocha":"*","browserify":"^8.1.0","read-chunk":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/is-mp3-1.1.2.tgz_1461390505941_0.21663657948374748","host":"packages-16-east.internal.npmjs.com"},"directories":{}},"1.1.3":{"name":"is-mp3","version":"1.1.3","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-mp3@1.1.3","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-mp3#readme","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"62a1e73c20601f46cb1f1bf592504f939f0bd4c8","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.1.3.tgz","integrity":"sha512-s9jAf4qmxd8MCOE0BRLzs9uZMM+hWWkIHBkPFOLU5NPT0ooCOaINRQ8ePBKWsfh1jOZr7Y7zFXpWxtIKaJhn4w==","signatures":[{"sig":"MEUCIQCrdjfbceNgNyDiWEK9WSl5uR/qxOXM/P1FiD9lWZU6+QIgL0KQFC7ekYbsnrV8BMBsds3SGWs+TbLaaxjBjhPOoGc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"62a1e73c20601f46cb1f1bf592504f939f0bd4c8","engines":{"node":">=4"},"gitHead":"d54e0489b4fae0396bfbce070023ae21550566f6","scripts":{"test":"mocha","browser":"browserify -s $npm_package_name -o browser.js ."},"_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"repository":{"url":"git+https://github.com/hemanth/is-mp3.git","type":"git"},"_npmVersion":"4.0.3","description":"Check if a Buffer/Uint8Array is a MP3 file.","_nodeVersion":"4.2.1","devDependencies":{"mocha":"*","browserify":"14.0.0","read-chunk":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/is-mp3-1.1.3.tgz_1493695800663_0.7255766408052295","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"1.1.4":{"_id":"is-mp3@1.1.4","bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"dist":{"shasum":"38fe20600744d02ba58d23c6588a45034841a252","tarball":"https://registry.npmjs.org/is-mp3/-/is-mp3-1.1.4.tgz","integrity":"sha512-qufa5BQ1Q3qYPVvf1m+P+fEs1FZeZRYbqFUy1b5WCz+pr2Qnn4bFLTRUYxhhVn0Iwke2odiWG4pPEZmeqmHEXg==","fileCount":4,"unpackedSize":2938,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICWFDbWZBjyfnQsCqEngjsKBOM8Oy5hh17f/oNlcRo4fAiAJGOu/UnC2t6vHs5v2R9KKVb7umiSdfURdKXx+UtNvMw=="}]},"name":"is-mp3","author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"engines":{"node":">=4"},"gitHead":"90cf2fea657329ec21fd85ef41cd3a15c5864ffd","license":"MIT","scripts":{"test":"mocha --exit test.js","browser":"browserify -s $npm_package_name -o browser.js ."},"version":"1.1.4","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com","approver":{"name":"hemanth","email":"hemanth.hm@gmail.com"}},"homepage":"https://github.com/hemanth/is-mp3#readme","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"repository":{"url":"git+https://github.com/hemanth/is-mp3.git","type":"git"},"_npmVersion":"11.19.0","description":"Check if a Buffer/Uint8Array is a MP3 file.","directories":{},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"_nodeVersion":"26.8.1","devDependencies":{"mocha":"^11.7.0","browserify":"^17.0.1","read-chunk":"^3.2.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/is-mp3_1.1.4_1791245343038_0.321391643674658"},"_hasShrinkwrap":false}},"time":{"created":"2014-04-26T01:54:00.544Z","modified":"2026-10-06T00:09:03.238Z","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","1.1.4":"2026-10-06T00:09:03.120Z"},"bugs":{"url":"https://github.com/hemanth/is-mp3/issues"},"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","homepage":"https://github.com/hemanth/is-mp3#readme","keywords":["mp3","type","detect","check","is","binary","buffer","uint8array"],"repository":{"url":"git+https://github.com/hemanth/is-mp3.git","type":"git"},"description":"Check if a Buffer/Uint8Array is a MP3 file.","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"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","readmeFilename":"readme.md"}