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

buildinglink

v1.3.7

Published

A TypeScript client for interacting with the BuildingLink system, handling various authentication flows and redirects.

Readme

🏢 BuildingLink Client

This is an unofficial TypeScript client for logging into and scraping BuildingLink content.

🚀 Getting Started

Install the package using your favorite package manager.

# Using npm
npm install buildinglink

🎮 Usage

This client is essentially a wrapper around the native fetch API, which does an auto-login as needed and stores session cookies for you.

import { BuildingLink } from "buildinglink";

const client = new BuildingLink({
  username: "buildinglink_username",
  password: "buildinglink_password",
});

// Get Deliveries
const url = "https://www.buildinglink.com/V2/Tenant/Deliveries/Deliveries.aspx";
const response = await client.fetch(url);

// Shorthand for tenant pages
const response = await client.page("Deliveries/Deliveries.aspx");

📦 Available Modules

| Module | Method | Description | | ------------- | --------------------------------- | --------------------------------------------------------- | | Library | getLibrary() | Access documents from the BuildingLink Library | | Announcements | getAnnouncements() | Access announcements from the BuildingLink | | Events | getEvents(from: Date, to: Date) | Access events from the BuildingLink Calendar | | Occupant | getOccupant() | Access the current occupant's profile | | Buildings | getBuildings() | Access buildings associated with the BuildingLink account | | User | getUser() | Access the current user signed into BuildingLink | | Vendors | getVendors() | Access preferred vendors from the BuildingLink | | Deliveries | getDeliveries() | Access deliveries from the BuildingLink |

📝 Scraping HTML

Since it's likely you'll be using this client for scraping, the response also includes a parsed version of the HTML document using node-html-parser. You can access it on html responses from the document property.

const { document } = await client.page("Deliveries/Deliveries.aspx");

document.querySelectorAll(".delivery-item").forEach((item) => {
  const deliveryId = item.getAttribute("data-delivery-id");
  const deliveryDate = item.querySelector(".delivery-date")?.textContent;
  console.log(`Delivery ID: ${deliveryId}, Date: ${deliveryDate}`);
});

🧪 Testing

# Run tests
pnpm test

# Watch mode for development
pnpm test:watch

# Get that sweet, sweet coverage report
pnpm test:coverage

🤝 Contributing

Found a bug? Want to add a feature? We'd love your help!

  1. Fork it
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazingness')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

MIT - Because sharing is caring! See LICENSE for more details.

⭐️ Show Your Support

If this package helped you automate your BuildingLink tasks, give it a star!


Made with ❤️ and ☕️ by a human who got tired of clicking through BuildingLink manually.