
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.