JS Libraries
JavaScript libraries simplify common tasks such as data manipulation, date handling, and more. These libraries can be accessed using their imported names inside Appsmith.
Built-in JS Libraries
Appsmith provides the following built-in JavaScript libraries that can be utilized in your applications.
Lodash
{{ _.sortBy(fetchUsers.data, ["age"]) }}
Moment
{{ moment(datePicker1.selectedDate.format('DD MMM')) }}
Fast XML Parser
{{ xmlParser.parse(xmlAPI.data) }}
Forge
export default {
  hash() {
    var md = forge.md.sha256.create();
    md.update("The quick brown fox jumps over the lazy dog");
    return md.digest().toHex();
  },
};
External JS Libraries
You can also follow this guide to install external javascript libraries that are not loaded by default into your application.
