paramour 0.0.0
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.
- package/LICENSE +21 -0
- package/README.md +28 -0
- package/package.json +26 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jason Paff
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# paramour
|
|
2
|
+
|
|
3
|
+
> *paramour* — "param" + "amour": a library that loves your params.
|
|
4
|
+
|
|
5
|
+
A fully type-safe routing companion for the Next.js App Router: validated, typed
|
|
6
|
+
route params and search params, type-checked path building, and a predictable,
|
|
7
|
+
human-readable URL wire format — with your choice of validation library via
|
|
8
|
+
[Standard Schema](https://github.com/standard-schema/standard-schema).
|
|
9
|
+
|
|
10
|
+
## Status
|
|
11
|
+
|
|
12
|
+
**This is a name-reservation placeholder.** The library is under active design
|
|
13
|
+
and development — nothing here is usable yet.
|
|
14
|
+
|
|
15
|
+
- Design document and progress: [github.com/JasonPaff/paramour](https://github.com/JasonPaff/paramour)
|
|
16
|
+
- Companion packages will live under the [`@paramour-js`](https://www.npmjs.com/org/paramour-js) scope.
|
|
17
|
+
|
|
18
|
+
## Why
|
|
19
|
+
|
|
20
|
+
Born from lessons learned maintaining and contributing to
|
|
21
|
+
[`next-typesafe-url`](https://www.npmjs.com/package/next-typesafe-url), which is
|
|
22
|
+
effectively unmaintained. Paramour aims to be a documented, tested,
|
|
23
|
+
community-maintained answer to typed routing in Next.js, with a migration path
|
|
24
|
+
from `next-typesafe-url`.
|
|
25
|
+
|
|
26
|
+
## License
|
|
27
|
+
|
|
28
|
+
MIT © Jason Paff
|
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "paramour",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Type-safe routing companion for the Next.js App Router: validated route params and search params, typed path building, and explicit URL serialization. Placeholder release — under active development.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"nextjs",
|
|
7
|
+
"app-router",
|
|
8
|
+
"typescript",
|
|
9
|
+
"routing",
|
|
10
|
+
"type-safe",
|
|
11
|
+
"search-params",
|
|
12
|
+
"route-params",
|
|
13
|
+
"standard-schema"
|
|
14
|
+
],
|
|
15
|
+
"author": "Jason Paff <jasonpaff@gmail.com>",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/JasonPaff/paramour.git"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://github.com/JasonPaff/paramour#readme",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/JasonPaff/paramour/issues"
|
|
24
|
+
},
|
|
25
|
+
"files": []
|
|
26
|
+
}
|