# Javascript: PDFJSSettings.basePath Property

> Optional. Directory containing the PDF.js library and worker scripts.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Path:** DS Server > Reference > JavaScript API - Document Viewer > Javascript: PDFJSSettings.basePath Property
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/#syntax)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/basepath-property/#examples)

---

## Nearby

- **Previous:** [PDFJSSettings Class](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/llms.txt)
- **Next:** [Javascript: PDFJSSettings.librarySourcePath Property](https://docs.textcontrol.com/ds-server/reference/javascript-document-viewer/pdfjssettings/librarysourcepath-property/llms.txt)
