Skip to content

Refactor to ES6 classes#4

Open
tinchoz49 wants to merge 4 commits intomafintosh:masterfrom
tinchoz49:tinchoz49/refactor-added-reopen-feature
Open

Refactor to ES6 classes#4
tinchoz49 wants to merge 4 commits intomafintosh:masterfrom
tinchoz49:tinchoz49/refactor-added-reopen-feature

Conversation

@tinchoz49
Copy link

@tinchoz49 tinchoz49 commented May 19, 2020

This PR does:

  • Refactor nanoresource to ES6 clases and following same concepts than hyperswarm classes.
  • Refactor nanoresource/emitter to remove the need of having duplicate the codebase of nanoresource.
  • Add testing for nanoresource/emitter.
  • Add reopen feature.

reopen provides similar behavior of how level-up allows to reopen a database.

Personal opinion, in case that this PR can be merged I think should be good to release a major version.

@tinchoz49 tinchoz49 changed the title Refactor to ES6 classes and added reopen feature Refactor to ES6 classes Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant