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.
denali-mailer
Advanced tools
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
An awesome addon built on the Denali framework.
Install within your app:
npm install --save denali-mailer
Create a mailer you'd like to use:
// app/mailers/welcome/mailer.js
import { Mailer } from 'denali-mailer';
export default WelcomeMailer extends Mailer {
from = 'myemail@something.com';
to(data) {
return data.email;
}
}
And define your templates in app/mailers/welcome/tempalte.{html,txt}
which get access to the data via ejs.
Use in your action via this.service('mailer')
:
import ApplicationAction from './application';
export default class IndexAction extends ApplicationAction {
serializer = false;
respond() {
let mailer = this.service('mailer');
let data = { email: 'hello@user.com' };
mailer.send('welcome', data);
return { message: 'Welcome to Denali!' };
}
}
npm install
denali server
$ denali test
FAQs
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]
The npm package denali-mailer receives a total of 0 weekly downloads. As such, denali-mailer popularity was classified as not popular.
We found that denali-mailer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.