This is the Vonage JWT SDK for Node.js. This package helps create JWT tokens to use with Vonage APIs.
For full API documentation refer to developer.vonage.com.
npm i -D @vonage/eslint-config
yarn add @vonage/eslint-config --dev
There are number of configurations that you can use based on the application.
Each configuration extends the base rules.
// eslint.config.js
import vonage from '@vonage/eslint-config';
export default [
// Include all base rules for all JS projects
...vonage.configs.base,
// Include all base rules for all TypeScript projects
...vonage.configs.typescript,
// Include all base rules for all Jest projects
...vonage.configs.jest,
// Include all base rules for all Node projects
...vonage.configs.node,
];
Note currently this is only for Node.js projects. Web projects are expected to be added in the future.