open-index/open-npm huggingface dataset:
npm package: @gaoding/egg-alinode-tracer
Description: egg opentracing pligun
Author: tunan
Latest version: 0.1.0

# hackernews-async-ts

[Hacker News](https://news.ycombinator.com/) showcase using typescript && egg

## QuickStart

### Development

```bash
$ npm i
$ npm run dev
$ open http://localhost:7001/
```

Don't tsc compile at development mode, if you had run `tsc` then you need to `npm run clean` before `npm run dev`.

### Deploy

```bash
$ npm run tsc
$ npm start
```

### Npm Scripts

- Use `npm run lint` to check code style
- Use `npm test` to run unit test
- se `npm run clean` to clean compiled js at development mode once

### Requirement

- Node.js 8.x
- Typescript 2.8+
npm package: @gaoding/egg-hlg-logger
Description: egg plugin for hlg logger sdk
Author: tunan
Latest version: 1.0.23

    ******************************************************************
    ******************************************************************
    **********              代码千万行，注释第一行              **********
    **********              编码不规范，同事泪两行              **********
    ******************************************************************
    ******************************************************************

# @gaoding/egg-hlg-logger

[![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/@gaoding/egg-hlg-logger.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@gaoding/egg-hlg-logger
[travis-image]: https://img.shields.io/travis/eggjs/@gaoding/egg-hlg-logger.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/@gaoding/egg-hlg-logger
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/@gaoding/egg-hlg-logger.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/@gaoding/egg-hlg-logger?branch=master
[david-image]: https://img.shields.io/david/eggjs/@gaoding/egg-hlg-logger.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/@gaoding/egg-hlg-logger
[snyk-image]: https://snyk.io/test/npm/@gaoding/egg-hlg-logger/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/@gaoding/egg-hlg-logger
[download-image]: https://img.shields.io/npm/dm/@gaoding/egg-hlg-logger.svg?style=flat-square
[download-url]: https://npmjs.org/package/@gaoding/egg-hlg-logger

<!--
Description here.
-->

## Install

```bash
$ npm i @gaoding/egg-hlg-logger --save
```

## Usage

```js
// {app_root}/config/plugin.js
exports.hlgLogger = {
  enable: true,
  package: '@gaoding/egg-hlg-logger',
};
```

## Configuration

```js
// {app_root}/config/config.default.js
exports.hlgLogger = {
  logServer: 'udp:xxx.xxx.xxx.xxx:xxxx',  // 日志服务器地址，必填 
  logStdio: true, // 是否输出调试信息到控制台，仅推荐开发环境开启，默认：false
  logEnv: '', // 每条日志默认的环境值，[dev|stage|prod]，默认：空字符串
  level: 'NONE',  // 日志级别，由高到低：[ALL|ERROR|WARN|INFO|DEBUG|NONE]，默认：NONE
  appName: 'oms_api',  // 应用名称（日志服务索引名称），必填
};
```

## License

[MIT](LICENSE)
npm package: @gaoding/egg-hlg-metrics
Description: egg plugin for hlg metrics sdk
Author: bocai
Latest version: 1.1.1

# egg-hlg-metrics

[![NPM version][npm-image]][npm-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/@gaoding/egg-hlg-metrics.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@gaoding/egg-hlg-metrics
[download-image]: https://img.shields.io/npm/dm/@gaoding/egg-hlg-metrics.svg?style=flat-square
[download-url]: https://npmjs.org/package/@gaoding/egg-hlg-metrics

<!--
Description here.
-->

## Install

```bash
npm i @gaoding/egg-hlg-metrics --save
```

## Usage

```js
// {app_root}/config/plugin.js
exports.hlgMetrics = {
  enable: true,
  package: '@gaoding/egg-hlg-metrics',
};
```

## Configuration

```js
// {app_root}/config/config.default.js
exports.hlgMetrics = {
  outputDebugLog: false, // 是否输出调试日志
  serverAddr: '', // 服务器地址
  appName: '', // 应用名称
};
```

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

## Example

本插件自安装成功后，自动上报指标数据。

## License

[MIT](LICENSE)
npm package: @gaoding/egg-inspector
Description: [npm-image]: https://img.shields.io/npm/v/egg-inspector.svg?style=flat-square [npm-url]: https://npmjs.org/package/egg-inspector [travis-image]: https://img.shields.io/travis/eggjs/egg-inspector.svg?style=flat-square [travis-url]: https://travis-ci.org/eg
Author: tunan
Latest version: 1.0.7

# egg-inspector

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

Egg 应用运行时代码覆盖率收集插件

## Install

```bash
$ npm i @gaoding/egg-inspector --save
```

## Usage

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

## Configuration

```js
// {app_root}/config/config.default.js
exports.inspector = {
    exclude?: string[];  // file exclude, default: ['internal/**', 'node_modules/**']
    include?: string[];  // file include, default: ['file:**']

    enable?: boolean;    // enable code coverage inspect?, default: true

    reportHtml?: boolean;// convert dump data to html, default: false
};
```

插件会注册一个中间件到全局，注册接口事件 `GET /coverage-dump`, 当访问该接口的时候，会输出代码覆盖文件到 `${project}/coverage` 目录下。

## License

[MIT](LICENSE)
npm package: @gaoding/egg-sentry-logger
Description: egg plugin for sentry logger
Author: bocai
Latest version: 1.0.5

# egg-sentry-logger

[![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-sentry-logger.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-sentry-logger
[travis-image]: https://img.shields.io/travis/eggjs/egg-sentry-logger.svg?style=flat-square
[travis-url]: https://travis-ci.org/eggjs/egg-sentry-logger
[codecov-image]: https://img.shields.io/codecov/c/github/eggjs/egg-sentry-logger.svg?style=flat-square
[codecov-url]: https://codecov.io/github/eggjs/egg-sentry-logger?branch=master
[david-image]: https://img.shields.io/david/eggjs/egg-sentry-logger.svg?style=flat-square
[david-url]: https://david-dm.org/eggjs/egg-sentry-logger
[snyk-image]: https://snyk.io/test/npm/egg-sentry-logger/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-sentry-logger
[download-image]: https://img.shields.io/npm/dm/egg-sentry-logger.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-sentry-logger

<!--
Description here.
-->

## Install

```bash
$ npm i egg-sentry-logger --save
```

## Usage

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

## Configuration

```js
// {app_root}/config/config.default.js
exports.sentryLogger = {
  dsn: '',
  level: 'DEBUG',
  environment: '',
};
```

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: @gaoding/ergate-inspector
Description: ergate code Coverage
Author: tunan
Latest version: 1.0.5

# @gaoding/ergate-inspector

ergate 应用运行时代码覆盖率收集插件

## Installation

```
npm install @gaoding/ergate-inspector

yarn add @gaoding/ergate-inspector
```

## Usage
```ts
// app.ts
import '@gaoding/ergate-inspector';

// config.[env].ts
config.inspector = {
    exclude?: string[];  // file exclude, default: ['internal/**', 'node_modules/**']
    include?: string[];  // file include, default: ['file:**']

    enable?: boolean;    // enable code coverage inspect?, default: true

    reportHtml?: boolean;// convert dump data to html, default: false
}
```

插件会注册一个中间件到全局，注册接口事件 `GET /coverage-dump`, 当访问该接口的时候，会输出代码覆盖文件到 `${project}/coverage` 目录下。