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 🙏

© 2024 – Pkg Stats / Ryan Hefner

reconcli-for-ynab

v1.1.0

Published

ReconCLI for YNAB - a CLI for quickly reconciling YNAB accounts

Downloads

27

Readme

ReconCLI for YNAB

Build Status NPM Version NPM Downloads Install Size

ReconCLI for YNAB - a CLI for quickly reconciling YNAB accounts

Works with YNAB

Features

  • Quickly reconcile your YNAB accounts from a terminal
  • Clear pending transactions and create a reconciliation transaction for the remaining difference, matching the YNAB app reconciliation flow
  • Fully local - your data stays between the YNAB API and your machine, no third party involved
  • Securely log in with a Personal Access Token
  • Retrieve the token from a source of your choice:
  • Coin counting: if you use a coin counter, input the counts and calculate the new account balance automatically

Getting started

Prerequisites

Installation

Use the Node.js package manager of your choice to install as global:

npm i -g reconcli-for-ynab

Or run directly with npx:

npx reconcli-for-ynab

Usage

Usage: reconcli-for-ynab [options]

ReconCLI for YNAB - a CLI for quickly reconciling YNAB accounts

Options:
  -m, --token-mode <mode>         Token retrieval mode: direct input or 1Password CLI (choices: "direct", "1password", default: "direct")
  -t, --token <token>             YNAB Personal Access Token (for direct input mode)
  --op-item <item>                1Password: name of item (default: "YNAB")
  --op-field-label <field-label>  1Password: label of field containing the token (default: "personal access token")
  -b, --budget <budget>           Name of the YNAB budget (leave empty if there is only one budget in the account, or if the default budget is set)
  -a, --account <account>         Name of the YNAB account (ignored if there is only one account in the budget)
  -i, --input <mode>              Amount input mode: simple number, or coin counts for cash (choices: "number", "euro-coins", "usd-coins", "gbp-coins", default: "number")
  -h, --help                      display help for command

Upcoming features

  • Non-interactive mode for integrating into scripts
  • Add missing transactions during reconciliation
  • Support for more token retrieval methods:
    • Secure keyboard input
    • MacOS Keychain
    • ...

Built with

Acknowledgements

Inspired by Reconcile for YNAB.

Contributing

Issues and pull requests are welcome.

Local development

npm ci         # install dependencies
npm run start  # run with ts-node once
npm run watch  # run with ts-node and nodemon, restarting for *.ts file changes
npm test       # run tests
npm run build  # build into /dist
npm run local  # builds and installs the package on the local machine, then runs the binary