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

terminal-wallet

v1.4.4

Published

Manage your wallet, from the terminal

Downloads

8

Readme

terminal-wallet

Manage your wallet, from the terminal

Build Status

js-semistandard-style

node-4-and-above

Project page (for screenshots and explanation): terminal-wallet

Why?

Not a long time ago, I used a Google Sheet to manage my wallet, and as a matter of fact, it got tedious soon. Opening the browser, waiting for the page to load, and not being able to update stuff when there's no connectivity, all of that has led me to write this small CLI application, that can be used by anyone to manage their wallet right from the terminal.

CLI

$ npm install --global terminal-wallet
$ wallet --help

  Usage
    wallet debit <value> <purchase details> [-c <category>][-d <date in yyyy-mm-dd format>]
    wallet credit <value> <source details> [-c <category>][-d <date in yyyy-mm-dd format>]
    wallet export
    wallet clear

  Example
    wallet debit 10 'Breakfast, Coffee at Canteen' -c 'Food'

    ✔ Expense written to file!

    wallet credit 2000 'Salary for July 2015' -c 'Salary'

    ✔ Expense written to file!

    wallet export

    ✔ Your file can be found at
    /home/siddharth/.local/share/wallet/exported/export-2015-07-06.csv

    wallet clear

    ✔ Account closed. Expense details have been exported to :-
    /home/siddharth/.local/share/wallet/closed/closed-2015-07-06.csv
    Prepared a clean slate, for the next accounting period.

    wallet-open # or just wo
      This will open the wallet csv file in a less session, in a
      in a reverse chronographic order, which is convenient for viewing
      latest transactions

  Options
    -c Category   ; Default: ''          ; Optional
    -d yyyy-mm-dd ; Default: Today's date; Optional

CLI

wallet debit <value> <purchase details> [-c <category>] [-d date]

Made a purchase of <value> for <purchase details> under the category <category>
Add a debit entry to your account book. Date can be written as, yesterday, day before yesterday, etc. Check this list for supported date phrases.

wallet credit <value> <source details> [-c <category>]

<value> credited to the wallet from <source details> under the category <category>
Add a credit entry to your account book.

wallet export

Export the current state of your account book to a timestamped file.
(Path to the file will be printed when the command completes execution)

wallet clear

Close the account for the last period, and start with a clean slate.
The expenses will be exported to a timestamped file, and can be retrieved. (Typically, This operation can be used at the end of each month, or any period that is convenient for the user.)

wallet stash <value>

Remove money from wallet and stash it for later use.

wallet unstash <value>

Withdraw money from your stash, and credit it to the wallet.

wallet file_path

The filepath of the CSV file in which all the expenses are being stored.

wallet-open or just wo

Open the CSV file where everything is stored in a reverse chronological order which is convenient for viewing latest credit / debit transactions.

License

MIT © Siddharth Kannan