open-index/open-npm huggingface dataset:
npm package: @qhattu/core
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.12.
Latest version: 1.0.4

# Documents

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.1.12.

## Code scaffolding

Run `ng generate component component-name --project @qhattu/core` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project @qhattu/core`.

> Note: Don't forget to add `--project documents` or else it will be added to the default project in your `angular.json` file.

## Build

Run `ng build @qhattu/core` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build @qhattu/core`, go to the dist folder `cd dist/@qhattu/core` and run `npm publish`.

## Running unit tests

Run `ng test @qhattu/core` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @qhattu/shared
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.5.
Latest version: 1.4.29

# App

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.5.

## Code scaffolding

Run `ng generate component component-name --project @qhattu/shared` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project @qhattu/shared`.
> Note: Don't forget to add `--project @qhattu/shared` or else it will be added to the default project in your `angular.json` file.

## Build

Run `ng build app` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build @qhattu/shared`, go to the dist folder `cd dist/qhattu/app` and run `npm publish`.

## Running unit tests

Run `ng test app` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @qhgame/define-var-plugin
Description: define-var-plugin
Latest version: 1.0.4

# @qhgame/define-var-plugin

插入自定义变量 webpack 插件 ，只支持 webpack 4.x 以后版本

## 安装

```
npm install @qhgame/define-var-plugin --save-dev
```

## 使用

执行 **GET** 请求

```javascript
import DefineVarPlugin from '@qhgame/define-var-plugin';

module.exports = {
  plugins: [
    new DefineVarPlugin('PAGE_NAME', (module) =>
      path
        .basename(module.resource)
        .replace(/\.[jt]sx?$/, '')
        .replace(/^[A-Z]/, (s) => s.toLowerCase())
        .replace(/-(\w)/, (s, s1) => s1.toUpperCase()),
    ),
  ],
};
```