jfacile
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i jfacile

Weekly Downloads

0

Version

0.2.1

License

ISC

Unpacked Size

11.2 kB

Total Files

14

Last publish

Collaborators

  • undefined_ss