Socket
Book a DemoInstallSign in
Socket

inflow-export

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inflow-export

Export my spendings as CSV across all Nigerian Bank accounts, using inflow.finance

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

Inflow Export

Thanks to inflow.finance, a dope utility for aggregating my bank account spendings, this tool can now give me those spending in CSV format.

How it'll work

Inflow saves the user's access token (JWT) in as a secure cookie, which can be obtained, and passed to this CLI tool via secure readline.

CLI Design

inflow-export
> Provide your Access Token: ****
> What date range would you like to filter by? (Last 30 days)
- Last 30 Days
- All
- Custom
> Exported to /home/mykeels/Documents/inflow-2021-09-12-13-16.csv

Usage

To install, run:

npm i -g inflow-export

To use, run:

inflow-export

and follow the prompts.

Get your Access Token

  • Login to your inflow finance via web browser
  • Open the browser console (CTRL+SHIFT+I), and enter:
(function () {
  function getCookie(name) {
    function escape(s) {
      return s.replace(/([.*+?\^$(){}|\[\]\/\\])/g, "\\$1");
    }
    var match = document.cookie.match(
      RegExp("(?:^|;\\s*)" + escape(name) + "=([^;]*)")
    );
    return match ? match[1] : null;
  }
  console.log(getCookie("__ACCESS_TOKEN__").replace(/\%22/g, ""));
})();

console.log("Copy the above Token 👆🏻");

The author of this package is NOT liable for any misdemeanour on your bank accounts, or inflow finance accounts.

Enjoy!

Keywords

inflow

FAQs

Package last updated on 22 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.