substance-reader

Interactive reader for Substance documents, based on eLife Lens.

npm install substance-reader
1 downloads in the last week
4 downloads in the last month

Substance Reader

Substance Reader is just a custom integration of eLife Lens. See here for more infos:

Website integration

The easiest way to integrate the Substance Reader into your website is by creating one HTML file per document and adapt the url to the document you want to display.

var app = new Substance({
  // Endpoint must have CORS enabled, or file is served from the same domain as the app
  document_url: "http://example.com/path/to/any-substance-doc.json"
});
npm loves you