title: How to store a long string in Js Cookies?
body: <p>Hi I am working with <a href="https://github.com/js-cookie/js-cookie" rel="nofollow noreferrer">JsCookies</a> it is working good but I am facing a problem</p>
  <p>Whenever I store a short string in the cookies, it is working fine but the drawback is i am not able to store long strings in cookies</p>
  <p>for example</p>
  <p>This is working fine = <code>Cookies.set('Coo', 'string', { expires: 1 })</code></p>
  <p>But facing problem when ever i am trying to store stringified JSON data(large string)</p>
  <pre><code>Cookies.set('foo', JSON.stringify(result))
  </code></pre>
  <p>Please help</p>