manon

Manual page render


Keywords
man, manual-page
Install
npm install manon@0.2.2

Documentation

manon

Manual page render

Parse manual page text and render in more friendly style.

Table of contents

Links

Get Started

const manon = require('manon');

// Return formatted text.
let richText = manon.format(manualText, 'console');

// Send to standard output.
process.stdout.write(richText);

Manual text rendered by manon may look like: formatted

While the original text looks like: text

Examples

Here is an example of manualText.