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

@sleepingasteroid/bluehop-prettier-config

v0.1.0

Published

Shared Prettier configuration: single quotes, no semicolons, 2-space indent.

Readme

@sleepingasteroid/bluehop-prettier-config

A shared Prettier style so all your projects are formatted the exact same way — set it once, never argue about formatting again.

What is this?

Prettier is a code formatter — it automatically rewrites your code into a consistent style (spacing, quotes, line breaks) every time you save. It has lots of small options, and if every project sets them slightly differently, your code looks different everywhere.

This package is one ready-made set of those options, packaged so you can share it. Point your project at it and you get the exact same formatting as every other project that uses it.

The style: single quotes, no semicolons, 2-space indentation, 100-character line width, trailing commas.

Why use it?

  • Decide formatting once, reuse it in every project.
  • No bikeshedding — the rules are fixed, so there's nothing to debate in code review.
  • Update in one place — change the style here and every project picks it up on the next version bump.

Install

pnpm add -D @sleepingasteroid/bluehop-prettier-config prettier

Use

The simplest way — point to it from your package.json:

{
  "prettier": "@sleepingasteroid/bluehop-prettier-config",
}

That's it. Run prettier --write . (or let your editor format on save) and your code follows the shared style.

Overriding a setting

If a project needs to tweak something, use a prettier.config.js that spreads the shared config and changes only what you need:

import base from '@sleepingasteroid/bluehop-prettier-config'

/** @type {import('prettier').Config} */
export default {
  ...base,
  // project-specific overrides here, e.g.
  // printWidth: 120,
}

Part of the bluehop toolkit — a set of shareable project configs. Works hand-in-hand with bluehop-eslint-config, which leaves all formatting to Prettier so the two never conflict.