open-index/open-npm huggingface dataset:
npm package: @sexnine/cfturnstile-vue3
Description: A Vue 3 component for showing the Cloudflare Turnstile widget on your project.
Latest version: 1.0.2

# Cloudflare Turnstile Widget Component for Vue 3

A Vue 3 component for showing the Cloudflare Turnstile widget on your project.

## What is Cloudflare Turnstile?
Cloudflare Turnstile is a CAPTCHA alternative from Cloudflare. It uses PAT protocol to verify the user’s devices, preventing bots and malicious users from accessing your site and ensuring your and your visitors’ privacy is protected.

[Introduction for Cloudflare Turnstile](https://blog.cloudflare.com/turnstile-private-captcha-alternative/)

## Showcases

### [Telegram Watchdog](https://github.com/tg-watchdog/tg-watchdog)

*Telegram Watchdog* is a Telegram bot used for anti-abuse from Telegram group chats.

<img src="https://i.imgur.com/p593rwY.jpg" width="300px"/>

[Get into Telegram Watchdog community to give a try](https://t.me/tgwatchdog_chat)

## Installation & Usage

```bash
yarn add cfturnstile-vue3
# or
npm install cfturnstile-vue3
```

```vue
<template>
  <div id="app">
    <cfturnstile
      :sitekey="sitekey"
      @verify="verify"
    />
  </div>
</template>
<script>
import { defineComponent } from 'vue'
import Turnstile from 'cfturnstile-vue3'

export default defineComponent({
  name: 'App',
  components: {
    Turnstile
  },
  data() {
    return {
      sitekey: 'YOUR_SITE_KEY'
    }
  },
  methods: {
    verify(token) {
      console.log(token)
    }
  }
})
</scirpt>
```
npm package: @sexnine/vite-plugin-build-const
Description: Vite plugin for build-time constants
Author: sexnine
Latest version: 1.0.3

# vite-plugin-build-const

Vite plugin to use build-time constants in your code.

Create a file ending with `.const.js` and import it in your code and all the exports will be evaluated at build time and replaced with their values.

Uses [devalue](https://github.com/Rich-Harris/devalue) under the hood.

## Example Usage

#### `vite.config.ts`
```ts
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
import buildConst from "@sexnine/vite-plugin-build-const";

export default defineConfig({
    plugins: [
        sveltekit(),
        buildConst(),
    ],
});
```

#### `src/lib/build-info.const.js`
```js
// All of this code will be run once at build time and replaced with their resulting values
import { execSync } from "node:child_process";
import { readFileSync } from "node:fs";

const prod = process.env.NODE_ENV === "production";

export const commitHash = prod ? execSync("git rev-parse HEAD").toString().trim() : "dev";
export const buildDate = new Date();
export const packageVersion =
    JSON.parse(readFileSync("package.json").toString()).version ?? "unknown";
```

#### `src/routes/+page.svelte`
```sveltehtml
<script lang="ts">
    import { commitHash, buildDate, packageVersion } from "$lib/build-info.const";
</script>

<p>commit hash: {commitHash}</p>
<p>build date: {buildDate.toLocaleString()}</p>
<p>package version: {packageVersion}</p>
```
npm package: @sexonsol/jupiter-swap-cache
Description: Swap cache for jupiter v6
Author: NotoriousPyro
Latest version: 1.0.1

# jupiter-swap-cache

> [!CAUTION]
> ALPHA SOFTWARE

Can cache all the data needed to recreate swap instructions, from the "quote" route plan ammkeys that match...

Some ammkeys can only be cached for short periods, due to the ephemeral nature of their account keys, such as whirlpool...

These are handled by the module, however you will probably need to handle some errors that occur in your code from time to time, that may require deleting specific swap datas.

You can either clear the whole db by deleting the .data folder, or delete invidivual swaps using the db directly.

## Example usage

A core component of `sexbot.sol`, some parts not included as they are proprietary, however the calls to `getRoutesAndBaseInstructions` can be seen, and from this the `executeSwapViaJito` function calls `createSwapInstruction` with the cached or new swap data.

`client` is essentially from v6 `jup-ag/api`

```typescript
export type ArbRoute = {
    arbMint: string,
    inAmount: BigNumber,
    expectedOutAmount: BigNumber,
    quoteA: QuoteResponse,
    quoteB: QuoteResponse,
}

const arbViaQuotes = async (
    client: DefaultApi,
    route: ArbRoute,
) => {
    const jitoTipValue = calculateTip(route.inAmount, route.expectedOutAmount, config.jito.tipPercentage, config.jito.minTip, config.jito.maxTip)
    const outAmount = route.inAmount.plus(config.minExtraAmount).plus(jitoTipValue).decimalPlaces(0)
    if (route.expectedOutAmount.isLessThanOrEqualTo(outAmount)) {
        throw new NotProfitableError();
    }
    const { quoteA, quoteB } = await normaliseQuoteInfo(route.quoteA, route.quoteB);
    const [swapInfoA, swapInfoB] = await Promise.all([
        getRoutesAndBaseInstructions(client, quoteA, keypair.publicKey, true, tempCacheDexes),
        getRoutesAndBaseInstructions(client, quoteB, keypair.PublicKey, true, tempCacheDexes),
    ]);
    if (!swapInfoA || !swapInfoB) {
        logger.warn("Failed to get swap info", { swapInfoA, swapInfoB });
        return;
    }
    const [routePlanA, routePlanB] = await createSingleInstructionArbRoute(swapInfoA.decodedRoutePlan, swapInfoB.decodedRoutePlan);
    await executeSwapViaJito(route.inAmount, outAmount, swapInfoA, swapInfoB, routePlanA, routePlanB, jitoTipValue);
}
```
npm package: @sextant-tools/frontend
Description: Chart application flows, then implement them in code
Author: Matt Pocock
Latest version: 0.2.8

![Sextant](../../assets/social-card.png "Sextant Logo")

## Getting Started

To install:

`npm i -g @sextant-tools/frontend`

To run:

`sextant ./target-directory`

This opens the Sextant GUI, ready for you to start creating flows and services.

Sextant will generate type files in this directory, so choose carefully!

## Using the types

Sextant generates two main types currently:

### SextantEvent

```ts
/**
 * This gets the type of any event passed from "fromThisEnvironment"
 * to "toThisEnvironment"
 */
const event: SextantEvent<
  "serviceName",
  "fromThisEnvironment",
  "toThisEnvironment"
>;

/**
 * This gets the type of a specific event passed from
 * "fromThisEnvironment" to "toThisEnvironment"
 */
const specificEvent: SextantEvent<
  "serviceName",
  "fromThisEnvironment",
  "toThisEnvironment",
  "SPECIFIC_EVENT_TYPE"
>;
```

### SextantHandler

```ts
/**
 * This type describes a function which handles events from
 * "fromThisEnvironment" to "toThisEnvironment"
 */
const handler: SextantHandler<
  "serviceName",
  "fromThisEnvironment",
  "toThisEnvironment"
> = () => {};
```

## Suggestions

Got ideas for what else Sextant could be useful for? Open an issue, and let's build what you need.
npm package: @sextoys101/visual-flesh
Description: A tool for visualising inner texture and length for penetration-based sex toys for males.
Author: info@malesextoys.co
Latest version: 1.0.1

# ✨ Visual Flesh
A tool for visualising inner texture and length for penetration-based sex toys for males.

## Includes the following features:
 * Customizable background with image boundary mapping
 * Depth and girth highlighting
 * Thrusting animation
 * Supports metric and imperial units

Designed to display the features of male sex toys like Fleshlight (Fleshjack). Actively used on official [Techy Sex](https://techysex.com) website.