uaparser

Haxe externs for ua-parser-js
https://github.com/adireddy/haxe-uaparser

To install, run:

haxelib install uaparser 1.0.1 

See using Haxelib in Haxelib documentation for more information.

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.

Contributors
adireddy
Version
1.0.1
Published
9 years ago
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub