Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
email-octopus-ts
Advanced tools
email-octopus-ts is an unofficial TypeScript library for sending emails with the [Email Octopus](https://emailoctopus.com/?urli=J86C8) API. The API also supports many other features like managing lists and contacts.
email-octopus-ts is an unofficial TypeScript library for sending emails with the Email Octopus API. The API also supports many other features like managing lists and contacts.
The package is published on npm as email-octopus-ts
. You will have to install axios because this package depends on it.
yarn add axios email-octopus-ts
npm install axios email-octopus-ts
First, we need to initialize the client with the constructor:
import { emailOctopus } from "email-octopus-ts";
// TODO: Replace the API key.
const emailOctopusApiKey = "...";
const EmailOctopus = emailOctopus(emailOctopusApiKey);
After that we can call the API methods:
import { emailOctopus } from "email-octopus-ts";
// TODO: Replace the API key.
const emailOctopusApiKey = "...";
const EmailOctopus = emailOctopus(emailOctopusApiKey);
const contact = await EmailOctopus.lists.createContact({
listId: "...",
emailAddress: "hello@hackathon.camp",
// fields?: Record<string, unknown>;
// tags?: Array<string>;
// status?: "SUBSCRIBED" | "UNSUBSCRIBED" | "PENDING";
});
// Contact is of type:
// ---
// id: string;
// email_address: string;
// fields: Record<string, unknown>;
// tags: Array<string>;
// status: "SUBSCRIBED" | "UNSUBSCRIBED" | "PENDING";
// created_at: string;
console.log({ contact });
import { emailOctopus } from "email-octopus-ts";
// TODO: Replace the API key.
const emailOctopusApiKey = "...";
const EmailOctopus = emailOctopus(emailOctopusApiKey);
const contacts = await EmailOctopus.lists.getAllContacts(
{
listId: "...",
// limit?: number;
// page?: number;
},
{
// Will loop through all pages
autoPaginate: true,
},
);
contacts.forEach((contact) => {
// Contact is of type:
// ---
// id: string;
// email_address: string;
// fields: Record<string, unknown>;
// tags: Array<string>;
// status: "SUBSCRIBED" | "UNSUBSCRIBED" | "PENDING";
// created_at: string;
console.log({ contact });
});
Email Octopus is a service that helps you manage your email lists. It is a powerful tool that can be used to manage your email lists, send emails, and track your email opens.
I am a indie hacker and I am using Email Octopus for several side projects because it is:
FAQs
email-octopus-ts is an unofficial TypeScript library for sending emails with the [Email Octopus](https://emailoctopus.com/?urli=J86C8) API. The API also supports many other features like managing lists and contacts.
The npm package email-octopus-ts receives a total of 0 weekly downloads. As such, email-octopus-ts popularity was classified as not popular.
We found that email-octopus-ts 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.