# webpack-copy-version-plugin

> Webpack plugin to copy version number from package.json to manifest.json or any other json files with version property

Latest version **1.0.6** (published 2021-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install webpack-copy-version-plugin
pnpm add webpack-copy-version-plugin
yarn add webpack-copy-version-plugin
bun add webpack-copy-version-plugin
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2021-11-02 |
| First published | 2020-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Andrii Shevchuk-Yuhanets |
| Maintainers | mazillka |
| Keywords | webpack, plugin, json, package, manifest, copy, version, number, package.json, manifest.json |

## Links

- npm: https://www.npmjs.com/package/webpack-copy-version-plugin
- Repository: https://github.com/mazillka/webpack-copy-version-plugin
- Homepage: https://github.com/mazillka/webpack-copy-version-plugin#readme
- Issues: https://github.com/mazillka/webpack-copy-version-plugin/issues
- npm.io page: https://npm.io/package/webpack-copy-version-plugin

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.6 (latest) — 2021-11-02
- 1.0.5 — 2021-11-02
- 1.0.4 — 2020-05-04
- 1.0.3 — 2020-05-04
- 1.0.2 — 2020-05-04
- 1.0.1 — 2020-05-04
- 1.0.0 — 2020-05-04

## README

# webpack-copy-version-plugin
Webpack plugin to copy version number from package.json to manifest.json or any other json files with version property

**Installation**

npm install --save-dev **webpack-copy-version-plugin**

**Usage**

    const CopyVersionPlugin = require("webpack-copy-version-plugin");
    
    ...
    
    // add to webpack plugins array
    plugins: [
    	new CopyVersionPlugin(options)
    ]
    
    /*
    options: {
    	from: string, path or file name, "package.json" by default
    	to: string, path or file name, "manifest.json" by default
    }
    */

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