2.0.5 • Published 3 years ago

textbase.js v2.0.5

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
3 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

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago