# Install jslint4java with Homebrew

Java wrapper for JavaScript Lint (jsl). Version 2.0.5 via Homebrew; verified 2026-06-13.

## Install

```sh
sudo av install brew:jslint4java
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jslint4java
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:jslint4java
- **Package manager:** Homebrew
- **Version:** 2.0.5
- **Source summary:** Java wrapper for JavaScript Lint (jsl)
- **Homepage:** <https://code.google.com/archive/p/jslint4java/>
- **Last updated:** 2026-06-13T23:35:00+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- jslint4java (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.0.5
## Project history and usage

jslint4java is a Java wrapper around Douglas Crockford's JSLint. It packaged JavaScript linting for Java-centric build environments by exposing command-line, Ant, Maven, and library integrations.

### Project history

The Maven POM records an inception year of 2007, Dominic Mitchell as developer, Google Code issue management, and GitHub as the source-control location. The archived project description and GitHub README describe it as a simple interface for detecting potential problems in JavaScript code.

### Adoption history

The package was useful in the period before JavaScript linting consolidated around Node.js-based tools. Java shops could run JSLint from Maven or Ant without introducing a separate JavaScript runtime into the build.

### How it is used

Typical usage was running the jar from the command line against JavaScript files, wiring the Ant task into an Ant build, or using the Maven plugin during a build phase to fail on lint errors.

### Why package nerds care

jslint4java is a small fossil from the Google Code and Java build-tool era: a Java wrapper that made a JavaScript quality tool fit Maven Central, Ant, and distro packaging before npm-based linting became the common packaging path.

### Timeline

- 2007: The upstream Maven POM records the project inception year.
- 2011: Version 2.0.0 appears in the Git tag series.
- 2013: Version 2.0.5 appears as the later tagged release in the upstream repository.
- 2015: Google Code shuts down project hosting, leaving the Google Code Archive page as the historical homepage.

### Related projects

- jslint4java wraps Douglas Crockford's JSLint and relates to Java build integrations such as Ant and Maven. It predates the broader shift toward Node.js linters such as JSHint, ESLint, and npm-distributed command-line tooling.

### Sources

- <https://central.sonatype.com/artifact/com.googlecode.jslint4java/jslint4java-parent/2.0.2>
- <https://code.google.com/archive/p/jslint4java>
- <https://github.com/happygiraffe/jslint4java>
- <https://github.com/happygiraffe/jslint4java/blob/master/pom.xml>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/jslint4java.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jslint4java.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
