Packages
Packages in JavaScript are supported using ESM. You can use a third-party JS CDN to load third-party packages. Some possible CDNs include:
We recommend using esm.run from https://www.jsdelivr.com/esm
Below are examples on how to correctly use esm.run to import packages in JavaScript.
Examples
Below are some common examples of libraries, imported using esm.run. Many more libraries are available for use in Quadratic and you can use the JS CDN of your choice. Below is how to use esm.run, which we recommend as a top option.
Charting
Chart.js is the only charting library in JavaScript supported in Quadratic.
Analytics
D3.js is a common analytics library for JavaScript.
Brain.js is a Machine Learning library that works in Quadratic
Last updated