Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including ro-crate with all npm packages installed. Try it out:

var roCrate = require("ro-crate")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ro-crate v1.3.1

Research Object Crate (RO-Crate) utilities for making and consuming crates

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

This is an early version ALPHA quality library to support Research Object Crate ([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

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).


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free