mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
prepend-http 
Prepend
http://
to humanized URLs liketodomvc.com
andlocalhost
Install
$ npm install --save prepend-http
Usage
var prependHttp = require('prepend-http');
prependHttp('todomvc.com');
//=> http://todomvc.com
prependHttp('localhost');
//=> http://localhost
prependHttp('http://todomvc.com');
//=> http://todomvc.com
License
MIT © Sindre Sorhus