I am currently working on developing NodeJs modules and I need to restrict the usage of any browser Apis of methods such as window, document, location, history etc. using es