title: Storing some data with nodejs?
body: <p>I'm writing a lastfm plugin for a chat bot my friend wrote, and one of the things I'd like to is allow people to register their hostmask/nick with their lastfm username (something like !reg lastfmuser would store that username with the hostmask/nick for whoever said it). The framework and plugins are written in  javascript/nodejs. I'm not sure where to start at all on storing/accessing this data on the disk or however it would be done.</p>
  
  <p>Basically, I want to have a file that it can look through when someone calls a lastfm command (nowplaying, compare, topartists) and it'll use the stored username instead of their nick if possible. So the file would be something like:</p>
  
  <pre><code>Hostname | Nick | Lastfmuser
  </code></pre>
  
  <p>I've never written something that stores data on the disk, or has to read from the disk, and I'm still fairly new to nodejs/javascript. I looked at alfred.js, but ended up confused and not sure if that's what I really wanted.</p>