@taichi-t/url-generator
Version:
generate urls with params
21 lines (12 loc) • 540 B
Markdown
Generate urls with params.
`$ npm i @taichi-t/url-generator`
```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
```
- Code licensed under [MIT License](http://opensource.org/licenses/mit-license.html)