mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
6 lines
264 B
TypeScript
6 lines
264 B
TypeScript
import { add, remove, set } from 'url-params';
|
|
|
|
const url1 = add('http://www.example.com/?foo=2+3+6&baz=6', 'foo', 4);
|
|
const url2 = remove('http://www.example.com/?foo=2+3+6&baz=6', 'foo', 3);
|
|
const url3 = set('http://www.example.com/?foo=2+3+6&baz=6', 'foo', 3);
|