electron-userland / electron-json-storage

:package: Easily write and read user settings in Electron apps
1.44k stars 80 forks source link

Storage.get with array of keys #25

Closed ArsNV closed 7 years ago

ArsNV commented 8 years ago

Can you add to storage.get new features array of keys (to get multiply jsons at once) null(to get all storage)

jviotti commented 8 years ago

Sounds good! I'll going on vacations tomorrow, but I'll try to get on it in between. For now, you could use an async flow utility like http://caolan.github.io/async/docs.html in your application!

ArsNV commented 7 years ago

Thanks

jviotti commented 7 years ago

Thanks for the ping. I've implemented .getAll() and will implement support for an array of keys in .get().

jviotti commented 7 years ago

I've implemented .getMany() here: https://github.com/jviotti/electron-json-storage/pull/35

jviotti commented 7 years ago

I've published v2.1.0 to npm with these changes.