Skip to main content

Installation

Package manager: npm

npm

npm add chart2music

CDN: jsDelivr

jsdelivr

You can choose to download a version from jsDelivr, or include a script tag pointing to the CDN.

<script src="https://cdn.jsdelivr.net/npm/chart2music"></script>

That URL will download the latest version of chart2music. If you have special concerns round updating to major versions, and want to limit your updates to only the latest minor version, you could use this:

<script src="https://cdn.jsdelivr.net/npm/chart2music@1"></script>

This is the equivalent of ^1.0.0.

note

jsDelivr sometimes takes up to 24 hours to refresh its cache after a new version of Chart2Music is published. If you are waiting on a particular version number, you can always update your script to that reference the specific version after the @.

For more details about what kind of script sources to use, see the jsDelivr documentation for npm CDN.