Back to main menu

Product

Unwrapping our new NodeJS API wrapper

We are excited to announce the release of a new NodeJS wrapper in our open sourced projects collection on Github.

Hermes working on PC

PUBLISHED ON

PUBLISHED ON

When Mailjet first came to be, our team set out to build a fast and scalable platform for developers. In 2010, after seeing many companies struggle to set up transactional email in-house, co-founders Julien Tartarin and Wilfried Durand wanted to mutualize email sending to make it easy for anyone to get started within minutes. We’ve come a long way since then, with a full library of API features to optimize your transactional email.

Today, we are excited to announce the release of a new NodeJS wrapper in our open sourced projects collection on Github. JavaScript has become one of the hottest languages since Ryan Dahl brought NodeJS to the server side technologies ecosystem. At Mailjet, we place a lot of emphasis on keeping up with latest tech trends, because we know there are new languages, integrations and software being invented on a daily basis that help make it easier for you to build something equally awesome.

Build more, faster on NodeJS

NodeJS is fast, compared to browser-based Javascript. The code is translated into machine code in real-time as it runs. It’s also an asynchronous object-oriented language, with a large community - perfect for a variety of needs, whether you’re looking to kickstart your career as a developer, incorporate real-time features into your project, or process large volumes of data. It’s easy to learn, with A LOT of online resources and documentation to help you advance your coding over time.

Our new wrapper gives you the freedom to  use callbacks or EventEmitters, store your API calls so you can reuse your previous requests, and learn more about the Mailjet API. We’ve coded the wrapper using the soon-to-be released EcmaScript 2015 specifications, including native Promises, string templating and more.

Made for everyone

I recently joined Mailjet as a Developer Evangelist, so I’m especially familiar with learning and navigating my way through the API for the first time. While I was able to pick it up in barely no time, when it came to coding the NodeJS wrapper, my goal was to make it even easier for anyone to pick up and use the Mailjet API. The code is light and focuses on developer experience and readability. It takes little effort to decrypt and the internal process is intuitive. The wrapper code is designed to be flexible for everyone, whether you prefer to use callbacks or Promises:

It’s a very low level API client that allows you to build the calls you need in a Javascript way. The Mailjet API is meant to grow with the programming community. It is a highway to all the new exciting features we release for our Mailjetters.

“Any application that can be written in JavaScript will eventually be written in JavaScript” - Jeff Atwood

Mailjet <3 Github

Like the rest of our Mailjet wrapper library, the NodeJS code is MIT licensed. We’ll be releasing use cases over the next few weeks and months - so keep your eyes peeled!

Last but not least, we know that we can’t build a great product without the help of you - our developer community. That’s why we love feedback and code contributions. Whether you’re just starting out at coding, or are a seasoned developer that’s been in this business for years, as long as you document your features, we will send you feedback and consider merging your code with the official repository!

But enough talk - I'll let our demo walk the walk, check it out and get started with our tutorial today!

Pssst: we also launched our Developers focused Twitter account. Join us!

Popular posts

Hermes rides a firework next to a Goddess in front of a night sky with more fireworks

Email best practices

6 min

Top email marketing trends for 2022

Read More

Hermes on a moped delivering mail to a mailbox

Email best practices

8 min

Reducing email’s carbon footprint

Read More

Mother's day gift for Hera

Marketing

15 min

Marketing calendar 2025: Dates you shouldn’t miss this year

Read More

It's never been easier to build connected experiences. Start sending with Mailjet today.Get started on your path
CTA icon