@litejs/ua

    20.6.1 • Public • Published

    @litejs/ua – test size

    Simple User-Agent parser for statistical purposes in 2KB minified.

    var ua = require("@litejs/ua").ua
     
    ua("Mozilla/5.0 (Mobile; rv:18.1) Gecko/18.1 Firefox/18.1")
    // {os:{name:"Firefox OS",ver:"1",full:"1.1"},browser:{name:"Firefox",ver:"18",full:"18.1"},device:"Mobile"}

    External links

    GitHub repo | npm package | Coveralls code coverage

    Licence

    Copyright (c) Lauri Rooden <lauri@rooden.ee>
    The MIT License

    Install

    npm i @litejs/ua

    DownloadsWeekly Downloads

    6

    Version

    20.6.1

    License

    MIT

    Unpacked Size

    5.86 kB

    Total Files

    3

    Last publish

    Collaborators

    • avatar