🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@swymbase/jsonapi-client

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swymbase/jsonapi-client

A JSON:API client implementing a typed record store interface.

0.0.11
latest
Source
npm
Version published
Maintainers
1
Created
Source

JSON:API client

This package provides a browser-compatible (fetch-based) JSON:API client that implements a def.codes record store interface.

Roadmap

Use dependency injection to provide Fetch implementation. The dependency on global fetch is the reason this package's tsconfig currently includes the DOM lib.

Known issues

Multi-valued media properties

Currently, the swymbase API only supports media interop for single-valued properties. This API client has the same limitation.

If swymbase were to add media support for multi-valued properties, it would likely mean a change (or at least an extension) to the API and adding support would require a corresponding extension here. For example, the meta.media object could be extended to allow array values, which would have to specify the IRI (in practice, ARN) of the property value being targeted.

FAQs

Package last updated on 30 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts