svelte-kit-cookie-session icon indicating copy to clipboard operation
svelte-kit-cookie-session copied to clipboard

Document cookie options

Open Zamiell opened this issue 1 year ago • 0 comments

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.

Zamiell avatar Sep 09 '22 20:09 Zamiell