open-index/open-npm huggingface dataset:
npm package: @pacy/cli
Description: cli
Author: 余聪
Latest version: 0.0.2

# @pacy/cli

[![NPM version](https://img.shields.io/npm/v/@pacy/cli.svg?style=flat-square)](https://www.npmjs.com/package/@pacy/cli)
[![NPM Downloads](https://img.shields.io/npm/dm/@pacy/cli.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/@pacy/cli)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)

> cli

## Installation

```bash
npm install @pacy/cli
# or use yarn
yarn add @pacy/cli
```

## Usage

```javascript
import cli from '@pacy/cli'
```

## Contributing

- Fork it!
- Create your new branch:  
  `git checkout -b feature-new` or `git checkout -b fix-which-bug`
- Start your magic work now
- Make sure npm test passes
- Commit your changes:  
  `git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`
- Push to the branch: `git push`
- Submit a pull request :)

## Authors

This library is written and maintained by [余聪](mailto:yucong06@meituan.com).

## License

MIT - [余聪](mailto:yucong06@meituan.com)
npm package: @pacy/core
Description: core
Author: 余聪
Latest version: 0.0.2

# @pacy/core

[![NPM version](https://img.shields.io/npm/v/@pacy/core.svg?style=flat-square)](https://www.npmjs.com/package/@pacy/core)
[![NPM Downloads](https://img.shields.io/npm/dm/@pacy/core.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/@pacy/core)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)

> core

## Installation

```bash
npm install @pacy/core
# or use yarn
yarn add @pacy/core
```

## Usage

```javascript
import core from '@pacy/core'
```

## Contributing

- Fork it!
- Create your new branch:  
  `git checkout -b feature-new` or `git checkout -b fix-which-bug`
- Start your magic work now
- Make sure npm test passes
- Commit your changes:  
  `git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`
- Push to the branch: `git push`
- Submit a pull request :)

## Authors

This library is written and maintained by [余聪](mailto:yucong06@meituan.com).

## License

MIT - [余聪](mailto:yucong06@meituan.com)
npm package: @pacy/routes-webpack-plugin
Description: routes webpack plugin
Author: 余聪
Latest version: 0.0.2

# @pacy/routes-webpack-plugin

[![NPM version](https://img.shields.io/npm/v/@pacy/routes-webpack-plugin.svg?style=flat-square)](https://www.npmjs.com/package/@pacy/routes-webpack-plugin)
[![NPM Downloads](https://img.shields.io/npm/dm/@pacy/routes-webpack-plugin.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/@pacy/routes-webpack-plugin)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)

> routes webpack plugin

## Installation

```bash
npm install @pacy/routes-webpack-plugin
# or use yarn
yarn add @pacy/routes-webpack-plugin
```

## Usage

- webpack config

```javascript
import * as nps from 'path'
import RoutesWebpackPlugin from '@pacy/routes-webpack-plugin'

module.exports = {
  plugins: [
    new RoutesWebpackPlugin({
      // 用来占位的文件
      inputFilename: '/path/to/routes-placeholder',
      // 被解析生成目录结构树的文件目录
      dirPatterns: ['/path/to/src/pages'],
      // 被观察的文件目录
      watchPatterns: ['/path/to/src/pages'],
      // 写成什么样子
      toSourceString: async (data) => {
        return `
module.exports = [
  ${data.map(
    (filename) => `{
  name: ${JSON.stringify(nps.relative(nps.dirname('/path/to/routes-placeholder'), filename))},
  source: () => import(${JSON.stringify(filename)}),
}`
  )}
];
`
      }
    })
  ]
}
```

## Contributing

- Fork it!
- Create your new branch:  
  `git checkout -b feature-new` or `git checkout -b fix-which-bug`
- Start your magic work now
- Make sure npm test passes
- Commit your changes:  
  `git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`
- Push to the branch: `git push`
- Submit a pull request :)

## Authors

This library is written and maintained by [余聪](mailto:yucong06@meituan.com).

## License

MIT - [余聪](mailto:yucong06@meituan.com)
npm package: @pacy/start
Description: start command
Author: 余聪
Latest version: 0.0.2

# @pacy/start

[![NPM version](https://img.shields.io/npm/v/@pacy/start.svg?style=flat-square)](https://www.npmjs.com/package/@pacy/start)
[![NPM Downloads](https://img.shields.io/npm/dm/@pacy/start.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/@pacy/start)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)

> start command

## Installation

```bash
npm install @pacy/start
# or use yarn
yarn add @pacy/start
```

## Usage

```javascript
import start from '@pacy/start'
```

## Contributing

- Fork it!
- Create your new branch:  
  `git checkout -b feature-new` or `git checkout -b fix-which-bug`
- Start your magic work now
- Make sure npm test passes
- Commit your changes:  
  `git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`
- Push to the branch: `git push`
- Submit a pull request :)

## Authors

This library is written and maintained by [余聪](mailto:yucong06@meituan.com).

## License

MIT - [余聪](mailto:yucong06@meituan.com)
npm package: @pacy/webpack-config
Description: webpack config
Author: 余聪
Latest version: 0.0.2

# @pacy/webpack-config

[![NPM version](https://img.shields.io/npm/v/@pacy/webpack-config.svg?style=flat-square)](https://www.npmjs.com/package/@pacy/webpack-config)
[![NPM Downloads](https://img.shields.io/npm/dm/@pacy/webpack-config.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/@pacy/webpack-config)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)

> webpack config

## Installation

```bash
npm install @pacy/webpack-config
# or use yarn
yarn add @pacy/webpack-config
```

## Usage

```javascript
import webpackConfig from '@pacy/webpack-config'
```

## Contributing

- Fork it!
- Create your new branch:  
  `git checkout -b feature-new` or `git checkout -b fix-which-bug`
- Start your magic work now
- Make sure npm test passes
- Commit your changes:  
  `git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`
- Push to the branch: `git push`
- Submit a pull request :)

## Authors

This library is written and maintained by [余聪](mailto:yucong06@meituan.com).

## License

MIT - [余聪](mailto:yucong06@meituan.com)