import Configstore from 'configstore'; import { v4 as uuidv4 } from 'uuid'; const config = new Configstore( 'stackbit-dev', { userId: uuidv4().toString().replace(/-/g, '') }, { globalConfigPath: true } ); export function getUserId() { return config.get('userId'); }