title: Hot can I use the return of localforage
body: <p>In my Vue SPA, I use localforage to store the Bearer token.</p>
  
  <p>In a component, i need the token to upload files to the api.</p>
  
  <p>I tried to get the localforage token:</p>
  
  <pre><code>            let token = localforage.getItem('authtoken')
              console.log(token)
  </code></pre>
  
  <p>It works but the result is a promise object:</p>
  
  <pre><code>Promise
  
  result: "eyJ0eXAiOiJKV1QiyuIiwiaWF0IjoxNTg4MTUzMTkzLCJleHAiOjE1ODg…"
  
  status: "resolved"
  </code></pre>
  
  <p>When i try to <code>console.log(token.result)</code> it returns <code>null</code></p>
  
  <p>How can i access the token?</p>