2.0.5 • Published 2 years ago

textbase.js v2.0.5

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

textbase.js 🧬

textbase.js is Textbases' API npm package for your project.

Installation

With npm: npm i textbase.js or with yarn: yarn add textbase.js

Sending SMS

const textbase = require('textbase.js')
// import textbase from 'textbase.js'

textbase.sms('YOUR_API_KEY', {to: 'TO_NUMBER', message: 'MESSAGE'})
  .then((data) => {
    /* The package returns a typical AxiosRequest response, so you have to get the data from the response */
    console.log(data.data)
  }).catch((error) => {
    /* Errors thrown will be caught in here */
    void console.log(error)
  }) 
2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago