javascript.util

javascript.util is a port of selected parts of java.util to JavaScript

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.

API docs

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

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);

Linux or similar is assumed.

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