{"_id":"@akimeaki/check-browser","_rev":"7-b5eb8f1dcd6200f470e16d725fa59143","name":"@akimeaki/check-browser","dist-tags":{"latest":"0.5.2"},"versions":{"0.1.0":{"name":"@akimeaki/check-browser","version":"0.1.0","license":"MIT","_id":"@akimeaki/check-browser@0.1.0","maintainers":[{"name":"akimeaki","email":"aki.k_@outlook.jp"}],"homepage":"https://github.com/AkimeAki/CheckBrowser#readme","bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"dist":{"shasum":"5a741e7625c8492c1171beebc07f2ca22773a25a","tarball":"https://registry.npmjs.org/@akimeaki/check-browser/-/check-browser-0.1.0.tgz","fileCount":5,"integrity":"sha512-t/c7ow8Ai0s7OR9CurVGfCDhhKUeqB43b8OabFgm014e+CHcn4t/wZR4UdqpLho1EP6uKCdAvCKRRTub9kV+Bw==","signatures":[{"sig":"MEYCIQDUmV94cNIBUZF8viYKUuccGAUHHk3vDGpI9euq3UxigQIhALfmO5R6ekKHitXjnsk8n3RACXEo6yjZtjNmEP8aG70d","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5214},"main":"./modules/check-browser.js","type":"module","types":"./modules/check-browser.d.ts","gitHead":"df19e5cd317a91130dd4f8b5f582ade91b0e2aef","scripts":{"lint":"ESLINT_USE_FLAT_CONFIG=true eslint .","build":"rm -rf ./modules/* && tsc","format":"prettier --write './**/*'","lint:fix":"npm run lint -- --fix && npm run format"},"_npmUser":{"name":"akimeaki","email":"aki.k_@outlook.jp"},"repository":{"url":"git+https://github.com/AkimeAki/CheckBrowser.git","type":"git"},"_npmVersion":"10.8.1","description":"``` npm install @akimeaki/check-browser ```","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.15.0","globals":"15.12.0","prettier":"3.3.3","@eslint/js":"9.15.0","typescript":"5.2.2","typescript-eslint":"8.14.0","prettier-plugin-sh":"0.14.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"8.14.0"},"_npmOperationalInternal":{"tmp":"tmp/check-browser_0.1.0_1731788939682_0.8421736802770061","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@akimeaki/check-browser","version":"0.2.0","license":"MIT","_id":"@akimeaki/check-browser@0.2.0","maintainers":[{"name":"akimeaki","email":"aki@shikidori.net"}],"homepage":"https://github.com/AkimeAki/CheckBrowser#readme","bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"dist":{"shasum":"010fc01bff66a88296f4215c4744c6ef2cbb7c2d","tarball":"https://registry.npmjs.org/@akimeaki/check-browser/-/check-browser-0.2.0.tgz","fileCount":5,"integrity":"sha512-CAyUz7XoPf1AJrUtqcPB7McVCQq5i6XcmlFx0Rjq0klOpy81jQ9EkwyX8x8A0Hrwv1YLmrOgFqypxem+nP0oZw==","signatures":[{"sig":"MEQCIGGe3W0abr+VNHE4T2poXL188ySoAPWAPYpN8hbMcoR9AiAFPC9qMQ4JHYqlTv2AWm0ZAYFEVXRg0AmpByZlnFfc3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5315},"main":"./modules/check-browser.js","type":"module","types":"./modules/check-browser.d.ts","gitHead":"d7182ef8d321f58260fb1d0fe3437321c8748030","scripts":{"lint":"ESLINT_USE_FLAT_CONFIG=true eslint .","build":"rm -rf ./modules/* && tsc","format":"prettier --write './**/*'","lint:fix":"npm run lint -- --fix && npm run format"},"_npmUser":{"name":"akimeaki","email":"aki@shikidori.net"},"repository":{"url":"git+https://github.com/AkimeAki/CheckBrowser.git","type":"git"},"_npmVersion":"10.8.1","description":"``` npm install @akimeaki/check-browser ```","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.15.0","globals":"15.12.0","prettier":"3.3.3","@eslint/js":"9.15.0","typescript":"5.2.2","typescript-eslint":"8.14.0","prettier-plugin-sh":"0.14.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"8.14.0"},"_npmOperationalInternal":{"tmp":"tmp/check-browser_0.2.0_1745343752264_0.30267649784023654","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@akimeaki/check-browser","version":"0.3.0","license":"MIT","_id":"@akimeaki/check-browser@0.3.0","maintainers":[{"name":"akimeaki","email":"aki@shikidori.net"}],"homepage":"https://github.com/AkimeAki/CheckBrowser#readme","bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"dist":{"shasum":"8fac2d8c59860a15b17a6262dab7ba002ab13d72","tarball":"https://registry.npmjs.org/@akimeaki/check-browser/-/check-browser-0.3.0.tgz","fileCount":5,"integrity":"sha512-6dvtzX5d8jVy0PdH43AzM9kWq7xAfT8gIdtTu4quDSuFsSzjHpyan4tmdlVdV09eZF0Fxn0mz99+GZwDkEO99w==","signatures":[{"sig":"MEUCIA3se02rhQt9FFrB39bv+mbgBi5Q7jLBi7Bh0pqFsgV5AiEA9SFdqQ9jR4DxQNeKkiRcrvIk9B8LFx7JltZpg+RQ004=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5658},"main":"./modules/check-browser.js","type":"module","types":"./modules/check-browser.d.ts","gitHead":"24fe801cfe37b760961d38fb814b3747ef51e380","scripts":{"lint":"ESLINT_USE_FLAT_CONFIG=true eslint .","build":"rm -rf ./modules/* && tsc","format":"prettier --write './**/*'","lint:fix":"npm run lint -- --fix && npm run format"},"_npmUser":{"name":"akimeaki","email":"aki@shikidori.net"},"repository":{"url":"git+https://github.com/AkimeAki/CheckBrowser.git","type":"git"},"_npmVersion":"10.8.1","description":"``` npm install @akimeaki/check-browser ```","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.15.0","globals":"15.12.0","prettier":"3.3.3","@eslint/js":"9.15.0","typescript":"5.2.2","typescript-eslint":"8.14.0","prettier-plugin-sh":"0.14.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"8.14.0"},"_npmOperationalInternal":{"tmp":"tmp/check-browser_0.3.0_1745343938426_0.6536190215680484","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@akimeaki/check-browser","version":"0.4.0","license":"MIT","_id":"@akimeaki/check-browser@0.4.0","maintainers":[{"name":"akimeaki","email":"aki@shikidori.net"}],"homepage":"https://github.com/AkimeAki/CheckBrowser#readme","bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"dist":{"shasum":"2f4be1490602e4f4a314eba49bdcffd730df20b7","tarball":"https://registry.npmjs.org/@akimeaki/check-browser/-/check-browser-0.4.0.tgz","fileCount":5,"integrity":"sha512-FxizX1OvCYygI3W/GrMq0i7sfZq6nRTNNl73BxpY6hpBxnbiCXlQ+c8sVwaUF3KGSaKxhPx2G1vs3aS00GiUnw==","signatures":[{"sig":"MEUCICaxsj7BifxV6CfG7Z2yLbOJD3qE5iLqesvTejGm35kKAiEA6g9asddwvEus4fht/AjZg6ecWo1X6qoN5Oe2Bt3iNew=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5592},"main":"./modules/check-browser.js","type":"module","types":"./modules/check-browser.d.ts","gitHead":"afaf659186587b4b33353cdd4dcd02cdd8c5d400","scripts":{"lint":"ESLINT_USE_FLAT_CONFIG=true eslint .","build":"rm -rf ./modules/* && tsc","format":"prettier --write './**/*'","publish":"npm run build && npm login && npm publish --access=public","lint:fix":"npm run lint -- --fix && npm run format"},"_npmUser":{"name":"akimeaki","email":"aki@shikidori.net"},"repository":{"url":"git+https://github.com/AkimeAki/CheckBrowser.git","type":"git"},"_npmVersion":"10.8.1","description":"``` npm install @akimeaki/check-browser ```","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"9.15.0","globals":"15.12.0","prettier":"3.3.3","@eslint/js":"9.15.0","typescript":"5.2.2","typescript-eslint":"8.14.0","prettier-plugin-sh":"0.14.0","eslint-config-prettier":"9.1.0","@typescript-eslint/parser":"8.14.0"},"_npmOperationalInternal":{"tmp":"tmp/check-browser_0.4.0_1745344070616_0.6452424878985554","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@akimeaki/check-browser","version":"0.5.0","license":"MIT","_id":"@akimeaki/check-browser@0.5.0","maintainers":[{"name":"akimeaki","email":"aki@shikiiro.net"}],"homepage":"https://github.com/AkimeAki/CheckBrowser#readme","bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"dist":{"shasum":"26130aa8c38565524379abcf1031d611421f97d5","tarball":"https://registry.npmjs.org/@akimeaki/check-browser/-/check-browser-0.5.0.tgz","fileCount":5,"integrity":"sha512-Hfhf1WiyZK7y0v1LABxhWM8UA6KNG5gGsRK8JcOXgewd1I4Ty6hrTcw2nxuHTUTGb/nRZGnT4mxjxWN8wn1EYA==","signatures":[{"sig":"MEUCIERxIgd0+yNrC5JXNSd9D13wuY4+CWHCNh4TQGbdihGPAiEAuBcx8wq+0ECyUbzGR1SFsOYnWcXrcfPm9B0DGP2A+o0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@akimeaki%2fcheck-browser@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6799},"main":"./modules/check-browser.js","type":"module","types":"./modules/check-browser.d.ts","volta":{"npm":"11.6.2","node":"24.12.0"},"gitHead":"37cfb623117bdaf7568f3eb6e87d817e837b7707","scripts":{"lint":"tsc --noEmit && biome lint","build":"rimraf ./modules/ && tsc","format":"biome format --write"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b2f285a6-0286-42a8-9036-40354ca65ecb"}},"repository":{"url":"git+https://github.com/AkimeAki/CheckBrowser.git","type":"git"},"_npmVersion":"11.6.2","description":"このパッケージは、使用しているOS、ブラウザのバージョン、種類などを取得するユーティリティです。 作者が個人的に使っている処理を切り出したものです。 好みベースの設計なので、必要に応じて自由に調整してください。","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"6.1.2","typescript":"5.2.2","@biomejs/biome":"2.3.10"},"_npmOperationalInternal":{"tmp":"tmp/check-browser_0.5.0_1766850226716_0.0298496904865726","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@akimeaki/check-browser","version":"0.5.1","license":"MIT","_id":"@akimeaki/check-browser@0.5.1","maintainers":[{"name":"akimeaki","email":"aki@shikiiro.net"}],"homepage":"https://github.com/AkimeAki/CheckBrowser#readme","bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"dist":{"shasum":"ae63c19a0b4628c5c9f444e26f0838e6259968c3","tarball":"https://registry.npmjs.org/@akimeaki/check-browser/-/check-browser-0.5.1.tgz","fileCount":5,"integrity":"sha512-6gxquny7WAix3IcP4v6FnF/o8Dszu4O9n3gYeBSnEfVaoM1GLIEx9eZA+Pm49AlKt6o5JXTrDA+s6OEpAHbQNw==","signatures":[{"sig":"MEUCIQDYMNhe2FH3vFQ4IgBvLRK1ZUp/DwPSJTpGDscQjfEU1QIgXcr6TlS2bwnV5Rmeh44FoBe8J4Aj2EQILr95HKrRrBY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@akimeaki%2fcheck-browser@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":6806},"main":"./modules/check-browser.js","type":"module","types":"./modules/check-browser.d.ts","volta":{"npm":"11.6.2","node":"24.12.0"},"gitHead":"5cf7910a1785ed7ce29499d5197d120b514d100f","scripts":{"lint":"tsc --noEmit && biome lint","build":"rimraf ./modules/ && tsc","format":"biome format --write"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b2f285a6-0286-42a8-9036-40354ca65ecb"}},"repository":{"url":"git+https://github.com/AkimeAki/CheckBrowser.git","type":"git"},"_npmVersion":"11.6.2","description":"このパッケージは、使用しているOS、ブラウザのバージョン、種類などを取得するユーティリティです。","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"6.1.2","typescript":"5.2.2","@biomejs/biome":"2.3.10"},"_npmOperationalInternal":{"tmp":"tmp/check-browser_0.5.1_1766850342023_0.19432978677738055","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@akimeaki/check-browser","version":"0.5.2","type":"module","main":"./modules/check-browser.js","types":"./modules/check-browser.d.ts","volta":{"node":"24.12.0","npm":"11.6.2"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AkimeAki/CheckBrowser.git"},"scripts":{"build":"rimraf ./modules/ && tsc","format":"biome format --write","lint":"tsc --noEmit && biome lint"},"devDependencies":{"@biomejs/biome":"2.3.10","rimraf":"6.1.2","typescript":"5.2.2"},"gitHead":"7f7a7665ab15dddb732308dd63a747639c9c62da","_id":"@akimeaki/check-browser@0.5.2","description":"このパッケージは、使用しているOS、ブラウザのバージョン、種類などを取得するユーティリティです。","bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"homepage":"https://github.com/AkimeAki/CheckBrowser#readme","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-PgW4dQsrpNdXysJ+lyeNuas8iUV1tOxRUyHW6YM/6zZMWZe/w0/pcbjJ18vgbbM5ZR8bj/BS2t6lovvXKS7xiA==","shasum":"2fcf12ec56004865df9de0b83af6c280a90f9901","tarball":"https://registry.npmjs.org/@akimeaki/check-browser/-/check-browser-0.5.2.tgz","fileCount":5,"unpackedSize":6797,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@akimeaki%2fcheck-browser@0.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC/VIdply/nHUQpGqbcNvokH0ARGhVpMyb1FUDs/KKtyAIgd9lxIcPJJaboGuE7aczw3V/rVxz3DNErDL9HfjBficY="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b2f285a6-0286-42a8-9036-40354ca65ecb"}},"directories":{},"maintainers":[{"name":"akimeaki","email":"aki@shikiiro.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/check-browser_0.5.2_1766850446687_0.8974998205211382"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-16T20:28:59.524Z","modified":"2025-12-27T15:47:27.198Z","0.1.0":"2024-11-16T20:28:59.946Z","0.2.0":"2025-04-22T17:42:32.448Z","0.3.0":"2025-04-22T17:45:38.603Z","0.4.0":"2025-04-22T17:47:50.801Z","0.5.0":"2025-12-27T15:43:46.896Z","0.5.1":"2025-12-27T15:45:42.180Z","0.5.2":"2025-12-27T15:47:26.842Z"},"bugs":{"url":"https://github.com/AkimeAki/CheckBrowser/issues"},"license":"MIT","homepage":"https://github.com/AkimeAki/CheckBrowser#readme","repository":{"type":"git","url":"git+https://github.com/AkimeAki/CheckBrowser.git"},"description":"このパッケージは、使用しているOS、ブラウザのバージョン、種類などを取得するユーティリティです。","maintainers":[{"name":"akimeaki","email":"aki@shikiiro.net"}],"readme":"# About\n\nこのパッケージは、使用しているOS、ブラウザのバージョン、種類などを取得するユーティリティです。\n\n作者が個人的に使っている処理を切り出したものです。\n\n好みベースの設計なので、必要に応じて自由に調整してください。\n\nThis package is a utility for detecting the user's operating system, browser type, and browser version.\n\nIt is extracted from logic that the author uses personally.\n\nSince the design is preference-based, feel free to adjust or customize it as needed.\n\n# インストール\n\n```\nnpm install @akimeaki/check-browser\n```\n\n# 使い方\n\nこのライブラリは User-Agent Client Hints を使用せず、User-Agent 文字列に基づいて判定を行います。\n\n```js\nimport checkBrowser from \"@akimeaki/check-browser\";\n\nconst result = checkBrowser();\n```\n\nresultの中身\n```\n{\n\tbrowser: \"chrome\",\n\trenderingType: \"chromium\",\n\tos: \"windows\",\n\tversion: 143\n}\n```\n\n`browser`: ブラウザ名\n\n`renderingType`: CSS のレンダリング挙動が同一かどうかを基準にした分類\n\n`os`: 使用しているOS名\n\n`version`: ブラウザのメジャーバージョン\n\n# License\n\nReleased under the [MIT license](https://opensource.org/license/mit)\n","readmeFilename":"README.md"}