Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mailjet-js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailjet-js

Mailjet NodeJS API client

  • 1.1.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Mailjet-JS

npm Actions Status

Overview

Checkout official documentation from Mailjet Node v3 Github.

Installation

npm install mailjet-js

FAQ

Differences from official client

At API level it is compatible with v3 client, but it includes following changes

  • Supports only Node 16.x above
  • Uses native promises
  • Free from any security warnings due to updated dependencies
  • Typescript typings

Using with webpack or esbuild

This library is using vm2 through nested dependencies, bundling this library may give you this error

Error: ENOENT: no such file or directory, open '/home/node/app/lib/contextify.js'
    at Object.openSync (node:fs:585:3)
    at Object.readFileSync (node:fs:453:35)
    at loadAndCompileScript (/home/node/app/lib/server.js:576:35)
    at /home/node/app/lib/server.js:579:14703 {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/home/node/app/lib/contextify.js'
}

Simple solution to this problem is to mark vm2 an external dependency. For this you can use

Keywords

FAQs

Package last updated on 04 Nov 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc