svelte-kit-sessions
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "svelte-kit-sessions", | ||
"description": "A easy and efficient session management in SvelteKit", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"author": "yutak23 <yuta.katayama.23+github@gmail.com> (https://github.com/yutak23)", | ||
@@ -6,0 +6,0 @@ "repository": { |
# svelte-kit-sessions | ||
**svelte-kit-sessions** is a module for easy and efficient session management in SvelteKit. | ||
[![npm](https://img.shields.io/npm/v/svelte-kit-sessions.svg)](https://www.npmjs.com/package/svelte-kit-sessions) | ||
@@ -8,12 +10,10 @@ [![unit test](https://github.com/yutak23/svelte-kit-sessions/actions/workflows/unit-test.yaml/badge.svg)](https://github.com/yutak23/svelte-kit-sessions/actions/workflows/unit-test.yaml) | ||
**Svelte Kit Sessions** is a module for easy and efficient session management in SvelteKit. | ||
## Features | ||
- **Simple session management module** | ||
Svelte Kit Sessions is designed to be simple enough to be used in a variety of use cases, including a pattern in which sessions are paid out after authentication by the user's own application, or after authentication using OpenID Connect. | ||
svelte-kit-sessions is designed to be simple enough to be used in a variety of use cases, including a pattern in which sessions are paid out after authentication by the user's own application, or after authentication using OpenID Connect. | ||
- **Customizable Store** | ||
In addition to the default MemoryStore, various other stores such as Redis and Cloudflare KV are available | ||
- **Also available in edge environments** | ||
Svelte Kit Sessions also supports use in the Edge environment such as Cloudflare Pages Functions(Cloudflare Workers). | ||
svelte-kit-sessions also supports use in the Edge environment such as Cloudflare Pages Functions(Cloudflare Workers). | ||
@@ -280,3 +280,3 @@ ## Installation | ||
**Note** The default value of the cookie matches the behavior of SvelteKit. For more details, please check https://kit.svelte.dev/docs/types#public-types-cookies. However, for the `cookie.path`, it is implemented so that `/` is set on the Svelte Kit Sessions side. | ||
**Note** The default value of the cookie matches the behavior of SvelteKit. For more details, please check https://kit.svelte.dev/docs/types#public-types-cookies. However, for the `cookie.path`, it is implemented so that `/` is set on the svelte-kit-sessions side. | ||
@@ -417,3 +417,3 @@ The following are options that can be set in this object. | ||
*/ | ||
interface Store { | ||
export interface Store { | ||
/** | ||
@@ -458,4 +458,9 @@ * Returns JSON data stored in the store. | ||
_Currently under development and no stores available at this time. You can implement your own store by referring to the chapter [Session Store Implementation](#session-store-implementation)._ | ||
- [![★][svelte-kit-connect-redis-image] svelte-kit-connect-redis][svelte-kit-connect-redis-url] A Redis-based session store. | ||
[svelte-kit-connect-redis-url]: https://www.npmjs.com/package/svelte-kit-svelte-kit-connect-redis | ||
[svelte-kit-connect-redis-image]: https://badgen.net/github/stars/yutak23/svelte-kit-connect-redis?label=%E2%98%85 | ||
_Currently under development and a few stores available at this time. You can implement your own store by referring to the chapter [Session Store Implementation](#session-store-implementation)._ | ||
## Contributing | ||
@@ -462,0 +467,0 @@ |
47805
470