
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
tm-notification
Advanced tools
tm-notification - This is the package exposing methods for the notification service
"dependencies": {
"tm-notification": "~1.0.7" // see the "releases" section
}
npm install tm-notification
APP_NAME=tm-notification-package
API_GATEWAY_URL=
NOTIFICATION_SERVICE_URL= //internal microservice
CLIENT_ID=
###Send SMS
const {SMSBuilder} = require('tm-notification');
const smsBuilder = new SMSBuilder();
const builder = smsBuilder.startBuild()
.setRecipients("0703XXXXXXX")
.setProvider("smpp")
.setMessage("Test message")
.setSender("TM30");
const response = await builder.send();
console.log("Response", response);
//Response { data: 'Email Sent' }
const {EmailBuilder} = require('tm-notification');
const emailBuilder = new EmailBuilder();
const builder = emailBuilder.startBuild()
.setProvider("sendgrid")
.setFrom("package@tm30.net")
.setSubject("From Test Package")
.setProvider("sendgrid")
.setRecipients("michealakinwonmi@gmail.com");
builder.setHeader()
.setTitle("Header Title")
// .setBGColor("green")
.setAppLogo("https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_92x30dp.png")
.setAppUrl("https://tm30.net")
.setAppName("TM30");
builder.setBody()
.setContent("This is a content")
.setGreeting("Greetings,")
.setIntroLine([
"intro line 1",
"intro line 2"
])
.setOutroLine([
"outroline 1",
"outroline 2"
]);
builder.setAttachments([
"https://res.cloudinary.com/tm30global/image/upload/v1582900669/4bb79409937716d8db9855e49cc7a9b6.pdf"
]);
const response = await builder.send();
console.log("Response", response); // Response { data: 'Email Sent' }
npm install
npm test
FAQs
This is the package exposing methods for the notification service
We found that tm-notification 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.