JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 151
  • Score
    100M100P100Q111312F
  • License MIT

Wasm module for dprint-plugin-beancount.

Package Exports

  • @trim21/dprint-plugin-beancount
  • @trim21/dprint-plugin-beancount/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@trim21/dprint-plugin-beancount) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

beancount-format

Rust formatter for Beancount files with a reusable core library, a small CLI, and optional Python bindings.

NPM / jsDelivr

The published package includes plugin.wasm for browser/CDN usage.

Crates

  • crates/beancount-formatter: core library containing the formatter and configuration.
  • crates/beancount-formatter-cli: CLI wrapper around the formatter library.
  • crates/beancount-formatter-py: Python bindings built with PyO3/maturin.

Development

  • Build CLI: cargo build -p beancount-formatter-cli --release
  • Run tests: cargo test --workspace
  • Format code: cargo fmt --all