# babel-preset-manpacker

> Manpacker babel presets core encapsulation

Latest version **1.10.0** (published 2021-02-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-preset-manpacker
pnpm add babel-preset-manpacker
yarn add babel-preset-manpacker
bun add babel-preset-manpacker
```

## 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.10.0 |
| Published | 2021-02-07 |
| First published | 2019-04-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | winterfete |
| Maintainers | winterfete |
| Keywords | babel-core, presets, babel-polyfill, core-js, manpacker |

## Links

- npm: https://www.npmjs.com/package/babel-preset-manpacker
- Repository: https://github.com/manpackers/front-build
- Homepage: https://github.com/manpackers/front-build#readme
- Issues: https://github.com/manpackers/front-build/issues
- npm.io page: https://npm.io/package/babel-preset-manpacker

## Dependencies (9)

- [core-js](https://npm.io/package/core-js.md) ^3.8.3
- [deepmerge](https://npm.io/package/deepmerge.md) ^4.2.2
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.12.13
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.12.1
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.12.13
- [babel-plugin-dynamic-import-node](https://npm.io/package/babel-plugin-dynamic-import-node.md) ^2.3.3
- [@babel/plugin-proposal-decorators](https://npm.io/package/@babel/plugin-proposal-decorators.md) ^7.12.13
- [@babel/plugin-syntax-dynamic-import](https://npm.io/package/@babel/plugin-syntax-dynamic-import.md) ^7.8.3
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.12.13

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.10.0 (latest) — 2021-02-07
- 1.1.1 — 2019-04-22
- 1.1.0 — 2019-04-22
- 1.0.2 — 2019-04-22
- 1.0.1 — 2019-04-22
- 1.0.0 — 2019-04-21

## README

![npm](https://img.shields.io/npm/v/babel-preset-manpacker.svg)
![npm bundle size](https://img.shields.io/bundlephobia/min/babel-preset-manpacker.svg)
![npm](https://img.shields.io/npm/dw/babel-preset-manpacker.svg)
![NPM](https://img.shields.io/npm/l/babel-preset-manpacker.svg)
<br><br>
![nodei.co](https://nodei.co/npm/babel-preset-manpacker.png?downloads=true&downloadRank=true&stars=true)
<br>
## Explain
Manpacker preset based on babel7 encapsulation.<br/>
The following plug-ins are used:<br>
<code>"@babel/plugin-proposal-class-properties"</code>.<br>
<code>"@babel/plugin-proposal-decorators"</code>.<br>
<code>"@babel/plugin-syntax-dynamic-import"</code>.<br>
<code>"@babel/polyfill"</code>.<br>
<code>"babel-plugin-dynamic-import-node"</code>.<br><br>
Babel presets polyfill default config:<br>
```
{"useBuiltIns": "usage", corejs: 3}
```
Configuration items can be referenced: [<code>@babel/preset-env</code>](https://babeljs.io/docs/en/babel-preset-env/)

There are two attributes outside:

key|value|explain
--|--|--
decoratorsLegacy|true|plugin:"decorators"
propertiesLoose|true|plugin:"properties"

## Install
```
npm install babel-preset-manpacker -D
```
## Usage

- Add &nbsp;<code>.babelrc</code> &nbsp; file to your project. &nbsp;

Configuration content of file.

```
{
  "presets": ["manpacker"]
}
```
- You can add a configuration entry to the <code>package.json</code> file as follows.

```
"babel": {
  "presets": ["manpacker"]
}
```
Refer to the following configuration.<br>
Example: <br>
```
"babel": {
  "presets": [
    ["manpacker", {"useBuiltIns": "entry"}]
  ]
}
```
Ingress files need to be manually introduced
```
import "@babel/polyfill"
```

## Npm
[link](https://www.npmjs.com/package/babel-preset-manpacker)

---
_Source: https://npm.io/package/babel-preset-manpacker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
