{"repo":"SparkPost/node-sparkpost","free":true,"listed":false,"github":"https://github.com/SparkPost/node-sparkpost","clone":"git clone https://github.com/SparkPost/node-sparkpost.git","description":"SparkPost client library for Node.js","language":"JavaScript","stars":177,"topics":["sparkpost","email","nodejs","client-library","javascript"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"[Sign up][sparkpost sign up] for a SparkPost account and visit our Developer Hub for even more content. Node.js Client Library The official Node.js binding for your favorite SparkPost APIs! Prerequisites Before using this library, you must have: A shiny new SparkPost Account, [sign up for a new account][sparkpost sign up] or login to SparkPost A valid SparkPost API Key. Check out our Support Center for information on how to create API keys Installation Note: Node.js versions 0.10 and 0.12 are no longer supported. Initialization new SparkPost(apiKey[, options]) - Initialization apiKey Required: yes (unless key is stored in SPARKPOST API KEY environment variable) Type: String a passed in apiKey will take precedence over an environment variable options.origin or options.endpoint Required: no Type: String Default: https://api.sparkpost.com:443 Note: To use the SparkPost EU API you will need to set this to https://api.eu.sparkpost.com:443 . options.apiVersion Required: no Type: String Default: v1 options.stackIdentity Required: no Type: String An optional identifier to include in the User-Agent header. e.g. product/1.0.0 options.headers Required: no Type: Object set headers that apply to all requests options.debug Required: no Type: Boolean Default: false appends full response from request client as debug when true for debugging purposes Note: This will expose your api key to the client-side. Do not use in production. Methods Note: All methods return promises and accept an optiona","default_branch":null,"files":null,"tree":[],"storefront":"/r/SparkPost","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SparkPost/node-sparkpost/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}