@mtucourses/scraper
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

@mtucourses/scraper

codecov

Scrapes various types of information from Michigan Tech, including faculty members and offered courses.

🏗 Usage

const {getAllSections} = require('@mtucourses/scraper');

(async () => {
  const fallTerm = new Date();
  fallTerm.setFullYear(2020, 7);

  const sections = await getAllSections(fallTerm);

  console.log(sections);
})();

See the documentation for details.

🧰 Development

# First:
# install dependencies
yarn install

# then:
# build in watch mode
yarn build:watch

# and you can:

# run tests
yarn test

# run tests in watch mode
yarn test:watch

To publish a new package version, run npm version [patch|minor|major] and then git push && git push --tags on the master branch.

Package Sidebar

Install

npm i @mtucourses/scraper

Weekly Downloads

0

Version

3.0.2

License

MIT

Unpacked Size

52.5 kB

Total Files

27

Last publish

Collaborators

  • codetheweb