title: Deploy Typescript project for use in browser?
body: <p>I've created a small project using Typescript that I wish to publish as a Node package. Since it gets compiled into JS, my hope is that both Typescript and Javascript coders can implement my project.</p>
  
  <p>However, I'm not sure how to test the application in-browser, since I can't use <code>require</code> (<code>Uncaught ReferenceError: require is not defined</code>).</p>
  
  <p>How can I test my application locally, but also set it up deploy it, so that someone could either use <code>import * as myProject from 'myproject</code> or <code>var myProject = require('myproject')</code>?</p>