open-index/open-npm huggingface dataset:
npm package: @saastro/forms-docs
Description: ```sh npm create astro@latest -- --template with-tailwindcss ```
Latest version: 0.0.1

# Astro with Tailwind

```sh
npm create astro@latest -- --template with-tailwindcss
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-tailwindcss)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/with-tailwindcss)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/with-tailwindcss/devcontainer.json)

Astro comes with [Tailwind](https://tailwindcss.com) support out of the box. This example showcases how to style your Astro project with Tailwind.

For complete setup instructions, please see our [Tailwind Integration Guide](https://docs.astro.build/en/guides/integrations-guide/tailwind).
npm package: @saatana97/eslint-config
Description: # 介绍
Author: 向文可
Latest version: 1.0.0

# ESLint Config

# 介绍

> ESLint Shared Config With TypeScript And Vue

# 安装

```
npm install --save-dev @saatana97/eslint-config
pnpm add --save-dev @saatana97/eslint-config
```

# 使用

```typescript
// .eslintrc
{
    "extends": "@saatana97/eslint-config"
}
// in vue projects
{
    "extends": "@saatana97/eslint-config/vue"
}
```
npm package: @saatana97/fakejs
Description: 世间万物如梦一场
Author: 向文可
Latest version: 0.0.2

# fakejs

世间万物如梦一场

# Installation

```
npm install --save @saatana97/fakejs;
```

# Use

### 全量引用

```
import * as fakejs from '@saatana97/fakejs';
fakejs.nickname();
```

### 按需引用

```
import { nickname } from '@saatana97/fakejs';
nickname();
```

## number

### 生成范围内随机整数，包含最小值和最大值，参数不固定顺序

-   min:number 最小值

-   max:number 最大值

---

-   number 随机整数

```
number(0,100);
// 50
```

## index

### 生成数组的随机下标顺序

-   arr:unknown[] 数组

---

-   number 随机下标

```
index(['','','']);
// 1
```

## item

### 抽取数组的随机元素

-   arr:T[] 数组

---

-   T 随机元素

```
item([1,2,3]);
// 1
```

## word

### 生成指定长度随机字符串

-   ## config?:Object 可选配置

    -   length?:number = 1 字符串长度
    -   number?:boolean = false 是否包含数字
    -   lower?:boolean = true 是否包含小写字母
    -   power?:boolean = true 是否包含大写字母
    -   repeatable?:boolean = true 是否允许出现重复字符 <b>【字符串长度不能超过可选字符数量，否则不生效】</b>
    -   ext?:string[] = [] 扩展可选字符数组

---

-   string 随机字符串

```
ward({length : 10});
// hQfRloQmaA
```

## chinese

### 生成随机中文

-   \-

---

-   string 随机中文

```
chinese();
// 可
```

## nickname

### 生成随机中文姓名

-   \-

---

-   string 随机中文姓名

```
nickname();
// 向文可
```

## image

### 生成指定尺寸随机颜色图片，目前仅支持浏览器环境

-   width:number 宽度，默认 100
-   height:number 高度，默认 100
-   color:string 颜色

---

-   string 随机图片数据

```
image();
// 图片base64内容
```

## sex

### 生成随机性别

#### T: string | number | { label:string; value:number }

#### enum SexMode: LABEL=0，VALUE=1, OBJECT=2

-   mode:SexMode 模式，默认为 SexMode.LABEL
-   ext:T[] 扩展性别

---

-   T 随机性别

```
sex(enums.SexMode.VALUE);
// 1
```

### 生成随机手机号码

-   segment:string 固定号段

---

-   string 随机手机号码

```
phone('132');
// 13202090601
```
npm package: @saatana97/state-store
Description: # 介绍
Author: 向文可
Latest version: 1.0.0

# 二进制状态存储器

# 介绍

> 使用二进制储存状态数据  
> 只有激活/未激活两种状态（二进制只有 0 和 1）  
> 最多同时保存 32 种状态（JS 数字精度）  
> 支持多种状态查询逻辑（与、或、非、异或）

# 安装

```
npm install --save @saatana97/state-store
pnpm add --save @saatana97/state-store
```

# 使用

```typescript
const value = 0;
const { active, inactive, toggle, status, count } = useStateStore({
    value,
    change: (val, old) => {
        value = val;
        console.info(old, val);
    },
});
```
npm package: @saazip/auth-access
Description: Authorization helpers and access-control primitives for Saazip auth flows.
Latest version: 0.1.1

# @saazip/auth-access

Authorization helpers and access-control primitives for Saazip auth flows.

## Install

```bash
pnpm add @saazip/auth-access
```

## Use When

- you need reusable permission checks above auth session primitives
- you want shared access-control helpers without product-specific RBAC code

## Related Packages

- `@saazip/auth-contracts`
- `@saazip/auth-organizations`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-api-keys
Description: User-owned and organization-owned API key workflows on top of Better Auth.
Latest version: 0.1.1

# @saazip/auth-api-keys

User-owned and organization-owned API key workflows on top of Better Auth.

## Install

```bash
pnpm add @saazip/auth-api-keys better-auth
```

## Use When

- you need machine credentials next to browser sessions
- you want organization-scoped credentials for integrations or agents

## Related Packages

- `@saazip/auth-core`
- `@saazip/auth-organizations`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-contracts
Description: Public auth-facing contracts for sessions, users, organizations, memberships, invites, and API keys.
Latest version: 0.1.1

# @saazip/auth-contracts

Public auth-facing contracts for sessions, users, organizations, memberships, invites, and API keys.

## Install

```bash
pnpm add @saazip/auth-contracts
```

## Use When

- you want app code to depend on stable Saazip auth types
- you do not want Better Auth payload shapes leaking through your app

## Related Packages

- `@saazip/auth-core`
- `@saazip/auth-next`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-core
Description: Better Auth bootstrap and session-oriented service facade for Saazip-style apps.
Latest version: 0.1.1

# @saazip/auth-core

Better Auth bootstrap and session-oriented service facade for Saazip-style apps.

## Install

```bash
pnpm add @saazip/auth-core better-auth @better-auth/api-key
```

## Use When

- you want Better Auth behind your own package boundary
- you need sign-up, sign-in, sign-out, email verification, and password reset flows

## Related Packages

- `@saazip/auth-next`
- `@saazip/auth-react`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-db
Description: Drizzle and memory-backed auth persistence helpers for sessions, organizations, invites, and API keys.
Latest version: 0.1.1

# @saazip/auth-db

Drizzle and memory-backed auth persistence helpers for sessions, organizations, invites, and API keys.

## Install

```bash
pnpm add @saazip/auth-db drizzle-orm pg better-auth
```

## Use When

- you need Postgres-backed Better Auth persistence
- you want a memory fallback for tests and examples

## Related Packages

- `@saazip/auth-core`
- `@saazip/foundation-db`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-fastify
Description: Fastify adapter surface for Better Auth routes, session loading, and request guards.
Latest version: 0.1.1

# @saazip/auth-fastify

Fastify adapter surface for Better Auth routes, session loading, and request guards.

## Install

```bash
pnpm add @saazip/auth-fastify fastify better-auth
```

## Use When

- you are wiring Better Auth into a Fastify app
- you want reusable route plugins and session hydration helpers

## Related Packages

- `@saazip/auth-core`
- `@saazip/auth-organizations`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-next
Description: Next.js App Router helpers for Better Auth route handlers and session loading.
Latest version: 0.1.1

# @saazip/auth-next

Next.js App Router helpers for Better Auth route handlers and session loading.

## Install

```bash
pnpm add @saazip/auth-next better-auth
```

## Use When

- you are wiring authentication into a Next.js App Router app
- you want server-side session loading behind Saazip auth helpers

## Related Packages

- `@saazip/auth-core`
- `@saazip/auth-react`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-organizations
Description: Organization, invitation, membership, and active-organization workflows built on Better Auth.
Latest version: 0.1.1

# @saazip/auth-organizations

Organization, invitation, membership, and active-organization workflows built on Better Auth.

## Install

```bash
pnpm add @saazip/auth-organizations better-auth
```

## Use When

- your product is multi-tenant and needs organization-aware auth behavior
- you need reusable invite and membership flows before product-specific workspace rules

## Related Packages

- `@saazip/auth-core`
- `@saazip/auth-contracts`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-react
Description: React client and session context primitives for app-facing auth surfaces.
Latest version: 0.1.1

# @saazip/auth-react

React client and session context primitives for app-facing auth surfaces.

## Install

```bash
pnpm add @saazip/auth-react better-auth @better-auth/api-key
```

## Use When

- you want a shared session context in a React app
- you want Better Auth client plugin wiring centralized

## Related Packages

- `@saazip/auth-next`
- `@saazip/auth-contracts`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/auth-testing
Description: Reusable test harnesses and fixtures for Saazip auth integrations.
Latest version: 0.1.1

# @saazip/auth-testing

Reusable test harnesses and fixtures for Saazip auth integrations.

## Install

```bash
pnpm add -D @saazip/auth-testing
```

## Use When

- you want auth-oriented fixtures in unit or integration tests
- you need a repeatable Better Auth test harness for Saazip packages

## Related Packages

- `@saazip/auth-core`
- `@saazip/foundation-testing`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/foundation-config
Description: Typed environment and configuration helpers used across Saazip packages.
Latest version: 0.1.0

# @saazip/foundation-config

Typed environment and configuration helpers used across Saazip packages.

## Install

```bash
pnpm add @saazip/foundation-config zod
```

## Use When

- you want minimal typed env parsing helpers
- you need small reusable config primitives below product domains

## Related Packages

- `@saazip/foundation-contracts`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/foundation-contracts
Description: Shared primitive contracts for ids, timestamps, metadata, and error envelopes.
Latest version: 0.1.0

# @saazip/foundation-contracts

Shared primitive contracts for ids, timestamps, metadata, and error envelopes.

## Install

```bash
pnpm add @saazip/foundation-contracts
```

## Use When

- you need a minimal shared contract layer across Saazip packages
- you want generic ids and metadata types without pulling domain packages

## Related Packages

- `@saazip/auth-contracts`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/foundation-db
Description: Low-level Drizzle and Postgres helpers shared by Saazip persistence packages.
Latest version: 0.1.0

# @saazip/foundation-db

Low-level Drizzle and Postgres helpers shared by Saazip persistence packages.

## Install

```bash
pnpm add @saazip/foundation-db drizzle-orm pg
```

## Use When

- you need a small shared DB runtime without product semantics
- you want common Drizzle/Postgres helpers reused across packages

## Related Packages

- `@saazip/auth-db`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/foundation-observability
Description: Minimal logging and health helpers shared by Saazip packages.
Latest version: 0.1.0

# @saazip/foundation-observability

Minimal logging and health helpers shared by Saazip packages.

## Install

```bash
pnpm add @saazip/foundation-observability
```

## Use When

- you need lightweight structured logging helpers
- you want health payload helpers without full observability infrastructure

## Related Packages

- `@saazip/auth-core`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides
npm package: @saazip/foundation-testing
Description: Small reusable testing helpers shared by Saazip package suites.
Latest version: 0.1.0

# @saazip/foundation-testing

Small reusable testing helpers shared by Saazip package suites.

## Install

```bash
pnpm add -D @saazip/foundation-testing
```

## Use When

- you want tiny shared testing utilities below product-specific fixtures
- you need common helpers reused across Saazip package tests

## Related Packages

- `@saazip/auth-testing`

## Source

- Repo: `saazip/auth-core`
- Docs: see the root repository README and docs app for architecture and adoption guides