Render IETF RFCs as HTML, with indentation interpreted.
You have been warned. ;-)
This module UMD-exports one function:
Where text
should be a string or buffer with the contents of rfcXXXX.txt
.
- Download the RFCs you want to render.
- To mirror all of them, you can use
util/update_rfcs_via_rsync.sh
.
- To mirror all of them, you can use
- If you want the web demo, try it and adjust webserver paths as needed.
- API: see src/cli.js
- CLI:
nodejs src/cli.js text-only/rfcXXXX.txt
- Web: src/fetch.html
- 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.
ISC