From 1fcf6f4cae31e982d03e6da4a5ddc8c8e1b87403 Mon Sep 17 00:00:00 2001 From: bartektelec Date: Tue, 1 Feb 2022 22:25:04 +0100 Subject: [PATCH] fix: :memo: update readme and package.json to new pkg name --- README.md | 11 ++++++++++- package.json | 8 ++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 746a51a..6ee4e4f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ -# easy-queryparams +
+# easy-queryparams [![release version](https://img.shields.io/npm/v/easy-queryparams)](https://www.npmjs.com/package/easy-queryparams) + +[![weekly download count](https://img.shields.io/npm/dm/easy-queryparams)](https://npmcharts.com/compare/easy-queryparams?interval=30&minimal=true) ![primary language procentage](https://img.shields.io/github/languages/top/bartektelec/easy-queryparams) ![workflow build status](https://img.shields.io/github/workflow/status/bartektelec/easy-queryparams/Test%20on%20push) ![last commit badge](https://img.shields.io/github/last-commit/bartektelec/easy-queryparams) + +
This is a package that let's you easy convert an object to a querystring, or parse it the other way around. It's main difference from JS `URLSearchParams` is that it by default avoids params with nullish values. The package exposes two methods: `stringify` and `parse`. @@ -55,3 +60,7 @@ This method takes a query string as a parameter and returns an object. All value } */ ``` + +## Licence + +[MIT](https://opensource.org/licenses/MIT) diff --git a/package.json b/package.json index 2762556..d01f6b3 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "easy-queryparams", "version": "0.0.0-development", - "description": "", + "description": "utility methods for easier parsing and stringifying of query strings and params", "main": "index.js", "scripts": { "test": "jest", @@ -11,7 +11,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/bartektelec/querystring.git" + "url": "https://github.com/bartektelec/easy-querystring.git" }, "keywords": [ "query", @@ -24,9 +24,9 @@ "author": "bartektelec", "license": "MIT", "bugs": { - "url": "https://github.com/bartektelec/querystring/issues" + "url": "https://github.com/bartektelec/easy-querystring/issues" }, - "homepage": "https://github.com/bartektelec/querystring#readme", + "homepage": "https://github.com/bartektelec/easy-querystring#readme", "devDependencies": { "@semantic-release/git": "^10.0.1", "@types/jest": "^27.4.0",