open-index/open-npm huggingface dataset:
npm package: @smallprod/game-networking-mm
Description: Game Networking Matchmaking by SmallProdGame
Author: SmallProdGame staff
Latest version: 2.0.2

# SmallProdGame Networking Matchmaking

## Presentation

This NodeJS application has been made to work with the Unity3D package SmallProdGame Networking
which is a networking solution that you can use with DOTS.
You can find this package here https://github.com/SmallProdGame/UnityNetworking .


## How to use it?

This project is a npm package, just create a new NodeJS project and had it like this:

```bash
npm install @smallprod/game-networking-mm
```

or if you are using yarn:

```bash
yarn add @smallprod/game-networking-mm
```

Now that you have the package, you can create a file to be your entrypoint (ie. **index.js**, **index.ts**, **server.js**, **server.ts** or whatever you want).
In this file just had something like this:

```ts
import MatchMaking from '@smallprod/game-networking-mm';

MatchMaking.startServers(8081, 8080);
```

This is **Typescript** but you can adapt it to **Javascript** easily.

This is the simplest thing you can do, it will create two TCP servers, one for your players listenning on the port 8080 and one for your game servers listenning on the port 8081.

If you want to customize this server, it's totally possible, you can override a lot's of things to make it work as you want!

For more information just look at the [wiki](https://github.com/SmallProdGame/NetworkingMMNode/wiki)
npm package: @smallprod/yukky-log-node-sdk
Description: Yukky Log NodeJS SDK
Author: Yukky staff
Latest version: 0.0.5

# Yukky Log NodeJS SDk

Easy to use SDK to send log to Yukky Log !

For more informations visit https://log.yukkyapp.com/doc

## Installation

```
yarn add @smallprod/yukky-log-node-sdk
or
npm i @smallprod/yukky-log-node-sdk
```

## Initialisation

Somewhere in your code you should add this :

```
const yukkylog = require('@smallprod/yukky-log-node-sdk');
yukkylog.init('<appkey>', '<appsecret>');
```

This will initialize the SDK.

You can add a third parameter to specify if you want the debug mode.

## Send some logs

### Error

To send an error log simply add this line :

```
await yukkylog.error({
  name: 'Error 404',
  tags: ['web', 'request'],
  desc: 'Not found',
  infos: err,
});
```

### Warning

To send a warning log simply add this line :

```
await yukkylog.warning({
  name: 'Error 404',
  tags: ['web', 'request'],
  desc: 'Not found',
  infos: err,
});
```

### Info

To send an info log simply add this line :

```
await yukkylog.info({
  name: 'Error 404',
  tags: ['web', 'request'],
  desc: 'Not found',
  infos: err,
});
```

### Custom

To send a custom log simply add this line :

```
await yukkylog.custom({
  type: 'page access',
  name: 'Error 404',
  tags: ['web', 'request'],
  desc: 'Not found',
  infos: err,
});
```
npm package: @smallprogram/taro-router
Description: Taro Router
Author: Zzhiren
Latest version: 0.0.4

# `@agent/taro-router`
```shell
nrm use manniu-group
npm install --save @agent/taro-router
```

# 使用
```ts
import Router from '@agent/taro-router';

export default new Router([
  {
    url: 'pages/basic/icon/index',
    name: 'Icon',
    meta: {
      title: '图标'
    }
  },
  {
    url: 'pages/basic/cropper/index',
    name: 'Cropper',
    meta: {
      title: '图片剪裁'
    }
  },
  {
    url: 'pages/basic/image-cropper/index',
    name: 'ImageCropper',
    meta: {
      title: '新版图片剪裁'
    }
  },
  /* form */
  {
    url: 'pages/form/file-picker/index',
    name: 'FilePicker',
    meta: {
      title: '文件选取'
    }
  },
  {
    url: 'pages/form/input/index',
    name: 'Input',
    meta: {
      title: '输入框'
    }
  },

  {
    url: 'pages/router/index',
    name: 'router',
    meta: {
      title: '路由'
    }
  }
]);

```
npm package: @smallprogram/taro-ui
Description: Taro UI
Author: O2Team
Latest version: 0.0.4

# `@agent/taro-ui`
## 文档
[API文档(点击跳转)](http://10.241.65.201/agent-engineering/agent/wikis/03-%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%BB%84%E4%BB%B6%E5%BA%93/01.-%E4%BB%8B%E7%BB%8D)
## 安装
```shell
npm install @agent/taro-ui
```

## 使用
在.tsx文件中引入组件
```tsx
import { AgInput } from '@agent/taro-ui'
```
在.scss文件中引入样式
```scss
@import "~@agent/taro-ui/dist/style/components/input";
```


## 组件
* AgInput - 输入框组件
* AgImageCropper - 图片剪裁组件
* AgCropper - 图片剪裁组件
* AgIcon - 图标组件
* AgFilePicker - 文件选择器组件
* AgActionSheet - 操作面板组件
* AgPicker - 选择器组件