NyllRE / nuxt-file-storage

Easy solution to store files in your nuxt apps. Be able to upload files from the frontend and recieve them from the backend to then save the files in your project.
https://nuxt.com/modules/nuxt-file-storage
MIT License
63 stars 7 forks source link

Improve naming #2

Closed pi0 closed 4 months ago

pi0 commented 4 months ago

Context: https://github.com/nuxt/modules/pull/934


Only i am concerned we might try to find a less confusing name both for package and exposed comosable. Nuxt module naming is nuxt-{name}. The extra nitro prefix is little confusing.

Also for composable naming exposed by modules, we usually advice to use clear prefixes. useNuxt*/useNitro* are usually used for framework composables.

Therefore I suggest:

NyllRE commented 4 months ago

That sounds like a great idea! I agree that name is a more clear representation on the function of this module. I will do the changes and will give you updates

NyllRE commented 4 months ago

@pi0 I have deprecated the old nuxt-nitro-storage module and successfuly renamed the composable and the package to nuxt-file-storage. I hope everything is perfect for releasing to the modules repository!