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

@ajunge/banconexion

v1.0.3

Published

CLI for Banco de Chile business portal automation

Downloads

353

Readme

Banconexion

CLI for Banco de Chile's business portal automation using Playwright.

Setup

Prerequisites

Install

npm install
npx playwright install chromium

Configure credentials

The CLI needs BANCO_USERNAME and BANCO_PASSWORD in a .env file.

Option A: Manual

cp .env.tpl .env
# Edit .env with your RUT and password

Option B: 1Password CLI

The .env.tpl file contains 1Password secret references that point to the Bancochile Banconexion 2.0 item in the Private vault. Run:

npm run env

This uses op inject to resolve the references and write the .env file.

Usage

node cli.js <command> [options]

Commands

transfer — Send an express transfer

node cli.js transfer --to <beneficiary> --amount <amount> [options]

| Option | Description | | --------------------- | -------------------------------------------------------- | | --to <name> | Beneficiary name (as saved in bank) (required) | | --amount <amount> | Transfer amount in CLP (required) | | --from <account> | Source account number or alias | | --account <account> | Beneficiary account filter (for multi-account contacts) | | --message <text> | Transfer description | | --headless | Run without opening a browser window | | --debug | Save screenshots at each step (debug-*.png) |

Example:

node cli.js transfer --to "Juan Perez" --amount 50000 --from "Cuenta Corriente" --message "Pago servicio"

The transfer requires Mi Pass approval on your phone before completing.

balances — Show account and credit card balances

node cli.js balances [options]

| Option | Description | | ------------ | -------------------------------------- | | --headless | Run without opening a browser window | | --debug | Save screenshots at each step | | --json | Output as JSON instead of a table |

Example:

node cli.js balances --headless --json

Retrieves balances from all accounts (cuenta corriente) and credit cards (national and international).

transactions — Show transactions for an account or credit card

node cli.js transactions [--account <number> | --card <last4>] [options]

If neither --account nor --card is given, the currently selected account on the portal is used. The chosen account number is always echoed in the output.

| Option | Description | | ---------------------- | --------------------------------------------------------------------------------- | | --account <number> | Checking account number (e.g. 00-001-70743-06). Optional — defaults to current. | | --card <last4> | Credit card last 4 digits | | --billed | Credit cards only: show billed transactions instead of unbilled | | --from <YYYY-MM-DD> | Start date (must be combined with --to) | | --to <YYYY-MM-DD> | End date (must be combined with --from) | | --headless | Run without opening a browser window | | --debug | Save screenshots at each step | | --json | Output as JSON instead of a table |

Examples:

node cli.js transactions --from 2026-05-01 --to 2026-05-06
node cli.js transactions --account 00-847-02492-10 --from 2026-04-01 --to 2026-04-30
node cli.js transactions --card 1234 --json
node cli.js transactions --card 1234 --billed --from 2026-03-01 --to 2026-03-31