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

cobolx-2

v1.2.4

Published

[![Build](https://img.shields.io/badge/build-passing-brightgreen)](#development) [![Version](https://img.shields.io/badge/version-1.0.0-blue)](#release) [![VS Code Extension](https://img.shields.io/badge/vscode_extension-1.2.0-007acc)](#vs-code-extension)

Readme

COBOL-X

Build Version VS Code Extension License npm

COBOL-X is a modern COBOL-inspired programming platform for readable business logic, deterministic tooling, and backend-oriented workflows. This repository ships a TypeScript-based compiler toolchain, runtime, package manager layer, editor integration, and release validation flow.

Features

  • Working compiler pipeline with lexer, parser, AST, semantic analysis, HIR, MIR, optimization, and JavaScript backend emission
  • CLI workflows for build, run, check, test, bench, debug, dev, docs, code generation, migrations, visualization, deploy, and package management
  • CargoX manifest, dependency graph, lockfile, install, update, and local publish support
  • Runtime modules for scheduling, actors, events, distributed service discovery, observability, workflows, self-healing, and versioned state
  • Time-travel debugging support with trace recording and rewind playback
  • LSP and VS Code extension support for .cbx, .cob, and .col

Installation

npm install cobolx-2

Build from source

npm install
npm run build
npm run validate

Helper scripts are available in install.ps1 and install.sh.

Quick Start

node cli/cobolx-cli/dist/index.js new my-service api
cd my-service
node ..\cli\cobolx-cli\dist\index.js add ledger 1.2.3
node ..\cli\cobolx-cli\dist\index.js install
node ..\cli\cobolx-cli\dist\index.js run
node ..\cli\cobolx-cli\dist\index.js debug --rewind

COBOL-X Example

PROGRAM Payments

ENUM Result:
OK(value)
ERR(message)
END

FUNCTION add(left, right)
BEGIN
  RETURN left + right
END-FUNCTION

BEGIN
  LET subtotal = add(20, 22)
  DISPLAY subtotal
END

Repository Layout

cobolx/
├── compiler/
├── runtime/
├── stdlib/
├── cli/
├── cargox/
├── lsp/
├── vscode-extension/
├── formatter/
├── linter/
├── debugger/
├── profiler/
├── examples/
├── tests/
├── benchmarks/
├── docs/
├── LICENSE
├── CONTRIBUTING.md
├── CHANGELOG.md
└── .gitignore

CLI

  • cobolx build
  • cobolx run
  • cobolx check
  • cobolx test
  • cobolx bench
  • cobolx add <pkg> <version>
  • cobolx install
  • cobolx update
  • cobolx publish
  • cobolx dev
  • cobolx doc
  • cobolx repl
  • cobolx visualize
  • cobolx deploy

VS Code Extension

The publishable extension lives in vscode-extension. It includes language registration, syntax highlighting, snippets, LSP-backed diagnostics/hover/completions, and VS Code commands for run, build, REPL, and debug.

VS Code Marketplace:

Packaging flow:

cd vscode-extension
npm install -g vsce
npx @vscode/vsce package
vsce login Magnexis
vsce publish

Examples

Runnable example apps live under examples:

Screenshots:

  • docs/screenshots/cli-build.png
  • docs/screenshots/debug-rewind.png
  • docs/screenshots/vscode-extension.png

Development

npm install
npm run build
npm run check
npm run test
npm run validate

Further reading: