{"_id":"archive-type","_rev":"15377","name":"archive-type","description":"Detect the archive type of a Buffer/Uint8Array","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"time":{"modified":"2021-06-03T09:58:50.000Z","created":"2014-04-23T08:25:01.458Z","4.0.0":"2017-04-25T13:13:06.845Z","3.2.0":"2016-01-03T20:00:43.691Z","3.1.0":"2015-12-14T09:37:16.485Z","3.0.2":"2015-11-05T09:49:00.240Z","3.0.1":"2015-08-12T06:53:17.717Z","3.0.0":"2015-07-17T09:58:06.383Z","2.1.0":"2015-04-09T17:46:56.358Z","2.0.0":"2015-01-12T11:50:48.123Z","1.0.4":"2014-10-28T11:19:35.250Z","1.0.3":"2014-10-04T13:30:27.387Z","1.0.2":"2014-08-25T00:22:56.250Z","1.0.1":"2014-08-20T14:42:23.955Z","1.0.0":"2014-08-17T18:21:36.519Z","0.1.4":"2014-08-12T22:19:21.832Z","0.1.3":"2014-08-12T22:07:14.290Z","0.1.2":"2014-04-27T10:28:42.501Z","0.1.1":"2014-04-23T14:04:24.619Z","0.1.0":"2014-04-23T08:25:01.458Z"},"users":{},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"repository":{"type":"git","url":"git+https://github.com/kevva/archive-type.git"},"versions":{"4.0.0":{"name":"archive-type","version":"4.0.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/archive-type.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","file","type"],"dependencies":{"file-type":"^4.2.0"},"devDependencies":{"ava":"*","pify":"^2.3.0","xo":"*"},"gitHead":"b4d84d12b3a3a4d934c884aef89dccf2b6aaa1c9","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type#readme","_id":"archive-type@4.0.0","_shasum":"f92e72233056dfc6969472749c267bdb046b1d70","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.7.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f92e72233056dfc6969472749c267bdb046b1d70","size":1814,"noattachment":false,"key":"/archive-type/-/archive-type-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-4.0.0.tgz"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/archive-type-4.0.0.tgz_1493125986617_0.39786559878848493"},"directories":{},"publish_time":1493125986845,"_cnpm_publish_time":1493125986845,"_hasShrinkwrap":false},"3.2.0":{"name":"archive-type","version":"3.2.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/archive-type.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"file-type":"^3.1.0"},"devDependencies":{"ava":"^0.0.4"},"xo":{"rules":{"no-negated-condition":0}},"gitHead":"a8ce184752215cd66d2c352c654535c751938e85","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type#readme","_id":"archive-type@3.2.0","_shasum":"9cd9c006957ebe95fadad5bd6098942a813737f6","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"9cd9c006957ebe95fadad5bd6098942a813737f6","size":1760,"noattachment":false,"key":"/archive-type/-/archive-type-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-3.2.0.tgz"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1451851243691,"_cnpm_publish_time":1451851243691,"_hasShrinkwrap":false},"3.1.0":{"name":"archive-type","version":"3.1.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/archive-type.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"file-type":"^3.1.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"59cd9940061af772134b4ca52d576b4d25636a16","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type#readme","_id":"archive-type@3.1.0","_shasum":"d6b70937a056d40b0d678eb4f0c0e0be41e3ff8e","_from":".","_npmVersion":"3.5.1","_nodeVersion":"5.1.1","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"d6b70937a056d40b0d678eb4f0c0e0be41e3ff8e","size":1720,"noattachment":false,"key":"/archive-type/-/archive-type-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-3.1.0.tgz"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1450085836485,"_cnpm_publish_time":1450085836485,"_hasShrinkwrap":false},"3.0.2":{"name":"archive-type","version":"3.0.2","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/archive-type.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"file-type":"^3.1.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"85f89efbc90b3e9e145535641adb1df6419c830a","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type#readme","_id":"archive-type@3.0.2","_shasum":"c0a8e4ffb256dc03f454e249709cca581592b172","_from":".","_npmVersion":"3.3.10","_nodeVersion":"5.0.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"c0a8e4ffb256dc03f454e249709cca581592b172","size":1714,"noattachment":false,"key":"/archive-type/-/archive-type-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-3.0.2.tgz"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1446716940240,"_cnpm_publish_time":1446716940240,"_hasShrinkwrap":false},"3.0.1":{"name":"archive-type","version":"3.0.1","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/archive-type.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"file-type":"^2.0.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"cc704ed46c97ef12d8bae5643ecbbc8fbd64a61a","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type#readme","_id":"archive-type@3.0.1","_shasum":"3e9fdbd9a74fb45353daaac6fdf594d81cfb1bec","_from":".","_npmVersion":"3.2.2","_nodeVersion":"3.0.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"3e9fdbd9a74fb45353daaac6fdf594d81cfb1bec","size":1715,"noattachment":false,"key":"/archive-type/-/archive-type-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-3.0.1.tgz"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1439362397717,"_cnpm_publish_time":1439362397717,"_hasShrinkwrap":false},"3.0.0":{"name":"archive-type","version":"3.0.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/archive-type.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"file-type":"^2.0.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"92f01a32325ca2421733e648a20b867f39a3afaf","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type#readme","_id":"archive-type@3.0.0","_shasum":"36876279c9c699e46176e5e26a951b9378af9203","_from":".","_npmVersion":"3.1.2","_nodeVersion":"2.3.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"36876279c9c699e46176e5e26a951b9378af9203","size":1745,"noattachment":false,"key":"/archive-type/-/archive-type-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-3.0.0.tgz"},"directories":{},"publish_time":1437127086383,"_cnpm_publish_time":1437127086383,"_hasShrinkwrap":false},"2.1.0":{"name":"archive-type","version":"2.1.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"file-type":"^2.0.1","get-stdin":"^4.0.1","meow":"^3.1.0","read-chunk":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"b51d1b95bd641a828fd5c53c7d80b3c8bd4322ee","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@2.1.0","_shasum":"94ee0703b2c56ce6e9b9c735e2b43bb5c0ec616d","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"94ee0703b2c56ce6e9b9c735e2b43bb5c0ec616d","size":2168,"noattachment":false,"key":"/archive-type/-/archive-type-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-2.1.0.tgz"},"directories":{},"publish_time":1428601616358,"_cnpm_publish_time":1428601616358,"_hasShrinkwrap":false},"2.0.0":{"name":"archive-type","version":"2.0.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"file-type":"^2.0.1","get-stdin":"^3.0.0","meow":"^2.0.0","read-chunk":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"cd5d55d20ff0bbecb26531e8765286607543cf13","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@2.0.0","_shasum":"1a1be733c575f5a8ad45ca60c827fc8feb5a3ea9","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"1a1be733c575f5a8ad45ca60c827fc8feb5a3ea9","size":1572,"noattachment":false,"key":"/archive-type/-/archive-type-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-2.0.0.tgz"},"directories":{},"publish_time":1421063448123,"_cnpm_publish_time":1421063448123,"_hasShrinkwrap":false},"1.0.4":{"name":"archive-type","version":"1.0.4","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"get-stdin":"^3.0.0","is-7zip":"^1.0.0","is-bzip2":"^1.0.0","is-gzip":"^1.0.0","is-rar":"^1.0.0","is-tar":"^1.0.0","is-zip":"^1.0.0","meow":"^2.0.0","read-chunk":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"c1510361847e11aba1ab59a3e3ec3f27eb666c15","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@1.0.4","_shasum":"9791ee70d17c022e2d3880405bdbc8c2bb7115e9","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"9791ee70d17c022e2d3880405bdbc8c2bb7115e9","size":1536,"noattachment":false,"key":"/archive-type/-/archive-type-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-1.0.4.tgz"},"directories":{},"publish_time":1414495175250,"_cnpm_publish_time":1414495175250,"_hasShrinkwrap":false},"1.0.3":{"name":"archive-type","version":"1.0.3","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"get-stdin":"^3.0.0","is-7zip":"^1.0.0","is-bzip2":"^1.0.0","is-gzip":"^1.0.0","is-rar":"^1.0.0","is-tar":"^1.0.0","is-zip":"^1.0.0","read-chunk":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"1729d3bc9065e453dbf314fd3e96239e325dbc50","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@1.0.3","_shasum":"85252918905933e276d186e2982d3c9b16cf7d12","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"85252918905933e276d186e2982d3c9b16cf7d12","size":1565,"noattachment":false,"key":"/archive-type/-/archive-type-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-1.0.3.tgz"},"directories":{},"publish_time":1412429427387,"_cnpm_publish_time":1412429427387,"_hasShrinkwrap":false},"1.0.2":{"name":"archive-type","version":"1.0.2","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"get-stdin":"^2.0.0","is-7zip":"^1.0.0","is-bzip2":"^1.0.0","is-gzip":"^1.0.0","is-rar":"^1.0.0","is-tar":"^1.0.0","is-zip":"^1.0.0","read-chunk":"^1.0.0"},"devDependencies":{"ava":"0.0.4"},"gitHead":"66552a8d4d1f32f453f7668da35bd58b296c3000","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@1.0.2","_shasum":"d947dba5687dd3291dd3dc3b2974b63af0fb284a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"d947dba5687dd3291dd3dc3b2974b63af0fb284a","size":1522,"noattachment":false,"key":"/archive-type/-/archive-type-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-1.0.2.tgz"},"directories":{},"publish_time":1408926176250,"_cnpm_publish_time":1408926176250,"_hasShrinkwrap":false},"1.0.1":{"name":"archive-type","version":"1.0.1","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"get-stdin":"^2.0.0","is-7zip":"^0.1.0","is-bzip2":"^0.1.0","is-gzip":"^0.1.0","is-rar":"^0.1.0","is-tar":"^0.1.1","is-zip":"^0.1.0","read-chunk":"^1.0.0"},"devDependencies":{"ava":"0.0.4","browserify":"^5.10.0"},"gitHead":"463ce4cf00d208561c8874eae83707578af0fc85","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@1.0.1","_shasum":"d3b3ce86f989578c8b6c5038f1327888dde20192","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"d3b3ce86f989578c8b6c5038f1327888dde20192","size":1536,"noattachment":false,"key":"/archive-type/-/archive-type-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-1.0.1.tgz"},"directories":{},"publish_time":1408545743955,"_cnpm_publish_time":1408545743955,"_hasShrinkwrap":false},"1.0.0":{"name":"archive-type","version":"1.0.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"get-stdin":"^2.0.0","is-7zip":"^0.1.0","is-bzip2":"^0.1.0","is-gzip":"^0.1.0","is-rar":"^0.1.0","is-tar":"^0.1.1","is-zip":"^0.1.0","read-chunk":"^1.0.0"},"devDependencies":{"ava":"0.0.3","browserify":"^5.10.0"},"gitHead":"8b50a1484dcd2c6a63a9788ce088a93e66e48515","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@1.0.0","_shasum":"3d19c0c5028965b1bba287ce9cfc886381543659","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"3d19c0c5028965b1bba287ce9cfc886381543659","size":1571,"noattachment":false,"key":"/archive-type/-/archive-type-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-1.0.0.tgz"},"directories":{},"publish_time":1408299696519,"_cnpm_publish_time":1408299696519,"_hasShrinkwrap":false},"0.1.4":{"name":"archive-type","version":"0.1.4","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"node test/test.js"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"get-stdin":"^1.0.0","is-7zip":"^0.1.0","is-bzip2":"^0.1.0","is-gzip":"^0.1.0","is-rar":"^0.1.0","is-tar":"^0.1.0","is-zip":"^0.1.0","read-chunk":"^0.1.0"},"devDependencies":{"ava":"0.0.3","browserify":"^3.44.2"},"bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@0.1.4","_shasum":"d8288b5658a38065af9b29ee4442569d0683fe1b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"d8288b5658a38065af9b29ee4442569d0683fe1b","size":1579,"noattachment":false,"key":"/archive-type/-/archive-type-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-0.1.4.tgz"},"directories":{},"publish_time":1407881961832,"_cnpm_publish_time":1407881961832,"_hasShrinkwrap":false},"0.1.3":{"name":"archive-type","version":"0.1.3","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"mocha --reporter list"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","mime","rar","zip","type"],"dependencies":{"get-stdin":"^1.0.0","is-7zip":"^0.1.0","is-bzip2":"^0.1.0","is-gzip":"^0.1.0","is-rar":"^0.1.0","is-tar":"^0.1.0","is-zip":"^0.1.0","read-chunk":"^0.1.0"},"devDependencies":{"browserify":"^3.44.2","mocha":"^1.18.2"},"bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@0.1.3","_shasum":"18277c64144394e41a2ce162a9bec8a629c17a34","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"dist":{"shasum":"18277c64144394e41a2ce162a9bec8a629c17a34","size":1577,"noattachment":false,"key":"/archive-type/-/archive-type-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-0.1.3.tgz"},"directories":{},"publish_time":1407881234290,"_cnpm_publish_time":1407881234290,"_hasShrinkwrap":false},"0.1.2":{"name":"archive-type","version":"0.1.2","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"mocha --reporter list"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","rar","zip","type"],"dependencies":{"is-7zip":"^0.1.0","is-bzip2":"^0.1.0","is-gzip":"^0.1.0","is-rar":"^0.1.0","is-tar":"^0.1.0","is-zip":"^0.1.0","read-chunk":"^0.1.0"},"devDependencies":{"browserify":"^3.44.2","mocha":"^1.18.2"},"bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@0.1.2","dist":{"shasum":"fbd697d3001aa0aefb4f3a1453d3f5124466d77b","size":1526,"noattachment":false,"key":"/archive-type/-/archive-type-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-0.1.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398594522501,"_cnpm_publish_time":1398594522501,"_hasShrinkwrap":false},"0.1.1":{"name":"archive-type","version":"0.1.1","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"mocha --reporter list"},"files":["cli.js","index.js"],"keywords":["7zip","archive","buffer","bz2","bzip2","check","detect","gz","gzip","rar","zip","type"],"dependencies":{"is-7zip":"^0.1.0","is-bzip2":"^0.1.0","is-gzip":"^0.1.0","is-rar":"^0.1.0","is-tar":"^0.1.0","is-zip":"^0.1.0"},"devDependencies":{"browserify":"^3.44.2","mocha":"^1.18.2"},"bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@0.1.1","dist":{"shasum":"ccd7daab4abce6737c506fe2ff04d5ee81ff41e3","size":1480,"noattachment":false,"key":"/archive-type/-/archive-type-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-0.1.1.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398261864619,"_cnpm_publish_time":1398261864619,"_hasShrinkwrap":false},"0.1.0":{"name":"archive-type","version":"0.1.0","description":"Detect the archive type of a Buffer/Uint8Array","license":"MIT","repository":{"type":"git","url":"git://github.com/kevva/archive-type"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"bin":{"archive-type":"cli.js"},"scripts":{"browser":"browserify -s $npm_package_name -o browser.js .","test":"mocha --reporter list"},"files":["cli.js","index.js"],"keywords":["archive","buffer","bz2","bzip2","check","detect","gz","gzip","rar","zip","type"],"dependencies":{"is-bzip2":"^0.1.0","is-gzip":"^0.1.0","is-rar":"^0.1.0","is-tar":"^0.1.0","is-zip":"^0.1.0"},"devDependencies":{"browserify":"^3.44.2","mocha":"^1.18.2"},"bugs":{"url":"https://github.com/kevva/archive-type/issues"},"homepage":"https://github.com/kevva/archive-type","_id":"archive-type@0.1.0","dist":{"shasum":"c304323a7552f14266e60ff22ca0a437442b0487","size":1466,"noattachment":false,"key":"/archive-type/-/archive-type-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/archive-type/download/archive-type-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":""},{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1398241501458,"_cnpm_publish_time":1398241501458,"_hasShrinkwrap":false}},"readme":"# archive-type [![Build Status](https://travis-ci.org/kevva/archive-type.svg?branch=master)](https://travis-ci.org/kevva/archive-type)\n\n> Detect the archive type of a Buffer/Uint8Array\n\n\n## Install\n\n```\n$ npm install --save archive-type\n```\n\n\n## Usage\n\n```js\nconst archiveType = require('archive-type');\nconst readChunk = require('read-chunk');\nconst buffer = readChunk.sync('unicorn.zip', 0, 262);\n\narchiveType(buffer);\n//=> {ext: 'zip', mime: 'application/zip'}\n```\n\n\n## API\n\n### archiveType(input)\n\nReturns an `Object` with:\n\n- `ext` - One of the [supported file types](#supported-file-types)\n- `mime` - The [MIME type](http://en.wikipedia.org/wiki/Internet_media_type)\n\nOr `null` when no match.\n\n#### input\n\nType: `Buffer` `Uint8Array`\n\nIt only needs the first 262 bytes.\n\n\n## Supported file types\n\n- `7z`\n- `bz2`\n- `gz`\n- `rar`\n- `tar`\n- `zip`\n- `xz`\n- `gz`\n\n\n## Related\n\n- [archive-type-cli](https://github.com/kevva/archive-type-cli) - CLI for this module\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","_attachments":{},"homepage":"https://github.com/kevva/archive-type#readme","bugs":{"url":"https://github.com/kevva/archive-type/issues"},"license":"MIT"}