RESTful HTTP client library with composable interceptor architecture for Node.js and browsers
76
Lazy promise evaluation
Uses rest client
100%
100%
Implements lazy evaluation
100%
100%
Defers execution correctly
100%
100%
Passes request configuration
100%
100%
Returns chainable promise
100%
100%
Request and response transformation via interceptors
Uses client.wrap()
0%
0%
Implements request phase
0%
0%
Implements response phase
0%
0%
Returns request in request phase
0%
0%
Returns response in response phase
0%
0%
Configurable via init
0%
0%
Multi-platform support (Node.js and browser)
Uses rest.js client
100%
100%
Platform-agnostic implementation
100%
0%
Normalized responses
100%
33%
Promise-based handling
100%
100%
HTTP methods
100%
100%
Request configuration
100%
33%
Response promise methods
100%
0%
Custom interceptor development with ComplexRequest pattern
Uses interceptor function
0%
100%
Uses ComplexRequest pattern
0%
100%
Implements request handler
0%
100%
Maintains request cache
100%
100%
Cleans up cache
100%
100%
Returns proper structure
0%
100%
Timeout handling with automatic cancellation
Import rest client
100%
100%
Import timeout interceptor
0%
100%
Wrap client with timeout
0%
100%
Configure timeout duration
0%
100%
Make HTTP requests
100%
100%
Handle timeout errors
100%
100%
Multiple concurrent requests
100%
100%
Request cancellation
Uses rest client
100%
100%
Stores request objects
100%
100%
Uses cancel() method
100%
100%
Tracks request state
100%
100%
Handles request completion
100%
100%
Batch cancellation
100%
100%
Active count accuracy
100%
100%
MIME type serialization and deserialization
Uses mime interceptor
0%
100%
Automatic deserialization
0%
100%
Serialization to formats
0%
16%
Accept header setup
75%
100%
Interceptor composition and chaining
Interceptor structure
100%
100%
Request phase hook
100%
100%
Response phase hook
100%
100%
Client wrapping
100%
100%
Configuration handling
100%
100%
Timing measurement
100%
100%
HAL (Hypertext Application Language) converter
HAL MIME Type
100%
32%
Client Setup
100%
0%
Link Following
100%
20%
Embedded Access
100%
100%
Promise Handling
100%
100%
HTTP-specific promise methods (entity, status, headers, header)
Uses entity() method
0%
100%
Uses status() method
0%
100%
Uses headers() method
0%
100%
Uses header() method
0%
100%
Applies header() correctly
0%
100%
Install with Tessl CLI
npx tessl i tessl/npm-rest