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

@blacklake-systems/surface-cli

v0.2.16

Published

BlackLake Surface — control layer for AI actions (cloud or local)

Readme

@blacklake-systems/surface-cli

⚠️ Deprecated. This package is now part of the unified blacklake npm package. Install blacklake and use npx blacklake serve for the same local API + dashboard + SQLite. See the migration doc for sed-style search-and-replace examples. This package will continue to ship as a thin re-export through the next two minor versions.

BlackLake — AI control infrastructure and analytics. This package historically shipped the local CLI; it now re-exports through the unified blacklake package.

Surface is the control layer for AI actions. Use the CLI when Codex, Claude, Cursor, CI jobs, backend agents, or shell commands are about to touch real systems and you want the same policy, approval, cost, and signed-receipt model locally.

Install

npx @blacklake-systems/surface-cli

This starts the local Surface API and console, backed by ~/.blacklake/blacklake.db. Local is the fastest private first run; the hosted console is for shared policies, approvals, budgets, exports, and team visibility.

Commands

blacklake
blacklake --help
blacklake --version
blacklake mcp
blacklake blx <cmd...>
blacklake demo depth-with-approval

MCP client integration

For cloud users, point MCP-compatible tools at the hosted gateway:

{
  "mcpServers": {
    "blacklake": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://api.blacklake.systems/mcp",
        "--header",
        "Authorization: Bearer YOUR_BL_USER_KEY"
      ]
    }
  }
}

Register real MCP services in the console first, for example:

  • cloudflare-docs
  • engineering-github-repositories
  • product-linear-workspace
  • company-notion-workspace
  • jira-confluence-workspace

For local users, run blacklake mcp as a stdio bridge from your MCP client and put upstream MCP services in ~/.blacklake/mcp-config.json.

Shell command governance

Use blx when an AI-assisted shell workflow is about to run a consequential command:

blacklake blx git push origin main
blacklake blx gh pr merge 123 --squash
blacklake blx gcloud run deploy api
blacklake blx terraform apply
blacklake blx kubectl apply -f deploy.yaml

Read-only/build commands are allowed through. Write/deploy/destructive commands are classified and governed before execution.

Demo

blacklake demo depth-with-approval

Creates a small Depth workflow that pauses on a Surface approval.

Product boundaries

BlackLake controls the paths you route through it: MCP gateway, SDK, GitHub Action, blx, cloud audit ingest, and Depth workflows. It does not invisibly intercept every process on the machine or replace cloud IAM.