README
Install
Install with npm
$ npm install loopback-current-user --save
Initial
var currentUser = require('loopback-current-user');
Usage
console.log(currentUser.get());
Retrieve current logged in user
<script type="module">
import loopbackCurrentUser from 'https://cdn.skypack.dev/loopback-current-user';
</script>
Install with npm
$ npm install loopback-current-user --save
var currentUser = require('loopback-current-user');
console.log(currentUser.get());