Created
June 21, 2020 12:38
-
-
Save kronaemmanuel/9afbf7f15c1e365df22d480e923b6ef4 to your computer and use it in GitHub Desktop.
Nivo chart Storage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
const store = {} | |
exports.set = (key, value) => { | |
store[key] = value | |
} | |
exports.get = key => { | |
return store[key] | |
} | |
exports.dump = () => store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment