Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 403 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 403 Bytes

directory.js

JavasScript / TypeScript API for the Middlebury Directory at directory.middlebury.edu/default.aspx. Node package at https://www.npmjs.com/package/directory.js.

Use it like this

import { Scraper } from 'directory.js';

const middleburyEmail = "[email protected]";
const S = new Scraper(middleburyEmail);

async () => {
  await S.init();
  console.log(S.person);

}