UNPKG

markdown-to-json

Version:

Extracts YAML front matter from markdown files to a single JSON string or file.

48 lines (47 loc) 1.05 kB
{ "name": "markdown-to-json", "version": "0.5.4", "description": "Extracts YAML front matter from markdown files to a single JSON string or file.", "author": { "name": "Scott Stanfield", "email": "scottstanfield@gmail.com" }, "contributors": [ { "name": "Capi Etheriel", "email": "barraponto@gmail.com" } ], "keywords": [ "yaml", "markdown", "json" ], "main": "./lib/m2j.js", "scripts": { "test": "cross-env TZ='America/Los_Angeles' mocha", "lint": "eslint 'bin/*' 'lib/**/*.js' 'test/*.js'" }, "bin": { "m2j": "./bin/m2j" }, "repository": "git://github.com/scottstanfield/markdown-to-json", "engines": { "node": "*" }, "license": "MIT", "dependencies": { "commander": "^4.0.1", "lodash.truncate": "^4.4.2", "moment": "^2.24.0", "yaml-front-matter": "^4.0.0" }, "devDependencies": { "cross-env": "^6.0.3", "eslint": "^6.8.0", "eslint-config-google": "^0.14.0", "glob": "*", "mocha": "*", "should": "*" } }