@tmatic/typescript-sdk-metrics
Table of Content |
---|
APIs |
Models |
Authorization |
- JavaScript client for Metrics API
API for managing metrics and associated data
This SDK is automatically generated by the TMatic API Generator project:
- API version: 1.1.0
- Package version: 1.0.0
Installation
For Node.js
Then install it via npm:
npm install @tmatic/typescript-sdk-metrics --save
If the library is hosted at a git repository, e.g.https://github.com/ YOUR_USERNAME/@tmatic/typescript-sdk-metrics then install it via:
npm install
YOUR_USERNAME/@tmatic/typescript-sdk-metrics --save
Local development
To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json
(and this README). Let's call this JAVASCRIPT_CLIENT_DIR
. Then run:
npm install
Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR
:
npm link
To use the link you just defined in your project, switch to the directory you want to use your @tmatic/typescript-sdk-metrics from, and run:
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
Finally, you need to build the module:
npm run build