ietf-rfc-html-pmb

0.1.3 • 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

/ietf-rfc-html-pmb/

    Package Sidebar

    Install

    npm i ietf-rfc-html-pmb

    Weekly Downloads

    2

    Version

    0.1.3

    License

    ISC

    Unpacked Size

    11.8 kB

    Total Files

    9

    Last publish

    Collaborators

    • mk-pmb