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.
Please note that you may not be able to install or use methods of certain libraries due to platform limitations: