open-index/open-npm huggingface dataset:
npm package: @onelifexdev/sdk
Description: 🛠 An SDK for building applications on top of flickswap.
Latest version: 1.0.2

# PantherSwap SDK

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/pantherswap/panther-swap-sdk.git
```

Move into the panther-swap-sdk working directory

```sh
cd panther-swap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @onelifexdev/uikit
Description: Set of UI components for pancake projects
Latest version: 0.15.0

# 🥞 Pancake UIkit

**This repository is not used anymore. See the [https://github.com/pancakeswap/pancake-toolkit](Pancake toolkit) instead**

[![Version](https://img.shields.io/npm/v/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit) [![Size](https://img.shields.io/bundlephobia/min/@pancakeswap-libs/uikit)](https://www.npmjs.com/package/@pancakeswap-libs/uikit)

Pancake UIkit is a set of React components and hooks used to build pages on Pancake's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @pancakeswap-libs/uikit`

## Setup

### Theme

Before using Pancake UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@pancakeswap-libs/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@pancakeswap-libs/uikit'
...
<ResetCSS />
```

### Types

This project is built with Typescript and export all the relevant types.

## How to use the UIkit

If you want to use components from the UIkit, check the [Storybook documentation](https://pancakeswap.github.io/pancake-uikit/)
npm package: @oneline.top/vite-plugin-qiankun
Description: vite for qiankun
Author: markteng
Latest version: 1.0.16

#### 简介

> vite-plugin-qiankun: 帮助应用快速接入乾坤的vite插件

- 保留vite构建es模块的优势
- 一键配置，不影响已有的vite配置
- 支持vite开发环境

#### 快速开始

###### 1、在 `vite.config.ts` 中安装插件
```typescript
// vite.config.ts

import qiankun from 'vite-plugin-qiankun';

export default {
  // 这里的 'myMicroAppName' 是子应用名，主应用注册时AppName需保持一致
  plugins: [qiankun('myMicroAppName')],
  // 生产环境需要指定运行域名作为base
  base: 'http://xxx.com/'
}
```
###### 2、在入口文件里面写入乾坤的生命周期配置

```typescript
// main.ts
import { renderWithQiankun, qiankunWindow } from 'vite-plugin-qiankun/dist/helper';

// some code
renderWithQiankun({
  mount(props) {
    console.log('mount');
    render(props);
  },
  bootstrap() {
    console.log('bootstrap');
  },
  unmount(props: any) {
    console.log('unmount');
    const { container } = props;
    const mountRoot = container?.querySelector('#root');
    ReactDOM.unmountComponentAtNode(
      mountRoot || document.querySelector('#root'),
    );
  },
});

if (!qiankunWindow.__POWERED_BY_QIANKUN__) {
  render({});
}
```

###### 3、dev下作为子应用调试

> 因为开发环境作为子应用时与热更新插件（可能与其他修改html的插件也会存在冲突）有冲突，所以需要额外的调试配置

```typescript
// useDevMode 开启时与热更新插件冲突,使用变量切换
const useDevMode = true

const baseConfig: UserConfig = {
  plugins: [
    ...(
      useDevMode ? [] : [
        reactRefresh()
      ]
    ),
    qiankun('viteapp', {
      useDevMode
    })
  ],
}
```
上面例子中 `useDevMode = true` 则不使用热更新插件，`useDevMode = false` 则能使用热更新，但无法作为子应用加载。

###### 4、其它使用注意点 `qiankunWindow`

因为es模块加载与`qiankun`的实现方式有些冲突，所以使用本插件实现的`qiankun`微应用里面没有运行在js沙盒中。所以在不可避免需要设置window上的属性时，尽量显示的操作js沙盒，否则可能会对其它子应用产生副作用。qiankun沙盒使用方式
```typescript
import { qiankunWindow } from 'vite-plugin-qiankun/dist/helper';

qiankunWindow.customxxx = 'ssss'

if (qiankunWindow.__POWERED_BY_QIANKUN__) {
  console.log('我正在作为子应用运行')
}

```

#### 例子

详细的信息可以参考例子里面的使用方式
 ```
git clone xx
npm install
npm run example:install
# 生产环境调试demo
npm run example:start
# vite开发环境demo, demo中热更新已经关闭
npm run example:start-vite-dev
```
npm package: @oneline/cli
Description: oneline系列的命令行工具.(目前是临时版本, 用于生成@oneline/core的tsconfig.json文件)
Author: keep2zero
Latest version: 0.0.9

# oneline-cli

oneline系列的命令行工具.(目前是临时版本, 用于生成@oneline/core的tsconfig.json文件)

## 参数说明

`-t` 生成@oneline/core的最小需要的tsconfig.json配置.

`-c, --create %项目名称%` 创建基于@oneline/core的项目结构.
npm package: @oneline/github-hosts
Description: 用来更新github的hosts工具, 链接使用的是`https://gitlab.com/ineo6/hosts/raw/master/hosts`
Author: keep2zero
Latest version: 1.0.1

# Oneline-github-host
  
  用来更新github的hosts工具, 链接使用的是`https://gitlab.com/ineo6/hosts/raw/master/hosts`

## 使用

```shell
  oneline-github-hosts
```

## 其他

其他效率工具, 可以关注: `https://www.onelineteam.com`
npm package: @oneline/style
Description: oneline 样式库
Author: keep2zero
Latest version: 0.0.23

# `style`

@oneline/style 是oneline的基础样式类库, 用于组装不同组件或者业务代码的基础.

## 使用

### 预处理或者js导入方式

```JavaScript

import '@oneline/style/dist/index.css';
//or app css
import '@oneline/style/dist/index.app.css';

```

### 脚本引入方式

```javascript

 <link href="http://cdn.jsdelivr.net/npm/@oneline/style@0.0.5/dist/index.css" rel="stylesheet"/>
 // or app
 <link href="http://cdn.jsdelivr.net/npm/@oneline/style@0.0.5/dist/index.app.css" rel="stylesheet" />

```

## 说明

样式库以 `ol` 作为class名称的前缀.

### 大小样式

类名|解释|描述
--|--|--
ol-fs| font-size | 文字大小
ol-w | width | 宽度
ol-h  | height | 高度
ol-p | padding | 内间距
ol-m | margin | 外间距
ol-lh | line-height | 行高

### 布局样式

类名 | 解释 | 描述
--|--|--
ol-layout-h | 水平布局 | 水平方式布局
ol-layout-v | 垂直布局 | 垂直方式布局
ol-layout-g | 格子布局 | 格子方式布局
ol-ps-ab | 绝对定位 | 相对body定位
ol-ps-rt | 相对定位 | 相对父元素定位
ol-ps-fx | fixed定位 | 相对于可视窗口定位

### 外部样式

类名 | 解释 | 描述
--|--|--
ol-c | color | 文字颜色
ol-bg-c | background-color | 背景颜色
ol-b | border | 边框
ol-br | border-radius | 边框圆角
ol-block | display: block | 块元素
ol-inline | display: inline-block | 行内元素
ol-hover | ::hover && ::active | 鼠标悬停样式
ol-line | 伪类:after 高度为1px | 为某个box增加一个底部线
npm package: @oneline/svg
Description: oneline样式中的使用的svg
Author: keep2zero
Latest version: 0.0.6

# svg
收集一些免费的SVG ICON

## 使用

```javascript
import {olSvgIcon} from '@oneline/svg';

const svg = olSvgIcon(iconName, size:number, color: 颜色值, type: 'base64'|'origin'| string)

```

现在有的图标:

![oneline icon svg](./assets/icon.png)
npm package: @oneline/utils
Description: oneline工具库
Author: keep2zero
Latest version: 0.0.7

# `@oneline/utils`
常用的工具包: 项目中常用的工具函数(后端/前端).

## 例子

```javascript
import {sortKey} from '@oneline/utils';
 
const object = {
   b: 1,
   a: 20
}

const sortedObject = sortKey(object);
// the result is {a: 20, b: 1}
```

## 加密相关

> todo

## 数据识别

> todo

## 正则相关

> todo

## 校验相关

> todo

## URL相关

> todo

## 日期相关

> todo

## 数组相关
npm package: @onelinecode/onelinecode
Description: Awesome javascript in one line of code
Author: Martin Krause
Latest version: 1.21.0

![Awesome JavaScript in one line of code written above a picture of Mt. Fuji's peak](ajsioloc.png)
# Awesome javascript in one line of code

A collection of utilities and helpers following the principle: Keep it as simple as possible in one line of code. 

As long as we area dealing with JavaScript, the library assumes that the user provides valid input. No type checking or other verifications of the arguments are part of the functions.
The library tires to use the simplest and most performant code possible. To keep the functions as simple as possible they will be reduced to the core functionality: "one function should have one specific functionality only".


New functions will be added every time there is an article being published.

All functions are written in `ESNext` `esmodules` (`./src`)  and available as 
-`umd` (`./dist/index.js`) with the `onelinecode` namespace (e.g. window.onlinecode)
-`commonjs` (`./dist/index.cjs.js`) 
-`esm` (`./dist/index.esm.js`) 

## Available functions

### Array
See [./doc/array.md](./doc/array.md)


## Installation
``` 
$ npm i @onelinecode/onelinecode
```

```
$ yarn add @onelinecode/onelinecode
```
## Usage
For example, you want to `shallowClone` an `array`:
```JavaScript
import { shallowClone } from '@onelinecode/onelinecode/array';
let array = [1];
let arrayClone = shallowClone(array);
```


## Testing
The library has `100% code coverage` with `ava` and passes the build on [Build status from travis-ci](https://app.travis-ci.com/martinkr/onelinecode.svg?branch=main).

## Contribution

If you are interested in discussion a specific function, please see the corresponding article from [the series on dev.to](https://dev.to/martinkr/series/15146).


Please don't hesitate to comment, give feedback. I appreciate every input or comment. We can and should learn from each others opinion and knowledge. Please stick to a respectful style of discussion and read the [code of conduct](CODE_OF_CONDUCT.md) like the articles or star the repository.



## Tech Stack 
- ava: 3.15.0
- c8: 7.10.0
- esm: 3.2.25
- rollup: 2.58.



## License

Licensed under the MIT license.
MIT - http://www.opensource.org/licenses/mit-license.php
npm package: @onelitefeathernet/feedback-fusion
Description: Webcomponent feedback-fusion following open-wc recommendations
Author: OneLiteFeatherNet
Latest version: 0.1.5

<h1 align="center">
    FeedbackFusion <br />

  <img src="https://img.shields.io/badge/built_with-Rust-dca282" />
  <img src="https://img.shields.io/badge/License-MIT-blue" />
</h1>

## About

FeedbackFusion is a cloud-native application meticulously crafted for seamless compatibility with Kubernetes. It is designed to efficiently collect and manage user feedback at a large scale.

## Documentation

[Click here for the lib documentation](https://onelitefeathernet.github.io/feedback-fusion/nightly/docs/frontend-library)

## Key Features

- **Cloud-native and Kubernetes-compatible**: The application operates in a fully stateless manner (except for the database connection), ensuring smooth integration into Kubernetes environments.

- **Support for Multiple Databases**: Utilizing the rbatis ORM, FeedbackFusion supports a variety of databases, including MySQL, MariaDB, PostgreSQL, and MSSQL.

- **High-Scale Feedback Collection**: Engineered for high scalability, the application leverages gRPC for efficient, high-performance communication, enabling the collection of large volumes of user feedback.

- **Universal Frontend**: The frontend is built on the lit library and adheres to Open-WC standards, providing flexibility and independence from specific frameworks.

## License

FeedbackFusion is licensed under the MIT License.