Skip to content

penpot/ua-parser

Repository files navigation

@penpot/ua-parser

Fork of ua-parser-js started at commit b3f4321 (before the AGPLv3 license change), retaining the original MIT license.

Usage

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.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors