Using ionic desktop app how text file create,read,write in my local computer dictioner like c drive, d drive

I am trying to create text file create,read,write in my local computer dictioner like c drive, d drive.
I am using type script with ionic. I have already created exe file for desktop using ionic. I was search lot on google but there is no any usefull solution i got.

I am trying to create text file create,read,write in my local computer dictioner like c drive, d drive.
can anyone help me with source code. it’s urgent.