open-index/open-npm huggingface dataset:
npm package: @kueztech/sqlshield
Description: Lightweight SQL sanitizer and query protection for Node.js and PostgreSQL. Block injections, enforce input validation, and rate-limit queries like a pro.
Author: Iezek Rodriguez
Latest version: 1.0.0

# @kueztech/sqlshield

Lightweight SQL sanitizer and query shield for Node.js.  
Protect your PostgreSQL queries with injection detection, input validation, and rate limiting — all in one minimal, zero-dependency package.

---

## Features

- Scan SQL queries for unsafe keywords
- Block common injection patterns (e.g., DROP, --, OR 1=1)
- Validate input types, lengths, and regex patterns
- Rate-limit queries by table/IP
- Log blocked attempts with metadata
- Lightweight and fast — no dependencies

---

## Installation

```bash
npm install @kueztech/sqlshield
npm package: @kugatsu/vue3-toast
Description: Toast notification for vue3
Author: Romain Gabel
Latest version: 1.0.2

# Vue3 toast

> This plugins is compatible and build with [tailwindcss2]("https://tailwindcss.com/") et [fontawesome](https://fontawesome.com/) (exept for custom notification cell)

## Add it to your project

Install it with yarn or NPM

```shell
yarn add @kugatsu/vue3-toast
```

## How to use

### Install the plugin into

```javascript
// main.js

import VueNotification from "@kugatsu/vue3-toast";

createApp(App)
  .use(VueNotification, { duration: 5000, [...] })
```

### Add the container at the bottom of your App

```vue
// App.vue

<template>
  <div>
    <router-view />
    <VueNotificationContainer />
  </div>
</template>
```

### Throw toast

```javascript
// param1: notification
// param2: custom timeout
this.$toast.new({
  title: "Password",
  icon: "key",
  content: "Email send",
}, 10000);

this.$toast.success({
  title: "Password",
  icon: "key",
  content: "Email send",
});

this.$toast.error({
  title: "Password",
  icon: "key",
  content: "Email send",
});

this.$toast.warning({
  title: "Password",
  icon: "key",
  content: "Email send",
});
```

### Composition api

```javascript
import useToast from "@kugatsu/vue3-toast/useToast";

[...]

setup(){
    const toast = useToast();

    toast.new({
        title: "Acquittement Réparateur",
        content: "L'intervention a été acquitté",
        icon: "check-circle"
    });
}

```

## Configuration

This is the default configuration of the toast. You can overide some property during the installation.

```javascript
let conf = {
  duration: 5000,
  position: "top-right",
  fullSize: false,
  fullSizeMobile: true,
  colors: {
    new: "bg-blue-500",
    success: "bg-green-500",
    warning: "bg-yellow-500",
    error: "bg-red-500",
  },
};

createApp(App).use(VueNotification, { conf });
```

## Customization

If you want replace the layout of the notification you can pass as props **cellComponent** a vue3 component with "notification" props. 

You can do the same things to replace animation groups with the props 
**transitionComponent**

Sample: 
````html
<template>
  <div>
    <router-view />
    <VueNotificationContainer :cellComponent="YourCustomCell" :transitionComponent="YourTransition"/>
  </div>
</template>
````
npm package: @kuhe-org/publish-why-dont-we
Description: conditionally publish/tag but do not consider a pre-existing version/tag as an exception
Latest version: 3.11.0

# node-publish-why-dont-we

`npm install @kuhe-org/publish-why-dont-we`

`npx publish-why-dont-we` or run `main.js`.

The script will do the following:

#### 1

Find a prospective version. If the flag `--use-latest-local-tag` is used, then the 
latest local tag will be taken as the prospective version (unless the package.json version is higher) 

In all other cases, the package.json version will be used as the prospective version.

#### 2

Using this prospective version, the program will push a tag for this version only if it does
not already exist on the remote.

It will also `npm publish` this version if and only if it does not already exist. 

Existence of either a tag or npm version equal to the prospective version is not treated as a failure and
instead ignored.

##### Notes

The suggested and designed use-case is running this command after automation has 
verified and merged a PR that may or may not bump the package.json version of a module.
npm package: @kui-framework/core
Description: Core KUI Framework - Providers, registry e integração com backends (REST/tRPC)
Author: Kenny JSA
Latest version: 0.0.1

# @kui-framework/core

Core KUI Framework - Providers, registry e integração com backends (REST/tRPC).

## 📦 Instalação

```bash
npm install @kui-framework/core @kui-framework/zod-extension
# or
pnpm add @kui-framework/core @kui-framework/zod-extension
```

## 🚀 Uso Básico

### Provider REST

```typescript
import { createRestProvider, KuiDataProvider } from '@kui-framework/core';

const userProvider = createRestProvider({
  name: 'userProvider',
  baseUrl: 'https://api.example.com',
  endpoints: {
    list: '/users',
    get: '/users/:id',
    create: '/users',
    update: '/users/:id',
    delete: '/users/:id',
  },
});

export function App() {
  return (
    <KuiDataProvider providers={[{ name: 'userProvider', provider: userProvider }]}>
      {/* Seus componentes aqui */}
    </KuiDataProvider>
  );
}
```

### Provider tRPC

```typescript
import { createTrpcProvider } from '@kui-framework/core';
import { trpc } from './lib/trpc';

const userTrpcProvider = createTrpcProvider({
  name: 'userTrpcProvider',
  router: trpc.user,
  procedures: {
    list: 'getAll',
    get: 'getById',
    create: 'create',
    update: 'update',
    delete: 'delete',
  },
});
```

## 🎯 Features

- ✅ **Interface DataProvider** unificada
- ✅ **createRestProvider** para APIs REST
- ✅ **createTrpcProvider** para tRPC
- ✅ **Registry global** de providers
- ✅ **React Context** para acesso aos providers
- ✅ **Type-safe** com TypeScript

## 📖 API

### DataProvider

```typescript
interface DataProvider<T = any> {
  name: string;
  list: (params?: ListParams) => Promise<ListResponse<T>>;
  get: (id: string | number) => Promise<T>;
  create: (data: Partial<T>) => Promise<T>;
  update: (id: string | number, data: Partial<T>) => Promise<T>;
  delete: (id: string | number) => Promise<void>;
}
```

### Hooks

```typescript
// Obter provider registrado
const provider = useKuiProvider('userProvider');

// Usar provider
const users = await provider.list({ page: 1, pageSize: 10 });
const user = await provider.get(1);
const newUser = await provider.create({ name: 'João' });
```

## 📄 Licença

MIT © Kenny JSA
npm package: @kui-framework/forms
Description: Formulários KUI Framework - Geração automática de formulários a partir de schemas Zod
Author: Kenny JSA
Latest version: 0.0.1

# @kui-framework/forms

Formulários KUI Framework - Geração automática de formulários a partir de schemas Zod.

## 📦 Instalação

```bash
npm install @kui-framework/forms @kui-framework/ui @kui-framework/core @kui-framework/zod-extension react-hook-form zod
# or
pnpm add @kui-framework/forms @kui-framework/ui @kui-framework/core @kui-framework/zod-extension react-hook-form zod
```

## 🚀 Uso

```typescript
import { FormBuilder } from '@kui-framework/forms';
import { zKUI } from '@kui-framework/zod-extension';

const schema = zKUI.object({
  nome: zKUI.text("Nome", { required: true }),
  email: zKUI.email("E-mail", { required: true }),
  idade: zKUI.number("Idade"),
});

function MyForm() {
  const handleSubmit = (data) => {
    console.log("Dados:", data);
  };

  return (
    <FormBuilder
      schema={schema}
      mode="create"
      onSubmit={handleSubmit}
    />
  );
}
```

## 📚 Componentes

### FormBuilder
Construtor principal de formulários:
- Gera UI automaticamente do schema
- 3 modos: `create`, `edit`, `view`
- Validação integrada com Zod
- React Hook Form por baixo

### FieldRenderer
Renderiza campos individuais:
- Suporta todos os 18 tipos de campo
- Máscaras automáticas
- Estados readonly/hidden
- Campos condicionais

### GridField / ListField
Componentes para sublistas:
- CRUD inline com modal
- Responsivo (Grid ↔ List)
- Paginação local
- Tracking de mudanças

## 🎯 Features

- ✅ **Geração automática** de UI
- ✅ **18 tipos de campos**
- ✅ **Validação Zod** integrada
- ✅ **3 modos** (create/edit/view)
- ✅ **Campos derivados** com auto-cálculo
- ✅ **Campos condicionais** (showIf)
- ✅ **Validações cross-field** (.refine)
- ✅ **Grid/sublistas** local-first
- ✅ **Máscaras** de input
- ✅ **Responsivo** automático
- ✅ **Performance** otimizada (React.memo)

## 📖 Documentação

Veja a [documentação completa](https://github.com/kennyjsa/kui) e [exemplos](https://github.com/kennyjsa/kui/tree/develop/examples/person-addresses).

## 📄 Licença

MIT © Kenny JSA
npm package: @kui-framework/theme
Description: Sistema de temas KUI Framework - Design tokens, Tailwind preset e estilos globais
Author: Kenny JSA
Latest version: 0.0.1

# @kui-framework/theme

Sistema de temas KUI Framework - Design tokens, Tailwind preset e estilos globais.

## 📦 Instalação

```bash
npm install @kui-framework/theme tailwindcss
# or
pnpm add @kui-framework/theme tailwindcss
```

## 🚀 Setup

### 1. Configurar Tailwind

```js
// tailwind.config.js
import kuiPreset from '@kui-framework/theme/tailwind';

export default {
  presets: [kuiPreset],
  content: [
    './src/**/*.{ts,tsx}',
    './node_modules/@kui-framework/**/*.{js,mjs}',
  ],
};
```

### 2. Importar Estilos Globais

```css
/* app/globals.css */
@import '@kui-framework/theme/globals.css';

@tailwind base;
@tailwind components;
@tailwind utilities;
```

## 🎨 Design Tokens

### Cores

```css
/* Light mode */
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--primary: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--destructive: 0 84.2% 60.2%;

/* Dark mode */
[class~="dark"] {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  /* ... */
}
```

### Espaçamentos

Usa escala padrão do Tailwind:
- `spacing`: 0.25rem increments
- `borderRadius`: sm, md, lg, xl

### Tipografia

```css
--font-sans: 'Inter', system-ui, sans-serif;
```

## 🎯 Features

- ✅ **Design system** completo
- ✅ **Dark mode** pronto
- ✅ **Tailwind preset** configurado
- ✅ **CSS variables** customizáveis
- ✅ **Animações** incluídas

## 📄 Licença

MIT © Kenny JSA
npm package: @kui-framework/ui
Description: Componentes UI KUI Framework - Biblioteca React com Radix UI e Tailwind CSS
Author: Kenny JSA
Latest version: 0.0.1

# @kui-framework/ui

Componentes UI KUI Framework - Biblioteca React com Radix UI e Tailwind CSS.

## 📦 Instalação

```bash
npm install @kui-framework/ui @kui-framework/theme react react-dom
# or
pnpm add @kui-framework/ui @kui-framework/theme react react-dom
```

## 🚀 Uso

```typescript
import { Button, Input, Label, Card } from '@kui-framework/ui';

function MyForm() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Meu Formulário</CardTitle>
      </CardHeader>
      <CardContent>
        <div className="space-y-4">
          <div>
            <Label htmlFor="name">Nome</Label>
            <Input id="name" placeholder="Digite seu nome" />
          </div>
          
          <Button type="submit">Salvar</Button>
        </div>
      </CardContent>
    </Card>
  );
}
```

## 🎨 Componentes Disponíveis

### Form Elements
- `Input` - Campo de texto
- `MaskedInput` - Input com máscara
- `Textarea` - Área de texto
- `CurrencyInput` - Input monetário
- `Label` - Rótulo de campo

### Selection
- `Select` - Seletor dropdown
- `Checkbox` - Caixa de seleção
- `RadioGroup` - Grupo de opções
- `Switch` - Toggle on/off

### Specialized
- `Rating` - Avaliação com estrelas
- `ColorPicker` - Seletor de cores
- `FileUpload` - Upload de arquivos

### Layout
- `Card` - Container de conteúdo
- `Badge` - Tags e status
- `Dialog` - Modal/Dialog
- `Button` - Botões com variantes

### Feedback
- `Skeleton` - Loading placeholder
- `FormSkeleton` - Skeleton de formulário
- `GridSkeleton` - Skeleton de tabela
- `ErrorBoundary` - Tratamento de erros

### Navigation
- `SimplePagination` - Paginação simples

## 🎯 Features

- ✅ Baseado em **Radix UI** (acessibilidade)
- ✅ Estilizado com **Tailwind CSS**
- ✅ **Variantes** configuráveis
- ✅ **TypeScript** com tipos completos
- ✅ **Tree-shakeable**
- ✅ **SSR-ready**

## 📄 Licença

MIT © Kenny JSA
npm package: @kui-framework/zod-extension
Description: Extensões Zod para KUI Framework - Schemas declarativos para geração automática de UI
Author: Kenny JSA
Latest version: 0.0.1

# @kui-framework/zod-extension

Extensões Zod para KUI Framework - Schemas declarativos para geração automática de UI.

## 📦 Instalação

```bash
npm install @kui-framework/zod-extension zod
# or
pnpm add @kui-framework/zod-extension zod
# or
yarn add @kui-framework/zod-extension zod
```

## 🚀 Uso

```typescript
import { zKUI } from '@kui-framework/zod-extension';

const pessoaSchema = zKUI.object({
  id: zKUI.identifier("ID"),
  nome: zKUI.text("Nome", { required: true }),
  email: zKUI.email("E-mail", { required: true }),
  cpf: zKUI.text("CPF", { mask: "999.999.999-99" }),
  dataNascimento: zKUI.date("Data de Nascimento"),
  idade: zKUI.number("Idade", { 
    derived: true,
    compute: (values) => {
      if (!values.dataNascimento) return null;
      const today = new Date();
      const birth = new Date(values.dataNascimento);
      let age = today.getFullYear() - birth.getFullYear();
      const monthDiff = today.getMonth() - birth.getMonth();
      if (monthDiff < 0 || (monthDiff === 0 && today.getDate() < birth.getDate())) {
        age--;
      }
      return age;
    }
  }),
});
```

## 📚 Tipos de Campos

### Básicos
- `identifier()` - ID único
- `text()` - Texto curto
- `textarea()` - Texto longo
- `number()` - Números
- `date()` - Datas
- `email()` - E-mail
- `password()` - Senha

### Seleção
- `boolean()` - Sim/Não
- `select()` - Lista de opções
- `checkbox()` - Caixa de seleção
- `radio()` - Opções exclusivas
- `switch()` - Toggle on/off

### Avançados
- `currency()` - Valores monetários
- `rating()` - Avaliação com estrelas
- `color()` - Seletor de cores
- `file()` - Upload de arquivos
- `relation()` - Relacionamento com outras entidades
- `grid()` - Sublistas inline

## 🎯 Features

- ✅ **18 tipos de campos** prontos para uso
- ✅ **Metadados declarativos** anexados ao schema
- ✅ **Validação Zod** integrada
- ✅ **Campos derivados** com cálculo automático
- ✅ **Campos condicionais** com `showIf`
- ✅ **TypeScript** com inferência completa

## 📖 Documentação

Veja a [documentação completa](https://github.com/kennyjsa/kui) no repositório principal.

## 📄 Licença

MIT © Kenny JSA