Skip to content

feat: Add a fromJSON static method#41

Open
tomershvueli wants to merge 1 commit intorsms:masterfrom
tomershvueli:fromjson
Open

feat: Add a fromJSON static method#41
tomershvueli wants to merge 1 commit intorsms:masterfrom
tomershvueli:fromjson

Conversation

@tomershvueli
Copy link
Copy Markdown

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