Need private packages and team management tools?Check out npm Teams »

ro-crate

1.3.0 • Public • Published

ro-crate : Research Object Crate (RO-Crate) utilities

This is an early version ALPHA quality library to support Research Object Crate ([RO-Crate]https://researchobject.github.io/ro-crate/())

HTML Rendering

To render HTML for an RO-Crate, use makehtml, with a URL to the ro-crate.js rendering script. Eg:

makehtml test_data/sample-ro-crate-metadata.jsonld -c https://data.research.uts.edu.au/examples/ro-crate/examples/src/crate.js

Regenerating crate.js

To create the rendering script for an RO-Crate HTML file (ro-crate-preview.html):

browserify lib/entry.js -o lib/crate.js

(We will put a copy of this on the RO-Crate site when the spec is released in version 1 and make it the default).

Keywords

Install

npm i ro-crate

DownloadsWeekly Downloads

0

Version

1.3.0

License

GPL-3.0-or-later

Unpacked Size

1.52 MB

Total Files

26

Last publish

Collaborators

  • avatar