react-magic-search-params 0.3.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +5 -1
package/README.md CHANGED
@@ -1,3 +1,10 @@
1
+ [![Version](https://img.shields.io/npm/v/react-magic-search-params?style=flat-square&color=blue)](https://www.npmjs.com/package/react-magic-search-params)
2
+ [![Downloads](https://img.shields.io/npm/dm/react-magic-search-params?style=flat-square&color=green)](https://www.npmjs.com/package/react-magic-search-params)
3
+ [![License: MIT](https://img.shields.io/npm/l/react-magic-search-params?style=flat-square&color=yellow)](https://opensource.org/licenses/MIT)
4
+ [![React](https://img.shields.io/badge/React-%5E16.8.0-blue)](https://reactjs.org/)
5
+ [![TypeScript](https://img.shields.io/badge/TypeScript-%5E3.8-blueviolet)](https://www.typescriptlang.org/)
6
+ [![Issues](https://img.shields.io/github/issues/user/react-magic-search-params?style=flat-square&color=red)](https://github.com/user/react-magic-search-params/issues)
7
+
1
8
  # `react-magic-search-params` 🪄 <img src="https://static-production.npmjs.com/255a118f56f5346b97e56325a1217a16.svg" width="20px" height="20px" title="This package contains built-in TypeScript declarations" alt="TypeScript icon, indicating that this package has built-in type declarations" class="aa30d277 pl3" data-nosnippet="true">
2
9
 
3
10
  <img src="https://github.com/user-attachments/assets/1f437570-6f30-4c10-b27d-b876f5c557bd" alt="Screenshot" width="800px" />
@@ -84,7 +91,7 @@ export const BeforeHookExample = () => {
84
91
 
85
92
  ```jsx
86
93
  // filepath: /example/AfterHook.tsx
87
- import { useMagicSearchParams } from "@/hooks/useMagicSearchParams";
94
+ import { useMagicSearchParams } from "react-magic-search-params";
88
95
  import { paramsUsers } from "@/constants/DefaultParamsPage";
89
96
 
90
97
  export const AfterHookExample = () => {
package/package.json CHANGED
@@ -1,5 +1,9 @@
1
1
  {
2
2
  "description": "#️⃣ A React Hook for advanced, typed management of URL search parameters, providing built-in TypeScript autocomplete.",
3
+ "repository": {
4
+ "type": "git",
5
+ "url": "https://github.com/Gabriel117343/react-magic-search-params"
6
+ },
3
7
  "keywords": [
4
8
  "react",
5
9
  "hook",
@@ -8,7 +12,7 @@
8
12
  "typescript",
9
13
  "autocomplete"
10
14
  ],
11
- "version": "0.3.0",
15
+ "version": "1.0.1",
12
16
  "license": "MIT",
13
17
  "main": "dist/index.js",
14
18
  "typings": "dist/index.d.ts",