LookAtMySuitBot/js/node_modules/prepend-http
Brett 5f2b208d42 c++ setup 2023-12-24 20:08:39 -05:00
..
index.js c++ setup 2023-12-24 20:08:39 -05:00
license c++ setup 2023-12-24 20:08:39 -05:00
package.json c++ setup 2023-12-24 20:08:39 -05:00
readme.md c++ setup 2023-12-24 20:08:39 -05:00

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