uaparser 1.0.1

Haxe externs for ua-parser-js

Released 2016-02-26.

To install, run:

haxelib install uaparser 1.0.1

See using Haxelib in Haxelib documentation for more information.

Maintaineradireddy
Websitehttps://github.com/adireddy/haxe-uaparser
Current version1.0.1
StatisticsInstalled 84 times
LicenseMIT
Tags browser, detection, device, mobile, parser, tablet, ua, user agent

README.md

haxe-uaparser

Haxe externs for UAParser.js

Installation

haxelib install uaparser

Usage


class Main {

    public function new() {
        var parser = new UAParser();
        
        trace(parser.getResult());
        trace(parser.getBrowser());
        trace(parser.getOS());
        trace(parser.getDevice());
        trace(parser.getEngine());
        trace(parser.getCPU());
    }

    static function main() {
        new Main();
    }
}

Licensing Information

MIT license

This content is released under the MIT License.

UAParser.js is dual licensed under GPLv2 and MIT.