0.0.5 • Published 4 years ago

@deepvision/date.js v0.0.5

Weekly downloads
14
License
SEE LICENSE IN LI...
Repository
-
Last release
4 years ago

Deepvision Auth library for projects with Server Side Rendering

Installing

To install library use:

npm install @deepvision/ssr-auth

Initializing

Import library into your script file and create auth instance with constructor.

import SSRAuth from '@deepvision/ssr-auth';


let auth = null;
if (process.browser) {
    auth = new SSRAuth({
        isBrowser: true,
        endpoint: 'api-enpoint',
    });
} else {
    auth = new SSRAuth({
        req,
        res,
        isBrowser: false,
        endpoint: 'api-enpoint',
    });
}```
0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago