0.2.7 • Published 10 years ago
itau2moneylog v0.2.7
itau2moneylog
Helps to convert your itau 'extrato' to moneylog-beta's format (http://aurelio.net/moneylog/beta/)
Install
npm install -g itau2moneylog
Attention
- this tool will work well with Firefox
- works with my 'conta personalite', tell me if works with other Itaú types
- you have to use "por periodo" on Itaú web-site
- not tested on windows or Mac
Usage example
print converted 'itaú extrato' on screen
itau2moneylog data-pasted.txt
smart usage with nodemon
When you save the moneylog data is appended.
# install nodemon to make the process easier
npm install -g nodemon
nodemon -q -e 'txt' itau2moneylog periodo paste-data.txt >> ../moneylog-beta/txt/dados.txt
You can use save-text-to-file
firefox add-on (https://addons.mozilla.org/EN-uS/firefox/addon/save-text-to-file/?src=userprofile).
Just configure to save on Shift + F1
to your paste-data.txt
.
- 1) copy/paste/save text from 'extrato' with
save-text-to-file
- 2) change month and repeat above step
developers, come here
run all tests
gulp
filter tests
gulp --grep='Periodo Especifico: convert Itaú line: should get date from begining'
Deploy npm package
You can deploy package with:
$ npm run deploy [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease]
This should run the following steps:
- Check if not tracked commits in git
- Run tests with
npm test
- Upgrade version in
package.json
, commit and add tag - Publish package in npmjs.com