@tmatic/demo-questionary-typescript-sdk-syd-1
v1.0.0
Published
SDK for Questionnaire API
Downloads
3
Readme
@tmatic/demo-questionary-typescript-sdk-syd-1
| Table of Content | |----------------------------------------| | APIs | | Models | | Authorization |
- JavaScript client for Questionnaire API
This API allows you to manage questionnaires for an application. It provides CRUD operations for the Questionnaire object, including the ability to add questions and options. This SDK is automatically generated by the TMatic API Generator project:
- API version: 1.0.0
- Package version: 1.0.0
Installation
For Node.js
Then install it via npm:
npm install @tmatic/demo-questionary-typescript-sdk-syd-1 --save
If the library is hosted at a git repository, e.g.https://github.com/ YOUR_USERNAME/@tmatic/demo-questionary-typescript-sdk-syd-1 then install it via:
npm install
YOUR_USERNAME/@tmatic/demo-questionary-typescript-sdk-syd-1 --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/demo-questionary-typescript-sdk-syd-1 from, and run:
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
Finally, you need to build the module:
npm run build