
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
mtu-courses
Advanced tools
Scrape all courses for a given semester from Michigan Tech's website.
npm i mtu-courses
const Courses = require('mtu-courses');
(async () => {
const mtu = new Courses();
await mtu.load();
// Get all meeting dates for first loaded course
console.log(mtu.courses.find(course => course.startDate !== undefined).getMeetingDates());
const totalFee = mtu.courses.filter(course => course.online).reduce((accum, course) => accum + course.fee, 0);
console.log(`It would cost an extra $${totalFee / 100} to take all offered online courses this semester.`);
})();
(Note that the Michigan Tech website/database system is quite slow and it takes around 13-15 seconds for await mtu.load()
to complete.)
All dates/times are in UTC.
Fees are in cents instead of dollars to be consistent with the way financal data is usually handled in code.
FAQs
π scrape all courses for a given semester from Michigan Tech's website
We found that mtu-courses demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Centralβs incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.