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