# extract-front-matter-properties

> Extract a single property from a glob of markdown files.

Latest version **1.0.3** (published 2018-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install extract-front-matter-properties
pnpm add extract-front-matter-properties
yarn add extract-front-matter-properties
bun add extract-front-matter-properties
```

## 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.3 |
| Published | 2018-02-22 |
| First published | 2018-02-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 249.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kennedy Rose |
| Maintainers | ken85rose |
| Keywords | extract, frontmatter, front, matter, properties, markdown, filesystem |

## Links

- npm: https://www.npmjs.com/package/extract-front-matter-properties
- Repository: https://github.com/escaladesports/extract-front-matter-properties
- Homepage: https://github.com/escaladesports/extract-front-matter-properties#readme
- Issues: https://github.com/escaladesports/extract-front-matter-properties/issues
- npm.io page: https://npm.io/package/extract-front-matter-properties

## Dependencies (5)

- [globby](https://npm.io/package/globby.md) ^8.0.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^5.0.0
- [front-matter](https://npm.io/package/front-matter.md) ^2.3.0
- [unique-array](https://npm.io/package/unique-array.md) ^1.0.1
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.26.0

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2018-02-22
- 1.0.2 — 2018-02-22
- 1.0.1 — 2018-02-22
- 1.0.0 — 2018-02-22

## README

# extract-front-matter-properties

Extract a single property from a glob of markdown files.

## Installation

With npm:

```bash
npm install --save extract-front-matter-properties
```

Or with Yarn:

```bash
uarm add extract-front-matter-properties
```

## Usage

```javascript
var extract = require('extract-front-matter-properties')

// Async
extract('./**/*.md', 'id')
	.then(function(ids){
		console.log(ids)
	})
	.catch(console.error)

// Sync
var ids = extract('./**/*.md', 'id', { sync: true })
console.log(ids)

```

## Why?

This was originally built for extracting all product IDs for a static site, but could have many more applications.

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