const prefixStorage = '__fesd-storage';
function getPrefixStorage(suffix) {
  return suffix ? `${prefixStorage}-${suffix}` : prefixStorage;
}
function getStorage(type) {
  return type === 'local' ? localStorage : sessionStorage;
}

export { getPrefixStorage, getStorage };
