prepend-url

May 3, 2020 ยท View on GitHub

Prepend an url to another url

Install

npm install prepend-url

Usage

const prependUrl = require('prepend-url')
console.log(prependUrl('http://pablopunk.com', 'https://microsec.pw'))
//=> https://microsec.pw/pablopunk.com/

License

MIT

Author

me
Pablo Varela