npm.io
0.0.1-alpha • Published 5 years ago

@azure/connectors-sparkpost

Licence
MIT
Version
0.0.1-alpha
Deps
3
Size
198 kB
Vulns
1
Weekly
0
Stars
20
DeprecatedThis package is deprecated

SparkPost Connector

This package contains an SDK for the SparkPost Azure Connector.

How to use

This SDK should be used with Azure Connectors. Azure Connectors makes connecting to hundreds of services a simple and consistent experience. To start using this SDK, check out instructions and samples on the Azure Connectors repo.

Example code:

import { createSparkPostConnector } from "@azure/connectors-sparkpost";
const connectionString = process.env["CONNECTOR_CONNECTOR_STRING"];

module.exports = async function (context) {
    const sparkpostConnector = await createSparkPostConnector(connectionString);

    // Use sparkpostConnector 
};

Keywords