How to use the @sendgrid/client.Client function in @sendgrid/client

To help you get started, we’ve selected a few @sendgrid/client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sendgrid / sendgrid-nodejs / packages / mail / src / classes / mail-service.js View on Github external
constructor() {

    //Set client, initialize substitution wrappers and secret rules
    //filter
    this.setClient(new Client());
    this.setSubstitutionWrappers('{{', '}}');
    this.secretRules = [];
  }

@sendgrid/client

Twilio SendGrid NodeJS API client

MIT
Latest version published 2 months ago

Package Health Score

95 / 100
Full package analysis