3.0.0 • Published 2 years ago
@serenity-dev/http-client v3.0.0
Serenity Http Client
EXPERIMENTAL: NOT READY FOR PRODUCTION USE !
About
Serenity Http Client aim to provide a target based http client that manage common use cases out of the box and provide powerful tooling for complex use cases.
Table of contents
- 🪧 About
- 🚀 Installation
- 🛠️ Usage
- 🤝 Contribution
- 🏗️ Built With
- 📝 Licence
Installation
npm install @serenity-dev/http-client
Usage
Gateway example
Target definition
Http to Domain error mapping
Adapter / Target configuration
Custom Request Interceptor
Custom Error Interceptor
Schema Validation / Typeguard
Retryable errors
Contribution
To setup the project locally see the contributing guide
Built With
Langages & Frameworks
- TypeScript Strongly typed programming language that builds on JavaScript
Tools
CLI
- Jest framework to run automated tests.
- Configuration: .tooling/.eslint/.eslintrc.cjs
- Eslint Static code analyzer to find syntax problems.
- Configuration: .tooling/.eslint/.eslintrc.cjs
- Local Documentation: .tooling/.eslint/.eslintrc.cjs
- Prettier Opinionated code formatter.
- Configuration: .tooling/.prettier/.prettierrc.cjs
- Husky Modern native git hooks. Used for quality check on commit and push.
- Commitlint checks if your commit messages meet the conventional commit format.
- Configuration: .tooling/.commitlint/commitlint.config.cjs
- Lint-staged execute commands on staged files.
- Configuration: .tooling/.lint-staged/.lintstagedrc
- Concurrently Used to parallelize commands execution.
CI/CD
- Github Actions
- Semantic release Automates the whole package release workflow.
- Configuration: .tooling/.semantic-release/.semantic-release.config.cjs
License
See the LICENSE.md file.
1.0.0
2 years ago
0.0.21
2 years ago
0.0.23
2 years ago
0.0.24
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
2.0.0
2 years ago
3.0.0
2 years ago
0.0.16
2 years ago
0.0.15
2 years ago
0.0.14
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago