{"_id":"@afuggini/devicetype","_rev":"1-0bd5e91eab8856b116fc1eecabec01a0","name":"@afuggini/devicetype","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@afuggini/devicetype","version":"1.0.0","description":"Device type detector","author":{"name":"Ariel Fuggini"},"license":"MIT","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/afuggini/devicedetector.git"},"browserslist":["ie >= 11","not dead"],"scripts":{"build":"npm-run-all clean lint test build:*","build:code":"webpack --config ./webpack.js","clean":"rimraf dist/**","lint":"tslint --project tsconfig.json -t stylish src/**/*.ts","test":"jest","test:watch":"npm run test -- --watchAll","test-coverage":"npm run test -- --coverage","type":"tsc --noEmit","type-watch":"tsc --noEmit -w"},"devDependencies":{"@babel/core":"^7.6.0","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-proposal-object-rest-spread":"^7.5.5","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-runtime":"^7.6.0","@babel/preset-env":"^7.6.0","@babel/preset-typescript":"^7.6.0","@types/jest":"^24.0.18","babel-loader":"^8.0.6","husky":"^3.0.5","jest":"^24.9.0","npm-run-all":"^4.1.5","rimraf":"^3.0.0","source-map-loader":"^0.2.4","ts-jest":"^24.0.2","ts-loader":"^6.1.0","tslint":"^5.20.0","tslint-config-standard":"^8.0.1","typescript":"^3.6.2","webpack":"^4.39.3","webpack-cli":"^3.3.8"},"husky":{"hooks":{"pre-commit":"npm run lint","pre-push":"npm run test"}},"dependencies":{"@babel/runtime":"^7.6.0"},"keywords":["device","detect","mobile","tablet","desktop","device detector","device type"],"gitHead":"d6fb050b2de744d7a4f2d56afc8b20248b217f1f","bugs":{"url":"https://github.com/afuggini/devicedetector/issues"},"homepage":"https://github.com/afuggini/devicedetector#readme","_id":"@afuggini/devicetype@1.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-th80+yk/WsiMQlOb1GkcBhzmsO+PVx8zuJWLlLNrGhJcjqJrGl4WPuHxf/mQWnTuI4GW8EjGMCBWw2j1S+H/LQ==","shasum":"785a2792b641dc815247c6beb48b217a53e37a38","tarball":"https://registry.npmjs.org/@afuggini/devicetype/-/devicetype-1.0.0.tgz","fileCount":11,"unpackedSize":18796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeSP4CRA9TVsSAnZWagAAvXEQAIpuUss7tqVoCvuL4ylO\n9FSBOKsnl1cWOzTzQvac76irPL+N1pWlH+5ebatNxtvdFBVszMagOo5EtsXZ\nEGf4Ggjn/hnT0zKL5vzoO1EY/JTnSBL6LrRmBMxttIYvozg+PDGbcU8WWkPC\nXqc213axD2R/NR3ld8UYE00tjgKicFU3lk4iGa7wD/ioA+HQYetZZ3RgG0f8\nFfA+Z57oBFwBX2dcMNTf44X1K1NzuUWYpSRGwbdfcwhvvkYmsK7ovgWwFf0b\n8rNDh1bCEIf8miQDAao+RBi4F0eThgo3ZtptRoiqaw2nP3wmNx7cy1WGZm/z\nuujzGGh0EB90jzY6dhvlsjP9SROgoPbY2A6OTPvbCYr1QzCCGOgVNHY4yXRb\nxwVy0OxSk9ow2of1MqokAPkh0ze3IrXd1sY/gF7Co1g5oR5gVmYiYkJXM4k7\nSxK5rWOAG5i1C8ypQG7SpHM0DMNvPVTzs1ovrQNeEyxi7jEgCDxs4b+hfvqU\nIka8sUT4/4OZJVd69iLxgmZ9tcVVIROcmz4jq6G2J3ppuFNDVYl5YJNtBNsb\nKPueelQ96qRSTh7HWiL0GRxVHcqHgGbNSwh4LN6KcA9IHiO/NxlaFJnLZeqt\nwbp+QVRNxlWHAsAqVQfbaQQ9KqKH+9KctMiHE1T2lTNJZTxs1/YuUL4HxS5F\nuWfW\r\n=hByn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICXhItmQeyET4uM09sJxtfrU/AKC+Hn9nWZbRlpDiCPbAiBJfUeqTjCoifDzGODNJBamn4UJRkbgmcHAvDjrhkTaDw=="}]},"maintainers":[{"name":"afuggini","email":"ariel@southernmedia.net"}],"_npmUser":{"name":"afuggini","email":"ariel@southernmedia.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/devicetype_1.0.0_1568220152255_0.6697161845427018"},"_hasShrinkwrap":false}},"time":{"created":"2019-09-11T16:42:31.955Z","1.0.0":"2019-09-11T16:42:32.370Z","modified":"2022-04-04T11:52:48.615Z"},"maintainers":[{"name":"afuggini","email":"ariel@southernmedia.net"}],"description":"Device type detector","homepage":"https://github.com/afuggini/devicedetector#readme","keywords":["device","detect","mobile","tablet","desktop","device detector","device type"],"repository":{"type":"git","url":"git+https://github.com/afuggini/devicedetector.git"},"author":{"name":"Ariel Fuggini"},"bugs":{"url":"https://github.com/afuggini/devicedetector/issues"},"license":"MIT","readme":"# @afuggini/devicedetector\n\n## Install\n\n```\n$ npm i @afuggini/devicedetector\n```\n\n## Example Usage\n\n```javascript\nconst DeviceDetector = require('@afuggini/devicedetector')\n\nconst deviceDetector = new DeviceDetector()\n\ndeviceDetector.getType() // 'desktop'\ndeviceDetector.isOneOf('mobile') // false\ndeviceDetector.isType('tablet') // false\ndeviceDetector.isMobile() // false\ndeviceDetector.isTablet() // false\ndeviceDetector.isDesktop() // true\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}