@indlekofer/format_url

1.0.2 • Public • Published

@indlekofer/format_url

npm version

Usage

import formatUrl from '@indlekofer/format_url';

console.log(formatUrl("http://localhost:8080/?test=1", {test2:2, test3:3}, 'test4')); 
// => http://localhost:8080/?test=1&test2=2&test3=3#test4

Parameters

url: string
query: object|string
hash: string optional

Return

string

Dependencies (1)

Dev Dependencies (7)

Package Sidebar

Install

npm i @indlekofer/format_url

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

2.49 kB

Total Files

4

Last publish

Collaborators

  • daind