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

Top email marketing trends for 2022

To the outsiders, it can sometimes feel like email hasn't changed that much since it was created. Maybe this is why some are so persistent in...

Read more

Hermes on a moped delivering mail to a mailbox

Reducing email’s carbon footprint

When it comes to protecting our planet, every step toward cleaner practices – small and big – counts. So, what if we told you that emailing, as clean and green as it seems...

Read more

Mother's day gift for Hera

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

We finally got through 2023 (phew!) and Q1 is just around the corner. It’s time for you to start scribbling down your New Year’s Resolutions to make sure we start the year with a bang. If you’ve found your way here, we’re guessing that’s because creating a winning...

Read more

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