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

bloktor-config-strict

v0.1.0

Published

Official strict preset config for Bloktor.

Readme

bloktor-config-strict

Official strict rule preset for Bloktor. Elevates all 39 built-in rules to error severity and uses tighter thresholds for size and complexity limits.

Usage

import { defineConfig } from "bloktor";
import strict from "bloktor-config-strict";

export default defineConfig({
  space: 12345,
  region: "eu",
  extends: [strict]
});

Rules

| Rule | Severity | Non-default options | |---|---|---| | schema/no-orphan-bloks | error | | | schema/no-untyped-bloks | error | | | schema/no-deprecated-fields | error | | | schema/require-field-description | error | | | schema/max-fields | error | max: 20 | | schema/no-redundant-fields | error | | | hierarchy/no-circular-refs | error | | | hierarchy/max-nesting-depth | error | max: 3 | | hierarchy/require-root | error | | | hierarchy/no-isolated-nestables | error | | | naming/component-convention | error | convention: "snake_case" | | naming/field-convention | error | convention: "snake_case" | | naming/no-generic-names | error | | | naming/require-display-name | error | | | config/require-preview-url | error | | | config/require-workflow | error | | | config/no-open-permissions | error | | | config/require-languages | error | | | config/no-empty-datasources | error | | | config/require-datasource-dimension | error | | | config/no-unconstrained-assets | error | | | config/require-richtext-toolbar | error | | | config/no-unrestricted-richtext | error | | | best-practice/require-blok-group | error | | | best-practice/no-empty-groups | error | | | best-practice/no-duplicate-display-names | error | | | best-practice/require-tab-structure | error | minFields: 8 | | best-practice/require-blok-min-max | error | defaultMin: 0, defaultMax: 6 | | best-practice/no-single-field-bloks | error | | | best-practice/prefer-nestable-for-reuse | error | minReferences: 2 | | best-practice/no-text-for-richtext | error | | | best-practice/group-related-fields | error | minPrefixFields: 2 | | drift/cross-space-components | error | | | drift/cross-space-datasources | error | | | drift/cross-space-roles | error | | | drift/cross-space-workflows | error | | | drift/schema-git-sync | error | | | drift/types-schema-sync | error | | | drift/require-migration-for-breaking | error | |

Differences from recommended

The strict preset makes four key changes beyond elevating all severities to error:

| Rule | Recommended | Strict | |---|---|---| | schema/max-fields | max: 25 | max: 20 | | hierarchy/max-nesting-depth | max: 4 | max: 3 | | best-practice/require-tab-structure | minFields: 12 | minFields: 8 | | best-practice/require-blok-min-max | defaultMax: 10 | defaultMax: 6 |

Overriding rules

export default defineConfig({
  extends: [strict],
  rules: {
    "schema/max-fields": ["error", { max: 15 }],
    "best-practice/require-tab-structure": "off"
  }
});

See the Rule Reference for full option descriptions.