garbados / dat-librarian

A dedicated Dat peer. Use DatLibrarian to store and peer many Dat archives. Similar to hypercore-archiver.
25 stars 0 forks source link

Chore/async await #12

Closed garbados closed 4 years ago

garbados commented 4 years ago

This PR updates some dependencies and refactors DatLibrarian's async methods to use the async/await syntax. This has resulted in less indentation, which makes the code a bit clearer. The test suite is unchanged because the library's API is unchanged.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 86


Changes Missing Coverage Covered Lines Changed/Added Lines %
index.js 45 46 97.83%
<!-- Total: 45 46 97.83% -->
Totals Coverage Status
Change from base Build 82: 0.0%
Covered Lines: 162
Relevant Lines: 166

💛 - Coveralls