profi-sms
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

profi-sms

Usage

// commonJS
const ProfiSms = require('profi-sms').default;
// ES6 modules
import ProfiSms from 'profi-sms';

const sms = new ProfiSms({
  login: 'myLogin',
  password: 'myPassword',
  source: 'mySourceAccount',
});

// ...
try {
  await sms.send({
      tels: ['555444333', '555 444 333'],
      text: 'test',
  });
} catch (err) {

  console.error(err);
}

Package Sidebar

Install

npm i profi-sms

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

22.5 kB

Total Files

15

Last publish

Collaborators

  • maielo