yaml-frontmatter-loader
Yaml frontmatter loader for webpack
Last updated 4 years ago by bebraw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install yaml-frontmatter-loader 
SYNC missed versions from official npm registry.

yaml-frontmatter-loader for webpack

YAML Frontmatter loader for webpack. Converts YAML in files to JSON. You should chain it with json-loader.

Installation

npm install yaml-frontmatter-loader

Usage

Documentation: Using loaders


var json = require("json!yaml-frontmatter-loader!./file.md");
// => returns file.md as javascript object

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Current Tags

  • 0.1.0                                ...           latest (4 years ago)

4 Versions

  • 0.1.0                                ...           4 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 4
Last Day 1
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |