haxe-uaparser

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

To install, run:

haxelib install haxe-uaparser 1.0.0 

See using Haxelib in Haxelib documentation for more information.

README.md

haxe-uaparser

Haxe externs for UAParser.js

Installation

haxelib install haxe-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.0
Published
2 years ago
License
MIT

All libraries are free

Every month, more than 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