Skip to content

Commit

Permalink
fix: 📝 update readme and package.json to new pkg name
Browse files Browse the repository at this point in the history
  • Loading branch information
bartektelec committed Feb 1, 2022
1 parent 6a93356 commit 1fcf6f4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# easy-queryparams
<div align="center">

# 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)

</div>
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`.
Expand Down Expand Up @@ -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)
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -11,7 +11,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/bartektelec/querystring.git"
"url": "https://github.com/bartektelec/easy-querystring.git"
},
"keywords": [
"query",
Expand All @@ -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",
Expand Down

0 comments on commit 1fcf6f4

Please sign in to comment.