open-index/open-npm huggingface dataset:
npm package: @pefish/hxjs
Description: Pure JavaScript HX library for node.js and browsers.
Author: hxlab
Latest version: 1.0.3

# hx.js

Pure JavaScript hx library for node.js and browsers. Can be used to construct, sign and broadcast transactions in JavaScript, and to easily obtain data from the blockchain via public apis.

Referenced bitshares js sdk.

## Setup

This library can be obtained through npm:

```
npm install hxjs
```

## Build

```
npm run-script build && npm run-script browserify
```

## Doc

*   [docs/index.md](docs/index.md)
npm package: @pefish/js-coin-neo
Description: neo common of js
Author: pefish
Latest version: 0.2.3

# p-neo-common

#### Description
neo common

#### Software Architecture
Software architecture description

#### Installation

1. xxxx
2. xxxx
3. xxxx

#### Instructions

1. xxxx
2. xxxx
3. xxxx

#### Contribution

1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request


#### Gitee Feature

1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
npm package: @pefish/js-decorator
Description: #### retry decorator
Author: pefish
Latest version: 0.0.6


## js Decorators

#### retry decorator

```js
/**
 * 函数重试。函数返回字符串 retry 则重试。只能修饰异步函数
 * @param times 重试次数
 * @param errContainStr 当错误信息中包含这个字符串，则重试
 * @param interval 重试间隔时间
 */
```

```js
class Test {
  a: number = 0

  @retry(6, `haha`)
  async test (a: string): Promise<string> {
    this.a++
    // throw new Error(`4351`)
    if (this.a !== 5) {
      throw new Error(`haha`) // trigger retry
    }
    return `1212`
  }
}

const t = new Test()
t.test(`11`).then((d) => {
  console.log(d)
}).catch((err) => {
  console.error(`err: `, err)
})

```
npm package: @pefish/js-electron-common
Description: common tool of electron
Author: pefish
Latest version: 0.4.3

# p-electron-common

#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}

#### Software Architecture
Software architecture description

#### Installation

1. xxxx
2. xxxx
3. xxxx

#### Instructions

1. xxxx
2. xxxx
3. xxxx

#### Contribution

1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request


#### Gitee Feature

1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)