Use a map instead of multiple ternary statements
Use a map instead of multiple ternary statements

Stiveknx/webtorrent,jakefb/webtorrent,yciabaud/webtorrent,madmarks/webtorrent,joshterrill/webtorrent,arestov/webtorrent,jakefb/webtorrent,yciabaud/webtorrent,feross/webtorrent,sideffect0/webtorrent,karissa/webtorrent,ericwooley/webtorrent,MiracleBlue/webtorrent,gillesdemey/webtorrent,dan-hill/webtorrent,loon3/webtorrent,tradle/webtorrent,adriagalin/webtorrent,ngjermundshaug/webtorrent,joshterrill/webtorrent,rom1504/webtorrent,whitef0x0/webtorrent,whitef0x0/webtorrent,fisch0920/webtorrent,dan-hill/webtorrent,nicola/webtorrent,loon3/webtorrent,karissa/webtorrent,solderzzc/webtorrent,ericwooley/webtorrent,sideffect0/webtorrent,nicola/webtorrent,serafinfernandez/webtorrent,fisch0920/webtorrent,solderzzc/webtorrent,lucamaraschi/webtorrent,gillesdemey/webtorrent,rozifus/webtorrent,ngjermundshaug/webtorrent,serafinfernandez/webtorrent,webtorrent/webtorrent,adriagalin/webtorrent,FabianFrancoRoldan/webtorrent,jamesliu96/webtorrent,akiva/webtorrent,LinusU/webtorrent,jamesliu96/webtorrent,rozifus/webtorrent,Stiveknx/webtorrent,akiva/webtorrent,madmarks/webtorrent,LinusU/webtorrent,beni55/webtorrent,FabianFrancoRoldan/webtorrent,webtorrent/webtorrent,lucamaraschi/webtorrent,feross/webtorrent,beni55/webtorrent,MiracleBlue/webtorrent,tradle/webtorrent