Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/taichi-t/url-generator

📝 Generate URLs with params.
https://github.com/taichi-t/url-generator

jest npm npm-package typescript url-generator

Last synced: 5 days ago
JSON representation

📝 Generate URLs with params.

Awesome Lists containing this project

README

        

# typescript @taichi-t/url-generator

Generate urls with params.

## Installaion

`$ npm i @taichi-t/url-generator`

## Usage

```javascript
import urlGenerator from '@taichi-t/url-generator';

urlGenerator('http://www.example.com', { foo: 1, hoo: '2' });
// http://www.example.com/?foo=1&hoo=2
```

## Licensing

- Code licensed under [MIT License](http://opensource.org/licenses/mit-license.html)