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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i prepend-url

Weekly Downloads

3

Version

1.0.2

License

MIT

Last publish

Collaborators

  • pablopunk