1 # prepend-http [![Build Status](https://travis-ci.org/sindresorhus/prepend-http.svg?branch=master)](https://travis-ci.org/sindresorhus/prepend-http)
3 > Prepend `http://` to humanized URLs like `todomvc.com` and `localhost`
9 $ npm install --save prepend-http
16 const prependHttp = require('prepend-http');
18 prependHttp('todomvc.com');
19 //=> 'http://todomvc.com'
21 prependHttp('localhost');
22 //=> 'http://localhost'
24 prependHttp('http://todomvc.com');
25 //=> 'http://todomvc.com'
31 MIT © [Sindre Sorhus](https://sindresorhus.com)