open-index/open-npm huggingface dataset:
npm package: @easets/cinet-pay-node-sdk
Description: CinetPay SDK for NodeJS
Author: Stephane Kamga
Latest version: 0.1.7

# CinetPay NODE.JS SDK

A simple SDK for calling the CinetPay APIS.
Currently, two APis calls are integrated

### Initialization

The SDK can be initialized by using the following method
```
const cinet = CinetPay.init(config);
```
The config is an object with the following properties:
- apikey: string;
- site_id: string;
- baseUrl: string

### Start a payment
```
const response = await cinet.initiate(request);
```
The request object have the properties described in the [documentation](https://docs.cinetpay.com/api/1.0-en/checkout/initialisation)

This method will expose a payment object as described in the [documentation](https://docs.cinetpay.com/api/1.0-en/checkout/initialisation)

### Get information about a payment

```
const response = await cinet.check(request);
```
The request is an object with the following properties:
- apikey: string;
- site_id: string;
- transaction_id: string
npm package: @eslint-community/eslint-plugin-eslint-comments
Description: Additional ESLint rules for ESLint directive comments.
Author: Toru Nagashima
Latest version: 4.7.1

# @eslint-community/eslint-plugin-eslint-comments

[![npm version](https://img.shields.io/npm/v/@eslint-community/eslint-plugin-eslint-comments.svg)](https://www.npmjs.com/package/@eslint-community/eslint-plugin-eslint-comments)
[![Downloads/month](https://img.shields.io/npm/dm/@eslint-community/eslint-plugin-eslint-comments.svg)](http://www.npmtrends.com/@eslint-community/eslint-plugin-eslint-comments)
[![Build Status](https://github.com/eslint-community/eslint-plugin-eslint-comments/workflows/CI/badge.svg)](https://github.com/eslint-community/eslint-plugin-eslint-comments/actions)
[![codecov](https://codecov.io/gh/eslint-community/eslint-plugin-eslint-comments/branch/main/graph/badge.svg)](https://codecov.io/gh/eslint-community/eslint-plugin-eslint-comments)

Additional ESLint rules for ESLint directive comments (e.g. `//eslint-disable-line`).

## 📖 Usage

-   [Documentation](https://eslint-community.github.io/eslint-plugin-eslint-comments)

## 🚥 Semantic Versioning Policy

`@eslint-community/eslint-plugin-eslint-comments` follows [semantic versioning](http://semver.org/) and [ESLint's Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).

## 📰 Changelog

-   [GitHub Releases](https://github.com/eslint-community/eslint-plugin-eslint-comments/releases)

## 🍻 Contributing

Welcome contributing!

Please use GitHub's Issues/PRs.

### Development Tools

-   `npm test` runs tests and measures coverage.
-   `npm run build` updates `README.md`, `index.js`, and the header of all rule's documents.
-   `npm run clean` removes the coverage of the last `npm test` command.
-   `npm run coverage` shows the coverage of the last `npm test` command.
-   `npm run lint` runs ESLint for this codebase.
-   `npm run watch` runs tests and measures coverage when source code are changed.
npm package: @fangcha/sso-server
Description: SSO Server.
Author: fang
Latest version: 0.34.0

# sso-server

## Installation
```
# Use npm
npm install @fangcha/sso-server

# Or use yarn
yarn add @fangcha/sso-server
```

### Options
```
interface Options {
  database: FCDatabase
  accountServer: AccountServer
  redisConfig: RedisConfig

  // Default: fc_sso_client
  tableName_SsoClient?: string

  // Default: fc_user_auth
  tableName_UserAuth?: string
}
```

## Usage
### Step 1. Use SsoServer
```
import { SsoServer } from '@fangcha/sso-server'
import { AccountServer } from '@fangcha/account'

export const MySsoServer = new SsoServer({
  database: <mysql connection>,
  redisConfig: <redis connection config>,
  accountServer: new AccountServer({
    database: <mysql connection>,
  }),
})
```

### Step 2. Use SsoWebPlugin
```
import { WebApp } from '@fangcha/backend-kit/lib/router'
import { SsoWebPlugin } from '@fangcha/sso-server/lib/web-sdk'

const app = new WebApp({
  ……
  plugins: [
    SsoWebPlugin({
      ssoServer: MySsoServer,
    }),
    SsoClientsAutoReloadPlugin(MySsoServer),
  ],
})
app.launch()
```
npm package: @fangcha/tools
Description: Some tools.
Author: fang
Latest version: 1.44.0

# tools
Some tools.

## Installation
```
# Use npm
npm install @fangcha/tools

# Or use yarn
yarn add @fangcha/tools
```

## Files
```
.
├── aws-sdk
│   ├── AwsOSS.ts
│   └── index.ts
├── backend
│   ├── JsonFile.ts
│   └── index.ts
├── common
│   ├── ApiVisitorModel.ts
│   ├── BasicAuth.ts
│   ├── CommonModels.ts
│   ├── CsvMaker.ts
│   ├── Descriptor.ts
│   ├── DiffMapper.ts
│   ├── DownCounter.ts
│   ├── FuncUtils.ts
│   ├── GuardPerformer.ts
│   ├── JsonChecker.ts
│   ├── LoopPerformer.ts
│   ├── SafePerformer.ts
│   ├── SafeTask.ts
│   ├── SetHelper.ts
│   ├── Signature.ts
│   ├── TemplateHelper.ts
│   ├── UrlHelper.ts
│   ├── channel
│   │   ├── ChannelModels.ts
│   │   ├── ChannelTask.ts
│   │   ├── ChannelTaskManager.ts
│   │   └── index.ts
│   ├── constants
│   │   ├── I18nCode.ts
│   │   ├── MyConstants.ts
│   │   ├── MyNotificationKeys.ts
│   │   └── index.ts
│   ├── index.ts
│   └── kit
│       ├── KitModels.ts
│       └── index.ts
├── cron
│   ├── CronJobManager.ts
│   └── index.ts
├── database
│   ├── DBOptionsBuilder.ts
│   ├── SearchBuilder.ts
│   └── index.ts
├── excel
│   ├── TypicalExcel.ts
│   └── index.ts
├── file-backend
│   ├── BackendFile.ts
│   └── index.ts
├── file-frontend
│   ├── FrontendFile.ts
│   └── index.ts
├── index.ts
├── queue
│   ├── MutexManager.ts
│   └── index.ts
└── request
├── BasicAuthProxy.ts
├── RequestFollower.ts
├── ServiceProxy.ts
└── index.ts
```
npm package: @fangcha/user-sdk
Description: User SDK.
Author: fang
Latest version: 0.23.0

# user-sdk

## Installation

```
# Use npm
npm install @fangcha/user-sdk

# Or use yarn
yarn add @fangcha/user-sdk
```

## Usage

```
// Init a global checker
const checker = AdminUserCenter.useAutoReloadingChecker(new UserProxy(……))

// checkUserHasPermission: boolean
checker.checkUserHasPermission(userKey, permissionKey)

// getPermissionKeysForUser: string[]
checker.getPermissionKeysForUser(userKey)
```

```
// Wait until the initial data is ready
await AdminUserCenter.waitForReady()
```
npm package: @fangcha/vue
Description: Components base on Vue.
Author: fang
Latest version: 0.79.0

# fc-vue
Components base on Vue.

## Installation
```
# Use npm
npm install @fangcha/vue

# Or use yarn
yarn add @fangcha/vue
```

## Files
```
src
├── FragmentProtocol.ts
├── RootView.ts
├── ViewController.ts
├── Vue+extends.ts
├── assets
│   ├── code-mirror.scss
│   ├── index.ts
│   ├── my-form-item.css
│   ├── my-pagination.css
│   ├── my-select.css
│   └── rich-text.scss
├── dialogs
│   ├── AlertTools.ts
│   ├── ConfirmDialog.ts
│   ├── CustomDialog.ts
│   ├── CustomDialogView.ts
│   ├── DialogBase.ts
│   ├── DialogUtils.ts
│   ├── DialogWrapper.ts
│   ├── ImagePreviewDialog.ts
│   ├── InformationDialog.ts
│   ├── JsonImportDialog.ts
│   ├── MultipleLinesInputDialog.ts
│   ├── MultiplePickerDialog.ts
│   ├── SimpleInputDialog.ts
│   ├── SimplePickerDialog.ts
│   ├── TextPreviewDialog.ts
│   ├── TypicalDialog.ts
│   ├── TypicalDialogView.ts
│   ├── html
│   │   ├── HtmlDisplayPanel.ts
│   │   ├── HtmlEditorDialog.ts
│   │   ├── HtmlPreviewDialog.ts
│   │   └── index.ts
│   └── index.ts
├── diff
│   ├── DiffInfosDialog.ts
│   ├── DiffTableView.ts
│   └── index.ts
├── drawers
│   ├── InformationDrawer.ts
│   ├── TypicalDrawer.ts
│   ├── TypicalDrawerView.ts
│   ├── drawer.scss
│   └── index.ts
├── i18n.ts
├── index.d.ts
├── index.ts
├── layouts
│   ├── NormalLayout.ts
│   ├── SingleUseLayout.ts
│   ├── SmartLayout.ts
│   ├── TypicalLayout.ts
│   └── index.ts
├── loading
│   ├── LoadingView.ts
│   ├── index.ts
│   └── loading.scss
├── pickers
│   ├── CommonPicker.ts
│   ├── FilterSelector.ts
│   ├── MultiplePicker.ts
│   ├── MyDatetimePicker.ts
│   ├── MySelect.ts
│   ├── StrMultiplePicker.ts
│   ├── SuggestionProtocol.ts
│   ├── SuggestionSelector.ts
│   └── index.ts
├── plugins
│   ├── element-ui-plugin.ts
│   └── vue-router-plugin.ts
├── sidebars
│   ├── SidebarModels.ts
│   └── index.ts
├── tables
│   ├── GridView.ts
│   ├── MyPagination.ts
│   ├── MyTableView.ts
│   ├── SimpleInfoTable.ts
│   ├── index.ts
│   └── table.scss
└── widgets
    ├── AttributedLabel.ts
    ├── CodeEditor.ts
    ├── JsonEditorDialog.ts
    ├── JsonPre.ts
    ├── LinkDropdownItem.ts
    ├── MaskSpan.ts
    ├── MyCheckbox.ts
    ├── MyRichTextPanel.ts
    ├── MySwitch.ts
    ├── MyTagsPanel.ts
    ├── OptionsEditor.ts
    ├── StringListPanel.ts
    ├── VariableRichLabel.ts
    └── index.ts
```

```
basic
├── FrontendPluginProtocol.ts
├── MyAxios.ts
└── index.ts
```

```
app
├── BasicApp.ts
├── BasicAppConfig.ts
├── BasicAppProtocol.ts
├── index.ts
├── kit.d.ts
└── views
    └── Page404.ts
```
npm package: @fangchan/taro-components-rn
Description: 多端解决方案基础组件（RN）
Author: O2Team
Latest version: 2.2.14

# Taro Components for React Native

Alo, alo! Bilibilibilibibili~

## Example

```bash
# 启动安卓模拟器
emulator @YOUR_AVD_NAME

# 安装依赖
yarn

# 编译
npm run dev

# 在其它目录下：
# react-native init TCRNExample --version 0.55.4
# 把初始化的项目中的 android 和 ios 目录移到 TCRNExample 下面
# （TCRNExample 下核心文件：example/, App.js, rn-cli.config.js）

# 进入例子目录安装依赖
cd TCRNExample
yarn

# 启动 Android
react-native run-android
# 启动 iOS
react-native run-ios
```

## About code comments

- ✔ Support
- ✘ Not support
- \- Would not support

## 未来可能的升级

目前 react-native 版本为 0.55.4

- 0.58.x ScrollView 支持 snapToOffsets，Swiper 关注
npm package: @fangedhex/eventbus
Description: A small typescript library that provide some eventbus system that is """easier""" to use.
Latest version: 1.1.0

# EventBus

![GitHub](https://img.shields.io/github/license/fangedhex/eventbus)
![npm (scoped)](https://img.shields.io/npm/v/@fangedhex/eventbus)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/fangedhex/eventbus/CI)
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/fangedhex/eventbus)
![npm bundle size (scoped)](https://img.shields.io/bundlephobia/min/@fangedhex/eventbus)
![npm](https://img.shields.io/npm/dw/@fangedhex/eventbus)
![npm](https://img.shields.io/npm/dm/@fangedhex/eventbus)

## Description

A small typescript library that provide some eventbus system that is """easier""" to use.

I made this library that I will use for my bot written in Typescript : I did a separate one so if you can use it
if you find it useful :)

## tsconfig.json

You need at least this 2 options :

```json
{
  "compilerOptions": {
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true
  }
}
```

## Reflect-metadata

You should import reflect-metadata at the top of your main file like this :

```typescript
import "reflect-metadata";

// YOUR CODE HERE
```

## Example

```typescript
import { EventHandler, Eventbus, Listener } from "@fangedhex/eventbus";

// 1 - Create your events
class MyCustomEvent {
  constructor(public readonly value: string) {}
}

class MyCustomEvent2 {
  constructor(public readonly value: number) {}
}

// 2 - Create your listener class
class MyListener {
  @EventHandler
  onSomething(ev: MyCustomEvent) {
    console.info("TEST : " + ev.value);
  }

  @EventHandler
  onSomething2(ev: MyCustomEvent2) {
    console.info("TEST2 : " + ev.value);
  }
}

// 3 - And how to use it
const eventbus = new Eventbus();
const listener = new MyListener();
eventbus.registerListener(listener);

eventbus.dispatch(new MyCustomEvent("myvalue"));
eventbus.dispatch(new MyCustomEvent2(5.5));
eventbus.dispatch(new MyCustomEvent2(5.8));
```

## Contributing

If you find any bugs or you want to give feedback feel free to do so :).