Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

javascript.util

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javascript.util

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

  • 0.10.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Usage

Browsers

Simply include javascript.util.js in your page.

Node JS

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

Development environment

Ubuntu or similar is assumed.

Dependencies

  • nodejs
  • npm
  • browserify
  • uglify-js
  • jasmine-node

Unit tests

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.

Keywords

FAQs

Package last updated on 30 Jul 2012

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc