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

ledger-analytics

v0.1.9-a

Published

Analytics/Visualization tool for ledger-cli. Tested on Node v9.11.1.

Downloads

17

Readme

Ledger Analytics Build Status

Analytics/Visualization tool for ledger-cli. Tested on Node v9.11.1.

Installation and Usage

Make sure npm and ledger-cli is installed (npm --help and ledger --help should display some information if its installed).

npm install -g ledger-analytics

ledger-analytics -f <your journal file> [extra arguments for ledger]

# Examples
# ledger-analytics -f main.journal
# ledger-analytics -f main.journal --input-date-format "%d.%m.%y"

Navigate to http://127.0.0.1:3000 in your browser

Query Examples

Don't insert the $ character.

You can query multiple accounts by separating each account with a space (e.g. assets liabilities), or exclude certain accounts by adding and not <account> in front of them (e.g. expenses and not expenses:food).

Overview

$ expenses:food expenses:flights
$ assets and not assets:super and not assets:stock
$ expenses and not expenses:travel

Comparison

$ income,expenses,assets:stocks
$ expenses and not expenses:travel,income

Growth

$ assets:stocks assets:bank1
$ assets:stocks and not assets:crypto

Preview

Releases

0.1.9a (2018/09/04)

  • Fixed extraArgs bug (thanks to rohieb)
    • TODO: Write tests to accomodate for that

0.1.8a (2018/08/30)

  • Updated frontend

0.1.7a (2018/08/30)

  • Fixed growth bug #2
    • Who knew 0 || 1 gives 1?
    • undefined || 0 gives 0 too
    • Thanks JS

0.1.6a (2018/08/30)

  • Fixed growth chart bug
    • Asset is 0 if account is referenced recently (but was referenced some time ago)

0.1.5a (2018/08/30)

  • Added ability to pass extra arguments to ledger-cli
  • Timeline
    • Fixed timeline view range to exact date
    • Set date bug
  • Refactored analyze.js to ledger-api.js
    • Made ledger-api object composable :)

0.1.4a (2018/08/29)

  • Growth Chart
    • Fixed position of tooltip hover
    • Added total amont to tooltip
  • BugFixes:
    • Fixed PUBLIC_URL append on NPM build

0.1.3a (2018/08/27)

  • Added MIT LICENSE

0.1.2a (2018/08/27)

  • Bug fixes
    • Fixed index.html with weird prefix appending
    • Fixed timeline zoom sync with piechart and overview comments data

0.1.1a (2018/08/26)

  • Bug fixes
    • Fixed app crash on asset and not asset:pension

0.1.0a (2018/08/26)

  • First release of ledger-analytics
  • Basic features for data visualization

Development

Frontend

Backend

npm run start   # For frontend
npm run express # For backend

Acknowledgements

Icon by flaticon.com