javascript.util

    0.12.12 • Public • Published

    javascript.util

    javascript.util is a port of selected parts of java.util to JavaScript which main purpose is to ease porting Java code to JavaScript.

    javascript.util can be used in browsers or as a Node JS module.

    Build Status

    API docs

    Usage

    Browsers

    Simply include javascript.util.min.js on your page.

    Node JS

    Install latest released version:

        npm install javascript.util

    A simple Node JS code example using javascript.util:

        require('javascript.util');
        var ArrayList = javascript.util.ArrayList;
        var array = new ArrayList();
        array.add(1);

    Development environment

    Linux or similar is assumed.

    Dependencies

    • Node JS
    • mocha (for tests)
    • chai (for tests)
    • bower (for dependencies)
    • grunt (for builds)

    Unit tests

        npm test

    Install

    npm i javascript.util

    DownloadsWeekly Downloads

    1,276

    Version

    0.12.12

    License

    none

    Last publish

    Collaborators

    • bjornharrtell