ietf-rfc-html-pmb

0.0.6 • Public • Published

ietf-rfc-html-pmb

Render IETF RFCs as HTML, with indentation interpreted.

Stability: experimental

You have been warned. ;-)

API

This module UMD-exports one function:

renderRfcAsHtml(text)

Where text should be a string or buffer with the contents of rfcXXXX.txt.

Setup

  1. Download the RFCs you want to render.
    • To mirror all of them, you can use util/update_rfcs_via_rsync.sh.
  2. If you want the web demo, try it and adjust webserver paths as needed.

Usage

Known issues

  • Needs more/better tests and docs.
  • Does anyone know an official, license-friendly source for the XML versions of the RFCs? Rendering them might be more reliable than guessing the meaning of whitespace. OTOH, XML parsing is a beast of its own.

 

License

ISC

Readme

Keywords

none

Package Sidebar

Install

npm i ietf-rfc-html-pmb

Weekly Downloads

0

Version

0.0.6

License

ISC

Unpacked Size

11 kB

Total Files

9

Last publish

Collaborators

  • mk-pmb