Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

rufio-filter-markdown

1.0.0 • Public • Published

rufio-filter-markdown

NPM Version NPM Downloads Build Status js-happiness-style

Install

$ npm install --save rufio-filter-markdown

Usage

var fs = require('fs');
var markdownFilter = require('rufio-filter-makrdown')({
    // Options defaults
    remarkable: 'commonmark'
});
 
// Pipe file content to the filter
fs.createReadStream('./file.md')
    .pipe(markdownFilter())
    .on('data', function (c) {
        // `c` is the rendered markdown as a buffer
        console.log(c.toString());
    });

install

npm i rufio-filter-markdown

Downloadsweekly downloads

7

version

1.0.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability