@i-302/ng-unis

1.2.1 • Public • Published

ng-unis

A package for retrieving details of Nigerian universities including; name, related faculties and departments

Release

Installation guide

# using npm
npm install @i-302/ng-unis

#OR

#using yarn
yarn add @i-302/ng-unis

Usage

import {
  getUniversities,
  getUniversityById,
  getFacultiesByUniversityId,
  getDepartments,
} from "@i-302/ng-unis";

// list all universities
const universities = getUniversities();
// get detail of a university
const university = getUniversityById("university_of_lagos");
// return a list of all faculties in a university
const faculties = getFacultiesByUniversityId("university_of_lagos");
//  return a list of all departments in a faculty
const departments = getDepartments("university_of_lagos', 'sciences");

Supported Universities

  University                                      |  Status
--------------------------------------------------+----------
  University of Lagos                             |   ✅
  University of Ibadan                            |   ✅
  University of Ilorin                            |   ✅
  University of Benin                             |   ✅
  Ahmadu Bello University                         |   🚧
  Bayero University                               |   🚧
  Federal University of Technology Akure          |   🚧
  Obafemi Awolowo University                      |   🚧
  University of Nigeria, Nsukka                   |   🚧
  Federal University of Technology, Minna         |   🚧
  Ladoke Akintola University of Technology        |   🚧
  University of Abuja                             |   🚧

How to contribute

...

Package Sidebar

Install

npm i @i-302/ng-unis

Weekly Downloads

4

Version

1.2.1

License

ISC

Unpacked Size

22.5 kB

Total Files

4

Last publish

Collaborators

  • ize-302