✏️ 正在编辑: readme.md
路径:
/lib/node_modules/npm/node_modules/prepend-http/readme.md
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
# 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)
💾 保存文件
← 返回文件管理器