daansmodule
v1.1.1
Published
[![version](https://img.shields.io/npm/v/daansmodule.svg)](https://www.npmjs.org/package/daansmodule) [![dependencies](https://david-dm.org/daandevelopment/DaansModule.svg)](https://david-dm.org/daandevelopment/DaansModule) [![devDependencies](https://d
Downloads
6
Readme
Daan's Module
Installation
npm install daansmodule
Usage
const daansmodule = require('daansmodule');
//CONSOLE LOGS (Makes A colored log in the console)
daansmodule.warn('WARNING TEXT'); //warn
daansmodule.error('ERROR TEXT'); // error
daansmodule.help('HELP TEXT'); //help
daansmodule.info('INFO TEXT'); //info
//MATHAMATICS (RETURNS A NUMBER)
console.log(daansmodule.wortel(9)); //Squareroot
console.log(daansmodule.kwadraat(3)); //Square
console.log(daansmodule.machten(3, 3)); //pow (num to pow, pow number)
// OR
var wortel = daansmodule.wortel(9); //Squareroot
var kwadraat = daansmodule.kwadraat(3); //Square
var macht = daansmodule.machten(3, 3); //Pow (Num to pow, pow number)
Disabling Colors
If you want to run without the colors use the following arguments:
node myapp.js --no-color