node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



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



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:

    var ArrayList = javascript.util.ArrayList;
    var array = new ArrayList();

Development environment

Linux or similar is assumed.


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

Unit tests

    npm test