Gathering detailed insights and metrics for @stoplight/feathers-mailer
Gathering detailed insights and metrics for @stoplight/feathers-mailer
Gathering detailed insights and metrics for @stoplight/feathers-mailer
Gathering detailed insights and metrics for @stoplight/feathers-mailer
npm install @stoplight/feathers-mailer
Typescript
Module System
Min. Node Version
Node Version
NPM Version
63.4
Supply Chain
88.4
Quality
72.3
Maintenance
25
Vulnerability
98.2
License
TypeScript (91.13%)
JavaScript (8.87%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
82 Stars
64 Commits
16 Forks
5 Watchers
1 Branches
17 Contributors
Updated on Jun 20, 2025
Latest Version
2.0.0
Package Id
@stoplight/feathers-mailer@2.0.0
Size
3.73 kB
NPM Version
3.10.10
Node Version
6.9.4
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Feathers mailer service using
nodemailer
1npm install feathers-mailer --save
If using a transport plugin, install the respective module.
import Mailer from 'feathers-mailer'
mailer = Mailer(transport, defaults)
transport
can be either SMTP options or a transport plugin with associated options.defaults
is an object that defines default values for mail options.mailer.create(body, params)
mailer.create
is a thin wrapper for transporter.sendMail
, accepting body
and returning err
and info
.
See here for possible fields of body
.
1import Mailer from 'feathers-mailer' 2import mandrill from 'nodemailer-mandrill-transport' 3 4// Register the service, see below for an example 5app.use('/mailer', Mailer(mandrill({ 6 auth: { 7 apiKey: process.env.MANDRILL_API_KEY 8 } 9}))); 10 11// Use the service 12var email = { 13 from: 'FROM_EMAIL', 14 to: 'TO_EMAIL', 15 subject: 'Sendgrid test', 16 html: 'This is the email body' 17}; 18 19app.service('mailer').create(email).then(function (result) { 20 console.log('Sent email', result); 21}).catch(err => { 22 console.log(err); 23});
For a more complete example, see examples/app which can be run with npm run example
.
1.0.0
Copyright (c) 2016
Licensed under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
7 existing vulnerabilities detected
Details
Reason
Found 6/24 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More