Prepend `https://` to humanized URLs like sindresorhus.com and localhost
npm install prepend-http> Prepend https:// to humanized URLs like sindresorhus.com and localhost
```
$ npm install prepend-http
`js
import prependHttp from 'prepend-http';
prependHttp('sindresorhus.com');
//=> 'https://sindresorhus.com'
prependHttp('localhost', {https: false});
//=> 'http://localhost'
prependHttp('https://sindresorhus.com');
//=> 'https://sindresorhus.com'
`
#### url
Type: string
The URL to prepend https:// to.
#### options
Type: object
##### https
Type: boolean\true
Default:
Prepend https:// instead of http://`.
---