New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

mdvars

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdvars

Extract vars from markdown files and output the markdown.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
17
88.89%
Maintainers
1
Weekly downloads
 
Created
Source

MDVars

MDVars extracts metadata in Markdown files.

NPM version Build status Dependency Status devDependency Status Coverage Status

## Usage NodeJS module:

var meta = {};
var Fs.createReadStream('markdown+metadatas.md')
  .pipe(new MDVars(meta, 'data'))
  .pipe(Fs.createWriteStream('markdownonly.md'));

console.log(meta.data);
// {title: 'A title', description: 'A description'}

Format

# A file
<!--VarStream
title=A title
description=A description
-->
Blahblahblah !

Contributing

Feel free to pull your code if you agree with publishing it under the MIT license.

Keywords

markdown

FAQs

Package last updated on 13 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts