open-index/open-npm huggingface dataset:
npm package: @redcup/vk-mini-appearance
Description: 1. В папке с текущим проектом запустить `yarn link` 2. В папке с проектом, куда надо прилинковать, запустить `yarn link @redcup/vk-mini-appearance` 3. Запустить `yarn dev` 4. Если используется `vite`: - В `resolve > vite.config.ts` добавить `{preserveSyml
Latest version: 1.4.5

## Разработка
1. В папке с текущим проектом запустить `yarn link`
2. В папке с проектом, куда надо прилинковать, запустить `yarn link @redcup/vk-mini-appearance`
3. Запустить `yarn dev`
4. Если используется `vite`:
   - В `resolve > vite.config.ts` добавить `{preserveSymlinks: true}`
   - В `optimizeDeps.include > vite.config.ts` добавить `["@redcup/vk-mini-appearance"]`
   - После внесения изменений перезапустить сервер с помощью команды `vite --force`

## Сборка
1. Запустить `yarn build`
2. Чтобы выпустить новую версию пакета, надо запустить `yarn upload`
npm package: @reddingjs/romo-js
Description: A JS toolkit.
Author: Kelly Redding & Collin Redding
Latest version: 0.1.0-rc20

# Romo JS

A JS toolkit.

## Usage

TODO

## Installation

```
$ yarn install @reddingjs/romo-js
```

## Linting

Install [l.rb](https://github.com/redding/l.rb#lrb).

Install dev packages: `yarn install`.

```
$ l

OR

$ yarn lint

OR

$ ./bin/lint
```

## Testing

* Install Ruby version in .ruby-version file
* `cd test && bundle && cd ..`

```
$ yarn test

OR

$ ./bin/test
```

The starts a Rack app and loads up the main system_tests.html test file. Look for red 'X' items, check the console for errors, test out the example UI on the DOM Component pages.
npm package: @reddingjs/romo-ui
Description: A JS UI toolkit built on @reddingjs/romo-js.
Author: Kelly Redding & Collin Redding
Latest version: 0.1.0-rc20

# Romo JS

A JS toolkit.

## Usage

TODO

## Installation

```
$ yarn install @reddingjs/romo-js
```

## Linting

Install [l.rb](https://github.com/redding/l.rb#lrb).

Install dev packages: `yarn install`.

```
$ l

OR

$ yarn lint

OR

$ ./bin/lint
```

## Testing

* Install Ruby version in .ruby-version file
* `cd test && bundle && cd ..`

```
$ yarn test

OR

$ ./bin/test
```

The starts a Rack app and loads up the main system_tests.html test file. Look for red 'X' items, check the console for errors, test out the example UI on the DOM Component pages.
npm package: @reddio.com/js
Description: ## Getting Started
Author: xuwu
Latest version: 0.8.4

# @reddio/js [![npm](https://img.shields.io/npm/v/@reddio.com/js.svg)](https://www.npmjs.com/package/@reddio.com/js)

## Getting Started

Please follow the documentation at [docs.reddio.com](https://docs.reddio.com/guide/jssdk-reference/initiate-sdk.html)!

## Sample

> Notes: To make sure the sample code works, please install Metamask with Goerli network chosen, you can visit https://faucet.paradigm.xyz/ to get more credit to test

You can access our [sample website here](https://demos.reddio.com/), and the code of JS SDK integration [here](https://github.com/reddio-com/red-js-sdk/tree/main/example).
npm package: @reddojs/core
Description: Core undo/redo functionality for reddo
Author: Eihab Khan
Latest version: 0.0.8

# @reddojs/core

Framework-agnostic undo/redo history management.

## Installation

```bash
npm install @reddojs/core
```

Or use via CDN:

```js
import { createHistory } from 'https://cdn.jsdelivr.net/npm/@reddojs/core@latest/+esm'
```

## Usage

```ts
import { createHistory } from '@reddojs/core'

const history = createHistory({
  size: 100, // optional: max history size
  coalesce: true // optional: merge consecutive commands with same key
})

// Execute a command
history.execute({
  do: () => {
    // do something
  },
  undo: () => {
    // undo it
  }
})

// Undo/redo
if (history.canUndo) {
  history.undo()
}

if (history.canRedo) {
  history.redo()
}

// Subscribe to changes
const unsubscribe = history.subscribe(() => {
  console.log('History changed')
})
```

### Command Coalescing

Group related commands using a `key` to merge them during undo:

```ts
// These commands will be merged into one undo action
history.execute({ key: 'typing', do: () => setText('h'), undo: () => setText('') })
history.execute({ key: 'typing', do: () => setText('he'), undo: () => setText('h') })
history.execute({ key: 'typing', do: () => setText('hel'), undo: () => setText('he') })

// Single undo reverts all three
history.undo() // setText('')
```

## API

### `createHistory(options?)`

Returns a history manager instance with the following properties and methods:

- `canUndo` - Whether undo is available
- `canRedo` - Whether redo is available
- `execute(command)` - Execute a command and add it to history
- `undo()` - Undo the last command (or group of coalesced commands)
- `redo()` - Redo the last undone command
- `clear()` - Clear the history
- `subscribe(fn)` - Subscribe to history changes, returns unsubscribe function

### Options

- `size?: number` - Maximum number of commands to keep in history (default: 30)
- `coalesce?: boolean` - Whether to merge consecutive commands with the same key during undo (default: true)

### Command

- `do: () => void` - Function to execute the command
- `undo: () => void` - Function to undo the command
- `key?: string` - Optional key for grouping commands during coalescing

## Framework Bindings

- [@reddojs/react](https://github.com/eihabkhan/reddojs/tree/main/packages/react) - React hook
- [@reddojs/vue](https://github.com/eihabkhan/reddojs/tree/main/packages/vue) - Vue composable
- [@reddojs/svelte](https://github.com/eihabkhan/reddojs/tree/main/packages/svelte) - Svelte store

## License

MIT
npm package: @reddojs/react
Description: React hook for undo/redo functionality
Latest version: 0.0.8

# @reddojs/react

React hook for undo/redo functionality powered by [@reddojs/core](https://www.npmjs.com/package/@reddojs/core).

## Installation

```bash
npm install @reddojs/react
```

Or use via CDN:

```js
import { useHistory } from 'https://cdn.jsdelivr.net/npm/@reddojs/react@latest/+esm'
```

## Usage

```tsx
import { useHistory } from '@reddojs/react'

function App() {
  const { execute, undo, redo, canUndo, canRedo, clear } = useHistory({
    size: 100 // optional: max history size
  })

  // Execute a command
  const handleExecute = () => {
    execute({
      do: () => {
        // do something
      },
      undo: () => {
        // undo it
      }
    })
  }

  return (
    <div>
      <button onClick={undo} disabled={!canUndo}>Undo</button>
      <button onClick={redo} disabled={!canRedo}>Redo</button>
      <button onClick={clear}>Clear History</button>
    </div>
  )
}
```

### Command Coalescing

Group related commands using a `key` to merge them during undo:

```tsx
// These commands will be merged into one undo action
execute({ key: 'typing', do: () => setText('h'), undo: () => setText('') })
execute({ key: 'typing', do: () => setText('he'), undo: () => setText('h') })
execute({ key: 'typing', do: () => setText('hel'), undo: () => setText('he') })

// Single undo reverts all three
undo() // setText('')
```

## API

### `useHistory(options?)`

Returns an object with the following properties:

- `canUndo` - Boolean indicating if undo is available
- `canRedo` - Boolean indicating if redo is available
- `execute(command)` - Execute a command and add it to history
- `undo()` - Undo the last command
- `redo()` - Redo the last undone command
- `clear()` - Clear the history

### Options

- `size?: number` - Maximum number of commands to keep in history (default: 30)
- `coalesce?: boolean` - Whether to merge consecutive commands with the same key during undo (default: true)

## License

MIT
npm package: @reddojs/svelte
Description: Svelte composable for undo/redo functionality
Latest version: 0.0.8

# @reddojs/svelte

Svelte store for undo/redo functionality powered by [@reddojs/core](https://www.npmjs.com/package/@reddojs/core).

## Installation

```bash
npm install @reddojs/svelte
```

Or use via CDN:

```js
import { useHistory } from 'https://cdn.jsdelivr.net/npm/@reddojs/svelte@latest/+esm'
```

## Usage

```svelte
<script lang="ts">
import { useHistory } from '@reddojs/svelte'

const history = useHistory({
  size: 100 // optional: max history size
})

// Execute a command
history.execute({
  do: () => {
    // do something
  },
  undo: () => {
    // undo it
  }
})
</script>

<div>
  <button onclick={history.undo} disabled={!history.canUndo}>Undo</button>
  <button onclick={history.redo} disabled={!history.canRedo}>Redo</button>
  <button onclick={history.clear}>Clear History</button>
</div>
```

### Command Coalescing

Group related commands using a `key` to merge them during undo:

```ts
// These commands will be merged into one undo action
history.execute({ key: 'typing', do: () => setText('h'), undo: () => setText('') })
history.execute({ key: 'typing', do: () => setText('he'), undo: () => setText('h') })
history.execute({ key: 'typing', do: () => setText('hel'), undo: () => setText('he') })

// Single undo reverts all three
history.undo() // setText('')
```

## API

### `useHistory(options?)`

Returns a reactive object with the following properties:

- `canUndo` - Reactive boolean indicating if undo is available
- `canRedo` - Reactive boolean indicating if redo is available
- `execute(command)` - Execute a command and add it to history
- `undo()` - Undo the last command
- `redo()` - Redo the last undone command
- `clear()` - Clear the history

> **Note:** Do not destructure the returned object as it will lose reactivity. Always access properties through the object reference (e.g., `history.canUndo`).

### Options

- `size?: number` - Maximum number of commands to keep in history (default: 30)
- `coalesce?: boolean` - Whether to merge consecutive commands with the same key during undo (default: true)

## License

MIT
npm package: @reddojs/vue
Description: Vue composable for undo/redo functionality
Latest version: 0.0.8

# @reddojs/vue

Vue composable for undo/redo functionality powered by [@reddojs/core](https://www.npmjs.com/package/@reddojs/core).

## Installation

```bash
npm install @reddojs/vue
```

Or use via CDN:

```js
import { useHistory } from 'https://cdn.jsdelivr.net/npm/@reddojs/vue@latest/+esm'
```

## Usage

```vue
<script setup lang="ts">
import { useHistory } from '@reddojs/vue'

const { execute, undo, redo, canUndo, canRedo, clear } = useHistory({
  size: 100 // optional: max history size
})

// Execute a command
execute({
  do: () => {
    // do something
  },
  undo: () => {
    // undo it
  }
})
</script>

<template>
  <div>
    <button @click="undo" :disabled="!canUndo">Undo</button>
    <button @click="redo" :disabled="!canRedo">Redo</button>
    <button @click="clear">Clear History</button>
  </div>
</template>
```

### Command Coalescing

Group related commands using a `key` to merge them during undo:

```ts
// These commands will be merged into one undo action
execute({ key: 'typing', do: () => setText('h'), undo: () => setText('') })
execute({ key: 'typing', do: () => setText('he'), undo: () => setText('h') })
execute({ key: 'typing', do: () => setText('hel'), undo: () => setText('he') })

// Single undo reverts all three
undo() // setText('')
```

## API

### `useHistory(options?)`

Returns an object with the following properties:

- `canUndo` - Reactive ref indicating if undo is available
- `canRedo` - Reactive ref indicating if redo is available
- `execute(command)` - Execute a command and add it to history
- `undo()` - Undo the last command
- `redo()` - Redo the last undone command
- `clear()` - Clear the history

### Options

- `size?: number` - Maximum number of commands to keep in history (default: 30)
- `coalesce?: boolean` - Whether to merge consecutive commands with the same key during undo (default: true)

## License

MIT
npm package: @reddot/helmet
Description: helmet development
Author: WoLfulus
Latest version: 0.1.7

Helmet
======

Helmet is a helper tool around `helm`, `skaffold` and `kubectl`.

Helmet File
===========

```yaml
profiles:
  $common:
    options:
      push: true
      cleanup: false
      forward: false
      repository: wolfulus
    projects:
      app:
        image:
          name: app
          context: .
        sync:
          '**.*.js': '.'
        deploy:
          release: app
          namespace: app-ns
          chart: ./chart/app
        values:
          image: "{{ project.image.fqin }}"
          port: 3000

  local:

  development:

  staging:

  production:

```

Templating
==========

Helmet supports templating on some strategic locations.

## Filters

All [liquidjs filters](https://shopify.github.io/liquid/filters/abs/) plus the ones below.

---

### `md5`

Template

> `{{ "helmet" | md5 }}`

Output

> `17b9183a08e7111fc6a38a4354fa6e92`

---

### `sha1`

Template

> `{{ "helmet" | sha1 }}`

Output

> `749440ec6a5039dc8c9a683c93ebc014b99cf1c1`

---

### `sha256`

Template

> `{{ "helmet" | sha256 }}`

Output

> `115584860cd5620e40fd03402e771e185a3f789038d1f70c9d651ee60580c3bb`

---

### `short`

Template

> `{{ "749440ec6a5039dc8c9a683c93ebc014b99cf1c1" | short }}`

Output

> `749440ec`

---

### `safe`

Template

> `{{ "feature/154-some-feature" | safe }}`

Output

> `feature_154-some-feature`

---

## Variables

```yaml
# User name
user: "root",

# Timestamp when the command was invoked
timestamp: "",

# The selected profile
profile:
  name: development

# Project information (only available on values templates)
project:
  image:

# Git information
git:
  commit: "4015b57a143aec5156fd1444a017a32137a3fd0f"
  tag: "1.0.0",
  dirty: true
  branch: feature/153-some-feature

# All environment variables plus
# the ones loaded from .env files (--load)
env:
  HOME: "..."

```
npm package: @reddot/kubee
Description: Sweet Kubernetes Helper
Author: WoLfulus
Latest version: 1.2.2

<p align="center">
    <img src=".github/logo.png" width="980" alt="Kubee"/>
</p>

# Kubee

Sweet Kubernetes CLI Helper

![Terminal](.github/terminal.gif)

## Install

> `npm install -g @reddot/kubee`

## Usage

```
λ kubee
Usage: kubee [options] [command]

Options:
  -V, --version  output the version number
  -h, --help     output usage information

Commands:
  config|cfg     config management
  context|ctx    context management
  info           kubernetes info
  namespace|ns   namespace management
  account|acc    account management
  help [cmd]     display help for [cmd]
```

# Info

Shows the current default context and namespace and available namespaces.

> `kubee info`

# Accounts

You can manage service accounts for token authentication using `kubee`.

## Create

You can create a new `serviceaccount` and associate `rolebindings` and `clusterrolebindings` to it.

> `kubee account create`

## Export

You can export a `serviceaccount` to a `kubeconfig` file.

> `kubee account export file.yml`

# Configs

## KUBECONFIG value

Kubee can generate a list of files from `~/.kube/` directory that matches the pattern `config*`.
This can be used to automatically set `$KUBECONFIG` variable on your .bashrc script.

> `kubee config env`

```
/home/wolfulus/.kube/config:/home/wolfulus/.kube/config/config-dev-cluster
```

> ```sh
> # append to `.bashrc` file
> export KUBECONFIG=$(kubee config env)
> ```

On Windows you can use `--save` option to update your `%KUBECONFIG%` environment variable. Note that it only takes effect after you restart your terminal or use `refreshenv` if available.

> `kubee config env --save`

## Import

You can import kubeconfig yaml files to your `~/.kube/` directory.

> `kubee config import somefile.yaml`

## Remove

You can remove kubeconfig yaml files from your `~/.kube/` directory. The wizard will show the contents of each file so you can choose wisely.

> `kubee config remove`

## View

You can view the contents of each kubeconfig file (contexts, clusters, users).

> `kubee config view`

# Context Switch

You can see the current context and select which one to use when `kubetl` runs.

> `kubee ctx`

# Namespace Switch

You can see the current namespace in the current context and select which one to use when `kubetl` runs.

> `kubee ns`

# Related Work

This is heavily inspired by ahmetb's `kubectx` and `kubens` projects.

- [kubectx](https://github.com/ahmetb/kubectx)
- [kubens](https://github.com/ahmetb/kubens)

Others

- [kubectx (nodejs)](https://github.com/fgribreau/kubectx)
- [kubectx (rust)](https://github.com/FGRibreau/kubectx-rs)
npm package: @reddot/multifactor
Description: Multifactor
Author: WoLfulus
Latest version: 1.1.1

<p align="center">
    <img src=".github/images/logo.png" width="980" alt="Multifactor"/>
</p>

# Multifactor

Multifactor helps you follow some of the [Twelve-Factor](https://12factor.net/) methodology principles
by providing some common application features, like configuration, backing services management,
lifecycle management, logging and admin processes.

## Install

> `npm install @redcloud/multifactor`

## Overview

> `TODO`

## Usage

> `TODO`
npm package: @reddotlabs/multicall
Description: Lightweight JS library to interact with multicall contracts, original by MakerDAO.
Author: ReddotLabs
Latest version: 1.0.0

# @reddotlabs/multicall

Lightweight JS library to interact with multicall contracts, original by MakerDAO.

Multicall allows multiple smart contract constant function calls to be grouped into a single call and the results aggregated into a single result. This reduces the number of separate JSON RPC requests that need to be sent over the network. In case of aggregation failure, it will switch to single call in parallel.

## Usage

```ts
import {multicall} from '@reddotlabs/multicall';

const result = await multicall(provider, multicallAddress, [{
  target: '0xabcde123',
  signature: 'balanceOf(address) returns(uint256)',
  params: ['0xdaced031']
}]) 
```
npm package: @reddotlabs/multicall-react
Description: React hook to interact with multicall contract. All calls will be queued and merged to a number of aggregation call to reduce more traffic.
Author: ReddotLabs
Latest version: 1.0.1

# @reddotlabs/multicall-react

React hook to interact with multicall contract. All calls will be queued and merged to a number of aggregation call to reduce more traffic.

## Usage

```tsx
<QueuedMulticallProvider rpcProvider={} multicallAddress={}>
  {/*App content*/}
</QueuedMulticallProvider>

```

```tsx
const multicall = useMulticall()

useEffect(() => {
  multicall.enqueue([
    {
      target: '',
      signature: 'balanceOf(address) returns(uint256)',
      params: []
    }
  ])
}, [])

```
npm package: @redduck/eslint-plugin
Description: ESLint plugin which RedDuck Software uses in its projects.
Author: RedDuck Software
Latest version: 0.0.3

# @redduck/eslint-plugin

ESLint plugin which RedDuck Software uses in its projects.

## How to install

- npm

  ```shell
  npm install @redduck/eslint-plugin eslint -D
  ```

- yarn

  ```shell
  yarn add @redduck/eslint-plugin eslint -D
  ```

- pnpm

  ```shell
  pnpm add @redduck/eslint-plugin eslint -D
  ```

## How to use

Upgrade your `.eslintrc.json` file to extend this plugin:

- In TypeScript projects:

  ```json5
  {
    "extends": ["plugin:@redduck/recommended"],
    "plugins": ["@redduck"],
    // Your other options
  }
  ```

- In React projects:

  ```json5
  {
    "extends": ["plugin:@redduck/recommended-react"],
    "plugins": ["@redduck"],
    // Your other options
  }
  ```
npm package: @redduck/helpers-js
Description: JavaScript helpers RedDuck Software uses in its projects.
Author: RedDuck Software
Latest version: 0.0.3

# @redduck/helpers-js

Contains various helper functions for JavaScript.

## How to install

- npm

  ```shell
  npm install @redduck/helpers-js
  ```

- yarn

  ```shell
  yarn add @redduck/helpers-js
  ```

- pnpm

  ```shell
  pnpm add @redduck/helpers-js
  ```
npm package: @redduck/helpers-react
Description: React helpers RedDuck Software uses in its projects.
Author: RedDuck Software
Latest version: 0.0.3

# @redduck/helpers-react

Contains various helper functions, hooks and components for react.

## How to install

- npm

  ```shell
  npm install @redduck/helpers-react react
  ```

- yarn

  ```shell
  yarn add @redduck/helpers-react react
  ```

- pnpm

  ```shell
  pnpm add @redduck/helpers-react react
  ```
npm package: @redduck/helpers-tsconfig
Description: Contains RedDuck Software TypeScript configurations.
Author: RedDuck Software
Latest version: 0.0.3

# @redduck/helpers-tsconfig

Contains our typescript configurations.

## How to install

- npm

  ```shell
  npm install @redduck/helpers-tsconfig
  ```

- yarn

  ```shell
  yarn add @redduck/helpers-tsconfig
  ```

- pnpm

  ```shell
  pnpm add @redduck/helpers-tsconfig
  ```

## How to use

Upgrade your `tsconfig.json` file to extend this config:

```json5
{
  "extends": "@redduck/helpers-tsconfig/tsconfig.base.json",
  "compilerOptions": {
    // Your compiler options
  }
  // Your other options
}
```
npm package: @redduck/helpers-viem
Description: Viem helpers RedDuck Software uses in its projects.
Author: RedDuck Software
Latest version: 0.0.4

# @redduck/helpers-viem

Contains various helper functions for viem.

## How to install

- npm

  ```shell
  npm install @redduck/helpers-viem @redduck/helpers-js viem
  ```

- yarn

  ```shell
  yarn add @redduck/helpers-viem @redduck/helpers-js viem
  ```

- pnpm

  ```shell
  pnpm add @redduck/helpers-viem @redduck/helpers-js viem
  ```
npm package: @redduck/ton
Description: [![Version npm](https://img.shields.io/npm/v/ton.svg?logo=npm)](https://www.npmjs.com/package/ton)
Author: Whales Corp.
Latest version: 13.11.1

# TON JS Client

[![Version npm](https://img.shields.io/npm/v/ton.svg?logo=npm)](https://www.npmjs.com/package/ton)

Cross-platform client for TON blockchain.

## Features

- 🚀 Create new wallets
- 🍰 Get balance
- ✈️ Transfers

## Install

```bash
yarn add @ton/ton @ton/crypto @ton/core buffer
```

#### Browser polyfill

```js
// Add before using library
require("buffer");
```

## Usage

To use this library you need HTTP API endpoint, you can use one of the public endpoints:

- Mainnet: https://toncenter.com/api/v2/jsonRPC
- Testnet: https://testnet.toncenter.com/api/v2/jsonRPC

```js
import { TonClient, WalletContractV4, internal } from "@ton/ton";
import { mnemonicNew, mnemonicToPrivateKey } from "@ton/crypto";

// Create Client
const client = new TonClient({
  endpoint: 'https://toncenter.com/api/v2/jsonRPC',
});

// Generate new key
let mnemonics = await mnemonicNew();
let keyPair = await mnemonicToPrivateKey(mnemonics);

// Create wallet contract
let workchain = 0; // Usually you need a workchain 0
let wallet = WalletContractV4.create({ workchain, publicKey: keyPair.publicKey });
let contract = client.open(wallet);

// Get balance
let balance: bigint = await contract.getBalance();

// Create a transfer
let seqno: number = await contract.getSeqno();
let transfer = await contract.createTransfer({
  seqno,
  secretKey: keyPair.secretKey,
  messages: [internal({
    value: '1.5',
    to: 'EQCD39VS5jcptHL8vMjEXrzGaRcCVYto7HUn4bpAOg8xqB2N',
    body: 'Hello world',
  })]
});

```

## Docs

[Documentation](https://ton-community.github.io/ton/)

## Acknowledgements

This library is developed by the [Whales Corp.](https://tonwhales.com/) and maintained by [Dan Volkov](https://github.com/dvlkv).

## License

MIT
npm package: @reddycupe/getappname
Description: Get the Appname from a website URL
Author: reddycupe
Latest version: 1.2.1

# getAppname

Get the Appname from a URL String

## Install

```
$ npm i @reddycupe/getappname
```

## Usage

```js
const getAppname = require('@reddycupe/getAppname')

getAppname("www.yahoo.com")
//=> "yahoo"

getAppname("https://codesandbox.io")
//=> "codesandbox"

getAppname("something else")
//=> "link"

getAppname(549);
//=> Uncaught TypeError: getAppname requires a string!

```
npm package: @rede/rdt-helloworld
Description: rdt-helloworld rede-template
Latest version: 0.0.2-beta.2

# {{ProjectName}}

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your tests
```
npm run test
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
npm package: @rede/rdt-vue-starter
Description: rdt-vue-starter rede-template
Latest version: 0.0.1-4

# {{ProjectName}}

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your tests
```
npm run test
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
npm package: @rededor/rdwc-preparo-exame
Description: WebComponent de preparo de exames.
Latest version: 1.0.22

# Preparo de exame webcomponent com Stencil

Este projeto foi criado utilizando Stencil para desenvolvimento de webcomponents.

# Getting Started

Para a utilização do componente, é necessário ter o [cura](https://www.npmjs.com/package/@rededor/cura) instalado em seu projeto;

# rdwc-preparo-de-exames

Para a instalação:

```bash
npm install @rededor/rdwc-preparo-exame
```

Para utilização do componente é necessário fazer a chamada do "defineCustomElements"em seu projeto.
`import { defineCustomElements as defineCustomElementsExames } from '@rededor/rdwc-preparo-exame/loader';`
`defineCustomElementsExames(window);`

Dessa forma é possivel utilizar o webcomponent no html.
`<rdwc-preparo-de-exames idqd="??" wpenv="??" squad="??" agendamentoonline="??"></rdwc-preparo-de-exames>`

O webcomponent rdwc-preparo-de-exames aceita os seguintes parâmetros:
**idqd** ou **slug** do exame;
**wpenv** 'development' | 'staging' | 'production';
**squad** 'site' | 'agendamento';
**agendamentoonline** 'S' | 'N' | 'M';

O preparo de exames é cadastrado nos exames do wordpress do site.

## Desenvolvimento com Live Reload
Para rodar o projeto com live reload:

### No contexto da LIB:
Rode o build: `npm run build`;
Abra o component-lib pelo terminal ou na pasta raiz rode `cd packages/component-lib`;
Rode o link: `npm link`;

### No contexto do PROJETO:
Rode o link: `npm link @rededor/rdwc-preparo-exame`;

Após realizar os testes, é recomendável realizar a **limpeza** dessas linkagens.

### No contexto do PROJETO:
- `npm unlink @rededor/rdwc-preparo-exame --no-save`;

### No contexto da LIB:
- `npm rm -g @rededor/rdwc-preparo-exame --no-save`

Feito isso, voce pode checar se as linkagens foram removidas corretamente com `npm list -g`.

## Publicar:
Rode o build: `npm run build`;
Realize os commits e push;
Rode o publish: `npm run publish`;