{"_id":"is-ogg","_rev":"19-9c1a92ae7316e39467520a72680ede2c","name":"is-ogg","dist-tags":{"latest":"1.1.3"},"versions":{"0.1.0":{"name":"is-ogg","version":"0.1.0","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@0.1.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"b02d0ffbe8c26000e10c7f1e633527db04010802","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-0.1.0.tgz","integrity":"sha512-He5ICX9NyHqWow8xD7oNROR0e128oqE1uwjt9DNbBhDbNd7vdyBiGliFVd6FHmzEpCdJXuSjWVv1T5KuvBoHEg==","signatures":[{"sig":"MEUCIQC9fMtKsly2o2mJEZ9qEu67HqaEzu+IQQBc8MoS0ixuAgIgYsqbv7ZllgR2RxINONJWPnEev9DvNj0rWnhpuLQGNfA=","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-ogg","type":"git"},"_npmVersion":"1.4.3","description":"Check if a Buffer/Uint8Array is an OGG file.","devDependencies":{"mocha":"*","browserify":"^3.0.0","read-chunk":"^0.1.0"},"directories":{}},"0.1.1":{"name":"is-ogg","version":"0.1.1","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@0.1.1","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"fb59d353125724ee7557916214a0f2835d21836c","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-0.1.1.tgz","integrity":"sha512-RvUi+z05YKcSeL1ztHRsZCz0Xp/R/oQOgyplG/W/j4hzHSYIfvKSUA0ajkbSGgJEftaSQ9pih2NGcEU3PjDNOA==","signatures":[{"sig":"MEYCIQDh8aM37q7CTQSeojAm5Hn3ELY7DQKgRxFxZjX9nG6JlwIhAN5OcqwVccQ4UUC2RrS/Wn3i/170XRsXCC2wk/7KnHH5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"fb59d353125724ee7557916214a0f2835d21836c","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-ogg","type":"git"},"_npmVersion":"1.4.7","description":"Check if a Buffer/Uint8Array is an OGG file.","devDependencies":{"mocha":"*","browserify":"^3.0.0","read-chunk":"^0.1.0"},"directories":{}},"0.1.2":{"name":"is-ogg","version":"0.1.2","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@0.1.2","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"194473a7940b3e3f5778b1d23ceb64e60d6019b0","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-0.1.2.tgz","integrity":"sha512-AMAeKAutbJJtc+ZtLKOkODfvciBRz51rgPttSqTrIBV75Sfvn9wa9odyqHPlDidScDJbq8sxofkERdVPOWE6eQ==","signatures":[{"sig":"MEUCIQDB4WEK6ot7gfORvBzWa30ANQBv4OjXX0rocye10eWDowIgfk1HTS1g4VEfFmts8dKNwzRLkFONoWTSBS1phoFF1GQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"194473a7940b3e3f5778b1d23ceb64e60d6019b0","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-ogg","type":"git"},"_npmVersion":"1.4.7","description":"Check if a Buffer/Uint8Array is an OGG file.","devDependencies":{"mocha":"*","browserify":"^3.0.0","read-chunk":"^0.1.0"},"directories":{}},"0.2.0":{"name":"is-ogg","version":"0.2.0","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@0.2.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"4a295375f7422544b6bbdf76d53d20b5322f76dd","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-0.2.0.tgz","integrity":"sha512-SF028vwzuL7PdgJhmuVZQSCDukldGGTM1PyRt1yNkdo8ohhP9Zq64adZFqG3ZtYvPo7ikUio8Cb07rYB463hhg==","signatures":[{"sig":"MEUCIESxloit278G/KtWxIOeK1AoSKJ/JLG5HgqIcWScB9VCAiEA/8fkYVVRXYM2g04jR8CjBobKnAcykkyvwleXWqaFvSY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"4a295375f7422544b6bbdf76d53d20b5322f76dd","engines":{"node":">=0.10.0"},"gitHead":"09ff2ec9ddcf4da07ab914ef83bb2b84de9892fe","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-ogg","type":"git"},"_npmVersion":"1.4.28","description":"Check if a Buffer/Uint8Array is an OGG file.","devDependencies":{"mocha":"*","browserify":"^6.3.2","read-chunk":"^1.0.0"},"directories":{}},"0.3.0":{"name":"is-ogg","version":"0.3.0","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@0.3.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"1aedb85efed3a6180c829cc2eead9809e0e5b1b5","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-0.3.0.tgz","integrity":"sha512-VtCayYz1qEHNWodD8rw/EuRPmKjuZMbG7fuHy6wHyG2qLT4pJ6BA00zfFQgfw3yhWrhnske2bX3DAHUIyGZDCA==","signatures":[{"sig":"MEYCIQDLyZe9MFukm8Vl7H6lx17s0oH/q6uQVTxjUIlQxUD81wIhAOzid9T8fthrkZTDL+1obYrhWzd4HWV3KT5NZeIIjPvs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"1aedb85efed3a6180c829cc2eead9809e0e5b1b5","engines":{"node":">=0.10.0"},"gitHead":"50ada44971679a46d9e1507500fcc30dff475cd7","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-ogg","type":"git"},"_npmVersion":"2.1.6","description":"Check if a Buffer/Uint8Array is an OGG file.","_nodeVersion":"0.11.13","devDependencies":{"mocha":"*","browserify":"^7.0.0","read-chunk":"^1.0.0"},"directories":{}},"1.0.0":{"name":"is-ogg","version":"1.0.0","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@1.0.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"7ab65a01436a82a3c10e7970c564aa6fd4b839ce","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-1.0.0.tgz","integrity":"sha512-QfQfK5hGpJKVOh75MnzYjAqcwtkfbQrq10FfvycqRtnQPN9YKHH//yfJ9HreFilQ2ST+k1TqhlvFMgk/q5BTcA==","signatures":[{"sig":"MEQCIGNgxncfjvTJnEHzf2LsdEDC4vt3im7oNLub4Glk6kkBAiAoZMRCsDq53HshY5FmFvB7kgF61Z1nSR31/AQdtAwNWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"7ab65a01436a82a3c10e7970c564aa6fd4b839ce","engines":{"node":">=0.10.0"},"gitHead":"f8504fa57ca9bd2e53797f04e08b2021f4897346","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-ogg","type":"git"},"_npmVersion":"2.1.6","description":"Check if a Buffer/Uint8Array is an OGG file.","_nodeVersion":"0.11.13","devDependencies":{"mocha":"*","browserify":"^7.0.0","read-chunk":"^1.0.0"},"directories":{}},"1.1.0":{"name":"is-ogg","version":"1.1.0","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@1.1.0","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"b236a5089a0f368e5d32befc3f7c6175f191a297","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-1.1.0.tgz","integrity":"sha512-O5tmyUaew/tffSyLIxq63Q4YpsGCPesg094P0+z5V4nWvCt6RgVnqlQ1Ars34K4KClP4usLMHjjJsoM4sJdNVQ==","signatures":[{"sig":"MEYCIQCJqTcjeva4YAwTwqMJ545C4HQQPwu3C/BcG4OBIh5cjQIhAKKTI2d+e5Rz+OnXhhu8fK2LxUZfJNCzudd+B6q+pnh1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"b236a5089a0f368e5d32befc3f7c6175f191a297","engines":{"node":">=0.10.0"},"gitHead":"5d5134a26eada07a79410cc977a15632c601d0d8","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-ogg","type":"git"},"_npmVersion":"1.4.28","description":"Check if a Buffer/Uint8Array is an OGG file.","devDependencies":{"mocha":"*","browserify":"^8.1.0","read-chunk":"^1.0.0"},"directories":{}},"1.1.2":{"name":"is-ogg","version":"1.1.2","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","_id":"is-ogg@1.1.2","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"homepage":"https://github.com/hemanth/is-ogg#readme","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"956a0e023ce7b5c484fac0e2ff427834f6a76493","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-1.1.2.tgz","integrity":"sha512-5xNx56wkCD/WtIq2Ykzw6UhwtAEMT1+3II61wMEKgHjkCcEraCfOJi/XaOZWXMXVO+cvdhAHHBCaJHgx5xLagg==","signatures":[{"sig":"MEUCIAxQwpKKhxwaUFe4++/JxiFPzR6foMJ16Aw3njk8jsOeAiEA3adDLa4WRUaLKRiNlFu2Mt3nirMGkLLiGXz86KaeMZs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"956a0e023ce7b5c484fac0e2ff427834f6a76493","engines":{"node":">=4"},"gitHead":"3823ed4b233d41e09fcd912a96ab589e34fdb8ef","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-ogg.git","type":"git"},"_npmVersion":"2.14.9","description":"Check if a Buffer/Uint8Array is an OGG file.","_nodeVersion":"0.12.10","devDependencies":{"mocha":"*","browserify":"^8.1.0","read-chunk":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/is-ogg-1.1.2.tgz_1461390480575_0.46679119137115777","host":"packages-12-west.internal.npmjs.com"},"directories":{}},"1.1.3":{"_id":"is-ogg@1.1.3","bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"dist":{"shasum":"64b360dffcf97c49a23cddf095cb971053d184a7","tarball":"https://registry.npmjs.org/is-ogg/-/is-ogg-1.1.3.tgz","integrity":"sha512-xrAzy3FyDhEybbfFbHEgSNdLt6IMnGnvHqJAFyt7cU0riuVnt/p+ve6Z5UjC6u7hTeCz4jzihdXxgTuA0aO9/w==","fileCount":4,"unpackedSize":2952,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICpV6cNztPBKfq2lEzAV5bU8efbHt3bEQrlF7vBljUwkAiAXUTY1MsBQGH4/bmwj3y7PWTFxZKHfobX59rGioewNKw=="}]},"name":"is-ogg","author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"engines":{"node":">=4"},"gitHead":"a0b6b0e1aecf3f9ef38ac274d496b5f5878d5e2a","license":"MIT","scripts":{"test":"mocha --exit test.js","browser":"browserify -s $npm_package_name -o browser.js ."},"version":"1.1.3","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com","approver":{"name":"hemanth","email":"hemanth.hm@gmail.com"}},"homepage":"https://github.com/hemanth/is-ogg#readme","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"repository":{"url":"git+https://github.com/hemanth/is-ogg.git","type":"git"},"_npmVersion":"11.19.0","description":"Check if a Buffer/Uint8Array is an OGG 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-ogg_1.1.3_1791245343225_0.6983455529654488"},"_hasShrinkwrap":false}},"time":{"created":"2014-04-25T13:52:21.401Z","modified":"2026-10-06T00:09:03.417Z","0.1.0":"2014-04-25T13:52:21.401Z","0.1.1":"2014-04-29T13:43:36.589Z","0.1.2":"2014-04-30T12:29:21.760Z","0.2.0":"2014-11-22T13:04:08.888Z","0.3.0":"2014-12-14T02:51:34.700Z","1.0.0":"2014-12-14T02:57:58.839Z","1.1.0":"2015-01-14T05:39:01.783Z","1.1.2":"2016-04-23T05:48:01.071Z","1.1.3":"2026-10-06T00:09:03.304Z"},"bugs":{"url":"https://github.com/hemanth/is-ogg/issues"},"author":{"url":"http://h3manth.com","name":"Hemanth.HM","email":"hemanth.hm@gmail.com"},"license":"MIT","homepage":"https://github.com/hemanth/is-ogg#readme","keywords":["ogg","ogv","oga","type","detect","check","is","binary","buffer","uint8array"],"repository":{"url":"git+https://github.com/hemanth/is-ogg.git","type":"git"},"description":"Check if a Buffer/Uint8Array is an OGG file.","maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"readme":"# is-ogg [![Build Status](https://travis-ci.org/hemanth/is-ogg.svg?branch=master)](https://travis-ci.org/hemanth/is-ogg)\n\n> Check if a Buffer/Uint8Array is an [OGG](http://en.wikipedia.org/wiki/Ogg) file.\n\n## Install\n\n```sh\n$ npm install --save is-ogg\n```\n\n```sh\n$ bower install --save is-ogg\n```\n\n```sh\n$ component install hemanth/is-ogg\n```\n\n\n## Usage\n\n##### Node.js\n\n```js\nvar readChunk = require('read-chunk'); // npm install read-chunk\nvar isOgg = require('is-ogg');\nvar buffer = readChunk('meow.ogg', 0, 4);\n\nisOgg(buffer);\n//=> true\n```\n\n##### Browser\n\n```js\nvar xhr = new XMLHttpRequest();\nxhr.open('GET', 'meow.ogg');\nxhr.responseType = 'arraybuffer';\n\nxhr.onload = function () {\n\tisOgg(new Uint8Array(this.response));\n\t//=> true\n};\n\nxhr.send();\n```\n\n\n## API\n\n### isOgg(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"}