Install SQLite Cloud JavaScript Client Library via CDN #24
-
|
Install @sqlitecloud/drivers via CDN links For example <script src="https://cdn.jsdelivr.net/npm/@sqlitecloud/drivers"></script> PS - let us connect to SQLite Cloud through the browser (I don't know if this is already here or not) EDIT: I further checked the SQLite Cloud docs and there is no mention of "cdn" or "content delivery network" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi, thank you for your question. To use the driver from the CDN, you can include the following script in your HTML:
You can find a working example demonstrating how to use the driver in a browser here: Working Example. In this example, the driver is served locally. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, here is the code of the example: |
Beta Was this translation helpful? Give feedback.

Hi, thank you for your question.
To use the driver from the CDN, you can include the following script in your HTML:
<script src="https://cdn.jsdelivr.net/npm/@sqlitecloud/drivers@1.0.178/lib/sqlitecloud.drivers.js"></script>You can find a working example demonstrating how to use the driver in a browser here: Working Example. In this example, the driver is served locally.