# @58fe/bable-plugin-p5-import

> 针对p5组件库的按需加载babel插件

Latest version **1.1.0** (published 2019-08-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install @58fe/bable-plugin-p5-import
pnpm add @58fe/bable-plugin-p5-import
yarn add @58fe/bable-plugin-p5-import
bun add @58fe/bable-plugin-p5-import
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-08-01 |
| First published | 2019-06-18 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | shangpanpan |
| Maintainers | alexjia, artoriaschan, felix_xue, imlimiao, jackchou, rainbow_zh, reking, shangpanpan, xiaoyuya, zhangyongming |
| Keywords | 58, p5, vue, 按需加载, vue-components, ui |

## Links

- npm: https://www.npmjs.com/package/@58fe/bable-plugin-p5-import
- Repository: https://github.com/CrazyaCoding/babel-plugin-p5-import
- Homepage: https://github.com/CrazyaCoding/babel-plugin-p5-import#readme
- Issues: https://github.com/CrazyaCoding/babel-plugin-p5-import/issues
- npm.io page: https://npm.io/package/@58fe/bable-plugin-p5-import

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@mesalvo/react-ui](https://npm.io/package/@mesalvo/react-ui.md) — 1.7K weekly downloads

## Recent versions

- 1.1.0 (latest) — 2019-08-01
- 1.0.2 — 2019-06-18
- 1.0.1 — 2019-06-18
- 1.0.0 — 2019-06-18

## README

# babel-plugin-p5-import
p5组件库的按需引入插件

## 安装
```
npm i @58fe/babel-plugin-p5-import -D
```
## 使用
在 **.babelrc** 中配置该插件
```javascript
{
    ...
    plugins:["@58fe/babel-plugin-p5-import", opts]
}
```
其中opts可以是一个对象 ，配置例子如下：
```
{
	libraryName:'@58fe/p5',
	libraryDirectory:'library/components',
	pluginNameRegExp:/^(.+)Plugin$/,
	libraryPluginDirectory:'library/plugin'
}
```

---
_Source: https://npm.io/package/@58fe/bable-plugin-p5-import · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
