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

linttity

v1.1.3

Published

Automate ESlint and Prettier configuration and install the necessary packages for Nodejs projects

Readme

Linttity

Linttity is a CLI utility that bootstraps lint and format tooling for Node.js projects.

It installs the required development dependencies and generates a ready-to-use eslint.config.cjs preset.

Features

  • Preset for Node.js + JavaScript
  • Preset for Node.js + TypeScript
  • Interactive mode when no preset flag is passed
  • Automatic JavaScript/TypeScript project detection
  • Merge or overwrite strategy for generated files
  • Package manager detection (npm, pnpm, yarn, bun)
  • Rule levels: strict, balanced, relaxed
  • Import ordering rules included in generated ESLint configs
  • Package script bootstrap (lint, lint:fix, format, format:check)
  • Optional GitHub Actions workflow generation
  • doctor command for setup diagnostics
  • Automated smoke tests for CLI behavior

Installation

Global installation:

npm install -g linttity

Local usage without global install:

npx linttity --nodejs

Usage

linttity [options]

Options:

  • --nodejs or --njs: ESLint and Prettier config for Node.js + JavaScript
  • --nodets or --nts: ESLint and Prettier config for Node.js + TypeScript
  • --merge: merge existing files safely when possible
  • --overwrite: force overwrite generated files
  • --strict | --balanced | --relaxed: choose lint rule strictness
  • --package-manager <pm>: force package manager (npm|pnpm|yarn|bun)
  • --no-ci: skip generating .github/workflows/quality.yml
  • --skip-install: skip dependency installation (useful for tests)
  • --doctor: inspect the current project lint/format setup

Use only one option at a time.

Examples

Setup JavaScript preset:

linttity --nodejs --balanced --merge

Setup TypeScript preset:

linttity --nodets --strict --overwrite

Check installed version:

linttity --version

Run setup diagnostics:

linttity --doctor

Run interactive mode (no preset flag):

linttity

What each preset does

Node.js + JavaScript (--nodejs)

  1. Installs lint/format dependencies for JavaScript projects.
  2. Creates or overwrites eslint.config.cjs with a Node.js JavaScript preset.
  3. Creates or overwrites .prettierrc.json and .prettierignore.
  4. Adds scripts to package.json when missing.
  5. Optionally generates .github/workflows/quality.yml.

Node.js + TypeScript (--nodets)

  1. Installs lint/format dependencies for TypeScript projects.
  2. Creates or overwrites eslint.config.cjs with a Node.js TypeScript preset.
  3. Creates or overwrites .prettierrc.json and .prettierignore.
  4. Ensures tsconfig.json exists for TypeScript projects.
  5. Can normalize tsconfig.json when using --overwrite.
  6. Adds scripts to package.json when missing.
  7. Optionally generates .github/workflows/quality.yml.

Notes

  • The tool expects to run in the root of the target project.
  • If you omit preset flags, Linttity prompts you interactively.
  • --merge keeps existing files for non-safe merges (for example .eslintrc.cjs).
  • --overwrite replaces generated config files.

Local development

Install dependencies:

npm install

Build:

npm run build

Lint source files:

npm run lint

Format all files:

npm run format

Check formatting:

npm run format:check

Run automated tests:

npm test

Generate a release checklist (auto-next patch by default):

npm run release:checklist

Generate or overwrite a checklist for a specific version:

npm run release:checklist -- 1.1.3 --force

Run patch release workflow (bump patch + checklist + release dry-runs):

npm run release:patch

Note: release:checklist without version picks the next available patch checklist file. Note: release:patch updates package.json version as part of the workflow.

Quick smoke test

From the repository root:

node dist/index.js --version
node dist/index.js --doctor
node dist/index.js --nodejs --skip-install --no-ci
node dist/index.js --nodets --skip-install --no-ci

License

ISC