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

@byteplus-iga-pages/blob

v1.0.2

Published

Server-only Blob Storage SDK for BytePlus IGA Pages

Readme

@byteplus-iga-pages/blob

The BytePlus IGA Pages server-side object storage SDK stores files, reports, model-generated artifacts, and JSON data.

Product Overview

Installation

npm install @byteplus-iga-pages/blob

Requires Node.js 20+ and an BytePlus IGA Pages server runtime. For local development, link your project using the BytePlus IGA Pages CLI:

bp-iga pages link
bp-iga pages dev

The SDK automatically uses the current project's runtime identity. No service endpoints, buckets, or credentials need to be configured in your code. Your application is responsible for authorizing user access to files.

Quick Start

import { blob } from "@byteplus-iga-pages/blob";

await blob.set("reports/daily.md", "# Daily report\nTask completed.", {
  contentType: "text/markdown; charset=utf-8",
});
const text = await blob.get("reports/daily.md");
console.log(text);

await blob.setJSON("reports/status.json", { status: "done" });
const data = await blob.get<{ status: string }>("reports/status.json", {
  format: "json",
});
console.log(data?.status);

A key is an object name within the project, such as reports/daily.md. You do not need to create directories first. Keys cannot start or end with /, or contain empty path segments, . or .. path segments, backslashes, or NUL characters.

API Overview

| Method | Purpose | | -------------------------------- | ------------------------------------------------------------- | | set(key, body, options?) | Write text, binary data, or a stream | | setJSON(key, value, options?) | Store JSON data | | get(key, options?) | Read content as text by default | | info(key, options?) | Get object metadata | | list(options?) | List objects, optionally filtered by prefix | | delete(key, options?) | Delete an object; repeated deletion succeeds | | createUploadUrl(key, options?) | Generate a temporary upload ticket for direct browser uploads |

For parameter and return types, inspect the API's TypeScript definitions in your editor.

Blob Errors

BlobError.toJSON() returns { code, status?, message }.

License

See LICENSE for terms of use.