
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
javascript.util
Advanced tools
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.
// TODO: describe "selected parts" // TODO: generate API docs
Simply include javascript.util.js in your page.
Using NPM a trunk version of javascript.util can be installed with the following:
npm install git://github.com/bjornharrtell/javascript.util.git
A simple code example using javascript.util:
var ArrayList = require("javascript.util").ArrayList;
var array = new ArrayList();
array.add(1);
Ubuntu or similar is assumed.
Can be run in browser using /test/SpecRunner-release.html or /test/SpecRunner-debug.html
Can be run at command line using jasmine-node. Included runtests.sh script will run all tests.
NOTE: jasmine-node trunk version is required at the moment.
FAQs
javascript.util is a port of selected parts of java.util to JavaScript
We found that javascript.util demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.