qif2json
qif2json copied to clipboard
is this for node backend or for react front end?
I need a one for react front end please.
You can use it on frontend:
Import it:
import qif2json from 'qif2json';
And use:
qif2json.parseInput(text, {encoding: 'utf-8'}, async (err, data) => { ... your code ... })
Full example in similar framework (Vue):
https://github.com/gustawdaniel/open_cash_manager/blob/dev/src/components/ImportQIF.vue
Now I have problem on fronted because of error:
This dependency was not found: friendly-errors 21:14:27
friendly-errors 21:14:27
* fs in ../qif2json/lib/qif2json.js friendly-errors 21:14:27
friendly-errors 21:14:27
To install it, you can run: npm install --save fs
I propose to split functions from main file into small files and then import it like this