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

spellint

v1.0.0

Published

A CLI tool to check spelling and Markdown formatting in .md files

Readme

Spellint

Spellint is a sleek, fast, and developer-friendly command-line tool that checks spelling and Markdown formatting in .md files. Whether you're a developer writing documentation, a technical writer polishing content, or a contributor reviewing PRs, Spellint ensures your Markdown is clean and typo-free — all with minimal setup.

Perfect for local development and CI/CD pipelines, Spellint seamlessly blends into your workflow, catching spelling mistakes and style issues before they hit production.


🚀 Features

  • Smart Spelling Checks: Detects spelling mistakes in natural language text while ignoring code blocks and inline code.
  • 📄 Markdown Linting: Ensures consistent formatting — headings, lists, spacing, and more.
  • ⚙️ CI/CD Friendly: Exits with a non-zero code on issues, perfect for automated build pipelines.
  • Blazing Fast: Optimized to scan large directories without slowing you down.
  • 🧩 Extensible Architecture: Planned support for custom dictionaries and configuration files.

📦 Installation

Install globally via NPM:

npm install -g spellint

Or set it up locally:

git clone https://github.com/Aryan-MP/spellint.git
cd spellint
npm install
npm link

🛠 Usage

Run Spellint on a specific Markdown file or an entire directory:

spellint [path]
  • path — optional path to a file or folder (defaults to current directory .).

Examples

# Check a single file
spellint README.md

# Check all markdown files in the docs directory
spellint docs/

Sample Output

docs/guide.md:
  Line 3, Col 8: Spelling error: "paragrap"
    Suggestions: paragraph, paragraphs
  Line 10, Col 2: Formatting error: Invalid heading level (use #, ##, etc.)

Linting Errors and Spell Check Separation

To improve readability, Spellint separates the linting errors and spelling mistakes clearly, so you can easily locate and fix issues:

  • Linting Errors: Are shown with their rule codes (e.g., MD022) and descriptions (e.g., "Headings should be surrounded by blank lines").
  • Spelling Errors: Display the word with its suggested corrections.

⚙️ Configuration

Spellint uses default English spelling and a base set of Markdown linting rules.

Coming Soon:

  • .spellintrc configuration file
  • Custom dictionaries for technical terms (e.g., GitHub, Kubernetes)
  • Toggle rules for formatting (headings, lists, spacing, etc.)
  • Checking indentations and formatting in inline codes.

Advanced users can also modify lib/lint.js to tweak rules directly.


🔁 GitHub Actions Integration

Automate checks on pull requests by adding the following workflow to .github/workflows/spellint.yml:

name: Spellint Check
on:
  pull_request:
    branches: [main]
jobs:
  spellint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '18'
      - run: npm install -g spellint
      - run: spellint .

This ensures that documentation issues are caught before merging.


🤝 Contributing

We welcome contributions!

  1. Fork the repo
  2. Create a feature branch: git checkout -b feature/my-feature
  3. Commit your changes: git commit -m "Add my feature"
  4. Push your branch: git push origin feature/my-feature
  5. Open a pull request

Make sure to describe your changes clearly and align with the project’s direction.


🧭 Roadmap

  • [ ] Custom dictionary support
  • [ ] Config file support via .spellintrc
  • [ ] GitHub Actions error annotations
  • [ ] Language localization support

📜 License

Spellint is licensed under the MIT License.


📬 Contact & Feedback

Have suggestions or feedback? Feel free to:

  • Open an issue on GitHub
  • Reach out to the maintainers
  • Star the repo if you find it helpful!

Happy documenting — and may your Markdown stay lint-free! ✨