npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rit.ts

v0.1.0

Published

A TypeScript package for interacting with api.rit.edu.

Readme

RIT.ts

A TypeScript package for interacting with the RIT API. 🦁

GitHub Workflow Status Tests Status npm codecov Tiger Approved

Introduction

🗒️ Purpose

This package was developed by a full-time software engineering student at RIT to simplify interactions with The College of Art and Design RIT's API for student/faculty developers. It aims to provide an efficient and user-friendly way to access data like course information, user details, and building schedules. 📚

⭐ Contributing

I am relatively new to contributing to open-source projects. If you have improvements or wish to implement more features from the RIT API, feel free to submit a pull request! As a full-time student, I might take a bit to review your contributions, so please be patient.

Using This Module

It’s fairly straightforward for now, but I plan to add more features as time permits.

Setup

First, install the package using npm:

npm install rit.ts

Then, import and create a new TigerClient instance in your project:

import { TigerClient } from "rit.ts";
const RITClient = new TigerClient("YOUR_API_KEY");

📝 Note: Make sure to replace "YOUR_API_KEY" with a valid API key.

Users 🧑‍🎓👩‍🏫👨‍💼

See Student.ts, Faculty.ts, or Staff.ts for details.

Get Information

Retrieves details about a student, faculty, or staff member using their RIT username. 🔍

const user = await RITClient.Users("lhw2837").get();
console.log(user);
  • Parameters: RITUsername - The RIT username (e.g., "lhw2837").
  • Returns: A Student, Faculty, or Staff object.

Get User Courses

Fetches courses for a faculty member.

const courses = await RITClient.Users("lhw2837").getCourses();
console.log(courses);
  • Returns: An array of Course objects.
  • ⚠️ Note: Retrieving courses for students is currently deprecated due to privacy restrictions.

Rooms 🏫

Get Room Information

Returns details about a specific room.

const room = await RITClient.Rooms("b07510a8c71c60e722deeb9e67eadb74").get();
console.log(room.roomFullName); // "George Eastman Hall (EAS)-1310"
  • Returns: A Room object with properties like roomFullName and maxCapacity. See Room.ts for more!

Get Room Meetings

Lists all meetings scheduled in a room.

const meetings = await room.getMeetings();
console.log(meetings);
  • Parameters: onDate - (Optional) A DateObject to filter meetings by date.
  • Returns: An array of Meeting objects. See Meeting.ts.

Courses 📘

Get Course Information

Retrieves detailed information about a course. 🎓

const course = await RITClient.Courses("SWEN-261-02").get("2445");
console.log(course.name);
  • Parameters:
    • CourseWithSection - Full course code (e.g., "SWEN-261-02").
    • term - (Optional) Term code (e.g., "2445").
  • Returns: A Course object. See Course.ts.

Get Course Meetings

Lists meetings associated with a course. 🗓️

const meetings = await course.getMeetings();
console.log(meetings);

Get Course Instructors

Returns the instructors teaching the course. 👩‍🏫👨‍🏫

const instructors = await course.getInstructors();
console.log(instructors);
  • Returns: An array of Faculty objects.

Buildings 🏛️

Get Building Information

Returns information about a building by its number. 🔢

const building = await RITClient.Buildings("006").get();
console.log(building.name);

Get All Buildings

Lists all buildings on campus. 🌐

const allBuildings = await RITClient.Buildings().getAll();
console.log(allBuildings);

Get Building Meetings

Fetches meetings scheduled in a building. 📅

const meetings = await building.getMeetings();
console.log(meetings);

📚 Acknowledgements

This project is not affiliated with RIT. All RIT logos and trademarks are property of the Rochester Institute of Technology.

© Pencil Fox Studios SP