
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
nusmoderator
Advanced tools
A lightweight library with helpful functions for NUS-related matters
A lightweight library with helpful functions for NUS-related matters.
npm i nusmoderator -S
# or if you use yarn:
yarn add nusmoderator
Returns a Date object of the first weekday of Week 0 of that academic year. Assumes Week 0 begins on the first Monday of August.
acadYear
the academic year. E.g. "18/19"Returns Date Start date of the academic year
Takes in a Date and returns an object of acad year and start date for that year.
date
DateReturns Object acadYearObject - { year: "15/16", startDate: Date }
Computes the current academic semester. Expects a week number of a year.
acadWeekNumber
numberacadWeekNumber(3)
Returns string semester - "Semester 1"
Computes the current academic week of the semester Expects a week number of a semester.
acadWeekNumber
numberacadWeekNumber(3)
Returns string semester - "Recess" | "Reading" | "Examination"
Computes the current academic week and return in an object of acad date components
date
DateReturns Object { year: "15/16", sem: 'Semester 1'|'Semester 2'|'Special Sem 1'|'Special Sem 2', type: 'Instructional'|'Reading'|'Examination'|'Recess'|'Vacation'|'Orientation', num: }
Get the first day of the exam week for the given semester
Returns Date
FAQs
A lightweight library with helpful functions for NUS-related matters
The npm package nusmoderator receives a total of 118 weekly downloads. As such, nusmoderator popularity was classified as not popular.
We found that nusmoderator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.