Finding custom JS libraries

You can explore libraries on popular CDN services like jsDelivr or UNPKG. Copy a library’s URL and paste it on your app’s Library URL bar to install it.

eg: https://cdn.jsdelivr.net/npm/[email protected]/dayjs.min.js

Please ensure that your library supports a UMD build for it to work on Appsmith. Here’s the basic pattern of a UMD build. Most libraries will have a .min.js under the root or /umd or /browser folders. If the installation fails, it is most likely that the build you are trying to install isn’t a UMD build.

If a library that you wish to use does not support a UMD build, you may use browserify to generate one and host it in a CDN of your choice.

Platform limitations

Please note that you may not be able to install or use methods of certain libraries due to platform limitations:

  1. DOM access: Libraries that try to manipulate document objects won’t work. eg: https://d3js.org/
  2. XHR: Libraries that only rely on XHR won’t work.
  3. Other APIs: Library methods that use the following APIs under the hood won’t work: setInterval, clearInterval, setImmediate and Navigator