open-index/open-npm huggingface dataset:
npm package: @flyacts/backend-logger
Description: A logger based on winston with some fancy emojies
Author: Tim Schumacher
Latest version: 2.1.5

# `@flyacts/backend-logger`

A simple logger based on winston with some fancy emojies.

## Usage

```typescript
import { Logger } from '@flyacts/backend-logger';

const logger = new Logger();
logger.info('Hello Word');
```
npm package: @flyakeed/akeed-chat-window
Description: Chat Window Component
Author: manuelist
Latest version: 1.4.0

# AkeedCare
Chat Window Component for FlyAkeed

## Installation

```
$ npm install @flyakeed/akeed-chat-window
$ yarn add @flyakeed/akeed-chat-window
```

## Example


``` javascript
import React, { useState, useEffect } from "react";
import { AkeedCare } from "akeed-care";
import socketIOClient from "socket.io-client";

const App = () => {
  const [socket, setSocket] = useState(null);
  const [messageList, setMessage] = useState([]);
  const [state, setState] = useState({
    newMessagesCount: 0,
    isOpen: false
  });

  useEffect(() => {
    initSocket();
  }, []);

  const initSocket = () => {
    const socket = socketIOClient("endpoint");
    socket.emit(
      "login",
      {
        token:
          "token",
        type: "userType",
        guest_token: "guestToken"
      },
      data => {
        setSocket(socket);
        initMessageRecieved(socket, messageList);
      }
    );
  };

  const initMessageRecieved = (socketParams, list) => {
    socketParams.on("chat_message", data => {
      pushMessage(data, list);
    });
  };

  const pushMessage = (data, list) => {
    const { type, sender, message } = data;
    const messageData = {
      type: type,
      author: sender.type === "user" ? "me" : "them",
      data: { text: message }
    };
    setMessage(preMessages => ([
      ...preMessages,
      messageData
    ]));
  };

  const _onMessageWasSent = message => {
    const {
      data: { text }
    } = message;

    socket.emit("message_support", {
      message: text,
      device: "desktop",
      is_connected: true
    });
  };

  const _onFilesSelected = fileList => {
    const objectURL = window.URL.createObjectURL(fileList[0]);
    setState({
      ...state,
      messageList: [
        ...state.messageList,
        {
          type: "file",
          author: "me",
          data: {
            url: objectURL,
            fileName: fileList[0].name
          }
        }
      ]
    });
  };

  const _handleClick = () => {
    setState({
      ...state,
      isOpen: !state.isOpen,
      newMessagesCount: 0
    });
  };

  return (
    <div>
      <AkeedCare
        agentProfile={{
          teamName: "Chat Name",
          imageUrl: "Icon Url"
          }}
        onMessageWasSent={_onMessageWasSent}
        onFilesSelected={_onFilesSelected}
        messageList={messageList}
        newMessagesCount={state.newMessagesCount}
        handleClick={_handleClick}
        isOpen={state.isOpen}
      />
    </div>
  );
};

```

For more detailed examples see the example folder.

### Message Objects

Message objects are rendered differently depending on their type. Currently, only text, file, and emoji types are supported. Each message object has an `author` field which can have the value 'me' or 'them'.

``` javascript
{
  author: 'them',
  type: 'text',
  data: {
    text: 'some text'
  }
}

```
npm package: @flyb/cli
Description: cli工具
Author: Anthony Yan
Latest version: 0.0.2

# @flyb/cli

## 需要开发的功能
- [x] 检测版本
- [x] 支持切换和添加/删除模版列表地址
- [ ] 支持模版选择
- [ ] 约定模版项目结构
- [ ] 支持远程拉取模版生成项目
- [ ] 支持读取模版QA, 填充模版生成初始项目
- [ ] 约定meta.json格式
- [ ] 美化提示信息以及加载动画
- [ ] 错误处理
- [ ] 制定参数项
- [x] 制定模版列表json数据结构
npm package: @flybear-ui/components
Description: 飞熊集团前端组件库组件
Author: cnho
Latest version: 0.3.3

# flybear-ui

### 快速开始

#### 1、安装组件库

```bash
npm -i flybear-ui 
yarn add flybear-ui
```

#### 2、引用组件库

```javascript
import FlybearUi from 'flybear-ui'
import 'flybear-ui/dist/style.css'
Vue.use(FlybearUi)
```
npm package: @flybirds/core
Description: sky core
Author: Harry Chen
Latest version: 0.0.2-alpha.43

# midway-core

[![Package Quality](http://npm.packagequality.com/shield/midway-core.svg)](http://packagequality.com/#?package=midway-core)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/midwayjs/midway/pulls)

this is a sub package for midway.

Document: [https://midwayjs.org/midway](https://midwayjs.org/midway)

## License

[MIT]((http://github.com/midwayjs/midway/blob/master/LICENSE))
npm package: @flybirds/injector
Description: sky injector
Author: Harry Chen
Latest version: 0.0.2-alpha.6

# midway-core

[![Package Quality](http://npm.packagequality.com/shield/midway-core.svg)](http://packagequality.com/#?package=midway-core)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/midwayjs/midway/pulls)

this is a sub package for midway.

Document: [https://midwayjs.org/midway](https://midwayjs.org/midway)

## License

[MIT]((http://github.com/midwayjs/midway/blob/master/LICENSE))
npm package: @flybirds/typeorm
Description: typeorm for flybirds
Author: yanxlg
Latest version: 0.0.2

# egg-typeorm-plugin

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/egg-typeorm-plugin.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-typeorm-plugin
[travis-image]: https://img.shields.io/travis/eggjs/egg-typeorm-plugin.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-typeorm-plugin
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-typeorm-plugin.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-typeorm-plugin?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-typeorm-plugin.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-typeorm-plugin
[snyk-image]: https://snyk.io/test/npm/egg-typeorm-plugin/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-typeorm-plugin
[download-image]: https://img.shields.io/npm/dm/egg-typeorm-plugin.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-typeorm-plugin

<!--
Description here.
-->

## Install

```bash
$ npm i egg-typeorm-plugin --save
```

## Usage

```js
// {app_root}/config/plugin.js
exports.typeormPlugin = {
  enable: true,
  package: 'egg-typeorm-plugin',
};
```

## Configuration

```js
// {app_root}/config/config.default.js
exports.typeormPlugin = {
};
```

see [config/config.default.js](config/config.default.js) for more detail.

## Example

<!-- example here -->

## Questions & Suggestions

Please open an issue [here](https://github.com/eggjs/egg/issues).

## License

[MIT](LICENSE)
npm package: @flybits/react-native-concierge
Description: A React Native wrapper for the Flybits Concierge
Author: Flybits
Latest version: 0.1.8
Deprecated: Unsupported version. Upgrade to the latest version.

![Flybits-Header-Rect-Native-SDK](https://github.com/user-attachments/assets/a50b7d37-1376-4634-ae00-9024d5aca6ce)
# react-native-concierge
A React Native wrapper for the Flybits Concierge solution that brings personalized UI and Content into your React Native applications. 

## Quickstart

Here is the bare minimum code required to quickly integrate Concierge to your React Native application.

More information can be referenced at [React Native Concierge SDK](https://flybits.gitbook.io/customer-documentation)

1. Install
```sh
npm install react-native-concierge --save
```
2. Configure
```javascript
import {
  configure,
} from '@flybits/react-native-concierge';

configure({
  projectId: '<your project ID>',
  gateway: 'https://api.$REGION.flybits.com',
  webService: 'https://static-files-concierge.$REGION.flybits.com/latest',
  pushNetwork: 'fcm', // 'fcm' | 'apns' | 'huawei'
  locationPlugin: true,
  logLevel: 'debug',
  locales: JSON.stringify(['en-ca', 'en']),
});
```
3. Authenticate
```javascript
import {
  connect,
} from '@flybits/react-native-concierge';

const resultJson = JSON.parse(await connect());
if (resultJson.success) {
  console.log(`Connected: ${resultJson.result}`);
} else {
  console.log(`Error: ${resultJson.message}`);
}
```
4. Display
```javascript
import {
  Concierge,
  ConciergeAction,
} from '@flybits/react-native-concierge';


export const ConciergeScreen = () => {
  ...
  return (
    <>
      <Concierge
        actionlink={
          {
            action: 'concierge',
            params: { zoneReferenceId: 'default_zone' },
          } as ConciergeAction
        }
      />
    </>
  );
}
```

## License

MIT

---

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
npm package: @flybondi/flynamo
Description: An AWS DynamoDB client wrapper
Author: Flybondi
Latest version: 3.0.10

# @flybondi/flynamo

[![CircleCI](https://circleci.com/gh/flybondi/flynamo/tree/develop.svg?style=svg)](https://circleci.com/gh/flybondi/flynamo/tree/develop)
[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/Flet/semistandard)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

Let your [AWS][aws] [DynamoDB][dynamodb] client take off ✈️!

Read [the docs][flynamo-jsdoc].

- 🔧 **Simplifies** creating requests and parsing responses.
- ✨ Automatic generation of `AWS.DynamoDB` attribute maps.
- 💪 Supports all of `AWS.DynamoDB` API.
- ✏️ Fully **typed** via [`d.ts` typings][typings].
- ✨ **Infers** data types and conventional names for keys.
- 💪 Import **single composable functions** for each `AWS.DynamoDB` operation.
- 🙌 Plays well with functional libraries like [`ramda`][ramda] or [`lodash/fp`][lodashfp].

```sh
# Install the DynamoDb client from AWS SDK
npm i @aws-sdk/client-dynamodb

# Install Flynamo
npm i @flybondi/flynamo
```

## Basic usage

Wrap an instance of an `AWS.DynamoDB` client with `flynamo` and you're good to go. The result will be an object exposing all of Flynamo's own API.

```js
const { DynamoDB } = require('@aws-sdk/client-dynamodb');
const flynamo = require('@flybondi/flynamo');

const { forTable } = flynamo(new DynamoDB());
const { insert, update, remove } = forTable('SomeTable');

(async function () {
  // Insert a document into `SomeTable`
  await insert({ id: 42, name: 'Bob' });

  // Update its contents
  await update(42, { name: 'Alice' });

  // ...and delete it
  await remove(42);
})();
```

## API

Dig into the [documentation][flynamo-jsdoc] to learn about the available functions.

---

Made with 💛 by [Flybondi][flybondi].

[aws]: https://aws.amazon.com/
[dynamodb]: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/Welcome.html
[typings]: https://github.com/flybondi/flynamo/blob/master/index.d.ts
[ramda]: http://ramdajs.com/
[lodashfp]: https://github.com/lodash/lodash/wiki/FP-Guide
[flynamo-jsdoc]: https://flybondi.github.io/flynamo/
[flybondi]: https://flybondi.com
npm package: @flybondi/serverless-rollup-plugin
Description: A rollup plugin for serverless
Author: Flybondi
Latest version: 1.4.0

<p align="center">
  <img src="https://www.flybondi.com/assets/images/logo.svg" title="Flybondi" width="300" style="margin-bottom: 1rem" />
</p>
<h1 align="center">@flybondi/serverless-rollup-plugin</h1>

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/Flet/semistandard)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

A Serverless plugin to build your lambda functions with [Rollup](rollup). Optimize your packaged functions individually and much more!

## Overview

Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD. ES modules let you freely and seamlessly combine the most useful individual functions from your favorite libraries. This will eventually be possible natively everywhere, but Rollup lets you do it today.

## Install

```bash
  yarn add @flybondi/serverless-rollup-plugin --dev
```

Add the plugin to your `serverless.yml` file:

```yml
custom:
  config: rollup.config.js
plugins:
  - serverless-rollup-plugin
```

## Configure

The configuration of the plugin is done by defining a `custom: rollup` object in your serverless.yml with the path to your specific configuration file. For information on how to create the config file could be found [here](https://rollupjs.org/guide/en#configuration-files).

## Usage

### Automatic bundling

The normal Serverless deploy procedure will automatically bundle with rollup:

- Create the Serverless project with `serverless create -t aws-nodejs`
- Install Serverless Rollup as above
- Deploy with `serverless deploy`

[flybondi]: https://www.flybondi.com
[rollup]: https://rollupjs.org