# babel-plugin-version-inline

> Babel plugin for turning __VERSION__ into a package version string

Latest version **1.0.0** (published 2015-11-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-version-inline
pnpm add babel-plugin-version-inline
yarn add babel-plugin-version-inline
bun add babel-plugin-version-inline
```

## 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.0.0 |
| Published | 2015-11-15 |
| First published | 2015-09-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Gabriel Andretta |
| Maintainers | gnandretta |
| Keywords | babel-plugin |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-version-inline
- Repository: https://github.com/gnandretta/babel-plugin-version-inline
- Homepage: https://github.com/gnandretta/babel-plugin-version-inline#readme
- Issues: https://github.com/gnandretta/babel-plugin-version-inline/issues
- npm.io page: https://npm.io/package/babel-plugin-version-inline

## 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.0.0 (latest) — 2015-11-15
- 0.0.1 — 2015-09-11

## README

# babel-plugin-version-inline

Turn `__VERSION__` into the package's version string.

## Example

Given the following _package.json_.

```json
{
  "name": "package-using-babel-plugin-version-inline",
  "version": "1.0.0"
}
```

#### in

```js
__VERSION__
```

#### out

```js
"1.0.0"
```


## Installation

```sh
$ npm install babel-plugin-version-inline
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
  "plugins": ["version-inline"]
}
```

### Via CLI

```sh
$ babel --plugins version-inline script.js
```

### Via Node API

```javascript
require("babel-core").transform("code", {
  plugins: ["version-inline"]
});
```

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