https://github.com/rayologist/url-join-pure-types
The url-join library, now implemented purely in TypeScript types.
https://github.com/rayologist/url-join-pure-types
Last synced: 5 months ago
JSON representation
The url-join library, now implemented purely in TypeScript types.
- Host: GitHub
- URL: https://github.com/rayologist/url-join-pure-types
- Owner: Rayologist
- License: mit
- Created: 2023-10-18T18:27:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-19T12:52:09.000Z (over 2 years ago)
- Last Synced: 2023-10-19T13:45:21.295Z (over 2 years ago)
- Language: TypeScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# URLJoin in Pure Types
A pure TypeScript type-based implementation of the [url-join](https://www.npmjs.com/package/url-join) library.
## Features
- Entirely crafed with TypeScript types.
- Incorporates all test cases from the original [`url-join@5.0.0`](https://github.com/jfromaniello/url-join/blob/main/test/tests.js) library, ensuring compatibility and reliability.
- Additional tests for edge cases have been added to verify that the output aligns with that of `url-join` itself.
## Usage
Simply copy the code from `src/index.ts` into your own project.
## Contact
If you have any questions, feel free to reach out at `bwchen.dev@gmail.com`