title: Is there a list function for the node.js command prompt?
body: <p>I'm looking for a way to list files and directories from the command line in node.js. For example in Linux there is a command ls that will list files and directories in the current directory.</p>
  
  <p>Edit: No I don't mean fs.filesync. I mean a console command to list the contents of the current directory in the Node.js command prompt. Like chdir or ls or mkdir.</p>