NN-SVG supports two types of use-cases.
Using the web tool to configure SVGs for download.
Using the javascript directly to build on top of NN-SVG. The latter use case is described in the pages of this wiki:
There was an error while loading. Please reload this page.