{"_id":"negotiator","_rev":"54-929c042b2a09c74a41a9bd2e537e0d9a","name":"negotiator","description":"HTTP content negotiation","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.1.0","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node > 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x","iconv":"1.1.x","gzip-buffer":"x.x.x"},"dependencies":{"underscore":"1.2.x","coffee-script":"1.2.x"},"scripts":{"test":"nodeunit test"},"_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"_id":"negotiator@0.1.0","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"eceb71a868cb56ae156cc563a1a881669d4e9650","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.1.0.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.3":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.3","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"_id":"negotiator@0.2.3","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"e93dd1d816112185f752cbb4c4c1df8cfca4f399","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.2.3.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.4":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.4","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"_id":"negotiator@0.2.4","dependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-alpha-6","_nodeVersion":"v0.6.5","_defaultsLoaded":true,"dist":{"shasum":"8c82cc553bbfc8ada49a969ead7bcfac3fb190f7","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.2.4.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.5":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.5","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.5","dependencies":{},"dist":{"shasum":"12ec7b4a9f3b4c894c31d8c4ec015925ba547eec","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.2.5.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.6":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.6","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.6","dependencies":{},"dist":{"shasum":"28db6bc2e442c8655325d156ff74055dc0db289c","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.2.6.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.7":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.7","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.7","dependencies":{},"dist":{"shasum":"f31240c6a4aed34c1c2f22f2ce325a5414a00a9e","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.2.7.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.2.8":{"name":"negotiator","description":"HTTP content negotiation","version":"0.2.8","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.2.8","dependencies":{},"dist":{"shasum":"adfd207a3875c4d37095729c2e7c283c5ba2ee72","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.2.8.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.3.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.3.0","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","_id":"negotiator@0.3.0","dependencies":{},"dist":{"shasum":"706d692efeddf574d57ea9fb1ab89a4fa7ee8f60","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.3.0.tgz"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.0","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.0","dist":{"shasum":"06992a7c3d6014cace59f6368a5803452a6ae5c1","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.1":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.1","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.6.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.1","dist":{"shasum":"7806f0041eca5b05bb00758d8ad7611ff18f357c","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.2":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.2","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.2","dist":{"shasum":"8c43ea7e4c40ddfe40c3c0234c4ef77500b8fd37","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.2.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.3":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.3","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.3","dist":{"shasum":"9d6b5cf549547ca06a3971a81f80d25f3cf9db02","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.4":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.4","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.4","dist":{"shasum":"321ec00f2d3a9f597c62581082030b49c39fd199","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.4.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.5":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.5","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.5","dist":{"shasum":"0e738eb225e3a166ee7d69ebcfdc702ba236a77b","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.5.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.6":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.6","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.6","dist":{"shasum":"f45faf9fa833ed3ca51250ea9a7ddfc4267a44b3","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.6.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.7":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.7","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"git://github.com/federomero/negotiator.git"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"engine":"node >= 0.6","license":"MIT","devDependencies":{"nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test"},"optionalDependencies":{},"engines":{"node":"*"},"main":"lib/negotiator.js","bugs":{"url":"https://github.com/federomero/negotiator/issues"},"homepage":"https://github.com/federomero/negotiator","dependencies":{},"_id":"negotiator@0.4.7","dist":{"shasum":"a4160f7177ec806738631d0d3052325da42abdc8","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.7.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"federomero","email":"federomero@gmail.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"}],"directories":{}},"0.4.8":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.8","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"license":"MIT","devDependencies":{"istanbul":"~0.3.2","nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"engines":{"node":">= 0.6"},"main":"lib/negotiator.js","files":["lib","LICENSE"],"gitHead":"4b0bc3f2fec38a839556bd4674f79024929ba256","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.4.8","_shasum":"96010b23b63c387f47a4bed96762a831cda39eab","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"96010b23b63c387f47a4bed96762a831cda39eab","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.8.tgz"},"directories":{}},"0.4.9":{"name":"negotiator","description":"HTTP content negotiation","version":"0.4.9","author":{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},"contributors":[{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"license":"MIT","devDependencies":{"istanbul":"~0.3.2","nodeunit":"0.8.x"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"engines":{"node":">= 0.6"},"main":"lib/negotiator.js","files":["lib","LICENSE"],"gitHead":"1e90abd710b662db80f1ea244e647cce3bd74504","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.4.9","_shasum":"92e46b6db53c7e421ed64a2bc94f08be7630df3f","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"92e46b6db53c7e421ed64a2bc94f08be7630df3f","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.4.9.tgz"},"directories":{}},"0.5.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.5","nodeunit":"0.9.0"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"gitHead":"79110a26fa939a77df65f8651a5d4d071f77a14a","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.0","_shasum":"bb77b3139d80d9b1ee8c913520a18b0d475b1b90","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"bb77b3139d80d9b1ee8c913520a18b0d475b1b90","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.5.0.tgz"},"directories":{}},"0.5.1":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.1","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.5","nodeunit":"0.9.0","tap":"0.5.0"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"nodeunit test","test-cov":"istanbul cover ./node_modules/nodeunit/bin/nodeunit test"},"gitHead":"bfee971fe0503518cc93d1956518212203b7e68c","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.1","_shasum":"498f661c522470153c6086ac83019cb3eb66f61c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"498f661c522470153c6086ac83019cb3eb66f61c","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.5.1.tgz"},"directories":{}},"0.5.2":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.2","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.9","mocha":"~1.21.5"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"a317a47bcd5efadd0561b1f2da0a7e1bea09b8c2","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.2","_shasum":"17bf5c8322f6c8284a8f3c7dfec356106438a41a","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"17bf5c8322f6c8284a8f3c7dfec356106438a41a","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.5.2.tgz"},"directories":{}},"0.5.3":{"name":"negotiator","description":"HTTP content negotiation","version":"0.5.3","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.9","mocha":"~1.21.5"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"cbb717b3f164f25820f90b160cda6d0166b9d922","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.5.3","_shasum":"269d5c476810ec92edbe7b6c2f28316384f9a7e8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"269d5c476810ec92edbe7b6c2f28316384f9a7e8","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.5.3.tgz"},"directories":{}},"0.6.0":{"name":"negotiator","description":"HTTP content negotiation","version":"0.6.0","contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"license":"MIT","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"devDependencies":{"istanbul":"0.3.21","mocha":"~1.21.5"},"files":["lib/","HISTORY.md","LICENSE","index.js","README.md"],"engines":{"node":">= 0.6"},"scripts":{"test":"mocha --reporter spec --check-leaks --bail test/","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"},"gitHead":"d904ca6a639487b4e27c009e33183570aae4e789","bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"homepage":"https://github.com/jshttp/negotiator","_id":"negotiator@0.6.0","_shasum":"33593a5a2b0ce30c985840c6f56b6fb1ea9e3a55","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dougwilson","email":"doug@somethingdoug.com"},"maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"dist":{"shasum":"33593a5a2b0ce30c985840c6f56b6fb1ea9e3a55","tarball":"http://registry.npmjs.org/negotiator/-/negotiator-0.6.0.tgz"},"directories":{}}},"readme":"# negotiator\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nAn HTTP content negotiator for Node.js\n\n## Installation\n\n```sh\n$ npm install negotiator\n```\n\n## API\n\n```js\nvar Negotiator = require('negotiator')\n```\n\n### Accept Negotiation\n\n```js\navailableMediaTypes = ['text/html', 'text/plain', 'application/json']\n\n// The negotiator constructor receives a request object\nnegotiator = new Negotiator(request)\n\n// Let's say Accept header is 'text/html, application/*;q=0.2, image/jpeg;q=0.8'\n\nnegotiator.mediaTypes()\n// -> ['text/html', 'image/jpeg', 'application/*']\n\nnegotiator.mediaTypes(availableMediaTypes)\n// -> ['text/html', 'application/json']\n\nnegotiator.mediaType(availableMediaTypes)\n// -> 'text/html'\n```\n\nYou can check a working example at `examples/accept.js`.\n\n#### Methods\n\n##### mediaType()\n\nReturns the most preferred media type from the client.\n\n##### mediaType(availableMediaType)\n\nReturns the most preferred media type from a list of available media types.\n\n##### mediaTypes()\n\nReturns an array of preferred media types ordered by the client preference.\n\n##### mediaTypes(availableMediaTypes)\n\nReturns an array of preferred media types ordered by priority from a list of\navailable media types.\n\n### Accept-Language Negotiation\n\n```js\nnegotiator = new Negotiator(request)\n\navailableLanguages = ['en', 'es', 'fr']\n\n// Let's say Accept-Language header is 'en;q=0.8, es, pt'\n\nnegotiator.languages()\n// -> ['es', 'pt', 'en']\n\nnegotiator.languages(availableLanguages)\n// -> ['es', 'en']\n\nlanguage = negotiator.language(availableLanguages)\n// -> 'es'\n```\n\nYou can check a working example at `examples/language.js`.\n\n#### Methods\n\n##### language()\n\nReturns the most preferred language from the client.\n\n##### language(availableLanguages)\n\nReturns the most preferred language from a list of available languages.\n\n##### languages()\n\nReturns an array of preferred languages ordered by the client preference.\n\n##### languages(availableLanguages)\n\nReturns an array of preferred languages ordered by priority from a list of\navailable languages.\n\n### Accept-Charset Negotiation\n\n```js\navailableCharsets = ['utf-8', 'iso-8859-1', 'iso-8859-5']\n\nnegotiator = new Negotiator(request)\n\n// Let's say Accept-Charset header is 'utf-8, iso-8859-1;q=0.8, utf-7;q=0.2'\n\nnegotiator.charsets()\n// -> ['utf-8', 'iso-8859-1', 'utf-7']\n\nnegotiator.charsets(availableCharsets)\n// -> ['utf-8', 'iso-8859-1']\n\nnegotiator.charset(availableCharsets)\n// -> 'utf-8'\n```\n\nYou can check a working example at `examples/charset.js`.\n\n#### Methods\n\n##### charset()\n\nReturns the most preferred charset from the client.\n\n##### charset(availableCharsets)\n\nReturns the most preferred charset from a list of available charsets.\n\n##### charsets()\n\nReturns an array of preferred charsets ordered by the client preference.\n\n##### charsets(availableCharsets)\n\nReturns an array of preferred charsets ordered by priority from a list of\navailable charsets.\n\n### Accept-Encoding Negotiation\n\n```js\navailableEncodings = ['identity', 'gzip']\n\nnegotiator = new Negotiator(request)\n\n// Let's say Accept-Encoding header is 'gzip, compress;q=0.2, identity;q=0.5'\n\nnegotiator.encodings()\n// -> ['gzip', 'identity', 'compress']\n\nnegotiator.encodings(availableEncodings)\n// -> ['gzip', 'identity']\n\nnegotiator.encoding(availableEncodings)\n// -> 'gzip'\n```\n\nYou can check a working example at `examples/encoding.js`.\n\n#### Methods\n\n##### encoding()\n\nReturns the most preferred encoding from the client.\n\n##### encoding(availableEncodings)\n\nReturns the most preferred encoding from a list of available encodings.\n\n##### encodings()\n\nReturns an array of preferred encodings ordered by the client preference.\n\n##### encodings(availableEncodings)\n\nReturns an array of preferred encodings ordered by priority from a list of\navailable encodings.\n\n## See Also\n\nThe [accepts](https://npmjs.org/package/accepts#readme) module builds on\nthis module and provides an alternative interface, mime type validation,\nand more.\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/negotiator.svg\n[npm-url]: https://npmjs.org/package/negotiator\n[node-version-image]: https://img.shields.io/node/v/negotiator.svg\n[node-version-url]: http://nodejs.org/download/\n[travis-image]: https://img.shields.io/travis/jshttp/negotiator/master.svg\n[travis-url]: https://travis-ci.org/jshttp/negotiator\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/negotiator/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/negotiator?branch=master\n[downloads-image]: https://img.shields.io/npm/dm/negotiator.svg\n[downloads-url]: https://npmjs.org/package/negotiator\n","maintainers":[{"name":"federomero","email":"federomero@gmail.com"},{"name":"dougwilson","email":"doug@somethingdoug.com"},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"}],"time":{"modified":"2015-09-30T01:21:40.970Z","created":"2012-01-26T17:25:16.828Z","0.1.0":"2012-01-26T17:25:19.965Z","0.2.3":"2012-04-24T21:37:45.030Z","0.2.4":"2012-06-02T21:48:39.123Z","0.2.5":"2012-08-11T18:16:30.819Z","0.2.6":"2013-06-05T14:20:08.959Z","0.2.7":"2013-08-11T04:12:25.408Z","0.2.8":"2013-09-19T18:33:09.169Z","0.3.0":"2013-10-18T20:12:14.807Z","0.4.0":"2014-01-09T15:23:11.532Z","0.4.1":"2014-01-16T17:02:25.226Z","0.4.2":"2014-03-01T03:06:59.978Z","0.4.3":"2014-04-16T14:12:01.576Z","0.4.4":"2014-05-29T15:19:30.693Z","0.4.5":"2014-05-29T15:53:13.591Z","0.4.6":"2014-06-11T19:36:14.258Z","0.4.7":"2014-06-24T22:32:21.627Z","0.4.8":"2014-09-28T21:46:31.730Z","0.4.9":"2014-10-15T04:39:00.364Z","0.5.0":"2014-12-19T04:05:15.020Z","0.5.1":"2015-02-15T01:54:09.606Z","0.5.2":"2015-05-07T05:18:55.668Z","0.5.3":"2015-05-11T02:19:32.641Z","0.6.0":"2015-09-30T01:21:40.970Z"},"repository":{"type":"git","url":"https://github.com/jshttp/negotiator"},"users":{"isaacs":true,"kubakubula":true,"kylemathews":true,"calebmer":true},"homepage":"https://github.com/jshttp/negotiator","keywords":["http","content negotiation","accept","accept-language","accept-encoding","accept-charset"],"contributors":[{"name":"Douglas Christopher Wilson","email":"doug@somethingdoug.com"},{"name":"Federico Romero","email":"federico.romero@outboxlabs.com"},{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me/"}],"bugs":{"url":"https://github.com/jshttp/negotiator/issues"},"license":"MIT","readmeFilename":"README.md","_attachments":{},"_etag":"\"EEO9SCCDNI2ZFBRVFF8RAP24E\""}