Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add a fromJSON static method #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomershvueli
Copy link

Hi! I recently came across this super-helpful LRUMap library. I came across the need for a fromJSON static method and saw issue #32 asking for exactly that.

Included in this PR:

  • Created a static fromJSON method
  • Added a test
  • Updated the README documentation
  • Updated the type definition
  • Incremented the z version

I have NOT yet run npm run dist as I think that's something you would do to create a new npm version.

Let me know if this will do the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant