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

@fire-zu/billclaw-cli

v0.1.3

Published

BillClaw CLI - Standalone command-line interface for financial data management

Readme

@fire-zu/billclaw-cli

Standalone command-line interface for BillClaw financial data management.

Overview

The CLI package provides a command-line tool for managing financial data without requiring any AI framework. It includes:

  • Interactive setup wizard for connecting accounts
  • Manual transaction sync from Plaid and Gmail
  • Account status monitoring
  • Configuration management
  • Export to Beancount and Ledger formats
  • Import from CSV, OFX, and QFX files

Installation

Global Installation

npm install -g @fire-zu/billclaw-cli

Local Installation

npm install @fire-zu/billclaw-cli
npx billclaw

Quick Start

# Interactive setup wizard
billclaw setup

# Sync all accounts
billclaw sync

# Sync specific account
billclaw sync --account plaid-123

# Show account status
billclaw status

# Export transactions
billclaw export --format beancount --output transactions.beancount

Commands

setup

Interactive setup wizard for connecting accounts.

billclaw setup

Supports:

  • Plaid (bank accounts via Plaid Link)
  • Gmail (email bills)
  • GoCardless (European open banking)

sync

Manually trigger transaction sync.

# Sync all accounts
billclaw sync

# Sync specific account
billclaw sync --account <id>

# Sync all (explicit)
billclaw sync --all

status

Show connection status and recent sync results.

billclaw status

Displays:

  • Account ID and type
  • Connection status
  • Last sync time

config

Manage plugin configuration.

# List all configuration
billclaw config --list

# Get specific value
billclaw config --key storage.path

# Set value
billclaw config --key storage.format --value json

export

Export transactions to Beancount or Ledger format.

# Export to Beancount
billclaw export --format beancount --output transactions.beancount

# Export specific account
billclaw export --account plaid-123 --format ledger

# Export specific period
billclaw export --year 2024 --month 1

import

Import transactions from external files.

# Import from CSV
billclaw import transactions.csv

# Import from OFX
billclaw import statement.ofx --account checking-123

Configuration

Configuration is stored in ~/.billclaw/config.json:

{
  "accounts": [],
  "webhooks": [],
  "storage": {
    "path": "~/.billclaw",
    "format": "json",
    "encryption": { "enabled": false }
  },
  "sync": {
    "defaultFrequency": "daily",
    "maxRetries": 3,
    "retryOnFailure": true
  },
  "plaid": {
    "environment": "sandbox"
  }
}

Data Storage

By default, data is stored in ~/.billclaw/:

~/.billclaw/
├── config.json           # Configuration
├── data/                 # Transaction storage
│   ├── transactions/     # Per-account transactions
│   └── accounts/         # Account metadata
└── exports/              # Exported files

Exit Codes

  • 0 - Success
  • 1 - Error occurred

Examples

Complete Workflow

# 1. Setup accounts
billclaw setup

# 2. Sync transactions
billclaw sync

# 3. Check status
billclaw status

# 4. Export to Beancount
billclaw export --format beancount -o main.beancount

Monthly Accounting Export

# Export last month's transactions
billclaw export   --format beancount   --year 2024   --month 1   --output january.beancount

License

MIT