55 lines
2.0 KiB
JSON
Raw Permalink Normal View History

2017-09-14 20:06:51 +02:00
{
"name": "express-markdown",
"description": "Express middleware for rendering markdown files",
"version": "0.0.6",
"author": {
"name": "James Hight"
},
"maintainers": [
{
"name": "jmerrick",
"email": "james@zavoo.com"
}
],
"repository": {
"type": "git",
"url": "https://github.com/JamesHight/express-markdown"
},
"directories": {
"lib": "./lib"
},
"main": "./lib/markdown",
"licenses": [
{
"type": "Apache 2.0",
"url": "https://github.com/JamesHight/express-markdown/blob/master/LICENSE"
}
],
"dependencies": {
"marked": "*"
},
"devDependencies": {},
"optionalDependencies": {},
"engines": {
"node": "*"
},
"readme": "express-markdown\n================\n\nExpress middleware for rendering markdown files\n\nIt looks for URLs ending in \".md\" or \".markdown\", example: http://mysite.com/README.md\n\nInstallation\n------------\n\n\tnpm install express-markdown\n\nUsage\n-----\n\n\t// !!!IMPORTANT: place this before static or similar middleware\n\tapp.use(require('express-markdown')({\n\n\t // directory where markdown files are stored\n\t // required\n\t directory: __dirname + '/public', \n\n\t // view to use for rendering markdown file\n\t // optional\n\t // default is undefined, no view\n\t view: 'foo',\n\n\t // name of markdown variable passed in the context when rendering\n\t // optional\n\t // default 'markdown'\n\t variable: 'bar'\n\n\t}));",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/JamesHight/express-markdown/issues"
},
"_id": "express-markdown@0.0.6",
"dist": {
"shasum": "e9b93156df32dd4f198a0a8a2ecdec924b2dc758",
"tarball": "https://registry.npmjs.org/express-markdown/-/express-markdown-0.0.6.tgz"
},
"_from": "express-markdown@latest",
"_npmVersion": "1.3.8",
"_npmUser": {
"name": "jmerrick",
"email": "james@zavoo.com"
},
"_shasum": "e9b93156df32dd4f198a0a8a2ecdec924b2dc758",
"_resolved": "https://registry.npmjs.org/express-markdown/-/express-markdown-0.0.6.tgz"
}