From 70b84616c8cac36fb755a5c10d312d2fe3696c6d Mon Sep 17 00:00:00 2001 From: Sergey Belov Date: Fri, 23 Dec 2022 12:12:43 +0300 Subject: [PATCH] update doc --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4781ffd..ad36dee 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,13 @@ urlParams .set("hello", "world") .set("test", "123") ``` +or even this: +```js +urlParams.setAll({ + hello: "world", + test: 123 +}) +``` [![ci](https://github.com/trosck/url-params/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/trosck/url-params/actions/workflows/ci.yml) [![npm publish](https://github.com/trosck/url-params/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/trosck/url-params/actions/workflows/npm-publish.yml)