A package to retrieve the list of universities in Nigeria approved by the Nigerian University Commission (NUC)
Install this package from npm by running the command npm install ng_universities
var ng_universities = require('ng_universities')
The getUniversities()
function takes in a category of the university which can be "public", "private", "federal" or "state" and returns the list of universities.
If no parameter is supplied, getUniversities()
returns a list of all the universities.
//EXAMPLE
const ng_universities = require('ng_universities');
let federalUniversities = ng_universities.getUniversities("federal")
console.log(`Federal Universities: ${federalUniversities} \n`)
Run npm test
to run tests
George Benjamin