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

@igorskyflyer/prettier-config

v1.0.1

Published

💅🏼 Prettier config for JS/TS projects. Single quotes, no semis, LF, trailing commas. 💄

Readme

Table of Contents

Features

  • ⚡ Zero-config setup - extend and go
  • 🔤 Single quotes for JS/TS, double quotes for JSX
  • 🚫 No semicolons, with trailing commas - cleaner diffs
  • 📏 2-space indentation, LF line endings, 80-char print width
  • 📦 Covers JS, TS, JSX, TSX, JSON, HTML, CSS, Vue and more
  • 🎯 All valid Prettier options explicitly set - no surprises
  • 🔲 Object wrap preserved - inline objects stay inline, expanded stay expanded
  • 🔒 Experimental options locked in - no unintended behavior on upgrades

Usage

Install it by executing any of the following, depending on the preferred package manager:

bun add -d @igorskyflyer/prettier-config
pnpm add -D @igorskyflyer/prettier-config
yarn add -D @igorskyflyer/prettier-config
npm i -D @igorskyflyer/prettier-config

Then, reference it in the package.json:

{
  "prettier": "@igorskyflyer/prettier-config"
}

If overrides are needed, use a prettier.config.mjs instead:

import config from '@igorskyflyer/prettier-config'

/** @type {import('prettier').Config} */
export default {
  ...config,
  // overrides
}

Implementation

Every valid Prettier option is explicitly set - no implicit defaults, no silent behavior on upgrades. The config enforces single quotes, no semicolons, trailing commas, LF line endings and 2-space indentation across all supported file types. Object literals are preserved as-is. Experimental options are locked to their current defaults to prevent unintended formatting shifts when Prettier promotes them to stable.

Motivation

Every project needs a Prettier config. Most end up with the same decisions after the same back-and-forth - quotes, semis, commas, line endings. This package makes those decisions once, documents them explicitly and ships them as a single dependency. Drop it in, extend it and move on.

Changelog

Read about the latest changes in the CHANGELOG.

License

Licensed under the MIT license.

Support

Related

This package is part of the dotfiles DX config suite - a curated index of independently installable configuration packages for linting, formatting, editing, JS/TS, React, Vue and many more.

Other related packages

@igorskyflyer/editorconfig

✍🏼 A CLI tool for adding an opinionated EditorConfig to any project. 🐭

@igorskyflyer/biome-config

👽 An opinionated Biome configuration for modern JavaScript and TypeScript projects. Strict linting, consistent formatting, and performance-minded rules, all in one shareable config. Code like igorskyflyer does! 🐺

@igorskyflyer/zing

🐌 Zing is a C# style String formatter for JavaScript that empowers Strings with positional arguments - composite formatting. 🚀

@igorskyflyer/oxfmt-config

✨ Pixel-perfect code formatting opinions, oxfmt-powered and ready to extend. ⚓

@igorskyflyer/zep

🧠 Zep is a zero-dependency, efficient debounce module. ⏰

Author

Created by Igor Dimitrijević (@igorskyflyer).