title: How to keep WebRTC adapter.js updated in a project using npm
body: <p>I am confused about how to make use of <code>npm</code> to keep the <code>adapter.js</code> updated in my project.</p>
  
  <p>I have followed the instructions on <a href="https://github.com/webrtc/adapter" rel="nofollow">https://github.com/webrtc/adapter</a> and get the <code>webrtc-adapter</code> installed using the node command <code>npm install webrtc-adapter</code>.</p>
  
  <p>A directory of <code>node_modules</code> is created and inside there are <code>package.json</code>, <code>out</code> folder, and other files and folders. Since the <code>adapter.js</code> is inside the <code>out</code> folder, I have to copy it to my project libraries folder <code>lib/js/adapter.js</code>.</p>
  
  <p>However, if I run the <code>npm update</code> in the future, it should only update the <code>adapter.js</code> inside the <code>node_modules/out</code> but not <code>lib/js/adapter.js</code>. Then I have to copy it again. Is there anyway I could make the update apply to the <code>lib/js/adapter.js</code> directly?</p>
  
  <p>Thank you.</p>