Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exoego/scalajs-javalib-node
https://github.com/exoego/scalajs-javalib-node
java-libs scala-js
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/exoego/scalajs-javalib-node
- Owner: exoego
- License: apache-2.0
- Created: 2019-06-04T12:17:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T07:02:03.000Z (over 3 years ago)
- Last Synced: 2024-11-10T13:06:45.493Z (2 months ago)
- Topics: java-libs, scala-js
- Language: Scala
- Homepage:
- Size: 517 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java API ported for Node.js
This library provides some of Java's important APIs, like IO/NIO/Child processes, by re-implementing them on top of Node.js libs.
So Scala.js users may reduce efforts into Node.js APIs and their type facade.## Goal
Provide core parts of Java APIs, e.g. :
* `java.io`
* `java.nio`
* `java.lang` like (`Process` and `ProcessBuilder`)## Non-Goal
This project may not provide the following APIs, or may provide only skelton/stub implementation if needed, since those are considered useless for writing Node.js apps.
* `java.applet`
* `java.awt`
* `java.beans`
* `java.lang.annotation`
* `java.lang.instrument`
* `java.lang.management`
* `java.rmi`
* `java.security`
* `java.sql`
* `java.util.jar`
* `java.util.logging`
* Most of `javax.*` packages## Note
Some implementations and tests are based on [Apache Harmony project](https://github.com/apache/harmony), not OpenJDK.
This is because Harmony uses Apache License, which is very flexible and non-invasive, but OpenJDK uses GPL.Also some implementations are based on [Scala.js](https://github.com/scala-js/scala-js) to modify them specifically for Node.js.