chula-util
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

Chulalongkorn University Utils

Collections of essentials functions for developers in Chulalongkorn University

Faculty IDs and Major codes can be browsed from : https://cas.reg.chula.ac.th/cu/general/PersonalInformation/Faculty/IndexDisplayFaculty.html

Installation

npm install chula-util or yarn add chula-util

Usage

import { getFaculty } from "chula-util";

const eng = getFaculty("21");
/* {
      code: "21",
      name_th: "คณะวิศวกรรมศาสตร์",
      name_en: "Faculty of Engineering",
    }
*/
const faculties = getFacultyList(); /* list of all faculties */

Contributions

To be added...

TODO

  • [ ] Student ID Parser
  • [x] Faculty ID/ Name List (EN)
  • [x] Faculty ID/ Name List (TH)
  • [x] Faculty ID/ Name Lookup
  • [ ] Subject name Parser

/chula-util/

    Package Sidebar

    Install

    npm i chula-util

    Weekly Downloads

    1

    Version

    1.1.5

    License

    ISC

    Unpacked Size

    20.2 kB

    Total Files

    26

    Last publish

    Collaborators

    • hamzaabamboo