0.2.1 • Published 1 year ago

jfacile v0.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Code in JS is easy with JFacile !

Beginn with JFacile :

JS :

const JFacile = require("jfacile");

Example of code :

const JFacile = require("jfacile");

// Optional
JFacile.JUnhandledRejection;
JFacile.Exit;
JFacile.JUnCaughtException;
JFacile.JRejectionHandled;

//Utils
JFacile.JColorRandom();
console.log(JFacile.JColor());

//Maths

JFacile.sum(5, 2);
JFacile.add(5, 2);
JFacile.multi(5, 2);
JFacile.divi(5, 2);
JFacile.mathPow(5, 2);
JFacile.mathRandom();

// ExpressJS server

JFacile.routeGet("/nameOfRoute", "Title Of The Page", "Render of the page");
JFacile.routePost("/nameOfRoute", "Title Of The Page", "Render of the page");
JFacile.routePut("/nameOfRoute", "Title Of The Page", "Render of the page");
JFacile.routeDelete("/nameOfRoute", "Title Of The Page", "Render of the page");
JFacile.run(3000);

Create a anti crash process with require("jfacile") !

Links :

Npm : https://www.npmjs.com/package/jfacile GitHub : https://github.com/JFacile/JFacile

0.2.1

1 year ago

0.2.0

1 year ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago