Sha256: 85fa269ed8fbceae249e74fdef04dde05d7c3d36cb20a9af2ddcc56811e6b2a1

Contents?: true

Size: 568 Bytes

Versions: 62

Compression:

Stored size: 568 Bytes

Contents

# prepend-http [![Build Status](https://travis-ci.org/sindresorhus/prepend-http.svg?branch=master)](https://travis-ci.org/sindresorhus/prepend-http)

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


## Install

```
$ npm install --save prepend-http
```


## Usage

```js
var 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](http://sindresorhus.com)

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
trusty-festivity-extension-2.3.1 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/prepend-http/readme.md
trusty-festivity-extension-2.3.0 node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/prepend-http/readme.md