# metalsmith-metacopy

> A metalsmith plugin to manipulate metadata and file metadata

Latest version **0.2.0** (published 2016-04-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install metalsmith-metacopy
pnpm add metalsmith-metacopy
yarn add metalsmith-metacopy
bun add metalsmith-metacopy
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-04-07 |
| First published | 2016-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | jmatsushita |

## Links

- npm: https://www.npmjs.com/package/metalsmith-metacopy
- Repository: https://github.com/contentascode/metalsmith-metacopy
- Homepage: https://github.com/contentascode/metalsmith-metacopy#readme
- Issues: https://github.com/contentascode/metalsmith-metacopy/issues
- npm.io page: https://npm.io/package/metalsmith-metacopy

## Recent versions

- 0.2.0 (latest) — 2016-04-07
- 0.1.0 — 2016-04-03
- 0.0.1 — 2016-04-01

## README

# metalsmith-metacopy

  A metalsmith plugin to manipulate metadata and file metadata.

## Installation

    $ npm install metalsmith-metacopy

## CLI Usage

  Install via npm and then add the `metalsmith-metacopy` key to your `metalsmith.json` plugins, like so:

```json
{
  "plugins": {
    "metalsmith-metacopy": {
      "file": [ 
        { "src": "contents", "dest": "content" }
      ],
      "metadata": [
        { "src": "collections", "dest": "site" }
      ]
    }
  }
}
```

This will make the `content` key for files available also at the `content` key and copy the `collections` key (for instance created by the `metalsmith-collection`) into the `site` key in the global metadata object (both useful in the context of porting a jekyll site with liquid templates)

## License

  MIT

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