A state synchronization library written in typescript