1.3.6 • Published 6 years ago

@agderposten/user-functions v1.3.6

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
6 years ago

User functions

Easy access to AGM user functions. You probably need @babel/polyfill for this to work.

Fetch user information

import fetchUser from '@agderposten/user-functions';

fetchUser().then((user) => {
    console.log(user.isLoggedIn); // > true|false
});
import fetchUser from '@agderposten/user-functions';

const token = 'token';

fetchUser(token).then((user) => {
    console.log(user.isLoggedIn); // > true|false
});
1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago