open-index/open-npm huggingface dataset:
npm package: @mybpm/dynamic-forms
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
Latest version: 0.0.62

# DynamicForms

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

## Code scaffolding

Run `ng generate component component-name --project dynamic-forms` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project dynamic-forms`.
> Note: Don't forget to add `--project dynamic-forms` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build dynamic-forms` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build dynamic-forms`, go to the dist folder `cd dist/dynamic-forms` and run `npm publish`.

## Running unit tests

Run `ng test dynamic-forms` 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: @mybricks/code-generator
Description: 搭建出码
Author: mybricks
Latest version: 1.0.13

# code-generator
搭建出码

```
import codeGenerator from '@mybricks/code-generator'

// target = 'react' | 'weapp'
const codeResult = codeGenerator.generateCode({ toJson: json, target: 'react' })

console.log(codeResult)

```
npm package: @mybricks/cosine-similarity-vector
Description: cosine similarity for words vector lib
Author: mybricks
Latest version: 1.0.2

# cosine-similarity-vector
cosine similarity for words vector lib

### 快速上手
```javascript
import CosSimer from '@mybricks/cosine-similarity-vector'

const cosSimer = new CosSimer({ // 初始化
  vectorLibs: [ // type: any[]
    {
      keyWord: '添加表单',
      content: `{ type: 'add', namespace: 'mybricks.normal-pc.form-container'}`,
    },
    {
      keyWord: '删除表单',
      content: `{ type: 'del', namespace: 'mybricks.normal-pc.form-container'}`,
    },
    {
      keyWord: '添加表格',
      content: `{ type: 'add', namespace: 'mybricks.normal-pc.table'}`,
    },
  ]
})

// 返回最相似记录 cosSimer.getMaxSimilarity(query: string): object
cosSimer.getMaxSimilarity('添加一个表单')

// 查询并返回 cosSimer.search(query: string, length?: number): array<any>
cosSimer.search('添加一个表单', 2)

// 增加向量库条目 cosSimer.addVectors(vectors: any[]): void
cosSimer.addVectors([{}, {}])

```