Skip to content
This repository has been archived by the owner. It is now read-only.

Latest commit

 

History

History
50 lines (28 loc) · 993 Bytes

README.md

File metadata and controls

50 lines (28 loc) · 993 Bytes

@incodelang/accounts-client

Merged into InCodeDevs/InCode

This package is a client for websites to interact with @incodelang/accounts

Installation

Install @incodelang/accounts-client with npm

  npm install @incodelang/accounts-client

Install @incodelang/accounts-client with yarn

  yarn add @incodelang/accounts-client

Examples

const {WebClient} = require('@incodelang/accounts-client');

const client = new WebClient(""); // enter the root url of the server here (leave empty for /) 

// check the credentials of a user
client.login("username", "password").then(success => {
    console.log(success);
})

Authors

License

GPL-3.0

Related

Here are some related projects