verb-front-matter
Version:
Verb middleware for processing front matter and adding data to the context.
75 lines (55 loc) • 2.57 kB
Markdown
# verb-front-matter [](http://badge.fury.io/js/verb-front-matter)
> Verb middleware for processing front matter and adding data to the context.
**Heads up!** front-matter is handled in verb by default, this module can be used separately if you want to disable the defaults.
## Install with [npm](npmjs.org)
```bash
npm i verb-front-matter --save
```
## Usage
```js
verb.use(require('verb-front-matter'));
```
Verb uses [gray-matter], visit that project to see all available front-matter options.
## Run tests
Install dev dependencies:
```bash
npm i -d && npm test
```
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/verb-front-matter/issues)
## Author
**Jon Schlinkert**
+ [github/jonschlinkert](https://github.com/jonschlinkert)
+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
## License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
***
_This file was generated by [verb](https://github.com/assemble/verb) on January 20, 2015._
[ansi-styles]: https://github.com/sindresorhus/ansi-styles
[argparse]: https://github.com/nodeca/argparse
[array-flatten]: https://github.com/blakeembrey/array-flatten
[array-slice]: https://github.com/jonschlinkert/array-slice
[arrayify-compact]: https://github.com/jonschlinkert/arrayify-compact
[chalk]: https://github.com/sindresorhus/chalk
[coffee-script]: http://coffeescript.org
[delims]: https://github.com/jonschlinkert/delims
[esprima]: http://esprima.org
[extend-shallow]: https://github.com/jonschlinkert/extend-shallow
[for-in]: https://github.com/jonschlinkert/for-in
[for-own]: https://github.com/jonschlinkert/for-own
[gray-matter]: https://github.com/assemble/gray-matter
[has-color]: https://github.com/sindresorhus/has-color
[is-plain-object]: https://github.com/jonschlinkert/is-plain-object
[js-yaml]: https://github.com/nodeca/js-yaml
[lodash]: http://lodash.com/
[mixin-deep]: https://github.com/jonschlinkert/mixin-deep
[mkdirp]: https://github.com/substack/node-mkdirp
[object-pick]: https://github.com/jonschlinkert/object-pick
[parser-front-matter]: https://github.com/jonschlinkert/parser-front-matter
[strip-ansi]: https://github.com/sindresorhus/strip-ansi
[toml]: https://github.com/BinaryMuse/toml-node
[underscore]: http://underscorejs.org
[underscore\.string]: http://epeli.github.com/underscore.string/
[verbalize]: https://github.com/jonschlinkert/verbalize
<!-- deps: helper-reflinks -->