Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
export const map = new Map()
export const incrementIndex = () => {
  const index = map.get('index') + 1
  map.set('index', index)
}
export const resetIndex = () => {
  map.set('index', 0)
}
export const getIndex = () => map.get('index')

resetIndex()

export const config = {
  map,
  incrementIndex,
  getIndex,
  resetIndex,
}

export default config