httpx icon indicating copy to clipboard operation
httpx copied to clipboard

Collection of libs: http exceptions, dsn-parser...

"do one thing" collection.

@httpx/assert

Lightweight assertions and typeguards starting at ~60b.

npm changelog codecov bundles downloads

@httpx/exception

HTTP status errors with default message, instanceof, stack and nested error cause support. Lightweight, typical usage between 500b and 1300b. Includes convenience typeguards, optional contextual info and a built-in serializer to cover cross-environments challenges (RSC, SSR...).

npm changelog codecov bundles downloads

@httpx/dsn-parser

DSN & JDBC string parser with query params support in a light and modern package.

npm changelog codecov bundles downloads

@httpx/memo-intl

LRU-based memoizer for Intl.NumberFormatter and Intl.DateFormatter constructors.

npm changelog codecov bundles downloads

Contributors

Contributions are welcome. Take a look to the CONTRIBUTING docs or skip and try

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

Sponsors

If my OSS work brightens your day, let's take it to new heights together! Sponsor, coffee, or star – any gesture of support fuels my passion to improve. Thanks for being awesome! 🙏❤️

Special thanks to

Jetbrains logo Jetbrains logo
JetBrains Embie.be

License

MIT © belgattitude and contributors.