Re:How to Write a BitTorrent Client, Part 1
by SlashmanX on Tuesday July 05, 2016 @06:54AM
(#12035551)
Feross has some great implementations of the different pieces of BitTorrent (including parsing torrent files, magnets etc) in JavaScript on his GitHub[0]. Would recommend people take a look if they find this blog post interesting.
[0] - https://github.com/feross?tab=repositories