Install JavaScript Client
Everything you need to install and run a browser and promise-based TerminusDB JavaScript Client
A list of prerequisite components depending on your operating system. Click on the required component to download it from the provider's website.
Table: Installation requirements
You can install and use the TerminusDB client as a NodeJS module using
npm
or directly as a minified JavaScript file.Using npm we can install the package in a new NodeJs project or existing one using following commands:
Go to a NodeJs project folder:
$ cd ../projectfolder/
Install the package
$ npm install --save @terminusdb/terminusdb-client
Use the minified script
terminusdb-client.min.js
in a CDN or download it to a location of your choice.Use in a CDN
Use the minified script in your Content Delivery Network (CDN.)
<script src="https://unpkg.com/@terminusdb/terminusdb-client/dist/terminusdb-client.min.js"></script>
Download the script
Download the minified script from https://unpkg.com/browse/@terminusdb/terminusdb-client/dist/ and save it to
[your-location]
.<script src="http://[your-location]/terminusdb-client.min.js"></script>
Last modified 7mo ago