1.1.1 • Published 6 years ago

daansmodule v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Daan's Module

version dependencies devDependencies dependencies Status

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
1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago