
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
booljs-mailer
Advanced tools
booljs-multer allows developers to send mails through the API using nodemailer package.
Run,
npm i -S booljs-mailer
Create a configuration file called mail.json. To find out the settings for this file, refer to nodemailer's documentation.
{
"options": {
"service": "Mailgun",
"auth": {
"user": "postmaster@example.com",
"pass": "<password>"
}
}
}
In controllers' handlers, use it as part of the request.mail object.
module.exports = function(app){
var User = app.dao.User
, Json = new app.views.Json();
// ...
this.sendList = function(req, res){
User.list(function(users) {
req.mail.sendMail({
// Here you can use nodemailers' options for sendMail
}, function(err) {
if(err) json.error(err, res);
json.standard(false, res);
});
});
};
// ...
};
Bool.js is an MVC Framework. But is not just any other framework; it gives us back the power to choose how to organize a well-designed project, so we can choose our dependencies, craft our architecture, choose our data connectors, and finally, work based on cool development structures without hesitating about learning the framework as is.
Bool.js also reminds the importance of having a cool workspace structure. That's why it's based on namespaces, leading us to focus on our code rather than focusing on managing complicated references to other files in our project.
Of course you can. Bool.js is Free Software (not as in a free beer, but in free as a bird). Just remember to update all of your dependencies, arrange your code in the right project structure (we're very tight at that) and finally, use Node.js 4.0.0 or further versions.
FAQs
Middleware to allow developers send mails in their APIs
The npm package booljs-mailer receives a total of 0 weekly downloads. As such, booljs-mailer popularity was classified as not popular.
We found that booljs-mailer 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.

Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.

Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.