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

ai-italian-deslop

v0.1.0

Published

AI Italian deslopification — keep your Italian text human

Readme

ai-italian-deslop

AI Italian deslopification — keep your Italian text human.

npm CI License: MIT

A linter that detects and fixes the hallmarks of AI-generated Italian text: wrong accents, cinematic punctuation, formulaic phrases, and robotic syntax structures.

Install

npm install -g ai-italian-deslop

Usage

# Check files for slop
ideslop check README.md
ideslop check "docs/**/*.md"

# Auto-fix safe issues (accents, double hyphens, ellipsis)
ideslop check --fix README.md

# Fix in-place with backup
ideslop fix README.md

# Inject anti-slop rules into your AI agent config
ideslop init                    # auto-detects CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules
ideslop init --agent claude     # CLAUDE.md only
ideslop init --dry-run          # preview without modifying

# List available rules
ideslop rules
ideslop rules --category orthography
ideslop rules orthography/accented-words

What it detects

| Category | Examples | |---|---| | Orthography | percheperché, piupiù, po', un'altroun altro | | Punctuation | -- as punctuation, dramatic ..., staccato sentences ("Non è X. È Y. È tutto.") | | Lexicon | "vale la pena notare", "tuffiamoci", "in sintesi", "è fondamentale capire che" (75+ phrases) | | Structure | innanzitutto/inoltre/infine skeleton, parallel clichés, list overuse |

Configuration

Create .italiandesloprc.json in your project root:

{
  "rules": {
    "structure/list-overuse": "off",
    "lexicon/macaronic-anglicisms": "error"
  },
  "lexicon": {
    "custom-slop-phrases": ["a mio avviso", "come si suol dire"]
  }
}

Adding slop phrases

Edit node_modules/ai-italian-deslop/dist/rules/lexicon/data/slop-phrases.json — or better, open a PR to add them to the main list. No TypeScript required, just JSON.

CI Integration

# .github/workflows/lint-italian.yml
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
  with: { node-version: 20 }
- run: npx ai-italian-deslop check "**/*.md" --format github

Pre-commit (lefthook)

pre-commit:
  commands:
    italian-deslop:
      glob: "*.md"
      run: ideslop check --fix {staged_files}

Claude Code hook

Add to .claude/settings.json:

{
  "hooks": {
    "PostToolUse": [{
      "matcher": "Write|Edit",
      "hooks": [{
        "type": "command",
        "command": "ideslop check --fix $CLAUDE_TOOL_OUTPUT_PATH 2>/dev/null || true"
      }]
    }]
  }
}

License

MIT © Lorenzo Puricelli