
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Coffeescript-like syntax for writing Java code.
npm install javacoffee -g
Please don't install yet. This is still in development!!!
class Fibonacci
# Print out the Fibonacci sequence for values < 50
main
lo = hi = 1
println lo
while hi < 50
print hi
hi = lo + hi
lo = hi - lo
converts to
class Fibonacci {
// Print out the Fibonacci sequence for values < 50
public static void main(String[] args) {
int lo = 1;
int hi = 1;
System.out.println(lo);
while (hi < 50) {
System.out.print(hi);
hi = lo + hi;
lo = hi - lo;
}
}
}
class Point
+double x, y
+&origin = Point 0 0
Point @x @y
+clear @x = @y = 0
+distance(Point that):double
xDiff = x - that.x
yDiff = y - that.y
Math.sqrt xDiff^2 + yDiff^2
converts to
class Point {
public double x, y;
public static Point origin = new Point(0,0);
Point(double x_value, double y_value) {
x = x_value;
y = y_value;
}
public void clear() {
this.x = 0;
this.y = 0;
}
public double distance(Point that) {
double xDiff = x - that.x;
double yDiff = y - that.y;
return Math.sqrt(xDiff * xDiff + yDiff * yDiff);
}
}
javacoffee file.jc -> file.class
gulp runningnpm install
gulp
node ./bin/javacoffee myFile.jc
npm test
Filetype: .jc
FAQs
Coffeescript-like syntax for writing Java code
We found that javacoffee 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.