{"_id":"device","_rev":"33-0ffddf4dc4585ba080bdcc5f829fd1ca","name":"device","description":"Device type detection library based on the useragent string. Refactored from express-device.","dist-tags":{"latest":"0.3.12"},"versions":{"0.1.0":{"name":"device","version":"0.1.0","description":"Browser detection library based on express-device, but without the express part","main":"index.js","repository":{"type":"git","url":"git@github.com:jimmybergman/device.git"},"keywords":["browser","mobile","detection","user-agent","platform","desktop","tablet"],"dependencies":{"express-device":">= 0.2.0"},"author":{"name":"Jimmy Bergman","email":"jimmy@sigint.se"},"license":"MIT","_id":"device@0.1.0","dist":{"shasum":"901a2b6d86729a823079b12e43910a5fae73f532","tarball":"https://registry.npmjs.org/device/-/device-0.1.0.tgz","integrity":"sha512-z1mVkFPWVzggAYBTecdsOXF5aMIu7HQpRXb+UQF8q+GX4Dq0trETqvlnhzlwhlM8EGOo/TKsFjuQyKH3YPyTHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWY+uaZf4Vb8b4RgIHEV/Hbvu4DCjJC/YzNVF9iUC1JAIgbg3y8SoNMUAd0WPmyNXHPyrLAujfLEaPWFCHsQWUAqg="}]},"_npmVersion":"1.1.49","_npmUser":{"name":"jimmybergman","email":"jimmy@sigint.se"},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"}],"directories":{}},"0.2.0":{"name":"device","version":"0.2.0","description":"Browser detection library based on express-device, but without the express part","main":"index.js","repository":{"type":"git","url":"git@github.com:jimmybergman/device.git"},"keywords":["browser","mobile","detection","user-agent","platform","desktop","tablet"],"scripts":{"test":"mocha test/"},"dependencies":{},"author":{"name":"Jimmy Bergman","email":"jimmy@sigint.se"},"license":"MIT","devDependencies":{"mocha":"^2.3.1"},"gitHead":"2b17e3105903499f4d7bfeddd098726d2bf822fd","bugs":{"url":"https://github.com/jimmybergman/device/issues"},"homepage":"https://github.com/jimmybergman/device","_id":"device@0.2.0","_shasum":"2a67dd2ef960dc4b70a5082f22c73b297ac521a0","_from":".","_npmVersion":"1.4.14","_npmUser":{"name":"jimmybergman","email":"jimmy@sigint.se"},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"}],"dist":{"shasum":"2a67dd2ef960dc4b70a5082f22c73b297ac521a0","tarball":"https://registry.npmjs.org/device/-/device-0.2.0.tgz","integrity":"sha512-9TPAgd8wMwj3SFZyoqE3ZwoXZXW0oAgsM/Yec6EJf7KwrBIHOYnMUj/cX0XnFGvEf9ubWAEPqwnxsoq6inbPRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDc43vL0XFoceM2IvdY+0HBn8OquG4PHwSpqzdGuViURAiBDU+GX5U3wr1FOdEmuOxyG3+8elG75ipzna9hJkVh3wA=="}]},"directories":{}},"0.3.0":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","parsing","device"],"version":"0.3.0","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rguerreiro/device.git"},"gitHead":"e0689e5ee7e16eb51ed83cc2c833cd15657dd2e1","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device","_id":"device@0.3.0","_shasum":"c442af648d1caf2019bc8558a6f8ca51fc792fc4","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"c442af648d1caf2019bc8558a6f8ca51fc792fc4","tarball":"https://registry.npmjs.org/device/-/device-0.3.0.tgz","integrity":"sha512-ll8p3pjtQfNfOr58FhzvX96ciX6l+uXIwetx2HEDG1aXS7ppCMZmzep/eHjV+nvFeC0xf96zQDfzvNseIsGiBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjTQKPJJNwNwq512OXrIyuqTUhOWY3FN/Sb+PijeAPjAiEA+ql6hxX1tdmx6Iqraarvh/tXpd7gMHdd+/hQTBfuPOg="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"directories":{}},"0.3.1":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","parsing","device"],"version":"0.3.1","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rguerreiro/device.git"},"gitHead":"a374d964fd99d9090a91745fc5d1e1827a45947a","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device","_id":"device@0.3.1","_shasum":"cd642d2f25b4034adeec2c8aa60dff9947fdc4a7","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"cd642d2f25b4034adeec2c8aa60dff9947fdc4a7","tarball":"https://registry.npmjs.org/device/-/device-0.3.1.tgz","integrity":"sha512-E138kux3nMMJukSISa0CVNrtk6t/HSU6+9Al4LHGc8kwZZtrD4j8ZXpHtPqJVjaqkLaXMoWmcZzRu0iYr/5Guw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJwibdJpbsXr2EWqFi8jRmcaKvTCjlxETSON97KxgKawIhAMVZQTx6GqiHxCmBHaNxRZaeS83rTHOFJb7Is7bDGX/C"}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"directories":{}},"0.3.2":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.2","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rguerreiro/device.git"},"gitHead":"4e0573c8aee16aad7b59c6d9e14b10463624ef0a","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device","_id":"device@0.3.2","_shasum":"b567225f9b9e11a65226658b9c098dba7bd1f913","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"b567225f9b9e11a65226658b9c098dba7bd1f913","tarball":"https://registry.npmjs.org/device/-/device-0.3.2.tgz","integrity":"sha512-ulcUjSf1syBKbz+lcd+nnsYmqwVRH1MN4YYbZN7VJwCVNfNJdM/QIXAMi0/msXl407Gj1UXpgMJ2KbaXcRVAFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwUZybT3dtXglckJOB9qntLvLpLR6hIXNAIa4UpsHAkwIgLasq1/xCpF9ulkc3iliTRVBFdhJg5Y+tYw4XIRzGsmA="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"directories":{}},"0.3.3":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.3","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rguerreiro/device.git"},"gitHead":"4befa2fd5e1b7cd8af9d42e312d5c125504132bc","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device","_id":"device@0.3.3","_shasum":"b3a6bf608d5eb00f6a41e8a40e4ad9db1670db32","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"b3a6bf608d5eb00f6a41e8a40e4ad9db1670db32","tarball":"https://registry.npmjs.org/device/-/device-0.3.3.tgz","integrity":"sha512-PlNGFDD7rQfk9ElXW5bCinfKMtJ4R2pzu5zhXlZMQYJBHcwnLOYYpnk25yRGMAUOfHLnl51QsoTX3VGORUuHyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFW4QL9Wp0LOTXsPbxk1O8CCSNN7+5BVxoyyCS3kNj4wIhAJGAC0RxMlFrDdKSMhiPMQvO+t8O8bxc3GfoQuT+54oL"}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"directories":{}},"0.3.4":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.4","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"https://github.com/rguerreiro/device.git"},"gitHead":"008a75e73b3545d0445ffd04af901583e0482fca","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device","_id":"device@0.3.4","_shasum":"686cf5af045b976f06503d00fcf77e9e9d41fc39","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"686cf5af045b976f06503d00fcf77e9e9d41fc39","tarball":"https://registry.npmjs.org/device/-/device-0.3.4.tgz","integrity":"sha512-fdVq+erE1XP3qGKvFlF18SLZEeoM2KJSnBOFJ6c913YStCmd6HGOg70QUBOpvD/rQvBJgqkPVqYKYdHDy6vHcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHnBmYvMC6dl1SnwAR0t75aF135GD9RC6e08qVvss2dwIhAPdrY/r/9HAEngbPAqq1mHUQr4Q/Vmp2Tn69cL+Ozi+c"}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/device-0.3.4.tgz_1454762366766_0.7327207964845002"},"directories":{}},"0.3.5":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.5","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"86d5ac5a700806ca81315fa70986017c13c8dfbd","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.5","_shasum":"d1d0b17dcc1b103bf054826f20cd009a9e1ea16b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"d1d0b17dcc1b103bf054826f20cd009a9e1ea16b","tarball":"https://registry.npmjs.org/device/-/device-0.3.5.tgz","integrity":"sha512-uLk79kSzeytPcvjTfMVuJhxT3wOe3900IFJIaOT/d7zUb6fgrFQX7cAzSGFUfAykglfRYhBd533bDx9bcIh99Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRYW2R0DBeJYA2js4KGD+dVnQZrrVaozLlYoBViyQUwQIhAK9gfeP+w2RPf6HaVZ9kxVDidknIJBAarWf2veWw2Rmt"}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/device-0.3.5.tgz_1458033537520_0.2167515424080193"},"directories":{}},"0.3.6":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.6","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"8e4cc63ce418b3f03b21b1ae6184028fe60debb9","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.6","_shasum":"95ce6851928012f9c09724350038d49e08a3f444","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"95ce6851928012f9c09724350038d49e08a3f444","tarball":"https://registry.npmjs.org/device/-/device-0.3.6.tgz","integrity":"sha512-VZqwdo6iyyI1XO7bG3IhfADgkEsjRYBySgew2SLUHeaoZxU9/jnrFr+jnvB4ii6xjcZnyZh6s35ATlsQa66u7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMiEqNT5oLMQ4U2+MJdlVC58VgQsSfkwjpuuhYwZpG2QIhAKcNVCTz4verKq0TtqiWUGEfAfKEa7MeYksHGoHs3TzX"}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/device-0.3.6.tgz_1458221762934_0.4392446833662689"},"directories":{}},"0.3.7":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.7","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"8ed8afc71e4e3b01ed38f6842f317a37afa5f9bf","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.7","_shasum":"2093ff5df081da70c3aa0cbe167747ccf4f3b588","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"2093ff5df081da70c3aa0cbe167747ccf4f3b588","tarball":"https://registry.npmjs.org/device/-/device-0.3.7.tgz","integrity":"sha512-FGjEw64AFe/JfW+9RfQgHJZpAGK6AseE3a9j+uHeX3vIiCNVIq0yPW6BGx2QDTHGHoJ58D3Bxn16axKQNP3r2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD13S/oqfK1imozhMmK7Dx8p1E4o89RFnMZobN8brg5oQIgBdYYY2Bct8QUEcqtXZN+ONmAx2uQNpSrFi8rVQ5tqng="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/device-0.3.7.tgz_1467623571855_0.1291876290924847"},"directories":{}},"0.3.8":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.8","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"a92179b3716fcae616a5a7c02820cbce2d1d6901","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.8","_shasum":"f4072ccea3e6599dc01c3a43b203f6af4f8445aa","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"f4072ccea3e6599dc01c3a43b203f6af4f8445aa","tarball":"https://registry.npmjs.org/device/-/device-0.3.8.tgz","integrity":"sha512-8WOpfMW/WonLIT2SQQUfbdWIEeTFsKDQNpIFrQwvy6tsg2w4tdO/+ySzgxMQvFcY+hiWz1v3q4elq+3xMyQJUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfNRlvlq1EkIYU5ny6738XLa3lsnmqJM20jlv6JctUBAiEA5jKOl0oDhD44XgsS/Tf4GR0wa2Y9XJW1srPQdfVHzVI="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/device-0.3.8.tgz_1468486864501_0.30810251366347075"},"directories":{}},"0.3.9":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.9","main":"./index.js","private":false,"engines":{"node":">=0.10"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"2a8bd17337a9853fb1cd8f019e0c803e3c2a330e","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.9","_shasum":"242d58f396cc996c38e20fe4c9b6f4dcc0efb090","_from":".","_npmVersion":"4.2.0","_nodeVersion":"8.9.4","_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"dist":{"shasum":"242d58f396cc996c38e20fe4c9b6f4dcc0efb090","tarball":"https://registry.npmjs.org/device/-/device-0.3.9.tgz","integrity":"sha512-KXdnCBLKADL7jQkFjtKcjM/T4Zw5LOfAXYQ9ubsSVCTjA1Vj0Dmm2NFKDZJDuFDtm/dF1LHBKKHCyiHsLjZKOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqUycllgLfE3C9GqpT8PYcqmFj76bjjWHsXXC2VH+6GgIgQVFV504gLBv21XSGla05H7E8fCiLM6I7Hv8OYRySngo="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/device-0.3.9.tgz_1515871462540_0.720234606647864"},"directories":{}},"0.3.10":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.10","main":"./index.js","private":false,"engines":{"node":">=8.x"},"dependencies":{"useragent":"*","yamlparser":"*","request":"*","diff":">=3.5.0"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"76b51d6de998aa5f9f7a130e7998cb3103f61896","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.10","_nodeVersion":"12.7.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-3zWHjPBfdNbljGUhvsKyOeAdDvyipFX9vWYYjs4/D4Fw4YZsB2CxtuIPpGBotD3MznADL/RyipLbbiIlHuumUg==","shasum":"dadde876ab4dd9a844f8019de8e6f0f46bb6db5f","tarball":"https://registry.npmjs.org/device/-/device-0.3.10.tgz","fileCount":19,"unpackedSize":3467429,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeZo6/CRA9TVsSAnZWagAAqc4P/1lLWl2kx7S/ecZ/51P+\nYI3zg4wUJDOeG5CzKpET9n3r1EMkg4K7Dnk64YS9XzPiFNgsIajrHJFeeM3I\nZEqfscWGXd5tWoXSdC5Tk1VUR6T88Ds34oQjH0Bald2u5AMT1FpV4A6SLs4f\nEzD9msulhcF1qOzSDUERZH+Ask1ILnGTDOPT+bb+n1NA0pWeQcqW6Ezo384h\nSzG5dX3LLWJu60tIsaEtZeElGNS2LOxmX0q2fNVklcFkd7lmfQFHHxR0YQRW\nTeMB1oSBaokIONFQjnVEzdc0NOrgim+Gj2Vb1OPZDWrpKCcNJfW8vVeQ4pI6\nxdI1heLZEOT8jLzgPP0OJRZ7tptTmD+YZkd67kIwcFljGMY8Io0+2HzMIJxt\nq1e+U5ToAudg2wyMX/GH/9gijx/lvcZLHQxRnIVWWAzPobEXdni5EY722gpW\nR2KKd0xb+OhcRDGEJcbOmyq7i2wLRmhC1+YDQ5amQNqF93WDIl39uWKDMRAc\n4fyMBHw6rukvjaZEvVc5VdBD3y7W/QoAnHmgc4xzZTNxQ1w5EgAdxSJlMRk0\nq0L727gO5/nBtia+ONiF7Gu9SJcqxW38NChBlrv+3Zq/QJTOXhSeMGGoKG5Z\np5lpOD8Muji0v9pIYy/TA2O5MZGj0U+7XP7V+ktuXh3PDxyumPD9sc4YE15w\ncnp3\r\n=LvjQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDg1gqaN4DIwGBse9tfnGTL6U2PsunD4O5/pCKpuLZuNQIgcZE0FpxnsIOrSi5Ps39nPWpBLTWjVxsPrusJSWHToK4="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/device_0.3.10_1583779519483_0.5836288240802048"},"_hasShrinkwrap":false},"0.3.11":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.11","main":"./index.js","private":false,"engines":{"node":">=8.x"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"*"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"c58afb629c1fc9a541494449c90369cbfa77285e","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.11","_nodeVersion":"12.7.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-4+vaidA09uqcuMHQKFlFgoOJN7vi4R5Pn2B+GyIsJOGZnv8SSrXv0Ep4Y6wCoKVCcYx5PYQjunaWAg2sZz+s6g==","shasum":"91ccc9956c71afc80bb8f0c6b552a952dbd2ddb9","tarball":"https://registry.npmjs.org/device/-/device-0.3.11.tgz","fileCount":5,"unpackedSize":16086,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJelzXXCRA9TVsSAnZWagAAchgP/AvNZYoOenGWKrz8NBqE\nPzuMqStU7zl68yYB1Yzl4xPzVo+wDDTS3i6x1zWH5qnYmY3rrN1HXSJNE4t6\nPwqJPEkZCN+F5oab1hX402YfmqDSPZblYbf3jfYqAWRSwVCKplxInFTSsyhl\n2BZgKggzT9pjlI+ZnvjFv33RgmdYsrn3KwKFnWb6mOk9hUBq3jp1LD2muHQq\nXD4T2Hdtp/vHLng1ao5kn9jc4pCfBx8KpDSTTPu0o1/81R4Y0u38w0RttJ3v\noviVpsBB26R0zZqZfKvnu88XGODLD7Xe94p1XsNdgGOAZz/mdnbhx6Sl/Py+\nVVOY3iS3PEejNLrlw7BqxR8k3mOq/kZqqO/tp/ezjjZt8QR2R6QR9V+J2zD5\nv5a8Awj8SyiQYv5RGK1aZyCzEDwAYwSwDtNh3eVaINl7mKfYrmSisfv0ooth\nT1ypDZn10oFHUkAVWnvtELo/uqPH3lOKiGCe77IBpx6ammQDoQZ0WUlTph3j\nivwtBgC11py7MUXojH/AttLshvGAk39sfdSEhIJhsaJki7fYkPXHLkzWx/HX\nCxgohNEeDZewmQ/IaSloWUA5P9MUiRgFBLAucIcX2pZh4dqJifC6+LLmjoxr\nB9vNnXdaZc5e3vJKVAeLAq+kKDgJgfJUrFHbAHlgMDVLBnVXcCwQNmzU2T/J\nDW9Z\r\n=T7pJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVoHzC10lukqMxhoV7Uox5ZHNgikyM4fZ7UGgtSz/H+AiB9jxWpg4W1PT9MzKDj+jFeRQHo1ZE19bfog73bMILv7A=="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/device_0.3.11_1586968022663_0.8396884738674595"},"_hasShrinkwrap":false},"0.3.12":{"name":"device","author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"description":"Device type detection library based on the useragent string. Refactored from express-device.","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"version":"0.3.12","main":"./index.js","private":false,"engines":{"node":">=8.x"},"dependencies":{"useragent":"*"},"devDependencies":{"mocha":"^8.2.0"},"scripts":{"test":"mocha"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"gitHead":"a63c1d1e2cc03ed52515726410d900ace6c13db6","bugs":{"url":"https://github.com/rguerreiro/device/issues"},"homepage":"https://github.com/rguerreiro/device#readme","_id":"device@0.3.12","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-iN7zef86PSMbMgQTA6pBpy2re1XgnFRExO87IsZA1wgDXI03C6wWv2tiXTfE1zsQytETW+S+wn2TpKSzXgqHfA==","shasum":"c6f8b951ecc38c32ba24ee00da93655f2d2988dc","tarball":"https://registry.npmjs.org/device/-/device-0.3.12.tgz","fileCount":5,"unpackedSize":16098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfnVL0CRA9TVsSAnZWagAAC+gP/1ZvGprDE3WxiVSaMqr8\neB1yYJqy/lhybbw2iOtNj/0r8lZxQK9uSGSua86KVjGFofVdt+7ZvDlo0fL9\nZKnXy58xZypF2nX/MiToToUGztK/iemwmsA2m/NqnCW7l8eqUgM8Ba+QaBIN\nWM5oU5OHY2Cq//8qU5wYv1uLXNW+0R40ZJEAX4Yn4uPOpW/HINN/dkSShhZA\nTHqTX3KE15wgft6JCz4qfA+A6PLs0vklmbLfVB0ZYceY/ymG9HLDxBJiNGUI\nXBYMN9C4RvTVzvoaF4FwFwKddJjvQkM7kucTf41P90DAJec5gkYwd0YowO2q\nHW6d0LzM5x604btujp/6zBK2twkToiwXBPiz7hgZUOM6ANS+zUBF17MRhhDB\nnnNbFwSqJ5IeK97U5b19iXdy+KE35Ac8Mu8YeeNAcDZwafgclGcbfl8FLcgg\ndrFHJx8MO7LA/Vc/mbBIPKAwcqaoupxQzjCgW+fQ0POkDUw0yMafFptuuKAa\njkSMskw6z2PN6AS0ciM0R8vsuVH4aZBCfbidAnY/3pM17Oc6shOkb4prDK1X\nC2JobA/+Rj5PakVFY4jG0SMxCI6EHqdTCVLaSTOcfGxmKIXe57VLSDGZWjmc\nnkcWR+jzDarTQdWAPu2mXEU4dBHb/RBtd4VZCtxtvdI862BUdMzX9c3yejkr\novpY\r\n=BzBq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfjo9lILmyJlV+240b7zrtkf+RzEyE7wKKSr0dQ1pH0AIgTWCwrAkHPUHNgvVbreDMaAeGLWjll4Ntcu99R2/7wro="}]},"maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"_npmUser":{"name":"rguerreiro","email":"6speedpt@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/device_0.3.12_1604145908279_0.48729810279901753"},"_hasShrinkwrap":false}},"readme":"# device [![NPM version](http://img.shields.io/npm/v/device.svg?style=flat)](https://npmjs.org/package/device) [![Downloads](https://img.shields.io/npm/dm/device.svg?style=flat)](https://npmjs.org/package/device) [![Build Status](https://secure.travis-ci.org/rguerreiro/device.png?branch=main)](http://travis-ci.org/rguerreiro/device)\r\n\r\n## device\r\n\r\nBasically the [express-device](https://github.com/rguerreiro/express-device) gained life of it's own and I had to refactor the basic functionality (it makes sense). Many were using [express-device](https://github.com/rguerreiro/express-device) only to identify the type of device and didn't want all the [express](http://expressjs.com) stuff.\r\n\r\n## how to use it?\r\n\r\n    $ npm install device\r\n\r\nHere's an example on how to use it:\r\n\r\n```javascript\r\nvar device = require('device');\r\nvar mydevice = device('put here user-agent string');\r\n\r\nif(mydevice.is('bot'))\r\n\t// do something...\r\nelse\r\n\t// do another thing...\r\n```\r\nBy doing this you're getting an object that have the following properties:\r\n<table>\r\n    <tr><td><strong>Name</strong></td><td><strong>Field Type</strong></td><td><strong>Description</strong></td><td><strong>Possible Values</strong></td></tr>\r\n    <tr>\r\n        <td>type</td>\r\n        <td>string</td>\r\n        <td>It gets the device type for the parsed user-agent string</td>\r\n        <td>desktop, tv, tablet, phone, bot or car</td>\r\n    </tr>\r\n    <tr>\r\n        <td>model</td>\r\n        <td>string</td>\r\n        <td>It gets the device model name for the parsed user-agent string</td>\r\n        <td>Example: iPhone. If the option <strong>parseUserAgent</strong> is set to false, then it will return an empty string</td>\r\n    </tr>\r\n</table>\r\n\r\nIt accepts an object with only the config options you which to override (go [here](https://github.com/rguerreiro/device/blob/master/test/not_default_options_test.js) for some examples). The ones you don't override it will use the default values. Here's the list with the available config options:\r\n<table>\r\n    <tr><td><strong>Name</strong></td><td><strong>Field Type</strong></td><td><strong>Description</strong></td><td><strong>Possible Values</strong></td></tr>\r\n    <tr>\r\n        <td>emptyUserAgentDeviceType</td>\r\n        <td>string</td>\r\n        <td>Device type to be returned whenever the has an empty user-agent. Defaults to desktop.</td>\r\n        <td>desktop, tv, tablet, phone, bot, car or console</td>\r\n    </tr>\r\n\t<tr>\r\n        <td>unknownUserAgentDeviceType</td>\r\n        <td>string</td>\r\n        <td>Device type to be returned whenever the user-agent is unknown. Defaults to phone.</td>\r\n        <td>desktop, tv, tablet, phone, bot, car or console</td>\r\n    </tr>\r\n    <tr>\r\n        <td>botUserAgentDeviceType</td>\r\n        <td>string</td>\r\n        <td>Device type to be returned whenever the user-agent belongs to a bot. Defaults to bot.</td>\r\n        <td>desktop, tv, tablet, phone, bot, car or console</td>\r\n    </tr>\r\n    <tr>\r\n        <td>carUserAgentDeviceType</td>\r\n        <td>string</td>\r\n        <td>Device type to be returned whenever the user-agent belongs to a car. Defaults to car.</td>\r\n        <td>desktop, tv, tablet, phone, bot, car or console</td>\r\n    </tr>\r\n    <tr>\r\n        <td>consoleUserAgentDeviceType</td>\r\n        <td>string</td>\r\n        <td>Device type to be returned whenever the user-agent belongs to a console. Defaults to tv.</td>\r\n        <td>desktop, tv, tablet, phone, bot, car or console</td>\r\n    </tr>\r\n    <tr>\r\n        <td>tvUserAgentDeviceType</td>\r\n        <td>string</td>\r\n        <td>Device type to be returned whenever the user-agent belongs to a tv. Defaults to tv.</td>\r\n        <td>desktop, tv, tablet, phone, bot, car or console</td>\r\n    </tr>\r\n    <tr>\r\n        <td>parseUserAgent</td>\r\n        <td>string</td>\r\n        <td>Configuration to parse the user-agent string using the <a href=\"https://www.npmjs.com/package/useragent\">useragent</a> npm package. It's needed in order to get the device name. Defaults to false.</td>\r\n        <td>true | false</td>\r\n    </tr>\r\n</table>\r\n\r\nIn case you didn't notice there's also a method **is()** that will return a boolean (true or false) when you pass the device type that you want validate against (check the initial example).\r\n\r\nThe **device** package is supported on node version 10.* upwards.\r\n\r\n## contributors\r\n\r\nSome contributed in the [express-device](https://github.com/rguerreiro/express-device) repository.\r\n\r\n- [@rguerreiro](https://github.com/rguerreiro)\r\n- [@aledbf](https://github.com/aledbf)\r\n- [@ryansully](https://github.com/ryansully)\r\n- [@lyxsus](https://github.com/lyxsus)\r\n- [@dsyph3r](https://github.com/dsyph3r)\r\n- [@davo11122](https://github.com/davo11122)\r\n- [@esco](https://github.com/esco)\r\n- [@Saicheg](https://github.com/Saicheg)\r\n- [@brycekahle](https://github.com/brycekahle)\r\n- [@manjeshpv](https://github.com/manjeshpv)\r\n- [@Sitebase](https://github.com/Sitebase)\r\n- [@lennym](https://github.com/lennym)\r\n- [@martincad](https://github.com/martincad)\r\n- [@mettin](https://github.com/mettin)\r\n- [@cliftonc](https://github.com/cliftonc)\r\n- [@BorePlusPlus](https://github.com/BorePlusPlus)\r\n- [@Minaru](https://github.com/Minaru)\r\n- [@fmmsilva](https://github.com/fmmsilva)\r\n- [@kelp404](https://github.com/kelp404)\r\n\r\nSpecial thanks to [@jimmybergman](https://github.com/jimmybergman) that allowed me to use his `device` package for this refactoring.\r\n\r\n## where to go from here?\r\n\r\nCurrently, `device` is on **version 0.3.12**. In order to add more features I'm asking anyone to contribute with some ideas. You can do it by making some feature requests on the issues panel, but I prefer that you make your contribution with some pull requests ;)\r\n\r\nIn case you found a misinterpreted user-agent please open an issue and submit the full string and state what type of device it should return.\r\n\r\n## license\r\n\r\nThe MIT License (MIT)\r\n\r\nCopyright (c) 2015 Rodrigo Guerreiro\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to deal\r\nin the Software without restriction, including without limitation the rights\r\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r\ncopies of the Software, and to permit persons to whom the Software is\r\nfurnished to do so, subject to the following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included in all\r\ncopies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n","maintainers":[{"name":"jimmybergman","email":"jimmy@sigint.se"},{"name":"rguerreiro","email":"6speedpt@gmail.com"}],"time":{"modified":"2022-06-15T02:22:59.640Z","created":"2012-09-08T16:46:34.582Z","0.1.0":"2012-09-08T16:46:36.421Z","0.2.0":"2015-09-08T06:06:08.677Z","0.3.0":"2015-09-10T12:50:47.597Z","0.3.1":"2015-09-11T15:13:33.985Z","0.3.2":"2015-09-11T16:30:20.341Z","0.3.3":"2016-01-07T09:05:16.943Z","0.3.4":"2016-02-06T12:39:29.338Z","0.3.5":"2016-03-15T09:18:59.992Z","0.3.6":"2016-03-17T13:36:05.348Z","0.3.7":"2016-07-04T09:12:54.397Z","0.3.8":"2016-07-14T09:01:07.129Z","0.3.9":"2018-01-13T19:24:23.890Z","0.3.10":"2020-03-09T18:45:19.624Z","0.3.11":"2020-04-15T16:27:02.830Z","0.3.12":"2020-10-31T12:05:08.428Z"},"author":{"name":"Rodrigo Guerreiro","url":"@rguerreiro"},"repository":{"type":"git","url":"git+https://github.com/rguerreiro/device.git"},"homepage":"https://github.com/rguerreiro/device#readme","keywords":["browser","mobile","detection","user-agent","useragent","desktop","phone","tablet","tv","bot","car","parsing","device"],"bugs":{"url":"https://github.com/rguerreiro/device/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rguerreiro":true,"mishelen":true,"ivangaravito":true,"hongbo-miao":true,"shanewholloway":true,"parkerproject":true,"vinnyfonseca":true,"arielfr":true,"ierceg":true,"edhyciie90":true}}