open-index/open-npm huggingface dataset:
npm package: @oauth2imp/implementacion
Description: Módulo para manejar OAuth2.0
Author: Brssimple
Latest version: 1.0.0

# oauth20open-oauth

Este es un paquete de autenticación OAuth 2.0 para facilitar la integración de OAuth 2.0 en tus aplicaciones. El paquete maneja autenticación, obtención de tokens y actualización de tokens de manera eficiente.

## Instalación

Para instalar el paquete, usa npm:

```bash
npm install oauth20open-oauth

Uso

Una vez instalado, puedes usar este paquete para autenticar usuarios usando el flujo de OAuth 2.0.

Autenticación

Aquí tienes un ejemplo básico de cómo autenticar al usuario:


importar 
import { OauthClient } from "oauth20open-oauth"; 

LLENAR DATOS DE ENVIO CON CREDENCIALES
const oauthClient = new OauthClient({
    clientId: ".env.dato",
    clientSecret:".env.dato",
    redirectUri: ".env.dato",
    tokenUrl: ".env.dato",
    codeUrl: ".env.dato",
    resourceServer: ".env.dato",
    scope: ".env.dato",
    revoke: ".env.dato",
    logOut: ".env.dato",
  });


  Metodos
  oauthClient.obtenerRevoke(datos?.acc); //REVOCAR TOKEN
  oauthClient.cerrarSesion() //URL  DE DESLOGEO
  oauthClient.obtenerAccessToken(code) //OBTENER EL CODE y INTERCAMBIO TOKEN
  oauthClient.obtenerUrlparaCode(); //OBTENER URL PARA CODE

  TODOS ESTOS PARAMETROS SE LLENAN CON LOS DATOS DE LOS PROPS


  Ejemplo de uso 

    const obtenerPrimerToken = async () => {
    try {
      const responseToken = await oauthClient.obtenerAccessToken(code);
      return responseToken;
    } catch (error) {
      console.log(error)
        const url = await oauthClient.obtenerUrlparaCode(); 
        console.log(url)
    }
    
    
    Regresa todo el objeto completo y los estatus en la respuesta.

    Espero les ayude para futuras implementaciones...
npm package: @oavashia/yank
Description: Copy the last Claude Code response to your clipboard with /yank
Author: omavashia2005
Latest version: 1.0.6

# yank

[![npm downloads](https://img.shields.io/npm/dt/@oavashia/yank.svg)](https://www.npmjs.com/package/@oavashia/yank)

Copy the last Claude Code response to your clipboard with `/yank`.

## How it works

- A `Stop` hook saves Claude's last response to `/tmp/claude_last_response` after every turn
- `/yank` runs a script that pipes that file to `pbcopy`

## Requirements

- macOS
- [Claude Code](https://claude.ai/code)
- `jq` (`brew install jq`)

## Install

**via npm (recommended):**

```bash
npm i @oavashia/yank
```

If using Bun:

```bash 
bun install -g @oavashia/yank && yank install
```

Setup runs automatically. Idempotent — safe to run multiple times.


**manually:**

```bash
git clone https://github.com/omavashia2005/yank.git
cd yank
chmod +x install.sh
./install.sh
```

## Usage

Inside any Claude Code session, type:

```
/yank
```

The last Claude response is now in your clipboard.

## Uninstall

Run this before uninstalling the package, otherwise the hook entry will remain in `~/.claude/settings.json`:

```bash
npx @oavashia/yank uninstall
npm uninstall @oavashia/yank
```
npm package: @oaviv/vueuse-chrome-storage
Description: A VueUse storage provider using Chrome Storage
Author: Ohad Aviv
Latest version: 1.0.0


# vueuse-chrome-storage

A custom storage provider for VueUse's `useStorage` composable that allows seamless integration with Chrome's `chrome.storage.local` API. Easily store and sync reactive state across your Vue 3 application using Chrome Storage.

## Features

- Drop-in replacement for VueUse’s `localStorage` provider.
- Uses Chrome's `chrome.storage.local` API for persistent storage.
- Supports the same API as `useStorage`, making it simple to integrate.
- Automatically syncs state changes with Chrome Storage.
- Compatible with Vue 3 and VueUse composables.

## Installation

First, ensure you have `@vueuse/core` installed in your project. If not, you can install both `vueuse-chrome-storage` and `@vueuse/core` with the following command:

```bash
npm install vueuse-chrome-storage @vueuse/core
```

If `@vueuse/core` is already installed:

```bash
npm install vueuse-chrome-storage
```

## Usage

This package provides a `chromeStorage` provider that can be passed to VueUse’s `useStorage` composable, which will then use Chrome's storage API instead of `localStorage`.

### Example:

```js
import { useStorage } from '@vueuse/core'
import chromeStorage from 'vueuse-chrome-storage'

// Create a reactive state synced with Chrome's storage
const myState = useStorage('my-key', 'defaultValue', chromeStorage)
```

### Detailed Example:

Here is an example of how you can use `vueuse-chrome-storage` inside a Vue 3 component:

```js
import { ref } from 'vue'
import { useStorage } from '@vueuse/core'
import chromeStorage from 'vueuse-chrome-storage'

export default {
  setup() {
    // The value of `message` will persist in Chrome storage under the key 'my-message'
    const message = useStorage('my-message', 'Hello, World!', chromeStorage)

    return {
      message
    }
  }
}
```

In this example, the state `message` is synced with Chrome storage under the key `my-message`. Any changes to `message` will be persisted, and the state will be restored from Chrome storage when the component is reloaded.

## How It Works

`vueuse-chrome-storage` uses Chrome’s `chrome.storage.local` API, which is asynchronous. The provider exposes the required `getItem`, `setItem`, and `removeItem` methods that VueUse's `useStorage` composable requires to function.

Under the hood, it wraps Chrome's storage API calls with Promises to handle the asynchronous nature of the Chrome API.

## License

This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for more details.

## Author

Developed and maintained by Ohad Aviv.

---

### Keywords

- vue
- vueuse
- chrome-storage
- chrome-extension
- useStorage