https://github.com/valerymelou/json-api
Utilities to consume an API following the JSON:API Specification in your TS or Angular app.
https://github.com/valerymelou/json-api
angular json-api nx-workspace
Last synced: 3 months ago
JSON representation
Utilities to consume an API following the JSON:API Specification in your TS or Angular app.
- Host: GitHub
- URL: https://github.com/valerymelou/json-api
- Owner: valerymelou
- License: mit
- Created: 2022-10-24T20:28:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2026-01-22T01:35:01.000Z (5 months ago)
- Last Synced: 2026-03-03T00:36:11.450Z (4 months ago)
- Topics: angular, json-api, nx-workspace
- Language: TypeScript
- Homepage:
- Size: 5.75 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# JSON:API Library
[](https://github.com/valerymelou/json-api/actions/workflows/ci.yml)
[](https://opensource.org/licenses/MIT)
A TypeScript implementation of the [JSON:API](https://jsonapi.org/) specification. This monorepo contains the following packages:
- [@vmelou/jsonapi](libs/jsonapi/core/README.md) - Core library for serializing and deserializing JSON:API data
- [@vmelou/jsonapi-angular](libs/jsonapi/angular/README.md) - Angular integration with HttpClient and RxJS support
## Features
### Core Library (@vmelou/jsonapi)
- Serialize TypeScript classes to JSON:API compliant objects
- Deserialize JSON:API responses into TypeScript class instances
- Support for relationships and included resources
- Handles primitive types and Date objects
- Support for collection responses with pagination
- Error handling with JSON:API error objects
### Angular Integration (@vmelou/jsonapi-angular)
- Complete integration with Angular's HttpClient
- RxJS Observables for all API operations
- Support for CRUD operations (Create, Read, Update, Delete)
- List operations with pagination and filtering
- Error handling with JSON:API error objects
- TypeScript type safety
## Quick Start
### Core Library
```bash
npm install @vmelou/jsonapi
```
### Angular Integration
```bash
npm install @vmelou/jsonapi @vmelou/jsonapi-angular
```
## Documentation
- [Core Library Documentation](libs/jsonapi/core/README.md)
- [Angular Integration Documentation](libs/jsonapi/angular/README.md)
## Contributing
We welcome contributions! Please see our [Contributing Guidelines](CONTRIBUTING.md) for more details on how to get involved.
## Changelog
Detailed changes for each release are documented in the [CHANGELOG.md](CHANGELOG.md) file.
## License
MIT