title: How do you pipe some values to a node evaluated script?
body: <p>I can escape the cli arguments node consumers with <code>--</code> and have <code>hi</code> be my arg that's used in the text node evaluates, but I can't do the same piping a value.</p>
  
  <pre><code>j at MBP in ~
  $ node -e 'console.log("&gt;", process.argv[1])' -- hi
  &gt; hi
  </code></pre>
  
  <p>The piping here in bash should just take stdout and add it as an arg for the command it gets piped right?</p>
  
  <pre><code>j at MBP in ~
  $ echo hi | node -e 'console.log("&gt;", process.argv[1])' --
  &gt; undefined
  </code></pre>