title: Redis Stream with Node XADD
body: <p>How can one use Redis stream in redis-node.</p>
  
  <p>Redis documentation for XADD is:</p>
  
  <pre><code>XADD mystream * key1 "Value1" key2 "Value2"
  </code></pre>
  
  <p>This will add a single entry with the given key value pairs. * specifies that the id should be automatically generated.</p>
  
  <p>I tried to execute it in Node:</p>
  
  <pre><code>redisClient.xadd("myStream", "*", "name", "anant");
  </code></pre>
  
  <p>but I just got an error saying XADD is not defined.</p>