UNPKG

gray-matter-from-file

Version:

Extracts only the front matter from a file stream, and passes to the well known gray-matter library for parsing.

62 lines (61 loc) 1.45 kB
{ "name": "gray-matter-from-file", "version": "1.0.6", "description": "Extracts only the front matter from a file stream, and passes to the well known gray-matter library for parsing.", "main": "lib/index.js", "scripts": { "prepublish": "npm run build", "build": "babel src --out-dir lib", "test": "cross-env NODE_ENV=test nyc mocha && eslint src" }, "repository": { "type": "git", "url": "git+https://github.com/matt-rhys-jones/gray-matter-from-file.git" }, "keywords": [ "grey", "gray", "greymatter", "graymatter", "frontmatter", "front", "matter", "from", "file", "stream", "async", "markdown", "parser", "parse", "stream" ], "author": "matt-rhys-jones", "license": "GPL-3.0", "bugs": { "url": "https://github.com/matt-rhys-jones/gray-matter-from-file/issues" }, "homepage": "https://github.com/matt-rhys-jones/gray-matter-from-file#readme", "dependencies": { "gray-matter": "^4.0.1" }, "devDependencies": { "babel": "^6.23.0", "babel-cli": "^6.26.0", "babel-plugin-istanbul": "^4.1.6", "babel-preset-env": "^1.7.0", "babel-register": "^6.26.0", "chai": "^4.1.2", "cross-env": "^5.1.5", "eslint": "^4.19.1", "mocha": "^5.1.1", "nyc": "^11.7.3", "sinon": "^5.0.7" }, "nyc": { "require": [ "babel-register" ], "sourceMap": false, "instrument": false } }