1.3.6 • Published 5 years ago

@agderposten/user-functions v1.3.6

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
5 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

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago