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

@classytic/fin-io

v0.1.0

Published

Financial data interchange — parse and emit OFX, CAMT.053, MT940, CSV, IIF, Xero, Plaid into one canonical shape. Ledger-agnostic, ESM-first, tree-shakable, streaming-capable.

Readme

@classytic/fin-io

Financial data interchange — parse and emit OFX, CAMT.053, MT940, CSV, IIF, Xero, Plaid into one canonical shape.

Status: scaffolded, not implemented. See PLAN.md for the architecture, scope, format research, and phased delivery.

What this is

A standalone, ledger-agnostic TypeScript package for parsing financial file formats into a single normalized canonical shape (CanonicalStatement, CanonicalTransaction, CanonicalInvoice, CanonicalContact, CanonicalJournalEntry). Modern, ESM-first, tree-shakable via subpath exports, streaming-capable for large corporate files, mongokit-friendly via an optional adapter.

Who it's for

  • @classytic/ledger consumers — pair with @classytic/ledger/sync (subpath, planned for ledger 0.8.0) to map canonical shapes into JournalEntrys and post them through your existing repositories
  • TaxCycle-style apps — parse statements without ever touching an accounting engine
  • Migration tools — read QuickBooks IIF, Xero CSV, or live bank exports and re-emit them in any other format
  • Bookkeeping / treasury / expense apps — ingest bank data with one consistent vocabulary across formats

Quickstart (when Phase 1 ships)

import { parseOfx } from '@classytic/fin-io/ofx';

const result = parseOfx(buffer);
if (result.ok) {
  for (const stmt of result.data) {
    console.log(stmt.account.iban, stmt.transactions.length);
  }
}

With the optional mongokit adapter:

import { parseOfx } from '@classytic/fin-io/ofx';
import { createTransactionImporter } from '@classytic/fin-io/adapters/mongokit';

const importer = createTransactionImporter({ db, collection: 'bank_transactions' });
const parsed = parseOfx(buffer);
if (parsed.ok) {
  await importer.import({ organizationId, accountId: 'acc_1', statement: parsed.data[0] });
}

With @classytic/ledger integration:

import { parseOfx } from '@classytic/fin-io/ofx';
import { wireImport, ofxBankMapper } from '@classytic/ledger/sync';

const parsed = parseOfx(buffer);
if (parsed.ok) {
  const importer = wireImport({
    source: parsed.data,
    mapper: ofxBankMapper({ bankAccountCode: '1010', defaultCounterAccountCode: '5900', organizationId }),
    journalEntries,
  });
  await importer.run();
}

Subpath exports (when implemented)

| Import | Purpose | |---|---| | @classytic/fin-io | Canonical types + Money/date helpers | | @classytic/fin-io/ofx | OFX 1.x SGML + 2.x XML + QFX | | @classytic/fin-io/camt053 | ISO 20022 CAMT.053 (buffer + streaming) | | @classytic/fin-io/mt940 | SWIFT MT940 | | @classytic/fin-io/csv | Configurable CSV with bank presets | | @classytic/fin-io/iif | QuickBooks Desktop IIF | | @classytic/fin-io/xero | Xero CSV templates | | @classytic/fin-io/plaid | Plaid Transaction JSON mapper | | @classytic/fin-io/schemas | Optional Zod schemas (peer dep) | | @classytic/fin-io/adapters/mongokit | Optional mongokit upsert helper (peer dep) |

What it will NOT do

  • No double-entry / accounting logic — that's @classytic/ledger
  • No tax computation — that's packages/tax/
  • No live API connectors (QBO, Xero, Plaid Link) — those become sibling packages @classytic/fin-io-{qbo,xero,plaid} with their own SDK deps
  • No payment file generation (PAIN.001, NACHA) — future @classytic/payments-io
  • No PDF / OCR

See PLAN.md for the complete out-of-scope list and the reasoning.