sirencall

A lightweight library to easily integrate JSON Hypermedia with Siren format. https://github.com/kevinswiber/siren

Usage no npm install needed!

<script type="module">
  import sirencall from 'https://cdn.skypack.dev/sirencall';
</script>

README

sirencall (a lightweight library for JSON Siren)

sirencall is a lightweight JS library for manipulating JSON Siren object.

JSON Siren and hypermedia

JSON Siren is a JSON Hypermedia format.

Sirencall principles

Siren format can be viewed as an envelop around the payload of your object defined by the properties attribute. This way a Siren document makes a clear distinction between the data of the object and the meta-information related to hypermedia.