opmltotext
This is a node.js library that parses OPML and returns text. It generates output using specified indentation and comment prefix strings.
Installation
$ npm install opmltotext
Example
var fs = OpmlToText = var opml = fsvar text = OpmlToText
API
OpmlToText.getText(opmlText, [commentPrefix], [indentation])
- opmlText
String
- commentPrefix
String
default '//' - indentation
String
default ' ' (two spaces)