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

# Orbitalswap SDK

Forked from the [Pancakeswap SDK](https://github.com/pancakeswap/pancake-swap-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/orbitalswap/orbitalswap-sdk.git
```

Move into the orbitalswap-sdk working directory

```sh
cd orbitalswap-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: @magile/nx-distributed-cache
Description: Distributed Cache For Your NX build. Optimize your build time by caching the artifacts across multiple devices.
Latest version: 0.1.3

## NX-Distributed-Cache

A custom runner for builds in NX to store your build artifacts on a distributed storage.

This custom runner only supports AWS S3 storage for now. Other storages might be added in the future. Feel free to add one and
create a PR.

You may also be able to use Digital Ocean Spaces too, since that is compatible with S3. 

## Install

nx-distributed-cache is available on npm:

```sh
npm install @magile/nx-distributed-cache --save-dev
```

## Usage

Add or update your `taskRunnerOptions` in your `nx.json` to use this custom task runner:

```json
"tasksRunnerOptions": {
    "default": {
        "runner": "@magile/nx-distributed-cache/S3",
        "options": {
            "cacheableOperations": ["build", "lint", "test", "e2e"],
            "remoteDirectory": "<local cache directory>",
            "distributedCacheOptions": {
                "bucketName": "<name of your S3 bucket>",
                "accessKeyId": "<accessKeyId>",
                "secretAccessKey": "<secretAccessKey>"
            }
        }
    }
},
```

### Optional Parameters

You can also pass `endpoint` and `region`. For e.g. using [Digital Ocean Spaces](https://www.digitalocean.com/products/spaces).

### AWS Policy
The user belonging to these credentials needs at least access to read, write and list items in the bucket.

Example AWS policy:
```json
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:GetObject",
                "s3:ListBucket"
            ],
            "Resource": [
                "arn:aws:s3:::<s3 bucket>/*",
                "arn:aws:s3:::<s3 bucket>"
            ]
        }
    ]
}
```
### Enviroment 
You can also set all these options as an environment variable in your build-process (e.g. docker ENV, ...):

```js
process.env.bucketName = 'your-s3-bucket-name';
process.env.accessKeyId = 'your-accessKeyId';
process.env.secretAccessKey = 'your-secretAccessKey';
```
npm package: @maginapp/vuepress-plugin-copy-code
Description: vuepress-plugin-copy-code
Author: maginapp
Latest version: 1.0.0

# vuepress-plugin-copy-code

A Vuepress plugin for copy code

## Installation

```shell
yarn add -D @maginapp/vuepress-plugin-copy-code
# or
npm install -D @maginapp/vuepress-plugin-copy-code
```

## Usage

### config

`.vuepress/config.js`

```js
module.exports = {
    // ...
  plugins: [
    ["@maginapp/vuepress-plugin-code-copy", {
      selector: String,
      color: String,
      backgroundTransition: Boolean,
      backgroundColor: String,
      successText: String,
      duration: Number,
      iconVisible: Boolean,
      showInMobile: Boolean,
      align: Object,
    }]
  ]
}
```

## Options

### selector

*  Type: `String | Array`
*  Default: `['div[class*="language-"] pre', 'div[class*="aside-code"] aside']`

The css selector of the area where the copy function is to be added

待复制区域选择器

### color

*  Type: `String`
*  Default: `#0094ff`

Copy icon color

复制图标/文案颜色

### backgroundTransition

*  Type: `Boolean`
*  Default: `true`

Whether to show dynamic effects

是否展示背景动效

### backgroundColor

*  Type: `String`
*  Default: `#196794`

Dynamic background color, [hex code](https://htmlcolorcodes.com/)

背景动效颜色

### successText

*  Type: `String`
*  Default: `Copy successfully!`

The copy displayed when the copy is successful

复制成功文案

### duration

*  Type: `number`
*  Default: `1000`

Success status display time

复制成功提示时间

### iconVisible

*  Type: `Boolean`
*  Default: `false`

Copy icon is visible when hovered/clicked or always visible

图标始终展示或hovered/clicked时展示

### showInMobile

*  Type: `Boolean`
*  Default: `true`

Whether to display on the mobile

移动端是否展示复制功能

### align

*  Type: `Object`
*  Default: `{ bottom: '7px', right: '7px' }`
*  Supported options: `top` `bottom` `right` `left` `dir`

  * `dir`: `row` `column` `column-reverse` `column-reverse`

This copy icon position

配置复制按钮位置

## Records

* v1.0.0 init

## License

[MIT](https://github.com/maginapp/vuepress-plugin-copy-code)
npm package: @maginapp/vuepress-plugin-flowchart
Description: flowchart plugin for vuepress
Author: maginapp
Latest version: 1.0.2

# vuepress-plugin-flowchart
flowchart plugin for vuepress

> New features for (ulivz/vuepress-plugin-flowchart)(https://github.com/ulivz/vuepress-plugin-flowchart)

## Installation

```shell
yarn add -D @maginapp/vuepress-plugin-flowchart
# or npm install -D @maginapp/vuepress-plugin-flowchart
```

## Usage

### config

```js
module.exports = {
    // ...
    plugins: [
        '@maginapp/vuepress-plugin-flowchart',
        {
          openMarker: '```mermaid',
          closeMarker: '```',
          scondMarker: 'flowchat',
          ignoreSecondLine: false
        }
    ]
    // ...
}
```

### options

#### openMarker

* type: `string`
* default: ````mermaid`

setting open marker

#### closeMarker

* type: `string`
* default: ` ``` `

setting close marker

#### scondMarker

* type: `string`
* default: `flowchat`

setting scondline marker when `ignoreSecondLine = false`

#### ignoreSecondLine

* type: `boolean`
* default: `false`

setting whether to use scondMarker

### difference with `ulivz/vuepress-plugin-flowchart@v1.4.3`

Just modify some code to be compatible with CSDN blog

* It's just that the outer marker is different


```md
​```mermaid
flowchat

...
sanme code with ulivz/vuepress-plugin-flowchart@v1.4.3
...

​```
```

* Added configuration feature

> It can be set to be the same as `ulivz/vuepress-plugin-flowchart@v1.4.3` by configuring parameters

```js
{
    openMarker: '@flowstart',
    closeMarker: '@flowend',
    ignoreSecondLine: true
}
```


### docs

Same Usage with [`ulivz/vuepress-plugin-flowchart@v1.4.3`](https://flowchart.vuepress.ulivz.com/)

## Quote

* [ulivz/vuepress-plugin-flowchart](https://github.com/ulivz/vuepress-plugin-flowchart)
npm package: @maginapp/vuepress-plugin-katex
Description: KateX plugin for Vuepress
Author: maginapp
Latest version: 1.0.11

# vuepress-plugin-katex
Katex plugin for VuePress

## Installation

```shell
yarn add -D @maginapp/vuepress-plugin-katex
# or npm install -D @maginapp/vuepress-plugin-katex
```

## Usage

### config

```js
module.exports = {
    // ...
    plugins: {
        '@maginapp/katex': {
          delimiters: 'dollars'
        }
    },
    // or
    plugins: {
        '@maginapp/vuepress-plugin-katex': {
          delimiters: 'dollars'
        }
    },
    // ...
}

// or

module.exports = [
    ['@maginapp/vuepress-plugin-katex', { delimiters: 'dollars' }],
    // or
    ['@maginapp/katex', { delimiters: 'dollars' }],
]

```

### options

#### delimiters

* type: `string`
* default: `dollars`

User setting delimiters, [show more](https://github.com/goessner/markdown-it-texmath#features)

### `dollars` example

You can use render latex mathematical expressions [KaTeX](https://khan.github.io/KaTeX/):

Gamma公式展示 $\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$ 是通过欧拉积分

* inline

$\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.$

```md
$\Gamma(n) = (n-1)!\quad\forall n\in\mathbb N$
```

* display

$$
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
$$

```md
$$
\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,.
$$
```

### vue components

* `Eq.vue`: using for inline

* `Eqn.vue`: using for block

## Projects Using `@maginapp/vuepress-plugin-katex`

* [katex](https://github.com/KaTeX/KaTeX)
* [markdown-it-texmath](https://github.com/goessner/markdown-it-texmath)

## records

* v1.0.5 init version / 初始版本
* v1.0.6 add component:`Eq`,`Eqn` / 添加 Eq Eqn 初始组件
* v1.0.7 fix: `Eqn` dispaly center /  修复display + equation number 模式下Eqn组件不居中问题
* v1.0.8 fix: Vue automatically removes spaces from templates / 修复vue自动去除模板中空格问题
* v1.0.9 style: add custom.css / 添加自定义样式文件
* v1.0.10 fix: delete globalUIComponents / 修复globalUIComponents 导致的底部样式问题
* v1.0.11 fix: modify `README` usage / 修复 `README` 示例错误
npm package: @maging/sberplatform-frontend-base-ui
Description: sberplatform frontend base ui components
Author: Leon Minasyan
Latest version: 1.0.10-0

# Ui

> Ui Components for sberplatform frontend

[![npm version](https://badge.fury.io/js/%40maging%2Fsberplatform-frontend-base-ui.svg)](https://badge.fury.io/js/%40maging%2Fsberplatform-frontend-base-ui)
npm package: @magister_zito/prettier-config
Description: Shared prettier configurations
Author: Matthew Zito
Latest version: 0.0.5

# @magister_zito/prettier-config

Extensible prettier configurations for the punctilious developer.

## Usage

```bash
pnpm add -D @magister_zito/prettier-config
```

In package.json:

```json
{
  "prettier": "@magister_zito/prettier-config"
}
```

In .prettierrc:

```json
"@magister_zito/prettier-config"
```

Extending .prettierignore:

```bash
prettier . --write --ignore-path node_modules/@magister_zito/prettier-config/.prettierignore
```
npm package: @magister_zito/stylelint-config
Description: stylelint for developers with actual ocd
Author: Matthew Zito
Latest version: 0.2.1

# @magister_zito/stylelint-config

```bash
pnpm add -D @magister_zito/stylelint-config
```

## Base Config

```json
{
  "extends": [
    "@magister_zito/stylelint-config/base"
  ]
}
```

## Default Config (SCSS)

```json
{
  "extends": [
    "@magister_zito/stylelint-config"
  ]
}
```

## React Config (styled-components)

```json
{
  "extends": [
    "@magister_zito/stylelint-config/styled-components"
  ]
}
```