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

@absurd-engineering/enforcer

v0.0.3

Published

A utility for auditing and remediating AWS S3 Public Access Block configurations.

Readme

enforcer

A utility for auditing and remediating AWS S3 Public Access Block configurations.

oclif Version Downloads/week

Getting Started

Enforcer uses the AWS Javascript SDK internally and assumes all users of the tool have configured CLI and/or API access to AWS. If you don't have a locally configured AWS profile, configure one before using this tool: Configuration and credential file settings in the AWS CLI

Enforcer is otherwise self-contained and only requires connectivity to AWS APIs to function.

Installation

You may install Enforcer with your preferred package manager or use pnpm dlx to run Enforcer without persisting the tool to your system.

npm

$ npm install -g @absurd-engineering/enforcer
$ enforcer help

pnpm

$ pnpm dlx @absurd-engineering/enforcer help

Usage

$ npm install -g @absurd-engineering/enforcer
$ enforcer COMMAND
running command...
$ enforcer (--version)
@absurd-engineering/enforcer/0.0.3 linux-x64 node-v24.5.0
$ enforcer --help [COMMAND]
USAGE
  $ enforcer COMMAND
...

Commands

enforcer audit

Audit AWS S3 public access blocks

USAGE
  $ enforcer audit --profile <value> [--json] [--bucket <value>] [--fix]

AUDIT FLAGS
  --bucket=<value>  Scope actions to a specific bucket
  --fix             Overwrite public access blocks to disallow public access

GLOBAL FLAGS
  --json             Format output as json.
  --profile=<value>  (required) AWS profile to use for authentication against AWS

DESCRIPTION
  Audit AWS S3 public access blocks

EXAMPLES
  $ enforcer audit --profile default

  $ enforcer audit --bucket my-bucket --profile default

  $ enforcer audit --fix --profile default

FLAG DESCRIPTIONS
  --bucket=<value>  Scope actions to a specific bucket

    If not provided, actions will be scoped to all buckets

  --fix  Overwrite public access blocks to disallow public access

    Update public access blocks for all buckets to disallow public access.
    See: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html#access-control-bl
    ock-public-access-options

  --profile=<value>  AWS profile to use for authentication against AWS

    See https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html#cli-configure-files-using-profiles

See code: src/commands/audit.ts

enforcer help [COMMAND]

Display help for enforcer.

USAGE
  $ enforcer help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for enforcer.

See code: @oclif/plugin-help

Testing and Development

To test or contribute to this project:

  1. Install fnm or your preferred Node version manager
  2. Install and use the version of NodeJS documented in .node-version
  3. Install pnpm
    • Optionally, you may install pnpm using Corepack if available in your environment
  4. Run pnpm install from the root of this project directory
  5. Run pnpm test to execute unit tests

Running a development build

Enforcer uses the excellent oclif CLI framework to provide basic functionality for this tool. oclif provides multiple entry points to Enforcer at bin/dev and bin/run:

  • node bin/dev.js will execute local code from this project
  • node bin/run.js will execute the results of pnpm build stored in the ./dist directory

You can use both of these entry points to manually test or experiment with the Enforcer CLI as needed.

Design

See DESIGN.md