Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@nabcellent/wasiliana
Advanced tools
This is a Typescript package that interfaces with the Wasiliana Api. The API enables you to initiate mobile SMS notifications.
You can install the package via yarn or npm:
yarn add @nabcellent/wasiliana
npm i @nabcellent/wasiliana
Initialize the Wasiliana class with your config.
import { Wasiliana, WasilianaConfig } from '@nabcellent/wasiliana';
let config: WasilianaConfig = {
apiKey : process.env.WASILIANA_SMS_API_KEY,
senderId : process.env.WASILIANA_SMS_SENDER_ID
};
const wasiliana = new Wasiliana(config);
Enables you to send text messages
const response = await wasiliana.sms.text('#WasilianaTest').to(254123456789).send()
// OR
const response = await wasiliana.sms.text('#WasilianaTest').to([254123456789]).send()
// Expected responses
// -- SUCCESS
{
status: 'success',
data: 'Successfully Dispatched the sms to process'
}
// -- FAILED
{
status: 'failed',
data: 'App does not match your api key'
}
OR
{
status: 'failed',
data: 'Wrong sender id sent'
}
OR
{
status: 'failed',
data: 'Short code does not exist'
}
OR
{
status: 'failed',
data: 'App does not exist'
}
OR
{
status: 'failed',
data: 'ApiKey must be present in the header'
}
Provide the text message.
const response = wasiliana.sms.cost('Hello World.')
// Expected response(number)
0.2
Please see CONTRIBUTING for details.
If you discover any security related issues, please email nabcellent.dev@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
FAQs
Wasiliana API Library
The npm package @nabcellent/wasiliana receives a total of 0 weekly downloads. As such, @nabcellent/wasiliana popularity was classified as not popular.
We found that @nabcellent/wasiliana 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.