All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.script.cli.js Maven / Gradle / Ivy

Go to download

Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment

The newest version!
#!/usr/bin/env node

const UAParser = require('ua-parser-js');
console.log(JSON.stringify(process.argv.slice(2).map(ua => UAParser(ua)), null, 4));




© 2015 - 2025 Weber Informatics LLC | Privacy Policy