> ## Documentation Index
> Fetch the complete documentation index at: https://new.docs.falkordb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UDF Libraries

> Manage JavaScript UDF libraries: load, inspect, remove, and export function bundles.

The UDF Libraries page (`/udf`) is used to manage JavaScript user-defined function libraries available to FalkorDB.

<img src="https://mintcdn.com/falkordb-core/4RKo-4HTPunDsB0h/images/browser/udf-libraries.png?fit=max&auto=format&n=4RKo-4HTPunDsB0h&q=85&s=f011b29f0225277b98be14019bf25227" alt="UDF libraries page" width="1920" height="1080" data-path="images/browser/udf-libraries.png" />

## What you can do

* **Load Lib**
  * Upload a UDF library file and register it on the server.
* **Flush Libs**
  * Remove loaded libraries from the current environment.
* **Browse libraries**
  * View currently loaded library names in the left panel.
* **Inspect code**
  * Open a loaded library and review its source in the editor area.
* **Export**
  * Download the currently viewed library source.

## Typical workflow

1. Open **/udf** from the left navigation.
2. Click **Load Lib** and select your JavaScript UDF file.
3. Confirm the library appears in the **Libraries** list.
4. Click the library entry to inspect its code.
5. Use **Export** if you need to download the current source.

## Notes

* UDF behavior depends on server-side support and permissions.
* If you do not see expected libraries, verify your connection and user role.

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="Where do I manage user-defined functions in Browser?">
    Use the **UDF Libraries** page at `/udf`, accessible from the left navigation.
  </Accordion>

  <Accordion title="What file format should I upload with Load Lib?">
    Upload a JavaScript UDF library file that follows FalkorDB UDF conventions.
  </Accordion>

  <Accordion title="What does Flush Libs do?">
    It clears loaded UDF libraries from the current environment.
  </Accordion>

  <Accordion title="Can I view and download library code from the UI?">
    Yes. Select a library to view its source, then use **Export** to download it.
  </Accordion>
</AccordionGroup>
