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

@sematico/anti-slop

v0.1.0

Published

Opinionated Oxlint rules that reject low-evidence TypeScript and JavaScript patterns.

Readme

@sematico/anti-slop

An npm distribution of anti-slop, a small set of Oxlint JavaScript-plugin rules for rejecting low-evidence and low-signal TypeScript and JavaScript patterns.

Install

npm install --save-dev oxlint @sematico/anti-slop

This package supports Node.js 22 and newer. The plugin API is currently alpha, so compatibility is described as tested support rather than a semver promise. The published package is tested with Oxlint 1.78.0 and @oxlint/plugins 1.78.0.

Configure the generic rules

Register the package specifier in your Oxlint configuration and enable the rules you want:

{
  "jsPlugins": ["@sematico/anti-slop"],
  "rules": {
    "anti-slop/no-unknown-parameters": "error",
    "anti-slop/no-unknown-returns": "error"
  }
}

The root export contains these 15 rules:

  • no-chained-type-assertions
  • no-conditional-empty-object-spread
  • no-known-value-widening
  • no-module-mocking
  • no-object-parameters
  • no-reflect-apply
  • no-reflect-get
  • no-runtime-typeof
  • no-shape-in-symbol-names
  • no-unknown-parameters
  • no-unknown-returns
  • no-unknown-type-aliases
  • no-unsafe-dictionary-type
  • no-widen-then-assert
  • require-safety-comment-for-type-assertion

Opt in to the Effect rule

The Effect policy is a separate export and is never enabled by registering the root package:

{
  "jsPlugins": ["@sematico/anti-slop", "@sematico/anti-slop/effect"],
  "rules": {
    "anti-slop/no-unknown-parameters": "error",
    "anti-slop-effect/no-service-constructor-imports": "error"
  }
}

@sematico/anti-slop/effect contains only no-service-constructor-imports.

Release

The npm namespace is bootstrapped once with an empty public 0.0.0 package; npm trusted publishing cannot create a new package. The first real release is 0.1.0 and is published by the GitHub Actions workflow. From a clean checkout, run npm run verify and npm pack --dry-run --json, then configure npm trusted publishing for the exact GitHub repository and workflow below:

npm trust github @sematico/anti-slop \
  --file publish-npm.yml \
  --repo alessandrotesoro/anti-slop \
  --env npm \
  --allow-publish

Configure the GitHub environment named npm according to your repository plan. Push a matching v<version> tag (the first one is v0.1.0) to run .github/workflows/publish-npm.yml. The workflow publishes with npm OIDC provenance and verifies that the version is visible in the public registry.

Attribution and updates

This package preserves the upstream MIT notice in LICENSE. The vendored commit and manual refresh procedure are recorded in UPSTREAM.md. Rule behavior is intentionally kept aligned with that snapshot; upstream refreshes should be reviewed rather than fetched at install or lint time.