0.0.1 • Published 3 years ago

moorse v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Moorse's software development kit

Quickstart

Create a node js project, and install the package.

$ npm i moorse

At typescript use import to get the moorse class with all the methods, the same can be done at es6.

import { Moorse } from "moorse";

async function useMoorse(pack) {
    const moorse: Moorse = new Moorse({
        channelType: pack.channel,
        integrationId: pack.integrationId,
        email: pack.email,
        password: pack.password
        onLogin: (response)=>{
            console.log("The user is logged in!");
        }
    });
}

Here, pack is an object like:

const pack = {
    integrationId: "some-moorse-integration-id",
    channel: "whatsapp",// <-- Unique communication channel for now
    email: "sample.email@gmail.com",
    password: "strongpass123"
};
0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

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