Is this package legit?
I was looking for the pinia persisted state. However, i couldnt.
The only thing left is the next:
pinia-plugin-persistedstate
2k in github for such a popular package isnt very convincing. Is this package legit?
7 Replies
Hi @IsaacR943. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Yes,
@pinia-plugin-persistedstate/nuxt
is a legitimate package for Nuxt applications. It's mentioned in several official Nuxt GitHub issues and Stack Overflow posts in the knowledge sources.
The package is used to persist Pinia store state across page reloads in Nuxt applications. It appears in multiple runtime module configurations in Nuxt projects, as seen in several GitHub issues:
- It's listed as a runtime module in this GitHub issue alongside other official modules like @pinia/nuxt
- It's also mentioned in another GitHub issue as part of a Nuxt project's runtime modules
Additionally, in a Stack Overflow post about using cookies in Nuxt 3 APIs, the solution involves using Pinia with this persisted state plugin:
The relatively lower GitHub stars count doesn't necessarily indicate that it's not legitimate. Many specialized Nuxt ecosystem packages have fewer stars than their Vue.js counterparts but are still official or well-maintained.
If you're looking to use Pinia with state persistence in Nuxt, this package appears to be the recommended solution based on the knowledge sources provided.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@1223715160502571129> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
if 260k weekly downloads from npm is anything to go by, than yes it is
2k in github for such a sheer volume of weekly downloads seems suspicious as hell to me
semver
is downloaded over 300 million times a week and has 5K stars. By your logic, that is highly suspicious. Yet you use it every day, unknowingly. 😅Okay. Point made. Do you know when will they make it compatible with the nuxt pinia dev tools? Because it doesnt has full compatibility yet
$$$