@webpieces/client
v0.2.65
Published
Umbrella package for WebPieces client-side dependencies
Downloads
4,219
Maintainers
Readme
@webpieces/client
Umbrella package for WebPieces client-side development. This package installs all necessary dependencies for building WebPieces client applications.
Installation
npm install @webpieces/clientWhat's Included
This package installs:
@webpieces/http-client- Type-safe HTTP client generation from API definitions@webpieces/http-api- HTTP API decorators for REST APIs
Usage
After installation, import from the constituent packages:
import { createApiClient } from '@webpieces/http-client';
import { Post, Get, ApiInterface } from '@webpieces/http-api';
// Your client code here...Version Compatibility
All @webpieces packages use lock-step versioning. Always use matching versions:
{
"dependencies": {
"@webpieces/client": "0.2.10"
}
}License
Apache-2.0
