Vinícius Ernani de Carvalho 6c4544a079 Create the backend 5 jaren geleden
..
index.js 6c4544a079 Create the backend 5 jaren geleden
license 6c4544a079 Create the backend 5 jaren geleden
package.json 6c4544a079 Create the backend 5 jaren geleden
readme.md 6c4544a079 Create the backend 5 jaren geleden

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