@tmatic/generated-api-questionary-typescript-sdk
v1.0.0
Published
SDK for Questionnaire API
Downloads
1
Readme
@tmatic/generated-api-questionary-typescript-sdk
| 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/generated-api-questionary-typescript-sdk --save
If the library is hosted at a git repository, e.g.https://github.com/ YOUR_USERNAME/@tmatic/generated-api-questionary-typescript-sdk then install it via:
npm install
YOUR_USERNAME/@tmatic/generated-api-questionary-typescript-sdk --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/generated-api-questionary-typescript-sdk from, and run:
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
Finally, you need to build the module:
npm run build