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

@pensar/ci

v2.6.0

Published

Pensar CI - Automated continuous pentesting integrated with your CI/CD pipeline

Readme

@pensar/ci

Automated security pentesting for your CI/CD pipeline.

Installation

npm install @pensar/ci

Usage

# Run a security pentest (custom test — the AI derives objectives from the diff)
pensar pentest --project <project-id>

# Run the AI endpoint-selection test instead of a custom test
pensar pentest --project <project-id> --test-type endpoint-selection

# Run a quick pentest (highest-risk endpoints only, ~15 mins)
pensar pentest --project <project-id> --quick

# Check pentest status
pensar status <scan-id>

Test types

--test-type controls how the pentest is scoped against the code changes since the last scan:

  • custom (default): the agent reads the git diff, derives pentest objectives from what changed, and runs an application-scoped custom test — the same kind of test as the "Custom Test" option in the console /pentests/new page, but with objectives generated automatically from the diff.
  • endpoint-selection: the agent picks the endpoints affected by the diff and runs a per-endpoint test against them.

Options

| Option | Description | | ------------------- | --------------------------------------------------------------------------- | | -p, --project | Project ID (or set PENSAR_PROJECT_ID) | | -b, --branch | Branch to pentest | | -l, --level | Pentest level: priority or full (default: full) | | -t, --test-type | Test scoping: custom (default) or endpoint-selection (or set PENSAR_TEST_TYPE) | | --quick | Shorthand for --level priority. Tests highest-risk endpoints only (~15 mins) | | -e, --environment | Target environment: dev, staging, or production | | -c, --commit | Commit SHA (auto-detected from CI env vars, or set PENSAR_COMMIT_SHA) | | -s, --severity | Minimum severity threshold to error on (or set PENSAR_ERROR_SEVERITY_THRESHOLD) | | --no-wait | Don't wait for pentest to complete |

Environment Variables

| Variable | Description | | -------------------------------- | ------------------------------------------------------ | | PENSAR_API_KEY | Your Pensar API key | | PENSAR_PROJECT_ID | Your Pensar project ID | | PENSAR_ENVIRONMENT | Target environment (dev, staging, or production) | | PENSAR_COMMIT_SHA | Commit SHA override (auto-detected from GITHUB_SHA, CI_COMMIT_SHA, BITBUCKET_COMMIT) | | PENSAR_TEST_TYPE | Test scoping: custom (default) or endpoint-selection | | PENSAR_ERROR_SEVERITY_THRESHOLD| Minimum severity to trigger a non-zero exit (critical, high, medium, low, info) |

CI/CD Integration

See examples/ for ready-to-use workflows:

  • GitHub Actions — pentest on PR, push, or after deploy
  • GitLab CI — merge request and pipeline triggers

License

MIT