
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
elastic-email-promise
Advanced tools
This LITE Wrapper, allows you to quickly and easily use the Elastic Email API v2 via Node.js and with ES 2015 Promises.
Install:
npm i elastic-email-promise
Set up your client:
const ee = require( 'elastic-email-promise' );
const eeClient = ee.Client( { apikey: 'Your Apikey' } );
request method with only api key required:
eeClient.request( '/account/load' )
.then( function( data ) { console.log( data ) } )
.catch( function( error ) { console.log( error ) } );
request method with more parameters:
eeClient.request( '/contact/findcontact', { email: 'example@example.com' } )
.then( function( data ) { console.log( data ) } )
.catch( function( error ) { console.log( error.message ) } )
request method with file upload:
const fs = require('fs');
eeClient.request( '/contact/upload', {
contactFile: fs.createReadStream('CSV_Sample1.csv')
})
.then( function( data ) { console.log( data ) } )
.catch( function( error ) { console.log( error.message ) } )
eepromise.request( 'path', { params } );
path : string; path for method (f.e. "/channel/list") params: object; parameters for method return => Promise Object with respond
More information about EE Api methods you can find in EE API Documentation
Elastic Email API (version 2) response dosen't have correct HTTP status code. All responses are JSON string:
//On success
{success: true, data: /* response data it could be array or object */}
//On false
{success: false, error: 'error message as string'}
FAQs
LITE & EASY Elastic Email API Wrapper with ES 2015 Promises.
We found that elastic-email-promise demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.