Small js library that gives you information about user login and abo state.
npm i --save @weltn24/la-casino-user
Typescript:
import * as user from "la-CASino-user";
// get data about current user
user.getUser();
// get purchased products
user.getUser().products;
user.isUserLoggedIn();
user.isUserSessionExpired();
Javascript:
const user = require('la-CASino-user');
user.isUserLoggedIn();
Use following commands during development:
npm run test
npm run build