{"repo":"mathematic-inc/ts-japi","free":true,"listed":false,"github":"https://github.com/mathematic-inc/ts-japi","clone":"git clone https://github.com/mathematic-inc/ts-japi.git","description":"Zero-dependency TypeScript library for serializing data to the JSON:API specification with full type safety, relationships, links, and pagination","language":"TypeScript","stars":231,"topics":["json-api","serialization","serializer","nodejs","pagination","relationships","rest-api","typescript","zero-dependencies"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"ts:japi A highly-modular (typescript-friendly)-framework agnostic library for serializing data to the JSON:API specification - ts:japi - Features - Installation - Getting Started - Examples - Serialization - Links - Pagination - Relationships - Metadata - Serializing Errors - Caching - Deserialization - API Reference - Serializer - Relator - Linker - Metaizer - Paginator - ErrorSerializer - Cache - PolymorphicSerializer - JapiError - Remarks - FAQ - For Developers - Contributing - License Features - This is the only typescript-compatible library that fully types the JSON:API specification and performs proper serialization. - Zero dependencies . - This is the only library with resource recursion. - The modular framework laid out here highly promotes the specifications intentions: - Using links is no longer obfuscated. - Meta can truly be placed anywhere with possible dependencies laid out visibly. - This library is designed to adhere to the specifications \"never remove, only add\" policy, so we will remain backwards-compatible. Installation Getting Started There are several classes used to serialize data (only Serializer is strictly required): - Serializer — primary resource serialization - Relator — relationships and included resources - Linker — document and resource links - Metaizer — metadata at any level - Paginator — pagination links - ErrorSerializer — error serialization - Cache — response caching - PolymorphicSerializer — polymorphic resource serialization Examples See","default_branch":null,"files":null,"tree":[],"storefront":"/r/mathematic-inc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mathematic-inc/ts-japi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}