Make a temp folder from within an atom plugin


#1

I need to create a temp folder that holds compiled files that the plugin I’m writing will display in a panel. I have a rough idea of how to read and render the file, but not how to create a temp folder from within the Atom plugin.

The plugin is based on an Electron-based IDE, but I’m not sure if I can just re-use the code from that.

Thanks in advance for any advice you can give!


#2

Electron-based applications can natively do anything that Node can do (including file system operations).