Vinícius Ernani de Carvalho 6c4544a079 Create the backend il y a 5 ans
..
index.js 6c4544a079 Create the backend il y a 5 ans
license 6c4544a079 Create the backend il y a 5 ans
package.json 6c4544a079 Create the backend il y a 5 ans
readme.md 6c4544a079 Create the backend il y a 5 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