Congressional XML to HTML converter
npm install @ellis-project/congress-xmlThis is a port of the Python govtrack/congressxml for NodeJS which only depends on a local fork of the elementtree library with an xml element tail fix.
bash
npm i @ellis-project/congress-xml
`Usage
`js
import fs from 'fs'
import CongressXML from '@ellis-project/congress-xml'const xml = fs.readFileSync(/ some-test.xml /).toString()
const html = CongressXML.convert_xml(xml)
``