title: Shlex Split Equivalent for Node.js
body: <p>How would I do the following in Node.js?  I realize there's probably no builtin feature or written module for this, so how might I implement this?</p>
  
  <pre><code>&gt;&gt;&gt; import shlex
  &gt;&gt;&gt; shlex.split("-a arga -b \"argument b\" arg1 arg2")
  ['-a', 'arga', '-b', 'argument b', 'arg1', 'arg2']
  </code></pre>