open-index/open-npm huggingface dataset:
npm package: @shcnwc/shadcn-table-web-component
Description: A responsive table component.
Latest version: 1.3.2

# Table

A responsive table component.

[![NPM Version](https://img.shields.io/npm/v/@shcnwc/shadcn-table-web-component.svg)](https://www.npmjs.com/package/@shcnwc/shadcn-table-web-component)
[![Package Size](https://img.badgesize.io/https://unpkg.com/@shcnwc/shadcn-table-web-component/index.js?compression=gzip)](https://www.npmjs.com/package/@shcnwc/shadcn-table-web-component)
[![License](https://img.shields.io/npm/l/@shcnwc/shadcn-table-web-component.svg)](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)


## Installation

```bash
npm install @shcnwc/shadcn-table-web-component
```

## Usage

```html
<script type="module">
  import "@shcnwc/shadcn-table-web-component";
</script>


```

## Links

- [Source Code](https://github.com/shcnwc/shadcn-web-components/tree/main/dist/table)
- [Documentation](https://github.com/shcnwc/shadcn-web-components)
- [License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)

## Contributing

Contributions are welcome! Please open an issue or pull request on [GitHub](https://github.com/shcnwc/shadcn-web-components).

## License

This project is licensed under the [MIT License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE).
npm package: @shcnwc/shadcn-tabs-web-component
Description: A set of layered sections of content—known as tab panels—that are displayed one at a time.
Latest version: 1.3.2

# Tabs

A set of layered sections of content—known as tab panels—that are displayed one at a time.

[![NPM Version](https://img.shields.io/npm/v/@shcnwc/shadcn-tabs-web-component.svg)](https://www.npmjs.com/package/@shcnwc/shadcn-tabs-web-component)
[![Package Size](https://img.badgesize.io/https://unpkg.com/@shcnwc/shadcn-tabs-web-component/index.js?compression=gzip)](https://www.npmjs.com/package/@shcnwc/shadcn-tabs-web-component)
[![License](https://img.shields.io/npm/l/@shcnwc/shadcn-tabs-web-component.svg)](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)


## Installation

```bash
npm install @shcnwc/shadcn-tabs-web-component
```

## Usage

```html
<script type="module">
  import "@shcnwc/shadcn-tabs-web-component";
</script>

<tabs-root value="account" class="w-[400px]">
  <tabs-list>
    <tabs-trigger value="account">account</tabs-trigger>
    <tabs-trigger value="password">password</tabs-trigger>
  </tabs-list>
  <tabs-content value="account">
    make changes to your account here-
  </tabs-content>
  <tabs-content value="password">change your password here-</tabs-content>
</tabs-root>
```

## Links

- [Source Code](https://github.com/shcnwc/shadcn-web-components/tree/main/dist/tabs)
- [Documentation](https://github.com/shcnwc/shadcn-web-components)
- [License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)

## Contributing

Contributions are welcome! Please open an issue or pull request on [GitHub](https://github.com/shcnwc/shadcn-web-components).

## License

This project is licensed under the [MIT License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE).
npm package: @shcnwc/shadcn-textarea-web-component
Description: Displays a form textarea or a component that looks like a textarea.
Latest version: 1.3.2

# Textarea

Displays a form textarea or a component that looks like a textarea.

[![NPM Version](https://img.shields.io/npm/v/@shcnwc/shadcn-textarea-web-component.svg)](https://www.npmjs.com/package/@shcnwc/shadcn-textarea-web-component)
[![Package Size](https://img.badgesize.io/https://unpkg.com/@shcnwc/shadcn-textarea-web-component/index.js?compression=gzip)](https://www.npmjs.com/package/@shcnwc/shadcn-textarea-web-component)
[![License](https://img.shields.io/npm/l/@shcnwc/shadcn-textarea-web-component.svg)](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)


## Installation

```bash
npm install @shcnwc/shadcn-textarea-web-component
```

## Usage

```html
<script type="module">
  import "@shcnwc/shadcn-textarea-web-component";
</script>


```

## Links

- [Source Code](https://github.com/shcnwc/shadcn-web-components/tree/main/dist/textarea)
- [Documentation](https://github.com/shcnwc/shadcn-web-components)
- [License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)

## Contributing

Contributions are welcome! Please open an issue or pull request on [GitHub](https://github.com/shcnwc/shadcn-web-components).

## License

This project is licensed under the [MIT License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE).
npm package: @shcnwc/shadcn-toggle-group-web-component
Description: A set of two-state buttons that can be toggled on or off.
Latest version: 1.3.2

# Toggle Group

A set of two-state buttons that can be toggled on or off.

[![NPM Version](https://img.shields.io/npm/v/@shcnwc/shadcn-toggle-group-web-component.svg)](https://www.npmjs.com/package/@shcnwc/shadcn-toggle-group-web-component)
[![Package Size](https://img.badgesize.io/https://unpkg.com/@shcnwc/shadcn-toggle-group-web-component/index.js?compression=gzip)](https://www.npmjs.com/package/@shcnwc/shadcn-toggle-group-web-component)
[![License](https://img.shields.io/npm/l/@shcnwc/shadcn-toggle-group-web-component.svg)](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)


## Installation

```bash
npm install @shcnwc/shadcn-toggle-group-web-component
```

## Usage

```html
<script type="module">
  import "@shcnwc/shadcn-toggle-group-web-component";
</script>

<togglegroup-root type="single">
  <togglegroup-item value="a">a</togglegroup-item>
  <togglegroup-item value="b">b</togglegroup-item>
  <togglegroup-item value="c">c</togglegroup-item>
</togglegroup-root>
```

## Links

- [Source Code](https://github.com/shcnwc/shadcn-web-components/tree/main/dist/toggle-group)
- [Documentation](https://github.com/shcnwc/shadcn-web-components)
- [License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)

## Contributing

Contributions are welcome! Please open an issue or pull request on [GitHub](https://github.com/shcnwc/shadcn-web-components).

## License

This project is licensed under the [MIT License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE).
npm package: @shcnwc/shadcn-toggle-web-component
Description: A two-state button that can be either on or off.
Latest version: 1.3.2

# Toggle

A two-state button that can be either on or off.

[![NPM Version](https://img.shields.io/npm/v/@shcnwc/shadcn-toggle-web-component.svg)](https://www.npmjs.com/package/@shcnwc/shadcn-toggle-web-component)
[![Package Size](https://img.badgesize.io/https://unpkg.com/@shcnwc/shadcn-toggle-web-component/index.js?compression=gzip)](https://www.npmjs.com/package/@shcnwc/shadcn-toggle-web-component)
[![License](https://img.shields.io/npm/l/@shcnwc/shadcn-toggle-web-component.svg)](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)


## Installation

```bash
npm install @shcnwc/shadcn-toggle-web-component
```

## Usage

```html
<script type="module">
  import "@shcnwc/shadcn-toggle-web-component";
</script>

<shadcn-toggle>toggle</shadcn-toggle>
```

## Links

- [Source Code](https://github.com/shcnwc/shadcn-web-components/tree/main/dist/toggle)
- [Documentation](https://github.com/shcnwc/shadcn-web-components)
- [License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE)

## Contributing

Contributions are welcome! Please open an issue or pull request on [GitHub](https://github.com/shcnwc/shadcn-web-components).

## License

This project is licensed under the [MIT License](https://github.com/shcnwc/shadcn-web-components/blob/main/LICENSE).
npm package: @shd-open/code-push-server
Description: CodePush service is hotupdate services which adapter react-native-code-push and cordova-plugin-code-push
Author: shihuimiao
Latest version: 2.2.0

# CodePush 服务端

微软官方的 CodePush 在国内的网络访问较慢, 所以我们使用这个服务端来架设自己的 CodePush 服务

## 关于本项目

因为原 [code-push-server](https://github.com/lisong/code-push-server) 项目的作者没有积极维护了, 我们创建了这个项目用来:

-   保持依赖更新
-   修复任何与最新的客户端的兼容问题
-   我们只使用官方的 react-native-code-push 客户端, 所以定制的功能, 比如 [is_use_diff_text](https://github.com/lisong/code-push-server#advance-feature) 会被放弃.
-   我们只在生产环境使用了 react-native-code-push, 对于其他的 CodePush 客户端, 大部分功能应该没有差别, 如果遇到任何问题的话, 都欢迎提交 issue 或者 PR.

## 支持的存储方式

-   local: 在本地硬盘存储包文件
-   qiniu: 在[七牛云](http://www.qiniu.com/)存储包文件
-   s3: 在[aws](https://aws.amazon.com/)存储包文件
-   oss: 在[阿里云](https://www.aliyun.com/product/oss)存储包文件
-   tencentcloud: 在[腾迅云](https://cloud.tencent.com/product/cos)存储包文件

## 正确使用 code-push 热更新

-   苹果 App 允许使用热更新[Apple's developer agreement](https://developer.apple.com/programs/ios/information/iOS_Program_Information_4_3_15.pdf), 为了不影响用户体验，规定必须使用静默更新。 Google Play 不能使用静默更新，必须弹框告知用户 App 有更新。中国的 android 市场必须采用静默更新（如果弹框提示，App 会被“请上传最新版本的二进制应用包”原因驳回）。
-   react-native 不同平台 bundle 包不一样，在使用 code-push-server 的时候必须创建不同的应用来区分(eg. CodePushDemo-ios 和 CodePushDemo-android)
-   react-native-code-push 只更新资源文件,不会更新 java 和 Objective C，所以 npm 升级依赖包版本的时候，如果依赖包使用的本地化实现, 这时候必须更改应用版本号(ios 修改 Info.plist 中的 CFBundleShortVersionString, android 修改 build.gradle 中的 versionName), 然后重新编译 app 发布到应用商店。
-   推荐使用 code-push release-react 命令发布应用，该命令合并了打包和发布命令(eg. code-push release-react CodePushDemo-ios ios -d Production)
-   每次向 App Store 提交新的版本时，也应该基于该提交版本同时向 code-push-server 发布一个初始版本。(因为后面每次向 code-push-server 发布版本时，code-puse-server 都会和初始版本比较，生成补丁版本)

### CodePush 命令行

[code-push-cli](https://github.com/shm-open/code-push-cli) 是用来管理 App 以及发布 CodePush 版本的, 请查看命令行项目的说明了解更多

### 客户端

-   [React Native](https://github.com/Microsoft/react-native-code-push)
-   [Cordova](https://github.com/microsoft/cordova-plugin-code-push)
-   [Capacitor](https://github.com/mapiacompany/capacitor-codepush)

## 如何安装 code-push-server

-   [Docker](./docs/install-server-by-docker.cn.md) (推荐)
-   [直接安装](./docs/install-server.md)

## 默认帐号和密码

-   帐号: `admin`
-   密码: `123456`

## 常见问题

-   [修改密码](https://github.com/lisong/code-push-server/issues/43)
-   [code-push-server 使用+一些需要注意的地方](https://github.com/lisong/code-push-server/issues/135)
-   支持的 targetBinaryVersion
    -   `*`
    -   `1.2.3`
    -   `1.2`/`1.2.*`
    -   `1.2.3 - 1.2.7`
    -   `>=1.2.3 <1.2.7`
    -   `~1.2.3`
    -   `^1.2.3`
npm package: @shdan/submesh
Description: Submesh SDK for embedding subscription infrastructure into backend services.
Author: Shdan
Latest version: 1.0.1

# @shdan/submesh

Submesh SDK for embedding subscription infrastructure into backend services.

Use this package to:

- model plans and entitlements
- ingest webhooks from provider plugins (Manual, Google Play, Apple App Store, Stripe)
- verify and sync store subscriptions (Google Play, Apple App Store, Stripe)
- evaluate feature access decisions

## Install

```bash
npm install @shdan/submesh
```

## Quick start

```ts
import { Submesh } from "@shdan/submesh";

const submesh = new Submesh({
  connectionString: process.env.DATABASE_URL!,
  autoMigrate: true,
});

await submesh.upsertSubject({ id: "user_123", email: "dev@example.com" });

await submesh.createPlan({
  code: "pro_monthly",
  name: "Pro Monthly",
  entitlements: ["feature:reports"],
  interval: "month",
});

await submesh.createSubscription({
  subjectId: "user_123",
  planCode: "pro_monthly",
  status: "active",
});

const decision = await submesh.hasAccess("user_123", "feature:reports");
console.log(decision.allowed, decision.reason);

await submesh.close();
```

## Common methods

- `upsertSubject`
- `createPlan`
- `createSubscription`
- `ingestWebhook`
- `hasAccess`
- `listEvents`
- `getSummary`

## Documentation

- https://submesh.shdan.in
- API reference: https://submesh.shdan.in/api-reference
npm package: @shdan/submesh-core
Description: Core domain model and plugin contracts for Submesh.
Author: Shdan
Latest version: 1.0.1

# @shdan/submesh-core

Core domain model and policy utilities for Submesh.

Use this package when you want:

- shared Submesh types
- plugin contracts
- access policy evaluation without the full SDK client

## Install

```bash
npm install @shdan/submesh-core
```

## Evaluate access directly

```ts
import { evaluateEntitlementAccess } from "@shdan/submesh-core";

const decision = evaluateEntitlementAccess(subscriptionsWithPlan, "feature:export");
console.log(decision.allowed, decision.reason);
```

`AccessDecision.reason` values:

- `subscription_found`
- `no_entitlement_match`
- `no_active_subscription`
- `subject_not_found`

## Package purpose

Most apps should use `@shdan/submesh` directly.

Use `@shdan/submesh-core` when you need low-level contracts and policy behavior in custom pipelines.