const answers = { } ; const prompts = async ( question ) => ( { [ question . name ] : answers [ question . name ] , } ) ; prompts . setAnswer = ( name , value ) => { answers [ name ] = value ; } ; module . exports = prompts ;