java4node

0.0.2 • Public • Published

Java4node :

Its a npm module for providing Java Features is Javescript Manner like multithreadig etc

Features:

  1. Jave Multithreading is now available in javascript
  2. System.out.println(" ..any logs "); now in javascript
  3. upcoming : classes , function overloading , dataTypes like , int i = 10;

## Installation

npm install java4node

Usage

js var java = require('java4node');

Methods :

multiThreading

.multiThreading(tasks , callbacks)
		This Function is use for perform multithreading in java script manner

logs

.System.out.println();
  This Functions is use for print the output in the termianl or console window

Simple example

Basic example of adding this middleware as the error handler only in development with connect (express also can be used in this example).

var java = require('java4node')
 
java.multiThreading({
               one: function(callback) {
                   java.System.out.println("function one is running");
                   callback()
               },
               two: function(callback) {
                   java.System.out.println("function two is running");
                   callback()
               },
               three: function(callback) {
                   java.System.out.println("function three is running");
                   callback()
               }
           }, function(err, results) {
               callback(err, results)
           });
 
 
      ## license
 
[ISC](https://github.com/)

Readme

Keywords

Package Sidebar

Install

npm i java4node

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • shashwat78