0.0.1 • Published 2 years ago

moorse v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 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

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

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