Skip to content

rescribet/link-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b989b1f · Oct 4, 2022
Aug 12, 2021
Aug 1, 2022
Oct 4, 2022
Nov 27, 2019
Feb 7, 2018
Aug 1, 2022
Aug 12, 2021
Apr 6, 2020
Nov 27, 2019
Sep 9, 2022
Jan 27, 2021
Sep 25, 2018
Sep 9, 2022

Repository files navigation

Link Library

A Link to the Web

Reference: How to use Link with React

CircleCI Code Climate coverage

This package aims to make building rich web applications quick and easy by providing all the tools needed to work with linked data, providing high-level API's for view rendering, data querying & manipulation, and API communication. See the link-redux package on how to use this in a React project.

To transform your Rails application into a linked-data serving beast, see our Active Model Serializers plugin.

This was built at Argu, if you like what we do, these technologies or open data, send us a mail.

Example

See the TODO app for a live example and link-redux-todo for the implementation. Mind that it isn't connected to a back-end, so it's only a demo for the view rendering mechanism.

Installation

yarn add link-lib

and some peer dependencies:

yarn add @ontologies/as @ontologies/core @ontologies/schema @ontologies/shacl @ontologies/xsd http-status-codes n-quads-parser

The package externalizes the Promise API, so make sure to include your own when targeting platforms without native support.

Usage

See the Hypermedia API page for documentation on how to execute actions against the service.

See Link Redux for documentation on how to use Link in a React application.

Contributing

The usual stuff. Open an issue to discuss a change, open PR's from topic-branches targeted to master for bugfixes and refactors.