0.1.16 • Published 1 year ago
@curvenote/nbtx v0.1.16
nbtx
Transform and manipulate Jupyter Notebook json files (*.ipynb), converting these to and from more compact data structures, which are useful for efficient and async loading in the context of a web-based viewer.
Specific functionality included is:
translators- moves between parts of*.ipynbjson and json representations of the notebook, cells and outputssummarise- an abstraction layer on top of theoutputarrays produced by code cells. These abstractions allow groups ofmimetypesto be handled together, as well as nominating primary and fallbackmimetypesto use for a partcular output. The summarized outputs may also have their content truncated and moved to remote storage (blob/file) if it is large.
Installation
Install using npm:
npm install nbtx