prepend-url

1.0.2 • Public • Published

prepend-url

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

Package Sidebar

Install

npm i prepend-url

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • pablopunk