D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-nodejs10
/
lib
/
node_modules
/
npm
/
node_modules
/
prepend-http
/
Filename :
readme.md
back
Copy
# 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)
Name
Size
Last Modified
Owner
Permissions
Actions
index.js
0.281
KB
September 13 2023 2:48:05
root
0644
license
1.093
KB
September 13 2023 2:48:05
root
0644
package.json
1.576
KB
September 13 2023 2:48:05
root
0644
readme.md
0.563
KB
September 13 2023 2:48:05
root
0644
2017 © D7net | D704T team