Install JavaScript Client
Everything you need to install and run a browser and promise-based TerminusDB JavaScript Client
Requirements
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
Component | Version | Required to: | Linux | macOS | Windows |
---|---|---|---|---|---|
| Use the | ✔ | ✔ | ✔ | |
| Use NodeJS event functionality. Version | ✔ | ✔ | ✔ | |
| Use NodeJS package manager. | ✔ | ✔ | ✔ |
Install steps
You can install and use the TerminusDB client as a NodeJS module using npm
or directly as a minified JavaScript file.
Install client as a NodeJS module
Using npm we can install the package in a new NodeJs project or existing one using following commands:
Go to a NodeJs project folder:
Install the package
Install client as a minified script
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.)
Download the script
Download the minified script from https://unpkg.com/browse/@terminusdb/terminusdb-client/dist/ and save it to [your-location]
.
Further reading
Last updated