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

/prepend-url/

    Package Sidebar

    Install

    npm i prepend-url

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • pablopunk