Merged into InCodeDevs/InCode
This package is a client for websites to interact with @incodelang/accounts
Install @incodelang/accounts-client with npm
npm install @incodelang/accounts-client
Install @incodelang/accounts-client with yarn
yarn add @incodelang/accounts-client
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);
})
Here are some related projects