https://github.com/belgattitude/httpx
Collection of libs: http exceptions, dsn-parser...
https://github.com/belgattitude/httpx
deno edge http-exceptions node typescript
Last synced: 6 months ago
JSON representation
Collection of libs: http exceptions, dsn-parser...
- Host: GitHub
- URL: https://github.com/belgattitude/httpx
- Owner: belgattitude
- License: mit
- Created: 2022-11-21T15:33:38.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T22:36:00.000Z (7 months ago)
- Last Synced: 2024-10-30T00:37:19.448Z (7 months ago)
- Topics: deno, edge, http-exceptions, node, typescript
- Language: TypeScript
- Homepage: https://belgattitude.github.io/httpx
- Size: 29 MB
- Stars: 17
- Watchers: 3
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## "do one thing" collection.
### [@httpx/assert](https://github.com/belgattitude/httpx/tree/main/packages/assert#readme)
Lightweight assertions and typeguards starting at [~60b](https://github.com/belgattitude/httpx/tree/main/packages/assert#bundle-size).
[](https://www.npmjs.com/package/@httpx/assert)
[](https://github.com/belgattitude/httpx/blob/main/packages/assert/CHANGELOG.md)
[](https://app.codecov.io/gh/belgattitude/httpx/tree/main/packages%2Fassert)
[](https://github.com/belgattitude/httpx/blob/main/packages/assert/.size-limit.cjs)
[](https://www.npmjs.com/package/@httpx/assert)### [@httpx/exception](https://github.com/belgattitude/httpx/tree/main/packages/exception#readme)
HTTP status errors with default message, instanceof, stack and nested error cause support.
Lightweight, typical usage between [500b and 1300b](https://belgattitude.github.io/httpx/exception#bundle-size).
Includes convenience typeguards, optional contextual info and a built-in serializer
to cover cross-environments challenges (RSC, SSR...).[](https://www.npmjs.com/package/@httpx/exception)
[](https://github.com/belgattitude/httpx/blob/main/packages/exception/CHANGELOG.md)
[](https://app.codecov.io/gh/belgattitude/httpx/tree/main/packages%2Fexception)
[](https://github.com/belgattitude/httpx/blob/main/packages/exception/.size-limit.cjs)
[](https://www.npmjs.com/package/@httpx/exception)### [@httpx/dsn-parser](https://github.com/belgattitude/httpx/tree/main/packages/dsn-parser#readme)
DSN & JDBC string parser with query params support in a light and modern package.
[](https://www.npmjs.com/package/@httpx/dsn-parser)
[](https://github.com/belgattitude/httpx/blob/main/packages/dsn-parser/CHANGELOG.md)
[](https://app.codecov.io/gh/belgattitude/httpx/tree/main/packages%2Fdsn-parser)
[](https://github.com/belgattitude/httpx/blob/main/packages/dsn-parser/.size-limit.cjs)
[](https://www.npmjs.com/package/@httpx/dsn-parser)### [@httpx/plain-object](https://github.com/belgattitude/httpx/tree/main/packages/plain-object#readme)
Fast and lightweight utility functions to check if a value is a plain object.
[](https://www.npmjs.com/package/@httpx/plain-object)
[](https://github.com/belgattitude/httpx/blob/main/packages/plain-object/CHANGELOG.md)
[](https://app.codecov.io/gh/belgattitude/httpx/tree/main/packages%2Fplain-object)
[](https://github.com/belgattitude/httpx/blob/main/packages/plain-object/.size-limit.cjs)
[](https://www.npmjs.com/package/@httpx/plain-object)### [@httpx/treeu](https://github.com/belgattitude/httpx/tree/main/packages/treeu#readme)
Fast and lightweight utilities to work with trees.
[](https://www.npmjs.com/package/@httpx/treeu)
[](https://github.com/belgattitude/httpx/blob/main/packages/treeu/CHANGELOG.md)
[](https://app.codecov.io/gh/belgattitude/httpx/tree/main/packages%2Ftreeu)
[](https://github.com/belgattitude/httpx/blob/main/packages/treeu/.size-limit.cjs)
[](https://www.npmjs.com/package/@httpx/treeu)### [@httpx/memo-intl](https://github.com/belgattitude/httpx/tree/main/packages/memo-intl#readme)
LRU-based memoizer for Intl.NumberFormatter and Intl.DateFormatter constructors.
[](https://www.npmjs.com/package/@httpx/memo-intl)
[](https://github.com/belgattitude/httpx/blob/main/packages/memo-intl/CHANGELOG.md)
[](https://app.codecov.io/gh/belgattitude/httpx/tree/main/packages%2Fmemo-intl)
[](https://github.com/belgattitude/httpx/blob/main/packages/memo-intl/.size-limit.cjs)
[](https://www.npmjs.com/package/@httpx/memo-intl)## Contributors
Contributions are welcome. Take a look to the [CONTRIBUTING](https://github.com/belgattitude/httpx/blob/main/CONTRIBUTING.md) docs or skip and try
```bash
# make a fork and clone it, then
yarn install
yarn g:test-unit
yarn g:lint
yarn g:typecheck
```## Support
Don't hesitate and open [an issue](https://github.com/belgattitude/httpx/issues).
## Sponsors
If my OSS work brightens your day, let's take it to new heights together!
[Sponsor](<[sponsorship](https://github.com/sponsors/belgattitude)>), [coffee](<(https://ko-fi.com/belgattitude)>),
or star – any gesture of support fuels my passion to improve. Thanks for being awesome! 🙏❤️### Special thanks to
## License
MIT © [belgattitude](https://github.com/belgattitude) and contributors.