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

okf-validator

v1.0.0

Published

OKF Payment Safety Bundle Validator for PCI DSS v4 Compliance

Readme

Open Knowledge Format (OKF) - Safe Payments Framework

OKF Payment Safety Bundle Validation License: MIT Node.js Version

An open-source, vendor-neutral framework leveraging the Open Knowledge Format (OKF) to standardize payment security standards, digital threat incidents, and operational runbooks into an agent-readable and programmatically verifiable knowledge graph.


📐 Architecture & System Overview

%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#0d1117', 'edgeLabelBackground':'#161b22', 'tertiaryColor': '#161b22', 'primaryTextColor': '#c9d1d9', 'lineColor': '#c9d1d9', 'nodeBorder': '#30363d', 'clusterBorder': '#30363d', 'clusterBkg': '#0d1117' }}}%%

graph TD
    Developer[("Developer<br/>(Full Stack / Security)")]
    
    subgraph BundleRoot ["/payment-safety-bundle (OKF Knowledge Base)"]
        direction TB
        
        subgraph ConceptsDir ["/concepts (Semantic Graph)"]
            direction TB
            
            subgraph StandardsDir ["/standards (Mandatory Specs)"]
                PCIv4["pci-dss-v4-tokenization.md<br/>(YAML: type: standard)"]
                TLS13["tls-13-gateway-enforcement.md<br/>(YAML: type: standard)"]
            end
            
            subgraph IncidentsDir ["/incidents (Threat Telemetry)"]
                IncidentRAM["incident-2026-041-memory-scraping.md<br/>(YAML: type: incident)"]
            end
            
            subgraph RunbooksDir ["/runbooks (Actionable Guides)"]
                CheckoutSOP["safe-checkout-integration.md<br/>(YAML: type: runbook)"]
            end
        end
    end
    
    subgraph CICDFlow ["GitHub Actions CI/CD Pipeline (.github/workflows/okf-validate.yml)"]
        direction LR
        
        Trigger[Push / PR Event]
        
        subgraph RunnerEnv ["Ubuntu Latest Runner"]
            direction TB
            CheckoutNode[Checkout & Setup Node.js]
            InstallDeps[Install Dependencies]
            BuildValidator[Build TS Validator CLI]
            
            subgraph ValidationStage ["Execution Stage: npx okf-validator"]
                direction TB
                Phase1[Phase 1:<br/>Zod Schema<br/>Frontmatter Check]
                Phase2[Phase 2:<br/>Internal Link<br/>Integrity Check]
                Phase3[Phase 3:<br/>PCI DSS v4<br/>Guardrail Check]
                
                Phase1 ==> Phase2 ==> Phase3
            end
        end
        
        PipelineSuccess{{"Green Build Badge<br/>(OKF Compliant)"}}
        PipelineFailure{{"Red Build Badge<br/>(Validation Failed)"}}
    end
    
    Developer == "Pushes Changes" ==> Trigger
    Trigger ==> CheckoutNode
    CheckoutNode ==> InstallDeps ==> BuildValidator ==> ValidationStage
    
    ValidationStage -. "Scans & Validates" .-> BundleRoot
    
    ValidationStage ==>|Success| PipelineSuccess
    ValidationStage ==>|Failure| PipelineFailure
    
    CheckoutSOP -. "Refers to" .-> PCIv4
    IncidentRAM -. "Remediated by" .-> CheckoutSOP
    PCIv4 -. "Mitigates Threat in" .-> IncidentRAM