Skip to content

parseCongressionalIpRanges ​

Import from: @xbbg/xnews, @xbbg/xnews/parsers

parseCongressionalIpRanges(body): CongressionalIpRange[]

Defined in: src/sources/wikipediacongressedits.ts (declaration: sources/wikipediacongressedits.d.ts:35)

Parses the archive's range manifest. The manifest, not a single hardcoded CIDR, is authoritative: it currently includes six House ranges and one Senate range, several of which are not adjacent.

Parameters ​

body ​

string

Returns ​

CongressionalIpRange[]

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.