title: Put single quotes in a variable
body: <p>I am trying to put quotes in a variable using node.js</p>
  
  <p>In the following code:</p>
  
  <pre><code>req.on('end', function () {
        var postreq = qs.parse(body);
        console.log(JSON.stringify(postreq))    
      });
  </code></pre>
  
  <p><code>console.log</code> prints <code>{"cmd":"sel_media","value":"5X7_photo_paper.png"}</code></p>
  
  <p>I want to put quotes around it like so: <code>'{"cmd":"sel_media","value":"5X7_photo_paper.p"}'</code></p>
  
  <p>I tried this way <code>"' +  JSON.stringify(postreq) + '"</code> it prints '<code>JSON.stringify(postreq)</code>'<br>
  I am not getting the exact values in single quote like I expected.</p>
  
  <p>How can i get the values in singles quote like so: <code>{"cmd":"sel_media","value":"5X7_photo_paper.png"}</code></p>