I’m relatively new to developing packages for Atom editor. I was hoping someone could answer a question for me. My question is this: how can you write to a file with Atom and open it? I know how to get the filepath, but I need a way of getting just the directory and finding a way to write a new file to it.
Thanks! If this is a duplicate (which I don’t think it is), can you kindly link me to it?