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

@systemfsoftware/oxlint-plugin-effect-kernel

v1.0.2

Published

Oxlint rules enforcing the *.kernel.ts cell — pure vocabulary-free behavior: no throw, no ambient impurity, no effect runtime, no domain imports, no junk-drawer names.

Readme

@systemfsoftware/oxlint-plugin-effect-kernel

npm license

An oxlint plugin for Effect-TS teams who want kernel files that stay pure, vocabulary-free behavior.

x @systemfsoftware/effect-kernel(kernel-no-ambient-impurity): fold.kernel.ts is forbidden.
  Expected: pure total computation with no ambient I/O, time, randomness, or environment access.
  Actual: Date.now().
  Fix: inject the value as a function argument or perform the side effect in an executor/adapter.

Found 0 warnings and 1 error.
pnpm add -D @systemfsoftware/oxlint-plugin-effect-kernel

The Problem

A *.kernel.ts is meant to be pure, domain-blind behavior: DSL combinators and generic utilities that any capability can reuse. Add a Date.now(), a throw, an Effect.runSync, an import of a .workflow file, or a junk-drawer name like utils.kernel.ts and it still compiles and still passes a standard lint config. The impurity only breaks the convention — until a consumer discovers the "generic" helper reads the clock.

These four rules make that convention executable. Every rule is inert on any file not named *.kernel.ts.

Quick Start

// oxlint.config.ts
import effectKernel from '@systemfsoftware/oxlint-plugin-effect-kernel'
import { defineConfig } from 'oxlint'

export default defineConfig({
  jsPlugins: ['@systemfsoftware/oxlint-plugin-effect-kernel'],
  rules: { ...effectKernel.configs.recommended.rules },
})
pnpm oxlint src

To adopt gradually, drop the spread and name rules individually as '@systemfsoftware/oxlint-plugin-effect-kernel/<rule>': 'warn'. Entries placed after the spread override it.

Rules

| Rule | Reports | | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | kernel-no-throw | Any throw — a kernel is total; failures must be returned as data | | kernel-no-ambient-impurity | Date.now, new Date, Date.parse, Date.UTC, performance.now, Math.random, crypto.randomUUID at any depth, those members destructured, plus process.env, console.*, fetch | | kernel-no-effect-runtime | A call that RUNS an Effect: Effect.runSync, Effect.runPromise, Effect.runFork, Effect.runCallback, Effect.runSyncExit, Effect.runPromiseExit, Run.run, Run.runSync, Runtime.runSync, Runtime.runPromise, Runtime.runFork. Constructing a description (Effect.gen, Effect.sync, pipe) stays pure and passes | | kernel-no-junk-drawer-name | A *.kernel.ts file whose base name or any path segment is util, utils, helper, common, shared, lib, core, or shell |

FAQ

Q: Installed, but nothing is reported. A: Every rule is filename-gated. Only *.kernel.ts files are examined.

Q: Why is import { Effect } from 'effect' allowed? A: Building an Effect description is pure — the kernel cell may import language/library primitives. Only running an effect is banned (kernel-no-effect-runtime).

Q: Why is kernel-no-junk-drawer-name a rule? A: utils.kernel.ts is the junk drawer wearing the suffix. KE6 of the kernel cell requires the file name to describe the generic behavior it provides.

Requirements

effect and TypeScript 5.0+ as peers. Rules read syntax only; no type information or tsconfig wiring needed.

Contributing

AGENTS.md

License

Apache 2.0