-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parsing single cookie #31
Comments
This library is for parsing |
Just like Like the difference between |
@danielroe As an alternate solution, what if the decode function had access to the cookie key? Something like |
#35 is a little bit more verbose but also gives more flexibility. @danielroe one thing i would suggest for Nuxt use btw if perf of not parsing everytime matters, we could cache the value of parses I delay next release to finish work on #33 but please let me know if need it earlier or have an opinion about new api. |
No worries at all; there's no rush. I like the perf suggestion too! |
original issue: nuxt/nuxt#27246
It might be worth considering an option or separate function to return/decode only a single cookie.
What do you think @pi0?
The text was updated successfully, but these errors were encountered: