Now with Partition Management

    @naturalcycles/sendgrid-helpers
    TypeScript icon, indicating that this package has built-in type declarations

    6.2.5 • Public • Published

    BuildStatus npm version Email Notifications Badge

    This package is part of a monorepo, please see this README for details.

    Support classes and helpers for the Sendgrid NodeJS libraries

    This is a collection of classes and helpers used internally by the Sendgrid NodeJS libraries.

    Note that not all objects represented in the Sendgrid API have helper classes assigned to them, because it is not expected that developers will use these classes themselves. They are primarily for internal use and developers are expected to use the publicly exposed API in the various endpoint services.

    To be notified when this package is updated, please subscribe to email notifications for releases and breaking changes.

    Mail class

    Used to compose a Mail object that converts itself to proper JSON for use with the Sendgrid v3 API. This class supports a slightly different API to make sending emails easier in many cases by not having to deal with personalization arrays, instead offering a simpler interface for composing mails.

    Attachment class

    Used by the inbound mail parser to compose Attachment objects.

    Personalization class

    Used by the Mail class to compose Personalization objects.

    Email address

    Helper class to represent an email address with name/email. Used by both the Mail and Personalization classes to deal with email addresses of various formats.

    Helpers

    Internal helpers that mostly speak for themselves.

    How to Contribute

    We encourage contribution to our libraries (you might even score some nifty swag), please see our CONTRIBUTING guide for details.

    About

    @naturalcycles/sendgrid-helpers is guided and supported by the SendGrid Developer Experience Team.

    @naturalcycles/sendgrid-helpers is maintained and funded by SendGrid, Inc. The names and logos for @naturalcycles/sendgrid-helpers are trademarks of SendGrid, Inc.

    SendGrid Logo

    Keywords

    none

    Install

    npm i @naturalcycles/sendgrid-helpers

    Homepage

    sendgrid.com

    DownloadsWeekly Downloads

    10

    Version

    6.2.5

    License

    MIT

    Last publish

    Collaborators

    • kribor
    • kirillgroshkov
    • cervicalmucus