webtorrent / bittorrent-dht

🕸 Simple, robust, BitTorrent DHT implementation
https://webtorrent.io
MIT License
1.22k stars 203 forks source link

Use ES class, modern JS #217

Closed feross closed 4 years ago

feross commented 5 years ago

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update [ ] Bug fix [ ] New feature [x] Other, please explain: code style

What changes did you make? (Give an overview)

Used lebab to update code to use an ES class, drop inherits dependency, use const/let instead of var, etc.

Is there anything you'd like reviewers to focus on?