Simple virtual host middleware for Servie.
npm install servie-vhost --save
For projects whose
host is not in the header, they can switch between exported
getHostFromUrl functions, or define their own, as the third argument to
vhost(hostname, fn, getHost).
This project is written using TypeScript and publishes the definitions directly to NPM.