DEV Community

Discussion on: Who's looking for open source contributors? (October 1st edition)

Collapse
 
pmlopes profile image
Paulo Lopes

The ES4X the polyglot JavaScript side of Eclipse Vert.x is also open to ideas and PRs.

GitHub logo reactiverse / es4x

EcmaScript Language Support for Eclipse Vert.x

ES4X

This is the EcmaScript (5.1+) language support for Eclipse Vert.x

Build Status Join the chat at https://gitter.im/es4x/Lobby

Usage

# add es4x-pm globally
npm install -g es4x-pm

Create a project:

# create a generic project
mkdir my-app
cd my-app
# init the project
es4x init
# add other dependencies
npm install @vertx/unit --save-dev
npm install @vertx/core --save-prod
# will trigger the download
# of the java dependencies
npm install

Create your index.js:

/// <reference types="@vertx/core/runtime" />
// @ts-check
vertx
  .createHttpServer()
  .requestHandler(function (req) {
    req.response().end("Hello!")
  })
  .listen(8080);

console.log('Server listening at: http://localhost:8080/');

and your index.test.js:

import { TestSuite } from '@vertx/unit'
const suite = TestSuite.create("the_test_suite");

suite.test("my_test_case", function (context) {
  var

I'll ( @pml0pes) volunteer to mentor anyone who would like to contribute.