Skip to main content
Home

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

This package works with Node.jsIt is unknown whether this package works with Cloudflare Workers, Deno, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
64%
Published
8 months ago (0.1.0)

ng-unis

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

Installation guide

# npm (use any of npx, yarn dlx, pnpm dlx, or bunx)
npx jsr add @thesishub-ng/ng-unis

Usage

import {
  getUniversities,
  getUniversityById,
  getFacultiesByUniversityId,
  getDepartmentsByFacultyId,
} from "@thesishub-ng/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 = getDepartmentsByFacultyId("university_of_lagos__sciences");

How to contribute

...

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@thesishub-ng/ng-unis

Import symbol

import * as ng_unis from "@thesishub-ng/ng-unis";
or

Import directly with a jsr specifier

import * as ng_unis from "jsr:@thesishub-ng/ng-unis";

Add Package

pnpm i jsr:@thesishub-ng/ng-unis
or (using pnpm 10.8 or older)
pnpm dlx jsr add @thesishub-ng/ng-unis

Import symbol

import * as ng_unis from "@thesishub-ng/ng-unis";

Add Package

yarn add jsr:@thesishub-ng/ng-unis
or (using Yarn 4.8 or older)
yarn dlx jsr add @thesishub-ng/ng-unis

Import symbol

import * as ng_unis from "@thesishub-ng/ng-unis";

Add Package

npx jsr add @thesishub-ng/ng-unis

Import symbol

import * as ng_unis from "@thesishub-ng/ng-unis";

Add Package

bunx jsr add @thesishub-ng/ng-unis

Import symbol

import * as ng_unis from "@thesishub-ng/ng-unis";