
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
coolsms-rest-sdk
Advanced tools
coolsms rest-sdk for node.js Documentation
npm install coolsms-rest-sdk
npm test
var Coolsms = require('coolsms-rest-sdk');
var client = new Coolsms({
key: 'your API key',
secret: 'your API secret key'
});
client.sms.send({
to: '00000000000', // recipient
from: '11111111111', // sender
type: 'SMS', // SMS, LMS, MMS
text: 'your message',
}, function (error, result) {
if(error) {
console.log(error);
} else {
console.log(result);
}
});
Where you see params
it is a plain JavaScript object, e.g. { text: 'Hello world!' }
param
is not need to include authentication information
sms.send( params, [callback] )
sms.status( [params, callback] )
sms.sent( [params, callback] )
sms.balance( [callback] )
sms.cancel( [params, callback] )
mo.list( [params, callback] )
mo.insert( params, [callback] )
senderID.register( params, [callback] )
senderID.verify( params, [callback] )
senderID.delete( params, [callback] )
senderID.list([ params, callback] )
senderID.setDefault( params, [callback] )
senderID.getDefault( [params, callback] )
MIT
FAQs
coolsms rest-sdk for node.js
The npm package coolsms-rest-sdk receives a total of 836 weekly downloads. As such, coolsms-rest-sdk popularity was classified as not popular.
We found that coolsms-rest-sdk 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
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.