A Chrome extension to render and interact with json hal
The extension was develop in Angular and is divided in several projects:
A application that is used to test the plugin. By typing ng serve
the application became available at http:localhost:4200 and it renders a textarea that has its contents rendered as it were a json hal page.
A application that contains specific chrome plugin code. It is responsable to check if the current chrome page is a hal document and bootstraps the hal-render-component with the hal json.
A library that defines a component (hrc-hal-render-component) that renders the hal content.
A library that defines the data structures that are used by hal-render-component
A library that renders and allow in place editing of uri templates
Get it from chrome store
To validate the installation:
- Access the following link
- The document should be rendered as follow:
- Clone the repository and type:
npm install
npm run build
- Navigate to
chrome://chrome/extensions/
and enable "Developer mode" - Click "Load unpacked extension" and select the
dist/chrome-extension
.