qif-writer
JS module to write QIF (Quicken Interchange Format) files
Install
$ npm install --save qif-writer
Usage
var qif = ; var transactions = date: '1/Jan/2015' amount: 1050 payee: 'Local Coffee' category: 'Cafe' date: '2/Jan/2015' amount: 105 payee: 'Sample' memo: 'To demonstrate split' splits: amount: 5 category: 'Bank Charges' memo: 'Bank fees' amount: 100 category: 'Transfer: Savings' ;var options = type: 'Bank';qif;
This writes the following to stdout
:
!Type:Bank
D1/Jan/2015
T10.5
PLocal Coffee
LCafe
^
D2/Jan/2015
T105
PSample
MTo demonstrate split
$5
SBank Charges
EBank fees
$100
STransfer: Savings
^
Options
Default options are:
type: 'Cash' output: processstdoutwrite;
License
MIT © Mikhail Diatchenko