Skip to content

Nicholas-Sliter/departments.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

departments.js

JavasScript / TypeScript API for the Middlebury Department Directory at https://ssb-prod.ec.middlebury.edu/PNTR/saturn_midd.course_catalog_utlq.catalog_page_by_dept?p_term=202210&

Use it like this

import { Scraper } from 'departments.js';

const season = "F21"; //Fall 2021

//an optional custom prefix padding for department names which are not 4 characters long, default is " ".
const prefixChar = "_";
const S = new Scraper(season, prefixChar);

async () => {
  await S.init();
  const departments = S.departments;
}




About

A JavaScript / TypeScript API for the Middlebury departments list.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published