Current Path: > > lib > node_modules > npm > node_modules > > prepend-http
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
index.js | File | 288 bytes | March 10 2021 14:36:37. | |
license | File | 1119 bytes | March 10 2021 14:36:37. | |
package.json | File | 1614 bytes | March 10 2021 14:36:37. | |
readme.md | File | 577 bytes | March 10 2021 14:36:37. |
# prepend-http [](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 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](https://sindresorhus.com)
SILENT KILLER Tool