Files
alfresco-ng2-components/ng2-components/ng2-alfresco-documentslist/dist/node_modules/prepend-http
Mario Romano 07807e7bc3 # add dist
2016-04-21 11:56:31 +01:00
..
2016-04-21 11:56:31 +01:00
2016-04-21 11:56:31 +01:00
2016-04-21 11:56:31 +01:00
2016-04-21 11:56:31 +01:00

prepend-http Build Status

Prepend http:// to humanized URLs like todomvc.com and localhost

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