1.0.0 • Published 2 years ago

node-school-is-hell v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

How to use

let schoolIsHell = require('school-is-hell');
// print a random thing about how school is hell
schoolIsHell();

in 1.0.3, you can get the data array and get a result without logging it

// get result without logging
console.log(schoolIsHell(false))
// get the data array
console.log(schoolIsHell(false,"getall"));

the first argument is to tell the function if you want to log the result or not and the second argument is the command, the default is getrandom and to get all results, use getall