Andrea Fazzi 929328de94 Replace domain name il y a 4 ans
..
index.js 994369ab61 First commit il y a 7 ans
license 994369ab61 First commit il y a 7 ans
package.json 929328de94 Replace domain name il y a 4 ans
readme.md 994369ab61 First commit il y a 7 ans

readme.md

prepend-http Build Status

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

Install

$ npm install --save prepend-http

Usage

const 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