open-index/open-npm huggingface dataset:
npm package: @redpill-paris/koa-cache-control
Description: Quidol package for cache control on koa
Author: bilel@hicsuntdev.com
Latest version: 1.0.4

# koa-cache-control
html cache control for koajs

## Install

```
  yarn add @redpill-paris/koa-cache-control
```

## Configuration

### Koa
```javascript
const controlCache = require('@redpill-paris/koa-cache-control');

app.use(cacheControl([
    'no-cache'
]));
```
[See html control cache parameters](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control)
### Specific options
```javascript
async getUser(ctx) {
    ...
    ctx.cacheControl = ['public', 'max-age=600'];
    ...
    ctx.response.status = 200;
}
```
npm package: @redpill-paris/quidol-embed-sdk
Description: ## Deploy a new version of the script
Author: Aymeric Beudaert
Latest version: 3.3.0

# embed-sdk

## Deploy a new version of the script

```
yarn build
npm version <patch | minor | major>
npm publish
```

Update the version of the delivered script in the gitbook account

url: https://app.gitbook.com/@quidol/s/quidol/embed/integration
npm package: @redpill-paris/quidol-ui
Description: **quidol-ui** is a framework css create for the project Quidol Live.
Author: aymeric@quidol.fr
Latest version: 4.6.3

# quidol-ui
**quidol-ui** is a framework css create for the project Quidol Live.

Jump to '**[Example](#Example)**' section to see our component in storybook !

And click **[here](https://zeroheight.com/24d6278be/p/90ee5d-introduction)** to see our theme in zeroheight interface.

## Build

```
  yarn build
```

## Example

To illustrate our components, we use a storybook interface than you can use with the following commands lines:

To build:
```
  yarn build:storybook
```
To start:
```
  yarn storybook
```

## Test

The framwork is covered by unit test:

To launch:
```
  yarn test
```

## Deploy Storybook

```
yarn build:storybook
kubeploy -t v<version> gcr.io/quidol-dev storybook-dev .
helm upgrade --set version=<version> storybook quidol/storybook
```

## Add components

All components under `src/[Name]/index.tsx` are automatically transpiled & compiled using rollup.js.

If you want to create a component that doesn't follow this rule, you'll need to add the entry file
in [rollup.config.js](rollup.config.js) -> `input` (ln:16)

## Imports

Use must import components using the following syntax in order to prevent the whole bundle to be built:

### Components

```js
import [COMPONENT_NAME] from '@redpill-paris/quidol-ui/build/[COMPONENT_NAME]'

// example:
import Typography from '@redpill-paris/quidol-ui/build/Typography'
```
Note: To this day import must be done from the `build` folder.

### style

```js
import { [WHATEVER] } from '@redpill-paris/quidol-ui/build/utils/defaultTheme';


// example:
import { FinalThemeProvider, colorsTheme as Theme } from '@redpill-paris/quidol-ui/build/utils/defaultTheme';
```

### types

```js
import { [TYPE_NAME] } from '@redpill-paris/quidol-ui/build/types';

// example:
import { TypographyVariant } from '@redpill-paris/quidol-ui/build/types';
```