
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.
sms77-client
Advanced tools
This library relies on the global fetch API. To use this library with Node.js, node-fetch is required.
For compatibility with Node.js versions < 12, please also install the globalThis polyfill.
npm install sms77-client
yarn add sms77-client
<script src="https://unpkg.com/browse/sms77-client/dist/Sms77Client.umd.js"></script>
// const globalThis = require('globalthis')(); // uncomment if NodeJS < NodeJS versions < 12
// globalThis.fetch = require('node-fetch').default; // uncomment in NodeJS environments
// const Sms77Client = require('sms77-client'); // uncomment in NodeJS environments
new Sms77Client("MY_SUPER_SECRET_SMS77_IO_API_KEY!")
.balance()
.then((balance) => console.log(`My balance is: ${balance}`))
.catch((error) => console.error(`Error while fetching: ${balance}`));
git clone https://github.com/sms77io/js-client
cd js-client && npm install
SMS77_API_KEY=InsertSms77ApiKey npm run test
Set SMS77_LIVE_TEST=1
for live tests performing actual HTTP requests.
Set SMS77_DEBUG=1
for details printed to stdout
.
Need help? Feel free to send us an email.
FAQs
Official API client for seven
The npm package sms77-client receives a total of 2,228 weekly downloads. As such, sms77-client popularity was classified as popular.
We found that sms77-client 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.