npm

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

verovio

2.3.0 • Public • Published

This is an NPM of the stable version of the Verovio JavaScript toolkit.

Verovio is a fast, portable and lightweight library for engraving Music Encoding Initiative (MEI) music scores into SVG.

See it running in the MEI Viewer and check out the tutorial for its web integration and for enabling user interaction.

Usage

var verovio = require('verovio');
 
var vrvToolkit = new verovio.toolkit();
 
mei = fs.readFileSync("hello.mei");
 
vrvToolkit.loadData(mei.toString());
 
svg = vrvToolkit.renderPage(1, {});
 
fs.writeFileSync("hello.svg", svg);

Memory allocation

The memory available for Verovio can be increased during import by passing a MB value to the init function.

var verovio = require('verovio').init(512);

The value has to be less than 1024MB.

install

npm i verovio

Downloadsweekly downloads

36

version

2.3.0

license

LGPL 3

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability