Skip to content

Instantly share code, notes, and snippets.

@kronaemmanuel
Created June 21, 2020 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kronaemmanuel/9afbf7f15c1e365df22d480e923b6ef4 to your computer and use it in GitHub Desktop.
Save kronaemmanuel/9afbf7f15c1e365df22d480e923b6ef4 to your computer and use it in GitHub Desktop.
Nivo chart Storage
'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