Fork of ua-parser-js started at commit
b3f4321
(before the AGPLv3 license change),
retaining the original MIT license.
import { parse } from '@penpot/ua-parser';
const result = parse('Mozilla/5.0 ...');
result.getBrowser(); // { name: 'Chrome', version: '120.0.0.0', major: '120', type: undefined }
result.getOS(); // { name: 'Windows', version: '10' }See AGENTS.md for the full API reference.
MIT