Skip to main content

Import or export a library

Importing external JavaScript libraries (such as uuid or lodash) extends the platform's functionality. Once you define the package name, version, and CDN URL in the Libraries panel and import the external library, these functions are available globally across your application. This helps you perform complex data manipulation or ID generation without writing utility functions from scratch.

Exporting libraries makes it easy to manage the packages and migrate them into a different version of KAIZEN or even an external system.

Export libraries

To export libraries, perform the following:

  1. In App Designer, on the top left, click Libraries.

    Libraries panel
  2. From the Libraries panel, click Download.

  3. The Download Assets window opens, asking for confirmation. Click OK.

    A JSON file containing necessary information of all the packages in your library will be downloaded in your browser.

Import a library

From a JSON file

To import a library from an existing JSON file, perform the following:

  1. In App Designer, on the top left, click Libraries.

  2. From the Libraries panel, click Upload. The File Explorer window opens.

  3. Browse to the JSON file. Click Open.

    A message will display, saying your application is updated successfully.

  4. The Reload Site window opens, asking for confirmation. Click OK to view the changes.

From a URL

To import a library from a URL, perform the following:

  1. In App Designer, on the top left, click Libraries.

  2. From the Libraries panel, click Add. The Add Library window opens.

  3. Fill in the mandatory fields including package name, version, URL, and library name. If needed, provide details in the optional field by specifying whether it is a material package. Click Save.

  4. The Reload Site window opens, asking for confirmation. Click OK to view the changes.

Last updated on 20 May 2026