svelte-system-info
determines name and version of underlying browser and operating system
NPM users: please consider the Github README for the latest description of this package (as updating the docs would otherwise always require a new NPM package version)
Installation
npm install svelte-system-info
Usage
<script>
import System from 'svelte-system-info'
console.log('BrowserName', System.BrowserName)
console.log('BrowserVersion', System.BrowserVersion)
console.log('OSName', System.OSName)
console.log('OSVersion', System.OSVersion)
</script>
Example
An example is available on the Svelte REPL - feel free to play with it!