Python Queue Put Method In Nodejs