npm.io
0.2.2 • Published 5 years ago

manon

Licence
—
Version
0.2.2
Deps
3
Size
23 kB
Vulns
0
Weekly
0

manon

Manual page render

Parse manual page text and render in more friendly style.

Table of contents

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.

Keywords