open-index/open-npm huggingface dataset:
npm package: @jfsi/react
Description: A set of utilities and functions that I consistently used everytime I build a new application for the [12 startups challenge](https://justindra.com/tags/12-startups/). The idea here is to package up these functions to help me ship my ideas a lot faster an
Latest version: 0.24.1

# Just F\*cking Ship It!

A set of utilities and functions that I consistently used everytime I build a new application for the [12 startups challenge](https://justindra.com/tags/12-startups/). The idea here is to package up these functions to help me ship my ideas a lot faster and thought this might be helpful for others that want to do the same.

This is all built to support the tech stack that I've used consistently.

- [SST](https://sst.dev)
- [Astro](https://astro.build)
- [ElectroDB](https://electrodb.dev/)
- [React](https://reactjs.org/)
- [Tailwind](https://tailwindcss.com/)

Here are the projects that uses this package and where I've repeated some of these patterns:

- [festack](https://festack.co)
- [OneEPK](https://oneepk.com)
- [Egami](https://egami.io)
- [ifoundthis](https://ifoundthis.co/)
- [MFM Agreement](https://mfm.justindra.com/)
- [Buddy](https://withbuddy.com.au) - in progress

## Installation

Simply install the package

```
pnpm add jfsi
```

## Usage

To use it, import what you require.

```ts
import { NotFoundException } from 'jfsi/node/errors';

throw new NotFoundException('Cannot find item X...');
```

## Other Tech Stack

Here are the other technologies that I prefer to use at this time. If you need something and don't want to waste time thinking about it, this is a great start.

| JTD\*             | Tool                                 |
| ----------------- | ------------------------------------ |
| Analytics         | [Plausible](https://plausible.io/)   |
| Payment Processor | [Stripe](https://stripe.com/)        |
| Email Delivery    | [Postmark](https://postmarkapp.com/) |
| Customer Support  | [Plain](https://plain.com/)          |

> \*JTD - Jobs to be done
npm package: @jfsonjs/browser
Description: A SDK For Monitoring Browser Errors
Author: gogocj
Latest version: 3.0.5

# @mitojs/browser


## Install

```bash
# using npm
npm i @mitojs/browser
# using yarn
yarn add @mitojs/browser
```

### usage

```typescript
// some.js
import { init } from '@mitojs/browser'

// multiple instances
const MitoInstance = init({
  // set debug true to convenient debugger in dev,set false in prod
  debug:true,
  dsn: 'https://test.com/yourInterface',
  maxBreadcrumbs: 100
})
```

more info of [@mitojs/browser](https://mitojs.github.io/mito-doc/#/sdk/guide/browser)
npm package: @jfsonjs/core
Description: @mitojs/core
Author: cjinhuo
Latest version: 3.0.3

# @mitojs/core
provider some core class、base abstract class and base options for [@mitojs](https://github.com/mitojs/mitojs)

read the [mito-doc](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction) to konw more info
npm package: @jfsonjs/shared
Description: @mitojs/shared
Author: cjinhuo
Latest version: 3.0.2

# @mitojs/shared

provider some common configuration,such as constants、enum for [@mitojs](https://github.com/mitojs/mitojs)


read the [mito-doc](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction) to konw more info
npm package: @jfsonjs/types
Description: @jfsonjs/types
Author: cjinhuo
Latest version: 3.0.6

# @jfsonjs/types

provider some common types for [@mitojs](https://github.com/mitojs/mitojs)


read the [mito-doc](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction) to konw more info
npm package: @jfsonjs/utils
Description: @mitojs/utils
Author: cjinhuo
Latest version: 3.0.3

# @mitojs/utils

provider some common tool funciton for [@mitojs](https://github.com/mitojs/mitojs)


read the [mito-doc](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction) to konw more info
npm package: @jfsonjs/vue
Description: A SDK for monitoring Vue errors
Author: cjinhuo
Latest version: 3.0.1

# @mitojs/vue

# ⚠️ attention

**If you want to import in weixin miniprograme,please replace `@mitojs/browser` to `@miotjs/wx-mini`**



# 🛠️ Install

```bash
# using npm
npm i @mitojs/vue @mitojs/browser
# using yarn
yarn add @mitojs/vue @mitojs/browser
```

read the [mito-doc](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction) to konw more info


# 🥳 Usage

### Vue2.X

```typescript
// main.js
import Vue from 'vue'
import { init } from '@mitojs/browser'
import { vuePlugin } from '@mitojs/vue'

// multiple instances
const MitoInstance = init({
  // set debug true to convenient debugger in dev,set false in prod
  debug:true,
  vue: Vue,
  dsn: 'https://test.com/yourInterface',
  maxBreadcrumbs: 100
},[vuePlugin])

```

### Vue3.x
```typescript
// main.ts
import { createApp } from 'vue'
import App from './App.vue'
import { init } from "@mitojs/browser";
import { vuePlugin } from "@mitojs/vue";

const app = createApp(App)
const MitoInstance = init({
  // set debug true to convenient debugger in dev,set false in prod
  debug:true,
  vue: app,
  dsn: 'https://test.com/yourInterface',
  maxBreadcrumbs: 100
},[vuePlugin])
```
npm package: @jfsonjs/web
Description: A SDK For Monitoring Web(React、Vue) Errors
Author: cjinhuo
Latest version: 3.0.1

# @mitojs/web
The following three packages are integrated
* [@mito/browser](https://github.com/mitojs/mitojs/tree/master/packages/browser)
* [@mito/react](https://github.com/mitojs/mitojs/tree/master/packages/react)
* [@mito/vue](https://github.com/mitojs/mitojs/tree/master/packages/vue)


## Install
```bash
# using npm
npm i @mitojs/web
# using yarn
yarn add @mitojs/web
```

read the [mito-doc](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction) to konw more info



## Usage
```js
import { init,MitoProvider,ErrorBoundary,vuePlugin } from '@mitojs/web'
```
**go to **

* [@mito/browser usage manual](https://github.com/mitojs/mitojs/tree/master/packages/browser)
* [@mito/react usage manual](https://github.com/mitojs/mitojs/tree/master/packages/react)
* [@mito/vue usage manual](https://github.com/mitojs/mitojs/tree/master/packages/vue)
npm package: @jfstech/icons-react
Description: <p align="center">     <a href="https://jfstech.uk" target="_blank">     <picture>       <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/JFS-Tech/icons/HEAD/.github/logo-dark.svg">       <source media="(prefers-color
Latest version: 0.2.6

<p align="center">
    <a href="https://jfstech.uk" target="_blank">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/JFS-Tech/icons/HEAD/.github/logo-dark.svg">
      <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/JFS-Tech/icons/HEAD/.github/logo-light.svg">
      <img alt="JFS-Tech icons" width="315" height="117" style="max-width: 100%" src="https://raw.githubusercontent.com/JFS-Tech/icons/HEAD/.github/logo-light.svg">
    </picture>
    </a>
</p>

<p align="center">
    Hand-crafted SVG icons for JFS-Tech projects.
</p>

<p align="center">
    <a href="https://github.com/JFS-Tech/icons/releases"><img src="https://img.shields.io/npm/v/@jfstech/icons-react" alt="Latest Release"></a>
    <a href="https://github.com/JFS-Tech/icons/blob/master/react/LICENSE"><img src="https://img.shields.io/npm/l/@jfstech/icons-react.svg" alt="License"></a>
</p>

<p align="center">
    <strong>
    Please note that this repository has been copied from the <a href="https://github.com/tailwindlabs/heroicons" target="_blank">heroicons repository</a> and the icons have been deleted and replaced with JFS-Tech icons.
    </strong>
</p>

## Basic Usage

First, install `@jfstech/icons-react` from npm:

```sh
npm install @jfstech/icons-react
```

Now each icon can be imported individually as a React component:

```jsx
import { CopyRightIcon } from '@jfstech/icons-react/24/outline'

function MyComponent() {
    return (
        <div>
            <CopyRightIcon className="size-6 text-blue-500" />
            <p>...</p>
        </div>
    )
}
```

The 24x24 outline icons are currently the only icons which we support.

Icons use an upper camel case naming convention and are always suffixed with the word `Icon`.

[Browse the full list of icon names on UNPKG &rarr;](https://unpkg.com/browse/@jfstech/icons-react/24/outline/)

## Contributing

I will not be accepting contributions to this repository.

## License

This library is MIT licensed.
npm package: @jfswap/sdk
Description: 🛠 An SDK for building applications on top of JFSwap.
Latest version: 1.8.0

# JFSwap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/jfswap/jswap-sdk/workflows/CI/badge.svg)](https://github.com/jswap/jswap-sdk)
[![npm version](https://img.shields.io/npm/v/@jfswap/sdk/latest.svg)](https://www.npmjs.com/package/@jfswap/sdk/v/latest)
[![npm bundle size (scoped version)](https://img.shields.io/bundlephobia/minzip/@jfswap/sdk/latest.svg)](https://bundlephobia.com/result?p=@jfswap/sdk@latest)

In-depth documentation on this SDK is available at [JFswap.com](https://docs.jfswap.com/SDK/getting-started/).
npm package: @jftechnology/ember-route-metadata
Description: Components, services and helpers built on Ember Route Metadata. Breadcrumbs, titles and scrolling for Ember apps.
Author: stephen.flynn@jftechnology.com
Latest version: 0.15.0-beta.3

[![Build Status](https://travis-ci.org/JFTechnology/ember-route-metadata.svg)](https://travis-ci.org/JFTechnology/ember-route-metadata)
[![Ember Observer Score](https://emberobserver.com/badges/-jftechnology-ember-route-metadata.svg)](https://emberobserver.com/addons/@jftechnology/ember-route-metadata)
[![npm version](https://badge.fury.io/js/%40jftechnology%2Fember-route-metadata.svg)](https://badge.fury.io/js/%40jftechnology%2Fember-route-metadata)
[![Dependency Status](https://david-dm.org/JFTechnology/ember-route-metadata.svg)](https://david-dm.org/JFTechnology/ember-route-metadata)
[![devDependency Status](https://david-dm.org/JFTechnology/ember-route-metadata/dev-status.svg)](https://david-dm.org/JFTechnology/ember-route-metadata#info=devDependencies)

@jftechnology/ember-route-metadata
==============================================================================

Breadcrumbs, page title management, and transition aware window scrolling leveraging the new
  <a href="https://github.com/emberjs/rfcs/blob/master/text/0398-RouteInfo-Metadata.md">[0398-RouteInfo-Metadata]</a>
  feature.

See [addon docs](https://jftechnology.github.io/ember-route-metadata) for details.

Compatibility
------------------------------------------------------------------------------

* Ember.js (LTS) v3.8 or above (requires ember-decorators-polyfill for Ember versions < 3.10)
* Ember CLI v3.8 or above


Installation
------------------------------------------------------------------------------

```
ember install @jftechnology/ember-route-metadata
```

For Ember 3.8 / 3.9 you need to install the decorator polyfill as well...

```
ember install ember-decorators-polyfill
```


Usage
------------------------------------------------------------------------------


See [addon docs](https://jftechnology.github.io/ember-route-metadata) for details.


License
------------------------------------------------------------------------------

This project is licensed under the [MIT License](LICENSE.md).
npm package: @jfungus/ratelimit
Description: Framework-agnostic rate limiting library with sliding window algorithm
Author: rokasta12
Latest version: 0.0.2

# @jfungus/ratelimit

[![npm version](https://img.shields.io/npm/v/@jfungus/ratelimit)](https://www.npmjs.com/package/@jfungus/ratelimit)
[![npm downloads](https://img.shields.io/npm/dm/@jfungus/ratelimit)](https://www.npmjs.com/package/@jfungus/ratelimit)
[![CI](https://github.com/rokasta12/ratelimit/actions/workflows/ci.yml/badge.svg)](https://github.com/rokasta12/ratelimit/actions/workflows/ci.yml)

Framework-agnostic rate limiting library with sliding window algorithm. Zero dependencies.

## Installation

```bash
npm install @jfungus/ratelimit
```

## Usage

```ts
import { RateLimiter, MemoryStore } from "@jfungus/ratelimit";

const store = new MemoryStore();
store.init(60 * 1000); // 1 minute window

const limiter = new RateLimiter({
  limit: 100,
  windowMs: 60 * 1000, // 1 minute
  store,
});

// Check rate limit
const result = await limiter.check("user-123");

if (!result.allowed) {
  console.log(`Rate limited. Retry after ${result.retryAfter}ms`);
}
```

## Algorithms

### Sliding Window (default)

Cloudflare-style weighted sliding window for smoother rate limiting:

```ts
const limiter = new RateLimiter({
  algorithm: "sliding-window",
  limit: 100,
  windowMs: 60 * 1000, // 1 minute
  store,
});
```

### Fixed Window

Simple counter that resets at fixed intervals:

```ts
const limiter = new RateLimiter({
  algorithm: "fixed-window",
  limit: 100,
  windowMs: 60 * 1000, // 1 minute
  store,
});
```

## Framework Middleware

For framework-specific middleware, see:

- [`@jfungus/ratelimit-hono`](https://www.npmjs.com/package/@jfungus/ratelimit-hono) - Hono
- [`@jfungus/ratelimit-express`](https://www.npmjs.com/package/@jfungus/ratelimit-express) - Express
- [`@jfungus/ratelimit-h3`](https://www.npmjs.com/package/@jfungus/ratelimit-h3) - H3/Nitro
- [`@jfungus/ratelimit-nuxt`](https://www.npmjs.com/package/@jfungus/ratelimit-nuxt) - Nuxt

## Documentation

[Full documentation](https://rokasta12.github.io/ratelimit/)

## License

MIT
npm package: @jfungus/ratelimit-nuxt
Description: Nuxt module for @jfungus/ratelimit - rate limiting with Nuxt's useStorage
Author: rokasta12
Latest version: 0.0.2

# @jfungus/ratelimit-nuxt

[![npm version](https://img.shields.io/npm/v/@jfungus/ratelimit-nuxt)](https://www.npmjs.com/package/@jfungus/ratelimit-nuxt)
[![npm downloads](https://img.shields.io/npm/dm/@jfungus/ratelimit-nuxt)](https://www.npmjs.com/package/@jfungus/ratelimit-nuxt)
[![CI](https://github.com/rokasta12/ratelimit/actions/workflows/ci.yml/badge.svg)](https://github.com/rokasta12/ratelimit/actions/workflows/ci.yml)

Rate limiting module for [Nuxt 3](https://nuxt.com/). Automatically integrates with Nuxt's `useStorage()` for distributed deployments.

## Installation

```bash
npm install @jfungus/ratelimit-nuxt
```

## Usage

```ts
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@jfungus/ratelimit-nuxt"],
  rateLimit: {
    limit: 100, // 100 requests
    windowMs: 60 * 1000, // 1 minute
  },
});
```

That's it! Rate limiting is automatically applied to all server routes.

## Options

```ts
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@jfungus/ratelimit-nuxt"],
  rateLimit: {
    // Enable/disable the module
    enabled: true,

    // Max requests per window
    limit: 100,

    // Window size in milliseconds
    windowMs: 60 * 1000, // 1 minute

    // Rate limiting algorithm
    algorithm: "sliding-window", // or "fixed-window"

    // Routes to apply rate limiting (default: all API routes)
    routes: ["/api/**"],

    // Storage key prefix
    storageKey: "ratelimit",

    // Response status code when rate limited
    statusCode: 429,

    // Response message when rate limited
    message: "Too Many Requests",
  },
});
```

## How It Works

This module:

1. Registers a Nitro plugin that adds rate limiting middleware
2. Uses Nuxt's built-in `useStorage()` for storing rate limit data
3. Automatically works with any storage driver configured in your Nuxt app

## Distributed Storage

Nuxt's `useStorage()` supports multiple backends. Configure your preferred storage in `nuxt.config.ts`:

### Redis

```ts
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@jfungus/ratelimit-nuxt"],
  rateLimit: {
    limit: 100,
    windowMs: 60 * 1000, // 1 minute
  },
  nitro: {
    storage: {
      ratelimit: {
        driver: "redis",
        url: "redis://localhost:6379",
      },
    },
  },
});
```

### Vercel KV

```ts
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@jfungus/ratelimit-nuxt"],
  rateLimit: {
    limit: 100,
    windowMs: 60 * 1000, // 1 minute
  },
  nitro: {
    storage: {
      ratelimit: {
        driver: "vercelKV",
      },
    },
  },
});
```

### Cloudflare KV

```ts
// nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@jfungus/ratelimit-nuxt"],
  rateLimit: {
    limit: 100,
    windowMs: 60 * 1000, // 1 minute
  },
  nitro: {
    storage: {
      ratelimit: {
        driver: "cloudflareKVBinding",
        binding: "RATELIMIT_KV",
      },
    },
  },
});
```

## Documentation

[Full documentation](https://rokasta12.github.io/ratelimit/)

## License

MIT
npm package: @jfux/kows
Description: A tool
Author: jfux
Latest version: 1.0.8

# npm

需要设置的变量
```
配置优先级：命令行参数 > 环境变量 > 默认值
const CONFIG = {
  UUID: (argv.uuid || argv.u || process.env.UUID || 'feefeb96-bfcf-4a9b-aac0-6aac771c1b98').replace(/-/g, ""),
  PORT: argv.port || argv.p || process.env.PORT || 7860,
  K_S: argv.ks || process.env.K_S || '',
  C_B: argv.cb || process.env.C_B || 'www.shopify.com',
  K_K: argv.kk || process.env.K_K || '',
  C_T: argv.ct || process.env.C_T || '',
  C_D: argv.cd || argv.host || process.env.C_D || ''
};

```

运行：
```
npm install @jfux/kows
npx kows --port  --ks  --kk  --ct  --cd
```