open-index/open-npm huggingface dataset:
npm package: @jackchim/auth-github
Description: Github OAuth authentication provider for Medusa
Author: Medusa
Latest version: 2.11.0

## Testing

In order to manually test the flow, you can do the following:

1. Register a Github App - https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app
2. Go to the app, fetch the clientId and create a new clientSecret
3. Replace the values in the test with your credentials
4. Remove the `server.listen()` call
5. Run the tests, get the `location` value from the `authenticate` test, open the browser
6. Once redirected, copy the `code` param from the URL, and add it in one of the `callback` success tests
7. Once you run the tests, you should get back an access token and so on.
npm package: @jackchim/auth-google
Description: Google OAuth authentication provider for Medusa
Author: Medusa
Latest version: 2.11.0

## Testing

In order to manually test the flow, you can do the following:

1. Register an app in `https://console.cloud.google.com/apis/credentials/consent`
2. Generate clientId and clientSecret credentials in the console
3. Replace the values in the test with your credentials
4. Remove the `server.listen()` call
5. Run the tests, get the `location` value from the `authenticate` test, open the browser
6. Once redirected, copy the `code` param from the URL, and add it in one of the `callback` success tests
7. Once you run the tests, you should get back an access token, id token, and so on.
npm package: @jackchim/cache-inmemory
Description: In-memory Cache Module for Medusa
Author: Medusa
Latest version: 2.11.0

# Medusa Cache In-memory

Medusa in-memory cache module. Use plain JS Map as a cache store.

## Installation

```
yarn add @jackchim/cache-inmemory
```

## Options

```
{
  ttl?: number // Time to keep data in cache (in seconds)
}
```

### Note

Recommended for testing and development. For production, use Redis cache module.

### Other caching modules

- [Medusa Cache Redis](../cache-redis/README.md)
npm package: @jackchim/cache-redis
Description: Redis Cache Module for Medusa
Author: Medusa
Latest version: 2.11.0

# Medusa Cache Redis

Use Redis as a Medusa cache store.

## Installation

```
yarn add @jackchim/cache-redis
```

## Options

```
   {
      ttl?: number                // Time to keep data in cache (in seconds)

      redisUrl?: string           // Redis instance connection string

      redisOptions?: RedisOptions // Redis client options

      namespace?: string          // Prefix for event keys (the default is `medusa:`)
  }
```

### Other caching modules

- [Medusa Cache In-Memory](../cache-inmemory/README.md)