Installing a Caplin Trader package

This page provides instructions on how to include a Caplin Trader 5 Node.js package in your application.

Requirements

To install a Caplin Trader package in your application, you require:

Installing a Caplin Trader package

Caplin packages are stored locally in the caplin-packages directory of your workspace. To install a Caplin Package in your application, run the yarn add command and pass the relative path to the Caplin package you want to install.

For example, to install the Caplin Trader package br-presenter to the application my-app, run the command below from the root directory of the my-app application:

$ cd ~/dev/ct5-workspace/apps/my-app
$ yarn add file:../../packages-caplin/br-presenter