pixelmund / svelte-kit-cookie-session

⚒️ Encrypted "stateless" cookie sessions for SvelteKit
MIT License
182 stars 11 forks source link

Document cookie options #45

Closed Zamiell closed 1 year ago

Zamiell commented 2 years ago

image

Here, we see that the "cookie" object is optional.

But in most libraries, there would be nice JSDoc comments here that describe each individual option and the default value that the library chooses for you. (The JSDoc comments would cause mouse-over documentation to appear in VSCode so that I wouldn't have to leave my code editor to search the documentation.)

Can this be added? It's unclear what I need to specify and/or change in order to make using this product secure.

pixelmund commented 1 year ago

I have documented the cookie options as well as the other session options in version 3.3.0

Zamiell commented 1 year ago

thanks