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

bsky-tldr

v3.0.2

Published

A JavaScript package for creating daily summaries of Bluesky posts for those you follow.

Readme

bsky-tldr

Retrieve your daily Bluesky feed as simplified JSON, perfect for building feed readers or AI-powered summarization tools.

For example Building an MCP Server to Explore My Bluesky Feed with code available at https://github.com/briangershon/bluesky-daily-mcp.

Features

  • Posts are retrieved for a specific day, with ability to specify the timezone offset.
  • Posts from Bluesky feed are in a simplified JSON format.
  • API:
    • retrieveFollows() retrieves follows from an author.
    • retrieveAuthorFeed() retrieves posts from an author, for a specific day.
    • uriToUrl converts a post uri to a public url to view post on the web.

Information returned for each post:

{
  "uri": "at://did:plc:oeio7zuhrsvmlyhia7e44nk6/app.bsky.feed.post/3lgzvm46vhu2c",
  "content": "TIL about process.exitCode = 1;\n\nUseful if you want to mark a process as failed without immediately exiting it",
  "createdAt": "2025-01-31T11:32:00.769Z",
  "isRepost": false,
  "links": ["https://example.com"]
}

How to integrate into your own project

Walk through the working code that retrieves posts for follows in ./scripts/retrieve-posts.ts.

How to run it:

  1. Create a new App password in Bluesky, and provide your BLUESKY_USERNAME and BLUESKY_PASSWORD in an .env file in your root directory. You can create these via Bluesky account settings > Privacy & Security > App passwords.
BLUESKY_USERNAME=
BLUESKY_PASSWORD=
  1. Update script

Change SOURCE_ACTOR, TARGET_DATE and TIMEZONE_OFFSET in ./src/scripts/retrieve-posts.ts to your Bluesky handle or did, a date in yyyymmdd format and a timezone offset in hours (e.g. -8 for PST).

  1. Run the script
npm install
npm run retrievePosts

How to integrate into your own project

npm install @atproto/api
npm install bsky-tldr

Grab sample code from ./scripts/retrieve-posts.ts.

Data Structure

Here's the post data structure returned from our retrieveAuthorFeed function for viewing posts for a specific author:

{
  "uri": "at://did:plc:oeio7zuhrsvmlyhia7e44nk6/app.bsky.feed.post/3lgzvm46vhu2c",
  "content": "TIL about process.exitCode = 1;\n\nUseful if you want to mark a process as failed without immediately exiting it",
  "createdAt": "2025-01-31T11:32:00.769Z",
  "isRepost": false,
  "links": []
}

Posts that include uri, content, createdAt, isRepost (false means it's an original by the author) and links which are the full links mentioned in the post.

If you need more information in your app, use @atproto/api library directly to retrieve the author's profile using their did, or the full post and replies via its uri.

Help for Contributors to this project

Local Development with watch mode

npm install
npm run dev

Run tests or coverage reports

npm run test:watch
npm run coverage

Testing package in another project

If you want to make changes to this package while testing it with another project:

# In your package directory
npm link

# In your test project directory
npm link your-package-name

Steps for publishing package to NPM

After merging latest code to main branch:

  1. Locally, git checkout main && git pull
  2. npm version patch # or minor, or major
  3. git push --follow-tags
  4. A GitHub release is automatically written and published