3.0.0 • Published 3 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
3 years ago
0.0.21
3 years ago
0.0.23
3 years ago
0.0.24
3 years ago
0.0.17
3 years ago
0.0.18
3 years ago
2.0.0
3 years ago
3.0.0
3 years ago
0.0.16
3 years ago
0.0.15
3 years ago
0.0.14
3 years ago
0.0.12
3 years ago
0.0.11
3 years ago
0.0.10
3 years ago
0.0.9
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago