Skip to content

dipsywong98/USThing-AR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USThing-AR

Academic requirement parser

Get start

clone this project

npm i     # install
node index.js path-to-ar.html # output the json
mocha     # run test

Usage

check src/index.js, which input an HTML string, output the javascript object

Format

Output: [Requirement]
Requirement: {
  name: String
  rg: Number
  descriptions: [String]
  units: Unit
  courses: Course
  gpa: GPA
  satisfied: Boolean
  areas: [Area]
  criteria: [Criterion]
}
Area: {
  name: String
  descriptions: [String]
  units: Unit
  courses: Course
  gpa: GPA
  satisfied: Boolean
  criteria: [Criterion]
}
Criterion: {
  name: String
  descriptions: [String]
  units: Unit
  courses: Course
  gpa: GPA
  satisfied: Boolean
  courseList: [Course]
}
Course: {
  course: String
  description: String
  units: Number
  when: String
  grade: String
  status: ''|'In Progress'|'Taken'
}
Unit: {
  required: Number
  taken: Number
  needed: Number
}
Courses: {
  required: Number
  taken: Number
  needed: Number
}
GPA: {
  required: Number
  current: Number
}

About

Academic requirement parser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published