faq-typescript-sdk
v1.0.1
Published
SDK for FAQ API
Readme
faq-typescript-sdk
| Table of Content | |----------------------------------------| | APIs | | Models | | Authorization |
- JavaScript client for FAQ API
This API allows you to manage Frequently Asked Questions (FAQs). Each FAQ object consists of a question and up to five answers. The API provides CRUD operations for both questions and answers.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 faq-typescript-sdk --saveIf the library is hosted at a git repository, e.g.https://github.com/ YOUR_USERNAME/faq-typescript-sdk then install it via:
npm install
YOUR_USERNAME/faq-typescript-sdk --saveLocal 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 installNext, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:
npm linkTo use the link you just defined in your project, switch to the directory you want to use your faq-typescript-sdk from, and run:
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>Finally, you need to build the module:
npm run build