Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

[NOT IN USE][DEPRECATED]

License

Notifications You must be signed in to change notification settings

spring-media/la-CASino-user

Repository files navigation

la-CASino-user

Small js library that gives you information about user login and abo state.

Install:

npm i --save @weltn24/la-casino-user

Usage of library:

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();

Development:

Use following commands during development:

npm run test
npm run build