1.2.0 ā€¢ Published 2 years ago

@ultirequiem/add-params v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Add Query Params

Code Coverage Deno Doc

Add Query Parameters to an URL.

Usage

The API is the same on all this platforms āœ”ļø

Deno šŸ¦•

import { addParams } from "https://deno.land/x/add_params/mod.ts";

addParams("https://ultirequiem.com", { page: 33, author: "Me", share: false });
//=> https://ultirequiem.com/?page=33&author=Me&share=false

addParams(new URL("/api", "https://example.com"), { day: 2 });
//=> https://example.com/api?day=2

Node.js šŸ¢šŸš€

import { driveLink } from "@ultirequiem/add-params";

Browser šŸŒ

You can use any CDN šŸ”„

Eg šŸ‘‰ ESM ā†”ļø SkyPack šŸ†š Script Tag ā†”ļø JSDelivr

Documentation

Is hosted on Deno Doc šŸ“„

Support

Open an Issue, I will check it a soon as possible šŸ‘€

If you want to hurry me up a bit send me a tweet šŸ˜†

Consider supporting me on Patreon if you like my work šŸ™

Don't forget to start the repo ā­

Authors

Eliaz Bobadilla - Creator and Maintainer šŸ’Ŗ

See also the full list of contributors who participated in this project āœØ

Versioning

We use Semantic Versioning. For the versions available, see the tags šŸ·ļø

Licence

Licensed under the MIT License šŸ“„

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago