- Notifications
You must be signed in to change notification settings - Fork74
🚀 fast JavaScript 4 Eclipse Vert.x
License
NotificationsYou must be signed in to change notification settings
reactiverse/es4x
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the EcmaScript (5.1+) language support forEclipse Vert.x
JavaScript is fast, and this is the way to make it even faster 🚀🚀🚀
Create a project:
# create a generic projectmkdir my-appcd my-app# init the projectnpm init @es4x project# add other dependencies...npm install @vertx/unit --save-devnpm install @vertx/core --save-prod# will trigger the download# of the java dependenciesnpm install
Create yourindex.js
:
/// <reference types="es4x" />//@ts-checkvertx.createHttpServer().requestHandler(function(req){req.response().end("Hello!");}).listen(8080);console.log('Server listening at: http://localhost:8080/');
and yourindex.test.js
:
import{TestSuite}from'@vertx/unit';constsuite=TestSuite.create("the_test_suite");suite.test("my_test_case",function(context){vars="value";context.assertEquals("value",s);});suite.run();
npm start
Profit!
For more documentation please seedocs.
About
🚀 fast JavaScript 4 Eclipse Vert.x
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.