{"_id":"is-wav","_rev":"17-151831b315ab54949e437b93413b467f","name":"is-wav","description":"Check if a Buffer/Uint8Array is a wav file.","dist-tags":{"latest":"1.1.2"},"versions":{"0.1.0":{"name":"is-wav","version":"0.1.0","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-wav"},"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":["wav","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-wav/issues"},"homepage":"https://github.com/hemanth/is-wav","_id":"is-wav@0.1.0","dist":{"shasum":"8832dbe708ea0990fe907458516ffa97b4eae6d7","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-0.1.0.tgz","integrity":"sha512-VJ4cghu4UQqrQfTh4oaWI9Ymy15/9iidhc0/xOqF6nVGw0sIxRfsF78NJPkk9mj/dKaY8R7HJlFfAZrdJtSMZg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeWYe+qBashlNxNJ/uZW7iyq1xpwpNUzq131RZ+xtmVAIhAIUEe893yJxDaQFp/xmr3Ui4pPt8Bogvyjs8CMqfn7TZ"}]},"_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-wav","version":"0.1.1","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-wav"},"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":["wav","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-wav/issues"},"homepage":"https://github.com/hemanth/is-wav","_id":"is-wav@0.1.1","_shasum":"8349d575a8ccf3dbb07b1fa94c3c9649643067b1","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"8349d575a8ccf3dbb07b1fa94c3c9649643067b1","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-0.1.1.tgz","integrity":"sha512-YPEMrUpC2Pg0bbvuPWYeJScxPkHLP7M83UM9zwIlJ9/r/wYqyWGl7Z8VOdWUWlsibPPTNJlWK0g5W+wZeCNQbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIfM1ChJUGhDKy3CY93OiwAm8CZ4sbZf0i5QOswZzcMQIgeHtzCSem5Wx0oEk5vg5OLEYB0mQcTuGkXLQfm86E1Wk="}]}},"0.1.2":{"name":"is-wav","version":"0.1.2","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"git://github.com/hemanth/is-wav"},"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":["wav","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-wav/issues"},"homepage":"https://github.com/hemanth/is-wav","_id":"is-wav@0.1.2","_shasum":"0320c842d76719ee8be005f8c4d7f74f44898b85","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"0320c842d76719ee8be005f8c4d7f74f44898b85","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-0.1.2.tgz","integrity":"sha512-VaFuRhM/IoBw/fjiaGjkO7PjM8RItdImIKLfPJR7wPVV7obXq3X476zlM7KuPWcTBBgHYj6JIEkQ3Gb/2JQv7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV5Y89ukGcmDOj7N98kBfOTaQ/hlKBNI+r8PhwlhaEcgIhAJAF3MImTdwDF/EJDPhu/APMh8j4Z/ZfBxzfhj5flbDG"}]}},"0.2.0":{"name":"is-wav","version":"0.2.0","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-wav"},"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":["wav","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^6.3.2","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"df9236dd18dc76e59c8adc130e4e84d0c9e7b5d2","bugs":{"url":"https://github.com/hemanth/is-wav/issues"},"homepage":"https://github.com/hemanth/is-wav","_id":"is-wav@0.2.0","_shasum":"df17e02b001de8d1b679830874f5ea9e52e5996d","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"df17e02b001de8d1b679830874f5ea9e52e5996d","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-0.2.0.tgz","integrity":"sha512-ocneFHNibCWgZEv6uM+XeFceJ9e0CJnVJo6VqDKtLZ/rJhtAnwn9WuBaCKMNmuYBrM5x2/snAB+4ZdwS3/qEtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA1oAnwzaPuf9yCfVa5laLWv8iCyYOnuA9rW+/YhGgruAiEA30nt7raDjClIKGlczpSIWyRLvikv/45rCgGg/Flo35Q="}]}},"0.3.0":{"name":"is-wav","version":"0.3.0","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-wav"},"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":["wav","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"3e9b294ed3c00ccbe4ecb34ab162936b7cd82259","bugs":{"url":"https://github.com/hemanth/is-wav/issues"},"homepage":"https://github.com/hemanth/is-wav","_id":"is-wav@0.3.0","_shasum":"1f9f3234ad546481933a0602f74b1eab2f06cc02","_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":"1f9f3234ad546481933a0602f74b1eab2f06cc02","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-0.3.0.tgz","integrity":"sha512-wvUCRFjyjrBANzVS71qyADMDY2FjnBC8wy6Qq8p3raTkKppgwbhHXGQc6+5TEIFt1vF195Wabr8uGCrVD4XNRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFpzrBQTf3lhBdEs9zuDv2lxv6uZ34tCX28zL3pZ3XWQAiBO6dmS0iIKjKC9Ala8/Y3xyA+Grljap0yWigcMODtsJg=="}]}},"1.0.0":{"name":"is-wav","version":"1.0.0","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-wav"},"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":["wav","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^7.0.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"730811ad78c7dd7eb3acb1d0fb3a46e9cbc97ef9","bugs":{"url":"https://github.com/hemanth/is-wav/issues"},"homepage":"https://github.com/hemanth/is-wav","_id":"is-wav@1.0.0","_shasum":"cb05c58101d6a16da50c357636142554567d29ba","_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":"cb05c58101d6a16da50c357636142554567d29ba","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-1.0.0.tgz","integrity":"sha512-aR1JOiW0m6Fs4a8r8aM35X1/x/uV0ZW24Zit4svYx+J8o0tDxJPY0CddhqU4r+1dIyvZBQo/n4F6XcR8YYeoaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGW2nQZtI4eFCh+ApaOlefbqkVyrTXDawZxSE/XhNWUPAiAcFmK/Ku6Nvu10DNlakeGVyGS9EILU5Tjpr+pD8hd+vw=="}]}},"1.1.0":{"name":"is-wav","version":"1.1.0","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"https://github.com/hemanth/is-wav"},"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":["wav","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^8.1.0","mocha":"*","read-chunk":"^1.0.0"},"gitHead":"2154378a47467487c443ceb5f3a776fbcc4f20c0","bugs":{"url":"https://github.com/hemanth/is-wav/issues"},"homepage":"https://github.com/hemanth/is-wav","_id":"is-wav@1.1.0","_shasum":"9150d4304d36aa50fb75d6014195d3065c29e286","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"dist":{"shasum":"9150d4304d36aa50fb75d6014195d3065c29e286","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-1.1.0.tgz","integrity":"sha512-zOrim4FGnc3RK3a7nEszOC32olF5x8IFuFXYapyw6N38j8wlNKnMISuViN3yF9L3XHMtEV4ejj0gvLo7r7ZTEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq6uu7WIwmFqZVFsaeU8FpUsR8W4nxEInNfhd7Y1517AIhALWsWmoyr46MlvvVKVxJcbQTRUgN+Nlv1i+C9Hnd73A7"}]}},"1.1.2":{"name":"is-wav","version":"1.1.2","description":"Check if a Buffer/Uint8Array is a wav file.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/hemanth/is-wav.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":["wav","audio","type","detect","check","is","binary","buffer","uint8array"],"devDependencies":{"browserify":"^8.1.0","mocha":"*","read-chunk":"^2.0.0"},"gitHead":"0f8e31416c34103cdfe7752d0a92ae16db9a272d","bugs":{"url":"https://github.com/hemanth/is-wav/issues"},"homepage":"https://github.com/hemanth/is-wav#readme","_id":"is-wav@1.1.2","_shasum":"d9caccf355a834d7f5b828f009811d097d54050e","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.10","_npmUser":{"name":"hemanth","email":"hemanth.hm@gmail.com"},"dist":{"shasum":"d9caccf355a834d7f5b828f009811d097d54050e","tarball":"https://registry.npmjs.org/is-wav/-/is-wav-1.1.2.tgz","integrity":"sha512-gLOkWlnwd//lRpIhe2u3Ow3mMls/4DIvoLuXwfxpOd/JBuql099f0ZTxwxqHn9Lz+ZG+7ZIMKPyIKG3D7Fot7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaIo3qnpgT2r79DyUMxvDCXjrw2LGHnXFvhc60ZJJ+6AiBRJCaJ0vVJDbQzZLR9bvqOyJgz+aofmq6/jHaRrcPH2g=="}]},"maintainers":[{"name":"hemanth","email":"hemanth.hm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/is-wav-1.1.2.tgz_1461390546876_0.5449113694485277"}}},"readme":"# is-wav [![Build Status](https://travis-ci.org/hemanth/is-wav.svg?branch=master)](https://travis-ci.org/hemanth/is-wav)\n\n> Check if a Buffer/Uint8Array is a WAV file.\n\n## Install\n\n```sh\n$ npm install --save is-wav\n```\n\n```sh\n$ bower install --save is-wav\n```\n\n```sh\n$ component install hemanth/is-wav\n```\n\n\n## Usage\n\n##### Node.js\n\n```js\nvar readChunk = require('read-chunk'); // npm install read-chunk\nvar isWav = require('is-wav');\nvar buffer = readChunk('meow.wav', 0, 12);\n\nisWav(buffer);\n//=> true\n```\n\n##### Browser\n\n```js\nvar xhr = new XMLHttpRequest();\nxhr.open('GET', 'meow.wav');\nxhr.responseType = 'arraybuffer';\n\nxhr.onload = function () {\n\tisWav(new Uint8Array(this.response));\n\t//=> true\n};\n\nxhr.send();\n```\n\n\n## API\n\n### isWav(buffer)\n\nAccepts a Buffer (Node.js) or Uint8Array.\n\nIt only needs the first 12 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:53:27.419Z","created":"2014-04-27T06:09:48.248Z","0.1.0":"2014-04-27T06:09:48.248Z","0.1.1":"2014-04-29T13:44:08.958Z","0.1.2":"2014-04-30T12:28:46.905Z","0.2.0":"2014-11-22T13:04:25.510Z","0.3.0":"2014-12-14T02:52:04.589Z","1.0.0":"2014-12-14T02:58:01.378Z","1.1.0":"2015-01-14T05:37:55.560Z","1.1.2":"2016-04-23T05:49:09.895Z"},"homepage":"https://github.com/hemanth/is-wav#readme","keywords":["wav","audio","type","detect","check","is","binary","buffer","uint8array"],"repository":{"type":"git","url":"git+https://github.com/hemanth/is-wav.git"},"author":{"name":"Hemanth.HM","email":"hemanth.hm@gmail.com","url":"http://h3manth.com"},"bugs":{"url":"https://github.com/hemanth/is-wav/issues"},"license":"MIT","readmeFilename":"readme.md"}