
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
[](https://www.npmjs.com/package/tw-sms)
trend wood sms module.
npm install tw-sms
development env
you can create config.js.
and then, add some config in it, just like below:
module.exports = {
sms_opts: {
apikey: 'your apikey' // get key from www.yunpian.com
}
};
production env
you don't need config sms's apikey anymore.
and you should start node like this:
SMS_KEY=yourkey node app.js
var config = require('config');
var tw_sms = require('tw-sms')(config.sms_opts.apikey);
// sms send
let options1 = {
mobile: '18523975118',
text: '您的验证码是5201314'
};
tw_sms.send(options1, callback);
// sms get reply
let options2 = {
start_time: '2015-12-25 00:00:00',
end_time: '2015-12-30 00:00:00',
page_num: 1,
page_size: 100
}
tw_sms.getReply(options2, callback);
// sms get record
let options3 = {
start_time: '2015-12-25 00:00:00',
end_time: '2015-12-30 00:00:00',
page_num: 1,
page_size: 100
}
tw_sms.getReply(options3, callback);
npm install
npm test
FAQs
[](https://www.npmjs.com/package/tw-sms)
We found that tw-sms 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.