open-index/open-npm huggingface dataset:
npm package: @mlp-vectorclub/api-types
Description: These type definitions are generated based on the MLP Vector Club's public OpenAPI specifications.
Author: SeinopSys
Latest version: 0.2.1

# MLP VectorClub API type definitions

These type definitions are generated based on the MLP Vector Club's public OpenAPI specifications.

They can be utilized in any TypeScript-based applications to refer to the latest types provided by the application.

## Usage

Make sure TypeScript is configured in your project, then simply install the type definitions package with your favourite package manager:

```shell
# Via NPM
$ npm install @mlp-vectorclub/api-types
# Via YARN
$ yarn add @mlp-vectorclub/api-types
```

In your TypeScript code, simply import the necessary types from the package:

```ts
import { Appearance } from '@mlp-vectorclub/api-types';

const value: Appearance = { /* … */ };
```

## Building

1. Make a copy of `.env.example` named `.env`
2. Add the full path to the API schema definition (either a URL or a file path) as the `API_JSON_PATH` (wrap it in `"` if it contains spaces)
3. Run `yarn build`

Check the build output for the location of the generated files. The process also creates an optimized copy of the schema JSON alongside the type definition file.
npm package: @mlpconfig/commitlint-config
Description: commit lint package
Author: yanlei
Latest version: 2.0.0

# `@mlpconfig/commitlint-config`

> Git commit 规范

支持配套的 [commitlint 配置](https://commitlint.js.org/#/concepts-shareable-config)，用于对 `git commit message` 进行校验。

## 安装

使用时，需要安装 [@commitlint/cli](https://www.npmjs.com/package/@commitlint/cli)，推荐使用pnpm：

```bash
# pnpm
pnpm install @mlpconfig/commitlint-config @commitlint/cli --save-dev

# yarn
yarn add @mlpconfig/commitlint-config @commitlint/cli --save-dev

# npm
npm install @mlpconfig/commitlint-config @commitlint/cli --save-dev
```

## 使用

在 `commitlint.config.js` 中集成本包:

```javascript
module.exports = {
  extends: ['@mlpconfig/commitlint-config'],
};
```

## 设置 git hook

可通过 [husky](https://www.npmjs.com/package/husky) 设置在 `git commit` 时触发 `commitlint`。

首先安装 husky：

```bash
npm install husky --save-dev
```

然后执行添加`commit-msg`:

```bash
npx husky add .husky/commit-msg 'npx commitlint --edit $1'
```

更多信息可参考 [commitlint 文档](https://commitlint.js.org/#/guides-local-setup?id=install-husky)。
npm package: @mlqt/vue-back-top
Description: Back to top for vue.js
Author: molvqingtai
Latest version: 1.0.8

# vue-back-top

![](https://img.shields.io/github/license/molvqingtai/vue-back-top.svg) ![](https://img.shields.io/github/size/molvqingtai/vue-back-top/dist/back-top.umd.min.js.svg) ![](https://img.shields.io/npm/dt/@mlqt/vue-back-top.svg) ![](https://img.shields.io/npm/v/@mlqt/vue-back-top.svg)

A back top component for vue.js.

**[View demo](https://molvqingtai.github.io/vue-back-top/demo.html)**



## Install

**NPM**

```shell
npm install @mlqt/vue-back-top
```

**CDN**

```html
<script src="https://unpkg.com/@mlqt/vue-back-top"></script>
```



## Usage

Use **`<back-top/>`** to enable the scroll to the top, and use **props** to define its options.

When the scroll bar height is greater than 100vh, **back-top** is display, otherwise hidden.

```html
<back-top color="#409EFF" :size="1.1" :slow="10"> </back-top>

<!-- Replace the default icon with slot -->
<back-top>
    <div>Icon</div>
</back-top>
```

```javascript
import Vue from 'vue'
import BackTop from '@mlqt/vue-back-top'

Vue.use(BackTop)

new Vue().$mount('#app')
```



## Options

| Props  | Description                                                  | **Required** | Type   | Default |
| ------ | ------------------------------------------------------------ | ------------ | ------ | ------- |
| right  | Back-top distance to the right                               | false        | String | 3%      |
| bottom | Back-top distance to the bottom                              | false        | String | 20%     |
| color  | Back-top color                                               | false        | String | #409EFF |
| size   | Back-top size                                                | false        | Number | 1       |
| slow   | Back-top The speed of scrolling, the larger the value, the slower the scrolling | false        | Number | 10      |




## License

This project is licensed under the MIT License - see the [LICENSE](https://github.com/molvqingtai/vue-back-top/blob/master/LICENSE) file for details



## Acknowledgments

[张鑫旭](https://www.zhangxinxu.com/wordpress/2017/01/share-a-animation-algorithm-js/)
npm package: @mls-digital/generator-node-module
Description: Yeoman generator for creating independent node modules with es2015 converstion to UMD
Author: kurtiskemple@gmail.com
Latest version: 1.1.0

# Generator Node Module

A yeoman generator for creating stand-alone node modules. Converts ES2015 to UMD modules via Babel. Uses tape / faucet for testing and ESLint for linting.

> All source code should live in `src` dir. Compiles to `lib` dir.

___

## Usage

> Make sure you have `yo` installed!

First install the module

`npm install -g @mls-digital/generator-node-module`

Then run yo

`yo @mls-digital/node-module`

___

## Files Created
```bash
.
├── .babelrc
├── .codeclimate.yml
├── .eslintignore
├── .eslintrc
├── .gitignore
├── .npmignore
├── LICENSE.md
├── package.json
├── readme.md
└── src
    └── index.js

1 directory, 10 files

```

___

## Modules Used

```json
{
  "babel-cli": "^6.4.5",
  "babel-preset-es2015": "^6.3.13",
  "babel-plugin-transform-es2015-modules-umd": "^6.4.3",
  "babel-register": "^6.4.3",
  "eslint": "^1.10.3",
  "eslint-config-airbnb": "^3.1.0",
  "faucet": "0.0.1",
  "rimraf": "^2.5.0",
  "tape": "^4.4.0"
}
```

___

## Available NPM scripts

```json
{
  "lint": "eslint .",
  "test": "tape -r babel-register test/*.js | faucet",
  "compile": "rimraf lib && babel src --out-dir lib",
  "dev": "rimraf lib && babel src --out-dir lib -w",
  "release": "npm publish ?(--access public)"
}
```